1 2000-05-29 Richard Henderson <rth@cygnus.com>
3 * function.c (emit_return_into_block): New line_note arg; emit it.
4 (thread_prologue_and_epilogue_insns): Attempt to locate a line note
5 for the close brace to accompany HAVE_return. Move all line notes
6 following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
8 2000-05-29 Richard Henderson <rth@cygnus.com>
10 * longlong.h [__alpha] (count_leading_zeros): New.
11 (count_trailing_zeros): New.
12 (COUNT_LEADING_ZEROS_0): New.
14 * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
15 (alpha_split_conditional_move): New.
16 * config/alpha/alpha-protos.h: Prototype them.
17 * config/alpha/alpha.h (PREDICATE_CODES): Update.
18 (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
19 * config/alpha/alpha.md: Update ffs cix commentary.
21 (*nabssf2, *nabsdf2): New.
22 (*mov[qhsd]icc_internal): Use add_operand.
23 (if_then_else constant splitters): New.
24 (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
25 (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
27 2000-05-29 Richard Henderson <rth@cygnus.com>
29 * combine.c (force_to_mode) [MINUS]: Convert subtraction from
30 a constant to NEG or NOT when conditions allow.
32 * combine.c (combine_simplify_rtx): Don't create an if_then_else
33 unless both args are general_operand. Don't canonicalize plus
34 to ior unless it helps.
36 * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
37 instead track register_life_up_to_date. Toggle no_new_pseudos
40 2000-05-28 Geoff Keating <geoffk@cygnus.com>
42 * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
43 so output_operand doesn't see them.
45 Sun May 28 18:37:07 2000 Clinton Popetz <cpopetz@cygnus.com>
47 * lcm.c (make_preds_opaque): Fix comment.
48 (optimize_mode_switching): Use NORMAL_MODE instead of
49 MODE_USES_IN_EXIT_BLOCK. Change leftover instance of
50 FP_MODE_NONE to no_mode. Rename MODE_AT_ENTRY to NORMAL_MODE.
51 Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
52 * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
53 (MODE_USES_IN_EXIT_BLOCK): Delete.
54 (MODE_AT_ENTRY) Rename to NORMAL_MODE.
55 * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
56 (MODE_AT_ENTRY): Rename to NORMAL_MODE.
57 (MODE_NEEDED): Don't look for USE.
58 (EPILOGUE_USES): Define.
60 Sun May 28 23:26:59 2000 Philippe De Muyter <phdm@macqel.be>
62 * mklibgcc.in (all): Variable initialised to `libgcc'.
64 2000-05-28 Gabriel Dos Reis <gdr@codesourcery.com>
66 * toplev.h (skip_leading_substring): New macro.
67 * toplev.c (decode_f_option): Use skip_leading_substring instead
69 (decode_W_option): Likewise.
71 2000-05-28 Nick Clifton <nickc@cygnus.com>
73 * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
76 2000-05-28 Richard Henderson <rth@cygnus.com>
78 * regclass.c (record_operand_costs): Protect reg_changes_size
79 with CLASS_CANNOT_CHANGE_SIZE.
81 * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
83 2000-05-28 Richard Henderson <rth@cygnus.com>
85 * function.c (diddle_return_value): A pcc-style struct return
88 2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
90 * cppfiles.c: Read files in, using mmap if possible, then
91 prescan them separately.
92 (read_file, read_with_read): New functions.
93 * cpplex.c: Don't define UCHAR_MAX.
94 (_cpp_read_and_prescan): Rename to _cpp_prescan. Don't read
97 * cppinit.c (handle_option): Automatically define __cplusplus,
98 __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
99 the respective -lang switch.
101 * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
102 prototype): Move to...
103 * cpplib.h: ... here. Rename struct hashnode to struct
104 cpp_hashnode and give it a typedef. Rename _cpp_lookup to
105 cpp_lookup. Add 'fe_value' slot, a union tree_node *.
107 2000-05-27 Geoffrey Keating <geoffk@cygnus.com>
109 * config/rs6000/rs6000.md (movsi): Constify 'name'.
111 * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
112 (class_can_change_size): New variable.
113 (reg_changes_size): New variable.
114 (init_reg_sets_1): Initialise class_can_change_size.
115 (record_operand_costs): Remove subreg_changes_size.
116 Don't pass it around. Instead update reg_changes_size.
117 (regclass): Initialise and free reg_changes_size. If a register
118 changes size, don't preference it to a class that contains
119 registers that can't change size.
120 (record_reg_classes): Don't look at subreg_changes_size.
122 2000-05-27 Richard Henderson <rth@cygnus.com>
124 * print-rtl.c (reg_names): Remove const.
125 * regclass.c (reg_names): Likewise.
126 * regs.h (reg_names): Likewise.
127 * hard-reg-set.h (reg_names): Likewise.
129 2000-05-27 Richard Henderson <rth@cygnus.com>
131 * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
133 2000-05-27 Richard Henderson <rth@cygnus.com>
135 * config/alpha/alpha.c (alpha_does_function_need_gp): Test
136 TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
137 (alpha_expand_prologue): Emit prologue_mcount if needed.
138 * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
139 * config/alpha/alpha.md (prologue_mcount): New.
140 * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
141 (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
142 * config/alpha/netbsd.h: Likewise.
144 2000-05-27 Richard Henderson <rth@cygnus.com>
146 * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
147 change to config/elfos.h.
149 2000-05-27 Richard Henderson <rth@cygnus.com>
151 * Makefile.in (resource.o): Depend on except.h.
152 * except.h (output_exception_table_data): Prototype.
153 * genconfig.c (gen_peephole2): Prototype.
154 * genemit.c (main): Include ggc.h.
155 * genoutput.c: Revert parts of last change: include errors.h
156 (main): Set progname.
157 * recog.c: Include hard-reg-set.h before recog.h.
158 * resource.c: Include except.h.
160 * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
162 (alpha_write_linkage): Protect with BUFSIZ.
163 (alpha_need_linkage): Update prototype.
164 * config/alpha/alpha.c (function_arg): Move VMS code here.
165 (alpha_links_base): Remove.
167 (mark_alpha_links_node, mark_alpha_links): New.
168 (alpha_write_one_linkage): New.
169 (alpha_need_linkage): Use a splay tree. Build the linkage symbol.
170 (alpha_write_linkage): Use splay_tree_foreach.
171 * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
172 to get the linkage symbol.
173 (call_value_vms): Likewise.
174 * config/alpha/elf.h (output_file_directive): Remove decl.
175 (ctors_section, dtors_section): Prototype.
176 (sbss_section, sdata_section): Prototype.
177 * config/alpha/vms.h (FUNCTION_ARG): Remove.
178 (readonly_section, link_section, literals_section): Prototype.
179 (ctors_section, dtors_section): Prototype.
180 (vms_valid_decl_attribute_p): Remove decl.
181 (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
183 2000-05-27 Geoff Keating <geoffk@cygnus.com>
185 * reload.c (get_secondary_mem): Don't widen floating-point modes.
187 * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
188 substituting the REG in a (subreg:X (reg:Y ...)).
190 2000-05-28 Neil Booth <NeilB@earthling.net>
192 * cpplex.c (_cpp_lex_line): Merge vertical space. Flag
193 first token of a line BOL. Update EOF code for this.
194 Remove illegal directive check - it appears in the (not
195 yet committed) caller.
196 * cpplib.h (BOL): New flag.
198 2000-05-28 Neil Booth <NeilB@earthling.net>
200 * cpplex.c (_cpp_init_toklist): No comment space to initialise.
201 (_cpp_free_toklist): No comment space to free.
202 (expand_comment_space): Remove.
203 (save_comment_space): Place the comment in the current token and
204 not in a separate comment space.
205 (_cpp_lex_line): Save comments during plain code and #define
207 * cpplib.h (struct _cpp_toklist): Remove comment space.
209 2000-05-28 Neil Booth <NeilB@earthling.net>
211 * cppexp.c (parse_assertion): Supply extra argument to
213 * cpplib.c (do_assert, do_unassert): Similarly.
214 * cpphash.h (_cpp_init_toklist) Update.
215 (_cpp_expand_token_space): New.
216 (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
217 * cpplex.c (_cpp_init_toklist): New argument.
218 (parse_string2): New argument multiline_ok.
219 (spell_token): Take a const cpp_token *.
220 (INIT_NAME): Replace with INIT_TOKEN_NAME. Update tokens_used.
221 (SPELL_ macros): Replace with enum.
222 (expand_token_space): Replace with _cpp_expand_token_space.
224 (IS_DIRECTIVE): Update.
225 (_cpp_lex_line): Update token structure before parsing number.
226 Don't assume start at beginning of token list.
227 (save_comment): Use INIT_TOKEN_NAME.
229 2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
231 * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
232 -Wmissing-prototypes.
233 * configure: Regenerate.
234 * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
236 * builtins.c, calls.c: Change all instances of gen_call_* or
237 gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
238 * calls.c (struct_value_size_rtx): Separate definition from
239 initialization to avoid unused variable warning.
241 * genflags.c (gen_macro): New function.
242 (gen_proto): Call it for gen_call_* and gen_sibcall_*.
243 (gen_nonproto): Delete.
244 (gen_insn): Put all insns on the same obstack.
245 (main): Generate prototypes for everything unconditionally.
247 * configure.in: Add AC_CHECK_TYPE(ssize_t). Remove commented
248 out check for wchar_t.
249 * acconfig.h: Add template for ssize_t. Remove @TOP@.
250 * system.h: Add infrastructure for defining missing
251 TYPE_MAX/TYPE_MIN macros. Use it to provide fallback
252 definitions of UCHAR_MAX and SSIZE_MAX.
253 * configure: Regenerate.
254 * config.in: Regenerate.
256 * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
257 Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
259 (clean): No need to delete libgcc1.a, libgcc1-asm.a,
260 libgcc2.a, or libgcc1.null.
262 2000-05-27 Richard Henderson <rth@cygnus.com>
264 * Makefile.in (recog.o): Don't depend on resource.h.
265 * recog.c: Don't include resource.h.
266 (recog_last_allowed_insn): Remove.
267 (recog_next_insn): Remove.
268 (struct peep2_insn_data): New.
269 (peep2_insn_data, peep2_current): New.
270 (peep2_next_insn): New.
271 (peep2_regno_dead_p, peep2_reg_dead_p): New.
272 (peep2_find_free_register): New.
273 (peephole2_optimize): Track life information by insn as we go.
274 * recog.h: Update declarations.
275 * resource.c (find_free_register, reg_dead_p): Remove.
276 * resource.h: Remove their declarations.
277 * toplev.c: Include hard-reg-set.h before recog.h.
279 * genconfig.c (max_insns_per_peep2): New.
280 (gen_peephole2): New.
282 * genemit.c (output_peephole2_scratches): Generate calls to
283 peep2_find_free_register; adjust surrounding code.
284 (main): Have insn-emit.c include hard-reg-set.h before recog.h.
285 * genrecog.c (change_state): Don't track last_insn.
286 (write_action): Write into *_pmatch_len before accepting.
287 (write_tree): Adjust peephole2_insns and subroutines to match.
289 * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
291 * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
292 (hard_int_register_operand): New.
293 * config/alpha/alpha-protos.h: Declare it.
294 * config/alpha/alpha.h (PREDICATE_CODES): Update.
295 * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
296 as needed; use peep2_reg_dead_p instead of dead_or_set_p.
298 2000-05-27 Richard Henderson <rth@cygnus.com>
300 * function.c (thread_prologue_epilogue_insns): Don't move the
301 line note at the head of the chain. Only force a lineno note
302 before the end of block 0.
304 2000-05-27 Richard Henderson <rth@cygnus.com>
306 * gensupport.c (collect_insn_data): Record the maximum number
307 of alternatives, not the last seen.
309 * genoutput.c: Don't include errors.h.
310 (struct data): Add lineno member.
312 (scan_operands): Use message_with_line instead of error.
313 (validate_insn_alternatives): Likewise.
314 (gen_insn): Accept and store the pattern's line number.
315 (gen_peephole, gen_expand, gen_split): Likewise.
316 (main): Don't set progname. Pass line_no to gen_foo.
318 2000-05-27 Richard Henderson <rth@cygnus.com>
320 * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
321 * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
322 * config/d30v/d30v.md (attr predicable): New.
323 (all insn patterns): Mark non-predicable patterns; use %: on the rest.
324 (andsi3*): Unify into one pattern.
325 (iorsi3*, xorsi3*): Likewise.
326 (peephole2 patterns): Use peep2_reg_dead_p; verify not a
328 (old cond_exec patterns): Remove.
329 (define_cond_exec): New.
331 Sat May 27 11:01:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
333 * tree.h (TREE_CODE_LENGTH): New macro.
334 * c-common.c (c_find_base_decl): Use it.
335 * expr.c (safe_from_p): Likewise.
336 * print-tree.c (print_node): Likewise.
337 * tree.c (make_node, copy_node, get_identifier): Likewie.
338 (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
339 (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
340 * fold-const.c (make_range): Likewise.
341 (fold): Likewise; also use first_rtl_op.
342 * c-iterate.c (collect_iterators): Use first_rtl_op.
343 * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
344 Use IS_EXPR_CODE_CLASS.
345 (preexpand_calls): Likewise.
346 * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
347 and TREE_CODE_LENGTH.
348 * stmt.c (warn_if_unused_value): If no operands, no unused value.
350 2000-05-26 Geoffrey Keating <geoffk@cygnus.com>
352 * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
354 (movdi_internal64): Likewise.
356 * config/rs6000/rs6000.md: Correct order of operands for DImode
359 * config/rs6000/rs6000.c (boolean_or_operator): New function.
360 * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
361 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
362 * config/rs6000/rs6000.md: Use boolean_or_operator instead of
363 boolean_operator for the boolean patterns without NOTs.
365 * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
366 from reg_or_u_cint_operand. Change comment and behaviour.
367 (logical_operand): Clean up, add assertion.
368 (non_logical_cint_operand): Also check for
369 reg_or_logical_cint_operand.
370 * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
371 * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
377 2000-05-26 Mark Mitchell <mark@codesourcery.com>
379 * tree.h (struct record_layout_info): Rename to (struct
380 record_layout_info_s).
381 * stor-layout.c (start_record_layout): Replace
382 `record_layout_info' with `record_layout_info_s'.
384 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
386 * flow.c (find_label_refs): New function.
387 (find_basic_blocks_1): Call it for each alternative of a call
390 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
392 * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
395 2000-05-25 Richard Henderson <rth@cygnus.com>
397 * config/alpha/alpha.c (alpha_comparison_operator): Don't be
398 so strict about DImode.
399 (alpha_swapped_comparison_operator): Likewise.
400 * config/alpha/alpha.md (*setne_internal): Name it. Allow
401 any integer output mode.
402 (*setcc_internal): Likewise.
403 (*setcc_swapped_internal): Likewise.
404 (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
405 (*mov[qhs]icc_internal): New.
406 (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
408 2000-05-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
410 * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
412 2000-05-25 Richard Henderson <rth@cygnus.com>
414 * bb-reorder.c (reorder_block_def): Reorder elements for size.
415 Remove add_jump; add next; replace flags with visited.
417 (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
418 (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
419 (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
420 (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
422 (reorder_index, reorder_last_visited): Remove.
423 (skip_insns_after_block): Rewrite to use a switch.
424 (get_common_dest): Remove.
425 (chain_reorder_blocks): Remove.
426 (record_effective_endpoints): Split out from reorder_basic_blocks.
427 (make_reorder_chain): Likewise. Loop until all blocks are placed.
428 (make_reorder_chain_1): Renamed from old make_reorder_chain.
429 Only construct the reorder chain, do not move insns. Try harder
431 (label_for_bb, emit_jump_to_block_after): New.
432 (fixup_reorder_chain): Use them. Do bulk block movement. Examine
433 and adjust the jump insns appropriately. Fixup basic_block_info.
434 (verify_insn_chain): Always define.
435 (relate_bbs_with_scopes): Call xmalloc, not xcalloc. Fix thinko
437 (make_new_scope): Don't write zeros to calloc'd space.
438 (build_scope_forest): Rely on xrealloc to DTRT.
439 (reorder_basic_blocks): Don't build loop nest. Don't fail if
440 profile_arc_flag. Streamline EH test.
442 * flow.c (redirect_edge_succ, redirect_edge_pred): New.
443 * basic-block.h: Declare them.
445 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
447 * emit-rtl.c (reset_used_decls): New function.
448 (unshare_all_rtl_again): Call it.
450 2000-05-25 Zack Weinberg <zack@wolery.cumb.org>
452 * cpplex.c (maybe_macroexpand): Warn about function-like
453 macros used in non-function context, if -Wtraditional.
455 2000-05-25 Mark Mitchell <mark@codesourcery.com>
457 * recog.c (peephole2_optimize): Use INSN_P.
459 2000-05-25 Richard Henderson <rth@cygnus.com>
461 * ifcvt.c (seq_contains_jump): New.
462 (noce_try_store_flag_constants): Use it to fail conversion.
463 (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
465 2000-05-25 Mark Mitchell <mark@codesourcery.com>
467 * except.h (can_throw): Declare it.
468 * except.c (can_throw): Give it external linkage.
469 * resource.c (find_dead_or_set_registers): Use can_throw.
471 2000-05-25 Richard Henderson <rth@cygnus.com>
473 * flow.c (mark_set_1): Don't record conditionally dead memory.
475 2000-05-25 Jan Hubicka <jh@suse.cz>
477 * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
478 and pc_set at the place of simplejump_p and condjump_p.
479 * cse.c (record_jump_equiv): Likewise.
480 * emit-rtl.c (emit): Likewise.
481 * explow.c (find_next_ref): Likewise.
482 * flow.c (tidy_fallthru_edge): Likewise.
483 (init_propagate_block_info): Likewise.
484 * gcse.c (delete_null_pointer_checks): Likewise.
485 * ifcvt.c (cond_exec_get_condition, noce_get_condition,
486 dead_or_predicable): Likewise.
487 * integrate.c (copy_insn_list): Likewise.
488 * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
489 for_each_insn_in_loop, check_dbra_loop, get_condition,
490 insert_bct, load_mems): Likewise.
491 * resource.c (find_dead_or_set_registers): Likewise.
492 * sibcalls.c (simplejump_p): Likewise.
493 * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
495 2000-05-25 David Edelsohn <edelsohn@gnu.org>
497 * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
498 to STRING case. Use doubleword STRING move for TARGET_POWERPC64
500 * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
501 (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
502 (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
503 * rs6000.md: Name various internal patterns.
505 2000-05-25 Jan Hubicka <jh@suse.cz>
507 * jump.c (invert_exp_1): Remove first argument, use pc_set
508 to get the expression.
509 (redirect_exp): Make static; redirect only the pc_set expression,
510 remove first argument.
511 (invert_exp): Remove first argument, make static.
512 (jump_optimize): Use any_condjump_p, any_uncondjump_p and
513 any_onlyjump at most places where we originaly did condjump_p
515 (jump_back_p, follow_jumps, thread_jumps): Likewise.
516 (delete_barrier_succesors): Use pc_set.
517 (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
518 calls of invert_exp and redirect_exp.
519 * rtl.h (redirect_exp, invert_exp): Remove.
520 * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
522 2000-05-25 Richard Henderson <rth@cygnus.com>
524 * stmt.c (expand_end_bindings): Fix thinko last change.
526 2000-05-25 Andrew MacLeod <amacleod@cygnus.com>
527 Andrew Haley <aph@cygnus.com>
529 * except.c (func_eh_entry): Add emitted field.
530 (new_eh_region_entry): Set emitted field to 0;
531 (output_exception_table_entry): Only emit previously un-emitted data,
532 and send it to the eh_data section.
533 (output_exception_table): Break out common parts. Output
534 exception table for entire compilation unit to eh_data section.
535 (output_exception_table_data): Common parts of output_exception_table.
536 Send output to eh_data section.
537 (output_function_exception_table): Output exception table data for
538 a single function to eh_data section.
539 (free_exception_table): New external to free the table.
540 * except.h (free_exception_table): Add prototype.
541 (output_function_exception_table): Add prototype.
542 * final.c (final_end_function): Output function exception table
543 for IA64_UNWIND_INFO.
544 (final_scan_insn): Emit any unwind directives for an insn.
546 * frame-dwarf2.c: New file containing all DWARF 2 specific code
548 * frame.c: Remove all DWARF 2 specific code.
549 * config/ia64/frame-ia64.c: New file.
550 (gthread_stuff): Make all gthread available with
552 (dwarf_fde): Define an IA64 struct for dwarf_fde.
553 (__register_frame_info, __register_frame): Move to common area of file.
554 (__register_frame_info_table, __register_frame_table): Move to common i
556 (__deregister_frame_info, __deregister_frame): Move to common area.
557 (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
558 (read_uleb128): New version for ia64.
559 (get_unwind_record): Read the next IA-64 unwind record.
560 (read_R_record): Read a region header record.
561 (process_a_b_reg_code): X record helper.
562 (read_X_record): Read an X format record.
563 (read_B_record): Read a B format record.
564 (P3_record_types): List of record types matching the P3 format.
565 (P7_record_types): List of record types matching the P7 format.
566 (P8_record_types): List of record types matching the P8 format.
567 (read_P_record): Read a P format record.
568 (init_ia64_reg_loc): Set default fields for a register.
569 (init_ia64_unwind_frame): Set defaults for all register records.
570 (execute_one_ia64_descriptor): Execute one descriptor record.
571 (rse_address_add): Calculate the position of a local reg in memory.
572 (normalize_reg_loc): Turn a location descriptor into a memory address.
573 (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
574 within a specified PC offset range.
575 (get_real_reg_value): Given a register location, retrieve its value.
576 (set_real_reg_value): Change the value of a register location.
577 (copy_reg_value): Copy reg values, if needed.
578 (copy_saved_reg_state): Copy all registers that need to be copied.
579 (process_state_between): Normalize all frame register records that
580 fall within the specified PC range.
581 (frame_translate): Take a processed frame description, and turn
582 everything into addresses.
583 (build_ia64_frame_state ): Find and create frame state record for a PC.
584 (get_personality): Get the personality routine for a given frame.
585 (get_except_table): Get the exception table for a given frame.
586 (record_name): Unwind record names for debugging.
587 (print_record): Print and unwind record.
588 (print_all_records): Print an entire unwind image.
589 (__ia64_backtrace): Print a backtrace.
590 (ia64_backtrace_helper): New function.
591 (__register_frame_info_aux): New function.
592 * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
594 * frame.h (enum unw_record_type): New unwind record types.
595 (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
596 (struct unw_r_record, unwind_record): New unwind record structs.
597 (struct unwind_info_ptr): Unwind information layout.
598 (IA64_UNW_LOC_TYPE_*): Macros for different types for location
600 (struct ia64_reg_loc): Register location description.
601 (struct ia64_frame_state): Location of all registers in a frame.
602 (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
603 * libgcc2.c (__ia64_personality_v1): Personality routine.
604 (__calc_caller_bsp): Calculate the bsp register for the caller's
606 (ia64_throw_helper): Figure out who to return to and set up the
608 (__throw): Throw routine.
610 * output.h (assemble_eh_align, assemble_eh_label): New functions
611 to generate EH info where we want it.
612 (assemble_eh_integer): New function.
613 * toplev.c (compile_file): Output module level exception table for
615 (main): Set exceptions_via_longjump and flag_new_exceptions based
616 on IA64_UNWIND_INFO too.
618 * varasm.c (assemble_eh_label): Generate a label via
619 ASM_OUTPUT_EH_LABEL if it has been specified.
620 (assemble_eh_align): Generate an alignment directive via
621 ASM_OUTPUT_EH_ALIGN if it has been specified.
622 (assemble_eh_label): Generate an integer value via
623 ASM_OUTPUT_EH_type if they have been specified.
624 * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
625 (ia64_init_builtins): Add __builtin_ia64_bsp
626 and __builtin_ia64_flushrs.
627 (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
628 IA64_BUILTIN_FLUSHRS.
629 * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
630 IA64_BUILTIN_FLUSHRS.
632 * config/ia64/ia64.md (flushrs): New insn to flush the register
633 stack. Add to unspec list.
635 * config/ia64/crtbegin.asm (frame_object): Change size.
636 (__do_frame_setup_aux): New function.
637 * config/ia64/crtend.asm: call __do_frame_setup_aux.
638 * config/ia64/t-ia64 (LIB2ADDEH): Add.
639 * Makefile.in (LIB2ADDEH): Add.
640 (LIB2ADD): Use LIB2ADDEH.
642 2000-05-24 Richard Henderson <rth@cygnus.com>
644 * recog.c (offsettable_address_p): If mode size is zero, assume
647 2000-05-24 J. David Anglin <dave@hiauly.hia.nrc.ca>
649 * configure.in: Check for -Wno-long-long option support and improve
650 handling of warning CFLAGS for stages 1 and 2.
651 * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
652 * configure: Regenerate.
654 Wed May 24 19:37:53 2000 Jeffrey A Law (law@cygnus.com)
656 * gcc.texi: Remove contributor list. Instead include contrib.texi.
657 * contrib.texi: New file.
659 Thu May 25 02:27:22 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
661 * loop.c (basic_induction_var): Avoid double recording of an increment.
663 Thu May 25 02:19:27 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
665 * Back out this patch:
666 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
667 * loop.h (struct induction): Add multi_insn_incr.
668 * loop.c (basic_induction_var): New multi_insn_incr argument.
669 Set it if we search back through previous insns for the biv.
670 (record_biv): New multi_insn_incr argument; fill in struct induction.
671 (strength_reduce): Discard an iv with multiple bivs, any of
672 which require multiple insns to increment.
674 * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
676 Thu May 25 02:09:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
678 * rtl.h (loc_mentioned_in_p): Declare.
679 * reload.c (loc_mentioned_in_p): Moved from here...
680 * rtlanal.c (loc_mentioned_in_p): to here. No longer static.
681 Fix loop increment for 'E' handling.
682 * loop.c (strength_reduce): When doing biv->giv conversion,
683 take multi-insn biv increments into account.
685 2000-05-24 Jason Merrill <jason@casey.soma.redhat.com>
687 * stmt.c (expand_end_bindings): Look through NOTEs to find a
690 2000-05-24 Mark Mitchell <mark@codesourcery.com>
692 * calls.c (expand_call): Handle cleanups in tail-recursion
693 arguments analagously to cleanups in sibling calls.
695 2000-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
697 * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
700 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
702 * expr.c (expand_assignment, store_expr, expand_expr,
703 expand_expr_unaligned): Set in_check_memory_usage while emitting
704 chkr_check_addr libcall.
706 2000-05-24 Nick Clifton <nickc@cygnus.com>
708 * fold-const.c (extract_muldiv): When constructing a
709 multiplier/divisor, do not expect const_binop to correctly
710 determine if overflow has occured, so check explicitly.
712 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
714 * c-decl.c (build_enumerator): Don't modify the value's type,
717 2000-05-24 Andreas Jaeger <aj@suse.de>
719 * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
721 2000-05-24 Eric Christopher <echristo@cygnus.com>
723 * configure.in: Redefine inhibit_libc conditions.
724 * libgcc2.c: Remove inhibit_libc conditional define.
725 * configure: Regenerate.
727 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
729 * configure.in: For --enable-languages=LIST, check for empty LIST.
730 * configure: Regenerate.
732 2000-05-24 Lars Brinkhoff <lars@nocrew.org>
734 * pdp11.h (STACK_BOUNDARY): Define.
736 2000-05-24 Jakub Jelinek <jakub@redhat.com>
738 * ifcvt.c (if_convert): Update life info globally.
740 2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
742 * emit-rtl.c (unshare_all_decls): New function.
743 (unshare_all_rtl): Call it.
745 2000-05-23 Nick Clifton <nickc@cygnus.com>
747 * configure.in: Treat 'strongarm' as if it were 'arm' when
748 determining cpu type.
750 * configure: Regenerate.
752 * config/arm/arm.c: Change 'char *' to 'const char *' for cases
753 where constant strings are involved.
755 * config/arm/arm.h (arm_condition_codes): Change type to 'const
758 * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
759 cases where constant strings are involved.
761 Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
763 * config/sh/sh.c (gen_far_branch, split_branches): Update
764 to reflect new prototypes for redirect_jump and invert_jump.
765 (sh_insn_length_adjustment): Get rid of const warnings.
767 2000-05-23 Kazu Hirata <kazu@hxi.com>
769 * invoke.texi (Options for Debugging Your Program or GCC): Update
770 the names of dump files.
772 Tue May 23 13:58:52 2000 Philippe De Muyter <phdm@macqel.be>
774 * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
775 * configure: Regenerated.
777 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
779 * simplify-rtx.c (SIGN_EXTEND): New macro.
780 (simplify_unary_operation, simplify_binary_operation,
781 simplify_relational_operation): Use SIGN_EXTEND. Make low
782 halves of (low, high) pairs unsigned if they weren't already.
783 (simplify_ternary_operation): Cast INTVAL to unsigned before
784 comparing to a MODE_BITSIZE.
786 2000-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
788 * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
789 rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
791 * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
792 gcc_AC_NEED_DECLARATIONS.
794 * dwarfout.c: Don't prototype time().
796 * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
798 * system.h: Likewise.
800 * toplev.c: Likewise.
802 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
804 * c-decl.c (pushdecl): Invert sense of test for non-global types.
806 Tue May 23 18:11:42 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
808 * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
810 2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
812 * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
814 Tue May 23 06:50:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
816 * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
817 (alpha_start_function): Never write ..ng label if VMS or NT.
818 (alpha_align_insns): Remove GP_IN_USE arg.
819 Alignment now unsigned.
820 (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
821 * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
822 and two define_insn's.
824 2000-05-22 Richard Henderson <rth@cygnus.com>
826 * combine.c (simplify_comparison): Use trunc_int_for_mode.
828 2000-05-22 Richard Henderson <rth@cygnus.com>
830 * stor-layout.c (place_field): Change rli->size to rli->offset.
832 2000-05-22 Richard Henderson <rth@cygnus.com>
834 * function.c (thread_prologue_and_epilogue_insns): Make sure
835 existing line number notes appear after the prologue.
837 Mon May 22 21:49:00 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
839 * config/alpha/alpha.c (alpha_fnname): New static variable.
840 (print_operand, case '~'): New case.
841 (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
842 (alpha_start_function): Set alpha_fnname.
843 Write "ng" label if no ldgp; don't write ldgp insn.
844 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
845 * config/alpha/alpha.md (prologue_ldgp): New define_insn.
847 Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
849 * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
852 2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
854 * varasm.c (eh_frame_section): Revert change to argument list.
856 Mon May 22 13:14:03 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
858 * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
859 (gen_extend_insn, can_fix_p, can_float_p): Likewise.
861 * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
862 dangling "else" that causes "break" to be conditional.
863 Also remove unneeded code at start.
865 Mon May 22 17:31:35 2000 Philippe De Muyter <phdm@macqel.be>
867 * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
868 * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
869 * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
871 2000-05-22 Jakub Jelinek <jakub@redhat.com>
873 * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
876 Mon May 22 06:57:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
878 * alias.c (record_component_aliases): New function.
879 * tree.h: Clean up some declarations and comments.
880 (record_component_aliases): New declaration.
881 * tree.c (get_alias_set): If type and has alias set, use it.
883 2000-05-22 Richard Henderson <rth@cygnus.com>
885 * simplify-rtx.c (simplify_ternary_operation): Try to simplify
886 IF_THEN_ELSE to a setcc form.
887 * jump.c (can_reverse_comparison_p): Be prepared for insn null.
889 2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
891 * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
892 (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
894 Sun May 21 16:42:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
896 * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
899 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
901 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
902 * config/mn10300/mn10300.c (print_operand): Likewise.
904 * final.c (split_double): Right shift of negative values is not
907 * ifcvt.c (if_convert): Scan and kill dead code.
909 * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
911 2000-05-20 Zack Weinberg <zack@wolery.cumb.org>
913 * diagnostic.c: Eliminate implicit int.
914 * except.c, gcc.c: Add static prototypes.
915 * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
916 * gensupport.c (process_rtx): Use XVEC to initialize vector
919 * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
920 debug_reg_names instead of static reg_names. If not, define
922 * regclass.c: Don't define global reg_names unless
923 DEBUG_REGISTER_NAMES is defined.
925 * reload1.c (order_regs_for_reload): Remove unused variable.
926 * varasm.c: Include output.h after defaults.h. Define
927 eh_frame_section as function of no args, not of unspecified args.
929 * gcc.c: Constify argbuf; arguments to store_arg,
930 process_command, main; elements of struct command and struct
931 switchstr; local variables in execute, process_command, main.
933 2000-05-20 Bruce Korb <bkorb@gnu.org>
935 * fixinc/inclhack.def: many applications of c_fix=format + tests
936 * fixinc/check.diff: regenerated
937 * fixinc/fixincl.x: regenerated
939 Sat May 20 09:30:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
941 * alias.c: Clarify some comments.
942 (record_base_value): REGNO is unsigned.
943 * rtl.h (record_base_value): Likewise.
945 * alias.c (aliases_everything_p): Don't special-case QImode here.
946 * c-common.c (c_get_alias_set): Do it here.
947 Handle BIT_FIELD_REF by getting alias info for arg.
950 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
952 * mklibgcc.in: Restore rule to create ${dir}.
954 Sat May 20 08:45:41 2000 H.J. Lu <hjl@gnu.org>
956 * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
957 GCC_FOR_TARGET used by MULTILIBS.
958 * mklibgcc.in: Make sure each .o file depends on the
959 directory it will be in.
960 Make the multilib directory depends libgcc.
962 Sat May 20 08:29:28 2000 H.J. Lu <hjl@gnu.org>
964 * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
966 Sat May 20 07:27:35 2000 Alexandre Oliva <aoliva@cygnus.com>
968 * fold-const.c (make_range): Handle degenerated intervals.
969 Fixes c-torture/execute/991221-1.c
971 Fri May 19 18:16:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
973 * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
974 * reload.c (find_equiv_reg): Likewise.
975 * alias.c (init_alias_analysis): Likewise.
976 Only call prologue_epilogue_contains on insns.
977 * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
978 * bb-reorder.c (hard-reg-set.h): Include earlier.
979 * haifa-sched.c (hard-reg-set.h): Likewise.
980 * ifcvt.c (hard-reg-set.h): Likewise.
981 * local-alloc.c (hard-reg-set.h): Likewise.
982 * loop.c (hard-reg-set.h): Likewise.
983 * predict.c (hard-reg-set.h): Likewise.
984 * regrename.c (hard-reg-set.h): Likewise.
985 * flow.c (hard-reg-set.h): Likewise.
986 (reg_set_to_hard_reg_set): New function.
987 * bitmap.c (regs.h, basic-block.h): No longer include.
988 (bitmap.h): Now include.
989 * conflict.c (hard-reg-set.h): Include.
990 * profile.c (hard-reg-set.h): Likewise.
991 * print-rtl.c (hard-reg-set.h): Likewise.
992 * sbitmap.c (hard-reg-set.h): Likewise.
993 * toplev.c (hard-reg-set.h): Likewise.
994 * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
995 * hard-reg-set.h (reg_names): Now constant.
996 * regs.h (reg_names): Likewise.
997 * regclass.c (reg_names): Likewise.
998 * loop.h (basic-block.h): No longer include.
999 (bitmap.h): Now include.
1000 * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
1001 * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
1002 (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
1004 2000-05-19 Jan Hubicka <jh@suse.cz>
1005 Richard Henderson <rth@cygnus.com>
1007 * basic-block.h (struct edge_def): New field "count".
1008 (struct basic_block_def): Likewise.
1009 * flow.c (entry_exit_blocks): Add count fileds.
1010 (split_edge): Keep count information up-to-date.
1011 (dump_edge_info, dump_flow_info): Dump count fields.
1013 * final.c (count_instrumented_edges): Rename to edge from arc.
1014 (end_final): Update users.
1015 * profile.c: Include expr.h, basic-block.h.
1016 (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
1017 (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
1018 (ignore_next_note, return_label_execution_count): Kill.
1019 (bbg_file_name, da_file_name): Kill.
1020 (edge_info, bb_info): New structures.
1021 (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
1022 (count_instrumented_edges, total_num_edges): Rename to edge from arc.
1023 (total_num_edges_instrumented): Likewise.
1024 (init_arc, expand_spanning_tree): Kill.
1025 (fill_spanning_tree, tablejump_entry_p): Kill.
1026 (instrument_edges): Rewrite from instrument_arcs to use
1027 commit_edge_insertions infrastructure.
1028 (compute_branch_probabilities): Remove arguments; rewrite for
1029 CFG infrastructure; use rtl_dump_file directly.
1030 (branch_prob, find_spanning_tree): Likewise.
1031 (union_groups, find_group): New.
1032 (init_branch_prob): Make bbg_file_name and da_file_name local.
1033 (end_branch_prob): Use rtl_dump_file directly.
1034 (init_edge_profiler): Rename to edge from arc.
1035 (output_arc_profiler): Kill.
1036 (gen_edge_profiler): New.
1037 (output_func_start_profiler): Turn off profiling. Make the
1038 constructor static when we can.
1039 * rtl.h (branch_prob, end_branch_prob): Update prototypes.
1041 * toplev.c (DFI_flow): Remove.
1042 (DFI_cfg, DFI_life): New.
1043 (dump_file): Update accordingly.
1044 (compile_file): Call end_branch_prob if profile_arc_flag too.
1045 (rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
1046 profiling after the CFG is built. Move flow1 life analysis to
1047 DFI_life. Always estimate remaining probabilities.
1049 2000-05-19 Richard Henderson <rth@cygnus.com>
1051 * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
1053 * flow.c (make_edges): The sibling call edge to exit is abnormal.
1055 2000-05-19 Richard Henderson <rth@cygnus.com>
1057 * jump.c (redirect_jump): Add delete_unused argument. Don't
1058 remove labels and code following when LABEL_NUSES goes to zero.
1059 (invert_jump): Likewise.
1060 (jump_optimize_1): Fix redirect/invert arguments.
1061 (do_cross_jump, thread_jumps): Likewise.
1062 * flow.c (split_edge): Likewise.
1063 * reorg.c (optimize_skip): Likewise.
1064 (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
1065 * profile.c (instrument_arcs): Likewise.
1066 * loop.c (find_and_verify_loops): Likewise. Fix indentation.
1067 * rtl.h: Update prototypes.
1069 Fri May 19 12:05:13 2000 Clinton Popetz <cpopetz@cygnus.com>
1071 * ssa.c (convert_from_ssa): Tell life_analysis we need death
1073 (make_regs_equivalent_over_bad_edges): Only look at abnormal
1076 2000-05-19 Zack Weinberg <zack@wolery.cumb.org>
1078 * cpphash.c (funlike_macroexpand): Make sure not to walk p1
1079 past l1 when deleting whitespace and markers.
1081 * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
1082 * cpplib.c (do_unassert): Put the list to compare against on
1085 2000-05-19 Bruce Korb <bkorb@gnu.org>
1087 * fixinc/README: cleaned up old documentation
1088 * fixinc/check.diff: regenerated & verified on OSR5 on ix86
1089 * fixinc/check.tpl: compute the list of needed directories
1090 emit "#if defined(name)" because of conflict
1091 omit machine name differences from output differences
1092 * fixinc/inclhack.def( m88k_multi_incl ): Use `wrap' function
1093 (machine_name): change test text to use `sed' markers
1094 * fixinc/fixincl.x: regen
1096 Fri May 19 06:49:35 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1098 * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
1101 2000-05-18 Chris Demetriou <cgd@sibyte.com>
1103 * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
1104 it to match the current practice.
1106 2000-05-18 Mark Mitchell <mark@codesourcery.com>
1108 * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
1110 2000-05-18 Richard Henderson <rth@cygnus.com>
1112 * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
1113 * rtl.h (insn_dependant_p): Declare it.
1114 * loop.c (strength_reduce): Use it.
1116 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
1118 * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
1119 16-bit and 64-bit clean-up.
1121 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
1123 * configure.in (*-pc-msdosdjgpp): Set float_format to none.
1124 * configure: Rebuilt.
1126 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1128 * genopinit.c: Use $ for escape sequences in optab patterns.
1129 Remove backslashes from optab patterns. Change $A, $B, $C to
1130 expand to (int) whatever instead of just whatever; remove
1131 explicit (int) from all optab patterns.
1133 * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
1134 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
1135 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1136 genrecog.c: Remove private copies of xmalloc, xrealloc, and
1139 2000-05-18 Richard Henderson <rth@cygnus.com>
1141 * jump.c (jump_optimize_1): Base minimum insn count during
1142 find_cross_jump on BRANCH_COST.
1144 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1146 * print-rtl.c (print_rtx): Only print note line number as string
1147 if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
1148 * final.c (final_scan_insn): Do nothing for note line number 0.
1150 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1152 * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
1153 from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
1154 NOTE_INSN_DELETED_LABEL.
1156 2000-05-18 Nick Clifton <nickc@cygnus.com>
1158 * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
1159 uninitialised data in .rodata not .bss, and do not interpret an
1160 error in the initialisation value as meaning that the variable
1161 should be placed in the .bss section.
1163 Thu May 18 12:10:18 2000 Philippe De Muyter <phdm@macqel.be>
1165 * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
1166 not `$ac_cv_prog_cc_cc_c_o'.
1167 * configure: Regenerated.
1169 2000-05-18 Chris Demetriou <cgd@sibyte.com>
1170 Richard Henderson <rth@cygnus.com>
1172 * c-common.h (enum c_tree_index): Add g77 type entries.
1173 (g77_integer_type_node, g77_uinteger_type_node): New.
1174 (g77_longint_type_node, g77_ulongint_type_node): New.
1175 * c-decl.c (init_decl_processing): Initialize them.
1177 2000-05-18 Richard Henderson <rth@cygnus.com>
1179 * config/h8300/h8300.md (subs patterns): Use %G to negate.
1181 * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
1182 (small_power_of_two): Likewise; use exact_log2.
1183 (adds_subs_operand, one_insn_adds_subs_operand): Remove.
1184 (output_adds_subs): Remove.
1185 (two_insn_adds_subs_operand): New.
1186 (split_adds_subs): New.
1187 * config/h8300/h8300-protos.h: Update.
1188 * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
1189 (CONST_OK_FOR_L): Match strict adds operands.
1190 (CONST_OK_FOR_N): Match struct subs operands.
1191 * config/h8300/h8300.md (adds_subs insns): Remove.
1192 (addhi patterns): Output adds/subs directly.
1193 (addsi_h8300h): Likewise.
1194 (addhi/addsi splitters): New. Decompose two_insn_adds_subs_operand.
1196 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1198 * cppexp.c (parse_assertion): New.
1199 (lex): Call it for CPP_HASH. Remove CPP_ASSERTION case.
1200 (_cpp_parse_expr): Remove case '#'. Don't set
1201 parsing_if_directive.
1202 * cpphash.c (collect_objlike_expansion,
1203 collect_funlike_expansion, collect_params,
1204 _cpp_create_definition): The list no longer has a trailing
1206 * cpphash.h (enum node_type): Add T_ASSERTION.
1207 (struct hashnode): Remove aschain, add pred.
1208 (struct predicate): New.
1211 * cpplex.c (expand_token_space): Handle both offset and
1213 (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
1214 (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
1215 _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
1216 _cpp_equiv_toklists): New.
1217 (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
1218 stop at any single-character token, not just newline.
1219 (_cpp_lex_token): Remove special cases for #define and #if.
1220 (cpp_get_token): Expect # as a separate token type. Remove
1222 (_cpp_get_directive_token): Remove DIRECTIVE case.
1223 (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
1225 * cpplib.c (_cpp_check_directive): Set dirno and
1226 SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
1227 (_cpp_handle_directive): Run # <number> through the same logic
1228 as normal directives.
1229 (do_define): Don't set parsing_define_directive. Use
1230 _cpp_scan_until. The list does not have a VSPACE at the end.
1231 (do_if): Save, clear, and restore only_seen_white around
1233 (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
1234 (do_assert, do_unassert): Rewrite.
1236 * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
1237 (LIST_OFFSET): New flag.
1238 (struct cpp_toklist): Replace dir_handler and dir_flags with
1240 (struct cpp_reader): Remove parsing_if_directive and
1241 parsing_define_directive.
1243 2000-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1245 * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
1246 following the cabs decl which terminate on the following line.
1247 Add the corresponding test_text case.
1249 2000-05-18 Neil Booth <NeilB@earthling.net>
1251 * cppinit.c (cpp_reader_init): Initialise col_adjust and
1252 default tab stop size.
1253 (no_num, OPT_ftabstop): New.
1254 (handle_option): Handle "ftabstop=" command-line option.
1255 (print_help): Document it.
1256 * cpplex.c (COLUMN): Remove.
1257 (handle_newline): Reset col_adjust.
1258 (skip_whitespace): Update col_adjust as tabs encountered.
1259 (_cpp_lex_line): Update to use col_adjust. Call
1260 skip_whitespace for all whitespace.
1261 * cpplib.h (struct cpp_options): New member tabstop.
1262 (struct cpp_reader): New member col_adjust.
1263 (CPP_BUF_COL): Update.
1264 (CPP_BUF_COLUMN): New.
1265 * cpp.texi: Document "-ftabstop=" command line option.
1267 Wed May 17 18:19:41 2000 Philippe De Muyter <phdm@macqel.be>
1269 * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
1271 * configure: Rebuilt.
1273 Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
1275 * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
1277 * tree.c (build_common_tree_nodes): Do not build TI nodes unless
1278 HOST_BITS_PER_WIDE_INT is >= 64.
1280 2000-05-17 Richard Henderson <rth@cygnus.com>
1282 * jump.c (jump_optimize_1): Remove inactive but real insns
1283 in jump-to-next-insn optimization.
1285 2000-05-17 Richard Henderson <rth@cygnus.com>
1287 * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
1288 unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
1289 Don't call recompute_reg_usage if no_new_pseudos is true.
1290 * lcm.c (optimize_mode_switching): Move ifdefs outside function.
1291 Return true if we did work; update global life information.
1292 * basic-block.h (optimize_mode_switching): Update decl.
1294 2000-05-17 Neil Booth <neilb@earthling.net>
1296 * cpplex.c (expand_name_space): Don't use ptrdiff_t.
1298 2000-05-17 Zack Weinberg <zack@wolery.cumb.org>
1300 * cpplib.c: New feature, #pragma system_header.
1301 * cpp.texi: Document special treatment of system headers, and
1302 the various mechanisms to get a header that special treatment.
1304 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1306 * system.h (offsetof): Define at the very end, to ensure we prefer
1307 the platform's definition if available.
1309 2000-05-16 Bruce Korb <bkorb@gnu.org>
1311 * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
1312 * fixinc/server.c: likewise
1313 * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
1314 + #ifdef debugging code + use #def constant for
1316 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
1317 on C++ math namespace
1319 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1321 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
1322 Don't check the return value of sprintf. Use asprintf to avoid
1325 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
1327 * flags.h (warn_unused_function, warn_unused_label,
1328 warn_unused_parameter, warn_unused_variable, warn_unused_value):
1329 Replace ``warn_unused''.
1330 (set_Wunused): Add declaration.
1331 * toplev.c (set_Wunused): New function.
1332 (warn_unused_function, warn_unused_label, warn_unused_parameter,
1333 warn_unused_variable, warn_unused_value): New variables.
1334 (W_options): Add -Wunused-function, -Wunused-function,
1335 -Wunused-label, -Wunused-parameter, -Wunused-variable and
1336 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
1338 * toplev.c (decode_W_option): Update -Wunused flags by calling
1340 * c-decl.c (c_decode_option): Ditto for -Wall.
1342 * stmt.c (expand_expr_stmt, expand_expr_stmt,
1343 warn_about_unused_variables): Replace warn_unused with more
1344 explicit warn_unused_value et.al.
1345 * function.c (expand_function_end): Ditto.
1346 * c-typeck.c (internal_build_compound_expr,
1347 internal_build_compound_expr): Ditto.
1348 * c-decl.c (poplevel, pop_label_level): Ditto.
1349 * toplev.c (check_global_declarations): Replace warn_unused with
1350 check for either warn_unused_function or warn_unused_variable.
1352 * gcc.1, invoke.texi (Warning Options): Document
1353 -Wunused-function, -Wunused-function, -Wunused-label,
1354 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
1356 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
1358 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
1359 $(srcdir), not in the current directory.
1361 2000-05-16 Richard Henderson <rth@cygnus.com>
1363 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
1364 assembler supports it.
1365 (.fini, .init): Use a gp-relative indirect call.
1366 (__do_global_dtors_aux): Preserve the gp; rebundle.
1367 (__do_frame_setup): Likewise.
1368 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
1369 (.init): Use a gp-relative indirect call.
1370 (__do_global_ctors_aux): Preserve the gp.
1372 2000-05-16 Richard Henderson <rth@cygnus.com>
1374 * flow.c (commit_one_edge_insertion): Be prepared for a return
1375 insn to be inserted on the edge with a normal jump.
1376 * jump.c (jump_optimize_1): Don't look to create return isns.
1378 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
1379 * jump.c (jump_optimize_1): Likewise.
1380 (returnjump_p): Verify the argument is a JUMP_INSN.
1381 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
1383 2000-05-16 Nick Clifton <nickc@cygnus.com>
1385 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
1386 GET_RTX_CLASS (GET_CODE ()) == 'i'.
1387 (large_insn_p): Ditto.
1388 (m32r_is_insn): New function: Return true if the insn contains
1389 an executable instruction.
1390 (m32r_adjust_insn): Use m32r_is_insn.
1391 (m32r_sched_reorder): Use m32r_is_insn.
1392 (m32r_sched_variable_issue): Use m32r_is_insn.
1394 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1396 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
1399 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
1401 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
1402 according to given options.
1404 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
1406 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
1407 if X has VOIDmode either.
1408 (LIMIT_RELOAD_CLASS): Similarly.
1410 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
1411 not "general_operand" to match the processor's capabilities.
1413 2000-05-16 Bruce Korb <bkorb@gnu.org>
1415 * fixinc/README: corrected return address
1416 * fixinc/check.diff: regenerate, now that test works
1417 * fixinc/fixfixes.c(format_fix,format_write): reformatted
1418 (char_macro_def_fix,char_macro_use_fix): corrected and
1419 rewrote to use regex to parse the text
1420 * fixinc/inclhack.def: more testing
1421 * fixinc/fixincl.x: regenerated
1423 * fixinc/inclhack.def: added several "test_text" attributes
1424 changed several fixes to use `c_fix = format'
1425 re-alphabetized the fixes
1427 * fixinc/check.diff: regenerate
1428 * fixinc/fixincl.x: regenerate
1429 * fixinc/check.tpl: added `sparc' and `netinet' to the list
1433 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
1435 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
1437 2000-05-15 Richard Henderson <rth@cygnus.com>
1439 * toplev.c (rest_of_compilation): Run full jump pass before
1440 find_basic_blocks of flow2.
1442 2000-05-15 Richard Henderson <rth@cygnus.com>
1444 * jump.c: Fix typos and clarify commentary from last change.
1445 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
1446 (safe_to_remove_jump_p): Remove.
1447 (condjump_label): Use pc_set.
1449 2000-05-15 Richard Henderson <rth@cygnus.com>
1451 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
1452 that get in the way after reload.
1453 (cond_exec_process_if_block): Skip a label heading THEN block.
1455 2000-05-15 Richard Henderson <rth@cygnus.com>
1457 * varasm.c (output_constant_pool): Abort instead of converting
1458 (improperly) deleted labels to zero.
1460 2000-05-16 Neil Booth <NeilB@earthling.net>
1462 * cpplex.c (parse_string2): Update comment.
1463 (cpp_lex_line): No special assertion treatment for '('.
1464 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
1465 * cpplib.h (SYNTAX_ASSERT): Remove.
1467 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1469 * jump.c (condjump_p): Mark as depreached.
1470 (any_condump_p): New.
1471 (any_uncondump_p): New.
1473 (safe_to_remove_jump_p): New.
1474 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
1475 safe_to_remove_jump_p): Declare.
1477 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1479 * calls.c: Re-install both patches reverted by last patch.
1480 (struct arg_data): New field tail_call_reg.
1481 (initialize_argument_information): Initialize tail_call_reg
1482 (load_register_parameters): New argument flags, use
1483 tail_call_reg when emiting tail call sequence.
1484 (expand_call): Update call of load_register_parameters;
1485 copy unadjusted_args_size to adjusted_args_size.
1487 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
1489 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
1490 and bct_p parameters to flags.
1491 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
1492 * rtl.h (loop_optimize): Update prototype.
1493 * toplev.c (rest_of_compilation): Update call of loop_optimize.
1495 2000-05-15 Jakub Jelinek <jakub@redhat.com>
1497 * calls.c (expand_call): Move expand_start_target_temps call after
1500 2000-05-15 Neil Booth <NeilB@earthling.net>
1502 * cpphash.c (trad_stringify, warn_trad_stringify,
1503 collect_params): Make some pointers pointers to const.
1504 * cpplex.c (auto_expand_name_space) Guaranteed to always
1505 expand by at least one character.
1506 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
1507 (struct token_spelling): Use const U_CHAR * rather than PTR.
1508 (expand_name_space): Fix up token pointers if name space
1509 is moved when expanding.
1510 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
1511 parse_string2, save_comment, spell_token, cpp_output_list):
1512 Update so the routines handle tokens with a direct pointer to
1513 their text, rather than an offset into the token's list's namebuf.
1514 (_cpp_lex_line): Rearrange for clarity.
1516 * cpplib.c (_cpp_check_directive): Similarly.
1517 (do_define): Make SYM a pointer to const.
1518 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
1519 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
1520 (TOK_OFFSET): Delete.
1523 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
1525 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
1528 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
1530 (logical_u_operand): Delete.
1531 (non_logical_cint_operand): Rewrite to take MODE into account.
1532 (non_logical_u_cint_operand): Delete.
1533 (boolean_operator): New function.
1534 (print_operand): Add new %q operand.
1535 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
1536 remove logical_u_operand and non_logical_u_cint_operand,
1537 update logical_operand and non_logical_cint_operand.
1538 * config/rs6000/rs6000.md: Rewrite the patterns for performing
1539 logical operations to use %q.
1541 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
1542 (movdi): Make similar to movsi.
1543 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
1544 is no such thing as a DImode CONST_DOUBLE.
1545 * config/rs6000/rs6000.c (output_toc): Likewise.
1547 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
1548 codes when old mnemonics are in use. Print register names
1549 for cc registers when requested.
1551 * optabs.c (expand_float): Don't allow mode widening that causes
1554 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
1555 flags to their current names -maix64 and -maix32.
1557 2000-05-14 Bruce Korb <bkorb@gnu.org>
1559 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
1560 and/or after current text of file
1561 * fixinc/fixlib.c(must_malloc):
1562 * fixinc/fixlib.h(must_malloc): + reformatting
1563 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
1564 with usages of ``c_fix = wrap;''
1565 Add several tests and use the ``c_fix = format'' fixer more.
1566 * fixinc/fixincl.x: regen
1567 * fixinc/check.diff: regen
1568 * fixinc/check.tpl: emit the associated header with the missing
1571 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
1573 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
1574 variables $src and $dst.
1576 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
1578 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
1579 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
1580 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
1581 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
1583 (set_message_prefixing_rule): Declare.
1585 * diagnostic.c: (current_prefixing_rule): New variable.
1586 (set_message_prefixing_rule): Define.
1587 (output_set_prefix): Adjust buffer->emitted_prefix_p.
1588 (init_output_buffer): Adjust Initialization.
1589 (output_emit_prefix): Rewrite. Take prefixing rules into account.
1591 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
1593 * ifcvt.c (if_convert): Do not free NULL.
1595 2000-05-12 Nick Clifton <nickc@cygnus.com>
1597 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
1598 to move a double word value.
1599 (di_operand): New function: Return true if the operand is suitbale
1600 for a double word move operation.
1601 (nonimmediate_di_operand): New function: Return true if the
1602 operand is a DImode register or MEM.
1604 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
1605 nonimmediate_di_operand.
1607 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
1608 nonimmediate_di_operand.
1610 * config/fr30/fr30.md (movdi): New pattern. Required because
1611 other patterns generate DImode results.
1612 (movdi_insn): New pattern.
1614 2000-05-12 Richard Henderson <rth@cygnus.com>
1616 * config/alpha/alpha.c (struct shadow_summary): Define
1617 bitfields as type unsigned int.
1619 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
1621 * config/avr/t-avr: Added definition of FLOAT while generates
1624 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
1625 peepholes for tst+jump = sbrs/sbrc optimization.
1627 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
1629 * expr.c (emit_push_insn): Do not adjust stack pointer when
1632 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
1634 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
1635 * system.h (offsetof): ... to here.
1637 2000-05-12 Richard Henderson <rth@cygnus.com>
1639 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
1640 * final.c (final_end_function): Use app_disable. Rearrange note
1641 handling into a switch. Emit deleted labels.
1642 (output_asm_label): Generate label strings for deleted labels.
1643 * flow.c (tail_recursion_label_list): New.
1644 (find_basic_blocks_1): Set label_value_list directly. Collect list
1645 of tail recursion labels from call_placeholders. Don't add deleted
1646 labels to the label value list.
1647 (cleanup_cfg): Use free_EXPR_LIST_list.
1648 (flow_delete_insn_chain): Turn non-removable labels into notes.
1649 (flow_delete_block): Don't disable deleting the block because of
1650 a non-removable label.
1651 (tail_recursion_label_p): New.
1652 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
1654 (merge_blocks_move_successor_nojumps): Likewise. Also move a
1656 (merge_blocks): Disable a merge because of tail recursion labels.
1657 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
1658 Use a more accurate measure of not merging the join block.
1659 (find_if_block): Don't disable conversion because of a label.
1660 (find_if_case_1, find_if_case_2): Likewise.
1661 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
1662 element when copying.
1663 (squeeze_notes): Also leave EH notes.
1664 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
1666 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
1668 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
1669 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
1670 referring to a deleted label. Convert tail handling to a switch.
1671 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
1672 for NOTE_INSN_DELETED_LABEL.
1673 (NOTE): Fix commentary.
1674 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
1675 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
1676 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
1677 (LABEL_NUSES, LABEL_REFS): Likewise.
1678 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
1680 2000-05-12 Bruce Korb <bkorb@gnu.org>
1682 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
1683 * fixinc/check.diff: updated
1684 * fixinc/inclhack.def: corrected & added some test_text-s
1685 * fixinc/genfixes: removed unneeded options to autogen invocation
1686 * fixinc/fixincl.tpl: Specified the output file
1687 * fixinc/fixfixes.c: visual appearance
1688 * fixinc/fixincl.x: regenerate
1690 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
1692 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
1693 CTRL_defn_fix): Delete.
1694 (fix_char_macro_defines, fix_char_macro_uses): Rename to
1695 char_macro_def_fix and char_macro_use_fix, respectively. Put
1696 them into the FIXUP_TABLE. Get the string to search for from
1699 (format_write): New function.
1700 (format_fix): Use it.
1702 (FIX_PROC_HEAD): Constify text parameter.
1703 (machine_name_fix): Constify all char *s.
1704 * fixtests.c (skip_quote): Remove double static.
1706 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
1707 ctrl_use_quotes): Update for new scheme.
1708 * fixincl.x: Regenerate.
1710 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1712 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
1714 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
1715 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
1717 2000-05-11 Robert Lipe <robertlipe@usa.net>
1719 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
1720 * fixincl.x: Regenerate.
1722 2000-05-11 Richard Henderson <rth@cygnus.com>
1724 * calls.c: Revert both 05-09 patches.
1726 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
1728 * config/mn10300/mn10300.c (print_operand): Print FP constants in
1730 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
1733 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
1734 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
1736 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
1738 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
1740 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1742 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
1744 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
1746 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
1747 * config/avr/avr.c (jump_over_one_insn_p): New function.
1748 * config/avr/avr.md: New peepholes added. Output test and
1749 conditional jump to "sbrc" or "sbrs" command.
1751 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
1753 * cppmain.c (main): Use IS_DIR_SEPARATOR.
1755 2000-05-11 Jakub Jelinek <jakub@redhat.com>
1757 * except.c (find_exception_handler_labels_1): New function.
1758 (find_exception_handler_labels): Split into two functions, dive
1759 into CALL_PLACEHOLDERs when looking for exception handler labels.
1761 2000-05-11 Stan Cox <scox@cygnus.com>
1763 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
1764 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
1765 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
1767 2000-05-11 Bruce Korb <bkorb@gnu.org>
1769 * fixinc/fixfixes.c (double_slash_fix): obsolete
1770 (else_endif_label_fix): obsolete
1771 (format_fix): new, unused as yet
1773 * fixinc/fixlib.h: added fix description struct for use by format_fix
1774 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
1775 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
1776 modules. Removed the vestiges of the script version.
1777 Added support for "make check".
1778 * fixinc/check.diff: base diff file (needs work!!)
1779 * fixinc/check.tpl: quiet the fixup output
1780 * fixinc/fixtests.c (main): obsolete
1781 * fixinc/fixincl.sh: don't bother copying fixincl to ..
1782 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
1784 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
1786 * toplev.c (rest_of_compilation): Remove dead code after
1789 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1791 * cpphash.c (collect_funlike_expansion): Make "# is not
1792 followed by a macro argument name" a pedwarn, not an error.
1793 Preserve the # in the output. Suppress the warning if lang_asm.
1795 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
1797 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
1798 * configure: Rebuilt.
1800 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
1802 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
1804 2000-05-10 Kazu Hirata <kazu@hxi.com>
1806 * combine.c (try_combine): Fix a typo.
1808 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
1810 * config/ia64/ia64.md (insv): Add comment.
1812 2000-05-10 Richard Henderson <rth@cygnus.com>
1814 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
1815 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
1816 dependancies on FPBIT and DPBIT.
1818 2000-05-10 Nick Clifton <nickc@redhat.com>
1820 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
1821 when optimising for size.
1822 (mark_used_regs:) Ditto.
1823 (try_pre_increment_1): Ditto.
1825 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
1827 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
1828 Make error message friendlier.
1830 * cpphash.h (struct hashnode): Use struct hack for name
1832 * cpphash.c (struct hashdummy): New.
1833 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
1834 (make_HASHNODE): No need to set ->name pointer. Correct
1836 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
1838 2000-05-10 Richard Henderson <rth@cygnus.com>
1840 * flow.c (find_basic_blocks_1): Remove any spare bb_note
1843 2000-05-10 Bruce Korb <bkorb@gnu.org>
1845 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
1847 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
1849 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
1850 after we enter .debug.
1852 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
1854 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
1855 abstract instance of a nested inline function.
1857 * stor-layout.c (finish_record_layout): finalize_type_size
1858 before laying out the pending_statics.
1860 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
1862 * cpplex.c (spell_token): New function.
1863 (spell_string, spell_comment, spell_name): fold into
1866 (E, H): Remove macros.
1867 (save_comment): Save comment opening characters too.
1868 (_cpp_lex_file): Update to use spell_token. Tidy up comment
1870 * cpplib.h (I, S): Add macros.
1871 (E, H): Remove macros.
1872 (TTYPE_TABLE): Update entries for new speller.
1873 (SYNTAX_ASSERT): Remove.
1875 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
1877 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
1878 when removing escaped newlines. Reverse sense of test for
1881 2000-05-09 Richard Henderson <rth@cygnus.com>
1883 * flow.c (find_basic_blocks_1): Do not delete the first
1884 bb_note we run across.
1885 (create_basic_block): Use reorder_insns to move an existing
1886 bb_note to the correct place.
1888 2000-05-09 Richard Henderson <rth@cygnus.com>
1890 * calls.c (expand_call): Increment currently_expanding_call
1891 before calling optimize_tail_recursion.
1893 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1895 * reload1.c (reload_combine): Fix errors in last change.
1897 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
1899 * gcc.c (used_arg): Skip over a semicolon at the end of the
1900 split-up loop; don't break out of it.
1902 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
1903 (tree.o): Depend on output.h.
1905 * c-decl.c (pending_invalid_xref_file,
1906 current_function_prototype_file): Constify.
1907 (pushdecl): Constify a local char *.
1908 (define_label): Constify filename parameter.
1909 * c-lex.c (init_parse): Constify parameter and return value.
1910 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1911 * c-tree.h: Update prototypes.
1912 * c-parse.in: Constify filename member of %union, and if_stmt_file.
1913 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1914 objc/objc-parse.c: Regenerate.
1916 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1917 * dwarfout.h: Update prototypes.
1918 * expr.c (expand_expr): Constify a local char *.
1919 * flags.h: Constify main_input_filename.
1920 * function.c (expand_function_end): Constify filename parameter.
1921 * genrecog.c (make_insn_sequence): Use a character array for
1923 (main): Remove unused variables.
1924 * input.h: Constify input_filename, main_input_filename, and
1925 file_stack.name. Update prototypes.
1926 * output.h: Declare first_global_object_name and
1927 weak_global_object_name here, as const char *.
1928 * stmt.c (expand_asm_operands): Constify filename parameter.
1929 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1930 Constify filename parameter.
1931 (input_filename, main_input_filename): Constify.
1932 * toplev.h: Update prototypes.
1933 * tree.c: Include output.h. Don't declare
1934 first_global_object_name or weak_global_object_name. Clean up string
1935 bashing in get_file_function_name_long.
1936 * tree.h (struct tree_decl): Constify filename member.
1937 (input_filename): Constify.
1939 * varasm.c (first_global_object_name, weak_global_object_name):
1941 (assemble_start_function, assemble_variable): Clean up string bashing.
1943 * gcc.c: Constify all spec-related strings initialized,
1944 transitively, from string constants. Constify all strings
1945 and string variables related to multilibs.
1946 (set_spec, read_specs): Cast argument to free to PTR.
1947 (used_arg): Do not modify multilib_matches. Use strncmp plus
1948 length comparison to compare multilib switches.
1949 * genmultilib: Constify everything declared in multilib.h.
1951 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
1953 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
1956 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
1958 * config/avr/avr-protos.h (extra_constraint): change a type of
1959 second argument from char to int to avoid warnings.
1960 (asm_output_byte): Likewise.
1962 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
1963 (initial_elimination_offset): Handle elimination from
1964 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
1965 (legitimate_address_p): Use MAX_LD_OFFSET.
1966 (legitimize_address): Likewise.
1967 (out_movqi_r_mr): Likewise.
1968 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
1969 (out_movsi_r_mr): Use MAX_LD_OFFSET.
1970 (out_movsi_mr_r): Likewise.
1971 (out_movqi_mr_r): Likewise.
1972 (out_movhi_mr_r): Likewise.
1973 (notice_update_cc): Correct CC for the ashrqi3 with the shift
1974 count as CONST_INT != 6.
1975 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
1976 shift count is a CONSTANT_P, but not a CONST_INT.
1977 (ashlhi3_out): Coding style modifications.
1978 (ashlsi3_out): Likewise.
1979 (ashrhi3_out): Likewise.
1980 (ashrsi3_out): Likewise.
1981 (lshrhi3_out): Likewise.
1982 (lshrsi3_out): Likewise.
1983 (ashrqi3_out): Generate shift for any known constant count without
1984 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
1985 but not a CONST_INT.
1986 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
1987 shift count is a CONSTANT_P, but not a CONST_INT.
1988 (extra_constraint): change a type of
1989 second argument from char to int to avoid warnings.
1990 (asm_output_byte): Likewise.
1991 (asm_file_end): Output size generated commands count as a hex
1994 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
1996 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
1998 (ashlqi3): Values of "length" attribute changed. Shift count
1999 uses constraints 'n' instead of 'i'.
2000 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
2001 shifts without clobber register.
2002 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
2003 (call_insn): Correct test for which_alternative == 1 (was 0).
2004 (call_value_insn): Likewise.
2006 * config/avr/t-avr: Remove definition of FLOAT while generates
2009 2000-05-09 Bruce Korb <bkorb@gnu.org>
2011 * fixinc/check.tpl: Template for checking fixes
2012 * fixinc/inclhack.def: Added 'test_text' for many fixes
2013 disable hpux8_bogus_inlines on SCO
2014 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
2016 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
2018 * calls.c (expand_call): Reorganize somewhat in order
2019 to avoid unnecesary recalculation inside loop and make
2020 tail call failure code cleaner.
2022 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2024 * alias.c (nonlocal_reference_p): Minor reformatting.
2025 * reload.c (find_equiv_reg): Simplify logic for
2026 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
2027 some some reformatting.
2028 * reload1.c (reload_combine): Don't assume everything in
2029 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
2031 2000-05-08 Richard Henderson <rth@cygnus.com>
2033 * final.c (current_insn_predicate): New.
2034 (final_scan_insn): Set it.
2035 * output.h (current_insn_predicate): Declare.
2037 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
2038 Attach it to call insns.
2039 (cond_exec_process_if_block): Track probability for true and
2041 (dead_or_predicable): Likewise.
2043 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
2044 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
2045 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
2046 (estimate_probability, expected_value_to_br_prob): Use them.
2048 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
2049 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
2050 (ia64_expand_prediction): New.
2051 (emit_insn_group_barriers): Don't look at notes. Emit barriers
2052 as needed after calls.
2053 (ia64_epilogue_uses): Mark b0 used.
2054 * config/ia64/ia64.md (beq_true, beq_false): Remove.
2055 (bne_true, bne_false): Remove.
2056 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
2057 (br_true, br_false): New. Use predicate_operator and
2058 ia64_expand_prediction.
2059 (return_true, return_false): Likewise.
2060 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
2061 (call_internal1, call_value_internal): Likewise.
2062 (call_value_internal1, call_multiple_values_internal1): Likewise.
2064 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
2066 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
2068 2000-05-08 Richard Henderson <rth@cygnus.com>
2070 * rtlanal.c (may_trap_p): Consider old-style and volatile
2073 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
2075 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
2077 2000-05-08 Richard Henderson <rth@cygnus.com>
2079 * config/ia64/ia64.h (predicate_operator): Declare.
2081 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
2084 * gensupport.c (process_rtx): Copy and post-process each member
2085 of the define_insn rtvec individually.
2087 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
2089 * cpplex.c (spell_token): New function.
2090 (TOKEN_LEN): Add 1 for whitespace.
2091 (_cpp_lex_file): Update to use spell_token.
2092 * cpplib.h (E): Remove.
2093 (TTYPE_TABLE): Update CPP_VSPACE entry.
2095 2000-05-08 Richard Henderson <rth@cygnus.com>
2097 * flow.c (init_propagate_block_info): Watch out for conditional
2098 branch to next instruction, and thus one outgoing edge.
2100 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
2101 for global register variables; don't special case __[CD]TOR_LIST__;
2102 mind ggc_p for string allocation.
2104 2000-05-08 Nick Clifton <nickc@cygnus.com>
2106 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
2108 2000-05-08 Bruce Korb <bkorb@gnu.org>
2110 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
2111 i?86-*-msdosdjgpp* no longer uses fixincludes
2112 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
2113 * fixinc/inclhack.sh: deleted
2114 * fixinc/hackshell.tpl: deleted
2115 * fixinc/inclhack.tpl: deleted
2116 * fixinc/Makefile.in: Remove dependencies on above
2117 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
2119 2000-05-08 Andreas Jaeger <aj@suse.de>
2121 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
2124 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
2126 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
2129 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
2131 * cpplex.c: Move new lexer definitions and prototypes
2132 to top. Conditional include these and the code if
2133 NEW_LEXER is defined. Rename functions whose names
2134 clash if this code included.
2136 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
2138 * rtl.def (COND_EXEC): Clarify.
2140 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
2141 same fashion as zero_extendsidi2.
2143 2000-05-06 Richard Henderson <rth@cygnus.com>
2145 * config/ia64/ia64.c (predicate_operator): New.
2146 (ia64_print_operand): Handle 'J'.
2147 (rtx_needs_barrier): Handle COND_EXEC.
2148 * config/ia64/ia64.h (BRANCH_COST): Define.
2149 (PREDICATE_CODES): Update.
2150 * config/ia64/ia64.md: Docuement used unspec values.
2151 (attr predicable): New.
2152 (movxf, movxf_internal): New.
2153 (extendsfdf2): Don't comment out nop.
2154 (floatdidf2): Remove.
2155 (truncxfsf2, truncxfdf2, floatdixf2): New.
2156 (abssi2, absdi2): Put the neg in the "true" slot.
2157 (conditional branch instructions): Mark not predicable.
2158 (cmov*_internal): Use predicate_operator. Split to cond_exec.
2159 (abs*_internal): Likewise.
2160 (alloc, set_bsp): Mark not predicable.
2161 (barrier, insn_group_barrier, flush_cache): Likewise.
2162 (define_cond_exec): New.
2164 2000-05-06 Richard Henderson <rth@cygnus.com>
2166 * c-decl.c: Include "tm_p.h".
2168 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
2169 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
2170 (ia64_expand_op_and_fetch): Declare.
2171 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
2172 (setjmp_operand): Constify variables for XSTR.
2173 (ia64_encode_section_info): Likewise.
2174 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
2176 (ia64_asm_output_external): Constify name.
2177 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
2178 (process_for_unwind_directive): Provide switch default.
2179 (ia64_expand_compare_and_swap): Remove unused variables.
2180 (ia64_expand_builtin): Likewise.
2181 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
2184 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
2185 (symbolic_operand, function_operand, setjmp_operand): Likewise.
2186 (shift_count_operand, shift_32bit_count_operand): Likewise.
2187 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
2188 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
2189 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
2190 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
2191 (ia64_expand_builtin): Likewise.
2192 (call_multiple_values_operation): Make dest_regno unsigned.
2194 2000-05-06 Richard Henderson <rth@cygnus.com>
2196 * rtl.def (DEFINE_COND_EXEC): New.
2197 * md.texi: Document it.
2199 * gensupport.c (input_file): Remove.
2200 (struct queue_elem): Add lineno.
2201 (rtx_ready_queue): Remove.
2203 (predicable_default): New.
2204 (predicable_true, predicable_false): New.
2205 (define_attr_queue, define_attr_tail): New.
2206 (define_insn_queue, define_insn_tail): New.
2207 (define_cond_exec_queue, define_cond_exec_tail): New.
2208 (other_queue, other_tail): New.
2209 (queue_pattern): New.
2210 (process_rtx): Add patterns to the appropriate queues.
2211 (is_predicable, identify_predicable_attribute): New.
2212 (n_alternatives, collect_insn_data): New.
2213 (alter_predicate_for_insn, alter_test_for_insn): New.
2214 (shift_output_template, alter_output_for_insn): New.
2215 (process_one_cond_exec, process_define_cond_exec): New.
2216 (init_md_reader): Read the entire file. Process define_cond_exec.
2217 (read_md_rtx): Return elements from the queues.
2219 2000-05-06 Richard Henderson <rth@cygnus.com>
2221 * flow.c (mark_set_1): Don't update conditional life info
2222 if the register is not_dead.
2224 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2226 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
2227 (mostlyclean): Also delete fixincl, fixinc.sh, and
2228 specs.ready, and make clean in the fixinc subdir.
2230 2000-05-06 Richard Henderson <rth@cygnus.com>
2232 * Makefile.in (gensupport.o): Compile for the host.
2233 (host-prefix gensuuprt.o): Remove.
2234 (genflags.o): Depend on gensupport.h and OBSTACK_H.
2235 (genattrtab.o): Likewise.
2236 (gencodes.o): Depend on gensupport.h.
2237 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
2238 (genpeep.o, genattr.o, genoutput.o): Likewise.
2240 * gensupport.c (obstack, rtl_obstack): New.
2241 (init_md_reader): Initialize rtl_obstack.
2242 * gensupport.h (rtl_obstack): Declare.
2243 (message_with_line): Declare.
2245 * genattr.c: Remove all traces of obstack manipulation.
2246 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
2247 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
2249 * genattrtab.c (obstack, rtl_obstack): Remove.
2250 (main): Don't init rtl_obstack.
2251 * genflags.c: Likewise.
2253 * genrecog.c (message_with_line): Move ...
2254 * gensupport.c: ... here.
2256 2000-05-06 Richard Henderson <rth@cygnus.com>
2258 * c-typeck.c (build_c_cast): Remove dead code.
2260 2000-05-06 Richard Henderson <rth@cygnus.com>
2262 * flow.c (split_edge): Don't allocate global_live_at_start for
2263 the new block unless the old blocks had them as well.
2265 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
2267 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
2268 test_bb if a or b uses x.
2270 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2272 * cpphash.h: Remove conditional #define of __extension__.
2273 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
2274 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
2275 (ENABLE_RTL_CHECKING only).
2276 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
2277 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
2278 (ENABLE_TREE_CHECKING only).
2279 * varray.h: Add __extension__ to VARRAY_CHECK macro
2280 (ENABLE_CHECKING only).
2282 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2284 Use new tail-calling mechanism on ARM.
2285 * arm.md (sibcall, sibcall_value): New expands.
2286 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
2287 (tailcalling peepholes): Delete.
2288 (push_multi): Simplify.
2289 * arm.c (lr_save_eliminated): Delete definition.
2290 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
2291 (output_return_instruction): Remove checks on lr_save_eliminated.
2292 (output_arm_prologue): Remove old tail-calling code.
2293 (arm_output_epilogue): New parameter, really_return. All callers
2294 changed. Handle tail-calling epilogues.
2295 * arm.h (lr_save_eliminated): Delete declaration.
2296 (frame_pointer_needed): Delete declaration.
2297 * arm-protos.h (arm_output_epilogue): Adjust prototype.
2299 * arm.md (is_thumb): Examine symbol thumb_code, not expression
2301 * arm.c (thumb_code): Define it.
2302 (arm_override_options): Set it.
2303 * arm.h (thumb_code): Declare it.
2305 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2307 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
2309 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2311 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
2312 bogus clobber to insns.
2313 (load_multiple_operation, store_mulitple_operation): Don't check
2315 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
2317 * arm.md (and_scc, ior_scc): Add missing mode.
2319 * arm.md (call_value_symbol): Remove predicate from op2.
2321 * arm.h (SPECIAL_MODE_PREDICATES): Define.
2323 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2325 * expr.c (get_subtarget): New function.
2326 (force_operand, expand_expr, do_store_flag): Use it.
2328 * toplev.c (compile_file): Don't take strlen of NAME if null.
2330 2000-05-06 David Edelsohn <edelsohn@gnu.org>
2332 * xcoffout.c (xcoff_current_include_file,
2333 xcoff_current_function_file, xcoff_lastfile): Constify char *.
2334 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
2336 (xcoffout_declare_function): Make name 'const char *'.
2337 (xcoffout_end_epilogue): Make fname 'const char *'
2338 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
2339 xcoffout_declare_function, xcoffout_source_line): Match above.
2341 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
2343 * rs6000.c (print_operand): Fix lossage typo.
2344 (output_cbranch): Remove "cr" decoration for now.
2345 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
2347 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
2349 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
2352 2000-05-05 Bruce Korb <bkorb@gnu.org>
2354 * fixinc/genfixes: Improve the matching for make target names
2356 2000-05-05 Catherine Moore <clm@cygnus.com>
2358 * c-common.c (decl_attributes): For TYPE_DECLs attach the
2359 attribute to the decl.
2360 * c-decl.c (pushdecl): Propagate the USED attribute to the
2363 2000-05-05 Richard Henderson <rth@cygnus.com>
2365 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
2366 same way emit_group_load does.
2368 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
2370 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
2372 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
2375 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
2377 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
2379 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
2381 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
2382 to support -shared, on platforms with dynamic libraries.
2384 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
2386 * system.h (S_ISBLK): Provide fallback definition.
2388 2000-05-05 Geoff Berry <geoffb@bops.com>
2390 * extend.texi (Extended Asm): Document inability to give asm
2391 statements access to condition codes.
2393 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
2395 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
2396 as arg 2 of UNIQUE_SECTION.
2398 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
2400 * predict.c: Remove May 4 change.
2401 * bb-reorder.c (make_reorder_chain): Do not perform block movement
2402 if we have predicted the branch at 50-50 probability.
2404 2000-05-05 Richard Henderson <rth@cygnus.com>
2406 * flow.c (init_propagate_block_info): Fix merge error
2407 in HAVE_conditional_execution code.
2409 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
2411 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
2412 shift cycle for unknown shift count. Also generates dec + brpl.
2413 (ashlqi3_out): Don't generate dec + brpl which now generates by
2414 `out_shift_with_cnt'.
2415 (ashlhi3_out): Likewise.
2416 (ashlsi3_out): Likewise.
2417 (ashrqi3_out): Likewise.
2418 (ashrhi3_out): Likewise.
2419 (ashrsi3_out): Likewise.
2420 (lshrqi3_out): Likewise.
2421 (lshrhi3_out): Likewise.
2422 (lshrsi3_out): Likewise.
2424 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
2426 * gcc.c (free_split_directories): Correct typo in explanation
2427 of make_relative_prefix.
2429 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2431 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
2432 comparison codes to branch_comparison_operator.
2434 2000-05-04 Richard Henderson <rth@cygnus.com>
2436 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
2438 2000-05-04 Richard Henderson <rth@cygnus.com>
2440 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
2441 (DPBIT_FUNCS): Remove _sf_to_usi.
2442 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
2444 * ifcvt.c (noce_process_if_block): Fail if A or B modified
2445 between condition and jump.
2447 * libgcc2.c (near eh_context_specific): Comment #endif string.
2448 * longlong.h: Don't use strings with embedded newlines.
2450 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2452 * config/rs6000/rs6000-protos.h: Add output_cbranch.
2453 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
2454 (print_operand): Delete %t and %T codes.
2455 (output_cbranch): New function. Support branch prediction.
2456 * config/rs6000/rs6000.md: Use output_cbranch for
2457 conditional branches and returns.
2459 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
2461 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
2462 * stor-layout.c (place_field): Likewise.
2463 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
2464 * expr.c (store_expr): Make align unsigned.
2465 * explow.c (plus_constant_wide): Make low words unsigned.
2466 * expmed.c (choose_multiplier): Likewise.
2467 * fold-const.c (fold): Likewise.
2468 * tree.h (build_int_2): Likewise.
2469 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
2470 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
2471 (init_emit): Change cast to unsigned char*.
2472 * varasm.c (compare_constant_1): Add cast to char*.
2473 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
2474 * reload1.c (reload): Likewise.
2476 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
2478 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
2480 * predict.c (estimate_probability): If no prediction was found, then
2481 predict the successor that is the next physical block (if such a
2484 2000-05-04 Richard Henderson <rth@cygnus.com>
2486 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
2488 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2490 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
2492 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
2494 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
2495 attribute macros from here ...
2496 (CPP_SPEC): to here.
2497 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
2498 (CPP_SPEC): Likewise.
2499 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
2501 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
2502 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
2504 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2506 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
2508 * diagnostic (vbuild_message_string, build_message_string,
2509 build_location_prefix, output_get_prefix, init_output_buffer,
2510 output_notice, vline_wrapper_message_with_location,
2511 v_message_with_decl, default_print_error_function): De-constify.
2512 (set_real_maximum_length): Prototype.
2514 * diagnostic.h (struct output_buffer, init_output_buffer,
2515 output_get_prefix, output_set_prefix): De-constify.
2517 * function.c (init_function_start): Constify.
2519 * gensupport.c (remove_constraints, process_rtx): Prototype.
2521 * gthr-posix.h: Indent uses of #pragma.
2523 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
2526 * predict.c (find_expected_value): Delete prototype.
2527 (expected_value_to_br_prob): Initialize variable `ev_reg'.
2529 * sbitmap.h (debug_sbitmap): Prototype.
2531 * ssa.c (compute_coalesced_reg_partition): Prototype.
2533 * stor-layout.c (debug_rli): Prototype.
2535 * tree.h (round_down): Prototype.
2536 (init_function_start): Constify.
2538 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
2540 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
2541 (overly conservative). Change extern inline wrappers to
2542 static inline, define them always, use PARAMS properly.
2543 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
2544 whitespace warnings for \f and \v at the beginning of a line.
2546 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
2548 * haifa-sched.c (schedule_insns): Free the flow edge list when it
2551 2000-05-04 Bruce Korb <bkorb@gnu.org>
2553 * fixincl/inclhack.def: added broken_cabs -
2554 Remove `extern double cabs' declarations from math.h
2555 * fixincl/inclhack.sh: regen
2556 * fixincl/fixincl.x: regen
2557 * fixincl/fixincl.c: Remove BOGOSITY code
2558 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
2560 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2562 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
2564 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
2565 when calling MEM_COPY_ATTRIBUTES.
2566 * emit-rtl.c (operand_subword, change_address): Likewise.
2567 * explow.c (stabilize): Likewise.
2568 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
2569 * integrate.c (copy_rtx_and_substitute): Likewise.
2570 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
2571 when calling MEM_COPY_ATTRIBUTES.
2572 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
2574 * cse.c (gen_lowpart_if_possible): Likewise.
2575 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
2576 * optabs.c (gen_move_insn): Likewise.
2577 * recog.c (validate_replace_rtx_1): Likewise.
2578 * simplify-rtx.c (add_mem_for_addr): Likewise.
2579 * stmt.c (expand_anon_union_decl): Likewise.
2580 * config/arm/arm.md: Likewise.
2581 * config/h8300/h7300.c (fix_bit_operand): Likewise.
2582 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
2583 (block_move_no_loop, block_move_sequence): Likewise.
2584 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
2585 * config/alpha/alpha.c (get_aligned_mem): Likewise.
2586 Clear MEM_ALIAS_SET.
2587 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
2588 MEM_COPY_ATTRIBUTES.
2590 2000-05-03 Robert Lipe <robertlipe@usa.net>
2592 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
2593 to suppress libgcc1.
2594 (i[34567]86-*-sco3.2v5*) Likewise.
2595 (i[34567]86-*-sco3.2v4*) Likewise.
2596 (i[34567]86-*-sco) Likewise.
2597 (i[34567]86-*-solaris2) Likewise.
2598 (i[34567]86-*-sysv5*) Likewise.
2599 (i[34567]86-*-sysv4*) Likewise.
2600 (i[34567]86-*-udk*) Likewise.
2601 (i[34567]86-*-sysv*) Likewise.
2603 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2605 * cpphash.h (U): New define, to correct type of string constants.
2606 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
2607 routines, to do casts when passing unsigned strings to libc.
2608 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
2610 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
2611 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
2612 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
2613 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
2614 second argument an U_CHAR *.
2616 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
2617 length field, clean up initializer.
2618 (ISTABLE): Add __extension__ to designated-
2619 initializers version.
2620 * cpplex.c (CHARTAB): Likewise.
2622 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
2623 case so the file won't be empty.
2625 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
2627 * bb-reorder.c (struct reorder_block_def): Member succ removed.
2628 (REORDER_BLOCK_SUCC): Removed.
2629 (enum reorder_skip_type): Removed.
2630 (skip_insns_between_block): Renamed to skip_insns_after_block.
2631 Removed second argument. Removed dead code and cleaned up.
2632 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
2633 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
2634 second parameter to skip_insns_after_block.
2636 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2638 * tree.c (staticp, case LABEL_DECL): New case.
2640 2000-05-03 Richard Henderson <rth@cygnus.com>
2642 * Makefile.in (start.encap): Do not depend on LIBGCC1.
2644 * mklibgcc1.in: Fix typo last change.
2646 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2648 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
2649 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
2650 (GCC_CFLAGS): Use it.
2651 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
2652 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
2653 objc/Make-lang.in: Use it.
2655 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
2657 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
2659 2000-05-03 Richard Henderson <rth@cygnus.com>
2661 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
2662 LIBGCC1 empty with libgcc1.null.
2664 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
2666 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
2669 2000-05-03 Greg McGary <gkm@gnu.org>
2671 * tree.h (tree_common): Add bounded_flag member. Remove
2672 inaccurate comment about number of remaining bits.
2673 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
2674 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
2675 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
2676 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
2677 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
2678 (TYPE_QUAL_BOUNDED): New constant.
2679 (TYPE_QUALS): Handle bounded qualifier.
2680 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
2681 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
2682 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
2683 TYPE_AMBIENT_BOUNDEDNESS): New macros.
2684 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
2685 (tree_type): Add pointer_depth member. Remove
2686 inaccurate comment about number of remaining bits.
2687 (DECL_POINTER_DEPTH): Add macro.
2688 (tree_decl): Add pointer_depth member.
2690 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
2692 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
2693 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
2694 (lshrhi3_out): Likewise.
2695 (ashrsi3_out): bugfix in shift by 8.
2696 (test_hard_reg_class): New function.
2697 * config/avr/avr.md: Bugfix inside conditions in peepholes.
2698 (ashlhi3): removed define_expand of this pattern.
2699 (*ashlhi3_insn): renamed to ashlhi3.
2700 (ashlsi3): removed define_expand of this pattern.
2701 (*ashlsi3_insn): renamed to ashlsi3.
2702 (ashrqi3): removed define_expand of this pattern.
2703 (*ashrqi3_insn): renamed to ashrqi3.
2704 (ashrhi3): removed define_expand of this pattern.
2705 (*ashrhi3_insn): renamed to ashrhi3.
2706 (ashrsi3): removed define_expand of this pattern.
2707 (*ashrsi3_insn): renamed to ashrsi3.
2708 (lshrhi3): removed define_expand of this pattern.
2709 (*lshrhi3_insn): renamed to lshrhi3.
2710 (lshrsi3): removed define_expand of this pattern.
2711 (*lshrsi3_insn): renamed to lshrsi3.
2713 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2715 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
2716 inclusion of "system.h".
2718 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
2720 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
2723 2000-05-03 David Mosberger <davidm@hpl.hp.com>
2725 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
2726 if -mauto-pic is on.
2727 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
2728 -mconstant-gp is in effect and function-descriptors are being used
2729 to make indirect calls.
2730 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
2731 (MASK_AUTO_PIC): Ditto.
2732 (TARGET_CONST_GP): Ditto.
2733 (TARGET_AUTO_PIC): Ditto.
2734 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
2735 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
2736 -mno-pic is in effect.
2737 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
2738 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
2739 -mauto-pic is in effect.
2740 (gprel64_offset): New pattern.
2741 (load_gprel64): Ditto.
2742 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
2743 -mconstant-gp is in effect, no need to preserve gp around direct
2745 (call_value): Ditto.
2746 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
2747 (FUNCTION_PROFILER): Define.
2748 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
2749 @fptr() directive when -mno-pic or -mauto-pic is in effect.
2750 (ASM_OUTPUT_DESTRUCTOR): Ditto.
2752 2000-05-03 Richard Henderson <rth@cygnus.com>
2754 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
2755 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
2756 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
2757 (mklibgcc, libgcc.mk): New targets.
2758 (libgcc.a): Use libgcc.mk.
2759 (stmp-multilib): Likewise.
2760 (stmp-multilib-sub): Remove.
2761 (mostlyclean): Don't delete libgcc2 temp files.
2762 * configure.in (AC_PROG_CC_C_O): Add.
2763 (NO_MINUS_C_MINUS_O): Substitute it.
2764 (all_outputs): Add mklibgcc.
2765 * mklibgcc.in: New file.
2767 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2769 * cppexp.c (op_t): Make an int.
2771 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
2773 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
2775 * gensupport.c (process_rtx): Fix macros used.
2777 2000-05-03 Richard Henderson <rth@cygnus.com>
2779 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
2780 call-clobbered registers of a call.
2782 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2784 * gensupport.c: New file.
2785 * gensupport.h: New file.
2786 * Makefile.in (HOST_RTL): Depend on gensupport.
2787 (gensupport.o) New rule.
2788 * genattr.c: Use gensupport for reading .md files.
2789 * genattrtab.c: Ditto.
2790 * gencodes.c: Ditto.
2791 * genconfig.c: Ditto.
2793 * genextract.c: Ditto.
2794 * genflags.c: Ditto.
2795 * genopinit.c: Ditto.
2796 * genoutput.c: Ditto.
2798 * genrecog.c: Ditto.
2799 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
2800 * md.texi (Insn Splitting): Document define_insn_and_split.
2802 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
2804 * flow.c (verify_flow_info): Added two more sanity checks. The
2805 first checks that the blocks are numbered consecutively. The second
2806 checks that n_basic_blocks is actually equal to the number of
2807 basic blocks in the insn chain.
2809 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2811 * cpplib.h: Add accessor macros for token lists.
2812 * cpplib.c, cpphash.c, cpplex.c: Use them.
2814 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2816 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
2817 memory usage if not in a function.
2818 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
2819 return address if static.
2821 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
2823 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
2824 whether address may trap.
2826 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
2828 * bb-reorder (chain_reorder_blocks): Changed code to test for
2829 EDGE_FALLTHRU rather than making erroneous assumption that the
2830 first outgoing edge is the fall-through edge.
2832 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
2834 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
2835 ABI for varargs, across all MIPS. This is incompatible because the
2836 va_list (__builtin_va_list) structure is different, so a compilation
2837 unit passing a va_list and a compilation unit being passed one, should
2838 both be compiled with the same ABI. (The old structure had two
2839 pointers, now it has three.)
2841 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
2843 * bb-reorder.c (struct reorder_block_def): Remove members end,
2844 block_begin, and block_end.
2845 (REORDER_BLOCK_OLD_END): Delete.
2846 (REORDER_BLOCK_BEGIN): Delete.
2847 (REORDER_BLOCK_END): Delete.
2848 (chain_reorder_blocks): Remove dead code.
2850 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
2852 * bb-reorder.c (remove_scope_notes): Check for both types of scope
2853 notes as the end of a basic block before deleting.
2855 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
2857 * final.c (final_start_function): Fix spelling of "necessary".
2859 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
2861 * toplev.c (debug_ignore_block): Return int.
2862 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
2863 * toplev.h, dwarf2out.h: Adjust.
2864 * emit-rtl.c (remove_unnecessary_notes): Test return value.
2866 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
2867 * toplev.c, final.c, rtl.h: Adjust.
2869 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2871 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
2872 * configure.in: Look for makeinfo in the unified tree, then
2873 for a system makeinfo which is sufficiently new.
2874 * Makefile.in: If configure says makeinfo is too old, don't
2875 build or install Info documentation.
2877 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2879 * cpphash.c (collect_params): Fix off-by-one error.
2880 (dump_hash_helper): Dump all four macro nodetypes.
2882 2000-05-02 Jakub Jelinek <jakub@redhat.com>
2884 * cpphash.c (trad_stringify): Adjust p after stringification as
2887 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2889 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
2890 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
2892 * cppfiles.c (file_cleanup): Delete.
2893 * cpphash.c (macro_cleanup): Delete.
2894 (collect_objlike_expansion, collect_funlike_expansion,
2895 macarg, scan_arguments): Remove CPP_POP case.
2897 * cpplex.c (null_cleanup): Delete.
2898 (cpp_pop_buffer): Do the work that was done in the cleanups
2899 here. Call _cpp_unwind_if_stack from here.
2900 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
2901 cpp_scan_buffer): Run until we see CPP_EOF and the top of
2902 stack is the buffer _below_ the one we stacked.
2903 (cpp_get_token): Always pop an exhausted buffer. Return
2904 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
2905 * cpplib.c (skip_if_group): Don't call cpp_get_token to
2906 increment the line number.
2907 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2909 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2910 we see CPP_EOF and the top of stack is the buffer _below_ the
2912 * scan-decls.c: Likewise.
2914 2000-05-02 Andrew Haley <aph@cygnus.com>
2916 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2917 where this function is called for the second time on a decl that
2918 has had its section info changed in such a way as to move it out
2920 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2922 2000-05-01 Richard Henderson <rth@cygnus.com>
2924 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2925 the sequence we're moving, not to merge_bb->head.
2927 2000-05-01 Richard Henderson <rth@cygnus.com>
2929 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2930 reference to alpha/t-linux.
2931 (alpha*-*-linux-gnu*): Likewise.
2932 * configure: Rebuild.
2934 * calls.c (expand_call): Don't emit reg notes for a sibcall.
2936 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
2939 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
2941 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
2943 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
2946 2000-05-01 Richard Henderson <rth@cygnus.com>
2948 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
2949 emit_conditional_move.
2951 2000-05-01 Jakub Jelinek <jakub@redhat.com>
2953 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
2954 as the dynamic linker.
2956 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
2958 * cppfiles.c (open_include_file): Open file in blocking mode.
2959 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
2960 Only exclude block devices and directories.
2962 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
2963 static. Allocate the hashnode and its string in the same
2965 (del_HASHNODE): Don't free h->name.
2966 (_cpp_lookup): If there is no entry for this string, create
2967 one, of type T_VOID.
2968 (_cpp_lookup_slot): Delete.
2969 * cpphash.h: Update prototypes.
2971 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
2973 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
2974 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
2975 node here, just fill in the value field properly. "Delete"
2976 entries by setting the value field to T_VOID. Check for
2977 hp->type == T_VOID, not hp == NULL.
2979 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
2980 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
2983 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
2985 * config/mn10300/mn10300.c (print_operand_address): Do not add
2988 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
2989 adjusted by less than 256 bytes, use ret regardless of having any
2990 callee-saved register to restore.
2992 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
2994 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
2996 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
2998 * config/i386/djgpp.h (INT_ASM_OP): Define.
2999 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
3000 (ASM_WEAKEN_LABEL): Define.
3001 (MASK_BNU210): Define.
3002 (SUBTARGET_SWITCHES): Define.
3003 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
3004 (MAKE_DECL_ONE_ONLY): Define.
3005 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
3007 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
3009 * i386/cygwin.h (INT_ASM_OP): Define.
3011 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
3013 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
3014 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
3016 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
3018 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
3019 __tmp_reg__ and __zero_reg__ initialization.
3021 2000-04-30 Richard Henderson <rth@cygnus.com>
3023 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
3025 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
3026 referenced bewteen the condition and the jump. Don't delete
3027 anything but the jump.
3029 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
3031 * bb-reorder.c (scope_def): New struct.
3032 (scope_forest_info): New struct.
3033 (struct reorder_block_def): New member "scope".
3034 (REORDER_BLOCK_SCOPE): New macro.
3035 (relate_bbs_with_scopes): New function and prototype.
3036 (make_new_scope): Likewise.
3037 (build_scope_forest): Likewise.
3038 (remove_scope_notes): Likewise.
3039 (insert_intra_1): Likewise.
3040 (insert_intra_bb_scope_notes): Likewise.
3041 (insert_inter_bb_scope_notes): Likewise.
3042 (rebuild_scope_notes): Likewise.
3043 (free_scope_forest_1): Likewise.
3044 (free_scope_forest): Likewise.
3045 (dump_scope_forest): Likewise.
3046 (dump_scope_forest_1): Likewise.
3047 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
3048 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
3050 (reorder_basic_blocks): Added calls to build_scope_scope_forest
3051 and remove_scope_notes before reordering is done. Added calls to
3052 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
3053 after reordering is done.
3055 2000-40-30 Bruce Korb <bkorb@gnu.org>
3057 * fixinc/inclhack.def: Added definitions needed by OSR5,
3058 removed two stale entries (defined away with OLD_CPP).
3059 * fixinc/inclhack.sh: regen
3060 * fixinc/fixincl.x: regen
3062 2000-04-30 Richard Henderson <rth@cygnus.com>
3064 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
3065 from the last insn in the sequence.
3067 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
3069 * cpplex.c (cpp_idcmp): New function.
3070 * cpplib.h: Prototype it.
3071 * scan_decls.c (scan_decls): Use it to inspect token names.
3072 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
3073 the file being run through the preprocessor.
3074 (check_macro_names): Provide length of token to cpp_defined.
3076 * Makefile.in: Remove stale warning message.
3078 * cppfiles.c (redundant_include_p): Provide length of token to
3080 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
3081 values are unsigned int.
3082 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
3083 (_cpp_lookup_slot): Do not calculate the hash, either.
3084 * cpphash.h: Update prototypes.
3085 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
3086 Hashes are unsigned int. Calculate hash here, pass by value
3087 to _cpp_lookup_slot.
3089 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
3091 * simplify-rtx.c (check_value_useless): Delete function.
3092 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
3094 (cselib_invalidate_regno): Likewise.
3095 (cselib_invalidate_mem_1): Likewise.
3096 (references_value_p): Recognize useless values by the fact that they
3098 (discard_useless_values): Likewise.
3099 (cselib_record_set): This may turn a useless value
3102 2000-04-30 Richard Henderson <rth@cygnus.com>
3104 * config/d30v: New port.
3106 * configure.in (d30v-*): Set fp format.
3107 * configure: Rebuild.
3109 2000-04-30 Richard Henderson <rth@cygnus.com>
3111 * ifcvt.c: New file.
3112 * Makefile.in (OBJS): Add it.
3113 (ifcvt.o): New target.
3114 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
3115 and conditional arithmetic.
3116 (find_insert_position): Remove.
3117 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
3118 * toplev.c (DFI_ce, DFI_ce2): New.
3119 (dump_file): Add ce and ce2 dumps.
3120 (rest_of_compilation): Run if_convert a couple o times. Set
3121 cse_not_expected after cse2. Don't set no_new_pseudos until
3122 after sched1 or recompute_reg_usage.
3124 2000-04-30 Richard Henderson <rth@cygnus.com>
3126 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
3127 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
3129 2000-04-30 Richard Henderson <rth@cygnus.com>
3131 * flow.c (struct reg_cond_life_info): New.
3132 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
3133 (init_propagate_block_info): Initialize them.
3134 (free_propagate_block_info): Destruct them.
3135 (mark_set_1): Consider conditional life before killing a register.
3136 (mark_regno_cond_dead): New.
3137 (free_reg_cond_life_info): New.
3138 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
3139 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
3140 (mark_used_reg): Record conditional life.
3142 * haifa-sched.c (schedule_insns): Disable death counting
3143 sanity check for HAVE_conditional_execution.
3145 2000-04-30 Richard Henderson <rth@cygnus.com>
3147 * Makefile.in (TIMEVAR_H): New.
3148 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
3149 (timevar.h): Remove rule.
3151 2000-04-29 Richard Henderson <rth@cygnus.com>
3153 * config/alpha/crtend.asm: Use C comments instead of #.
3154 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
3156 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
3158 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
3160 * cpphash.h (enum node_type: Take out T_MCONST.
3161 (union hashval): Move into struct hashnode.
3162 (struct hashnode): Pack tighter. Remove file, line, col
3164 * cpphash.c: Constify most of the macro-definition structures.
3165 (struct definition): Replace by struct object_defn
3166 and struct funct_defn. Put file, line, column information
3167 here. All users updated to match.
3168 (_cpp_create_definition, _cpp_macroexpand): Remove special
3169 case for #define WORD OTHERWORD.
3170 * cpplib.c (do_undef): Remove T_MCONST case.
3172 * cpphash.h: Move struct reflist, struct definition, and the
3173 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
3174 union hashval. _cpp_free_definition takes a HASHNODE pointer.
3175 * cpphash.c (_cpp_free_definition): Free data pointed to by
3176 MCONST, XCONST, MACRO, and FMACRO nodes properly.
3177 (_cpp_create_definition, del_HASHNODE): Just call
3178 _cpp_free_definition to clear out a hashnode.
3179 * cpplib.c (do_pragma_poison): Likewise.
3181 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3183 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
3184 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
3185 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
3186 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
3187 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
3188 REGNO_AM33_P): Redefine in terms of the new macros.
3189 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
3190 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
3191 STRUCT_VALUE): Likewise.
3192 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
3193 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
3195 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
3197 * regmove.c (struct record_stack_memrefs_data): New.
3198 (record_stack_memrefs): New function.
3199 (combine_stack_adjustments_for_block): Use it.
3201 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
3203 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
3204 use special_function_p to detect alloca.
3206 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
3208 * gcc.texi: Fixes for makeinfo 4.0 --html.
3210 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
3212 * pcp.h: Delete file.
3214 2000-04-28 Kazu Hirata <kazu@hxi.com>
3216 * h8300.c (function_epilogue): Clean up flags when the last insn
3217 in a function is a barrier.
3219 2000-04-28 Chris Demetriou <cgd@sibyte.com>
3221 * configure.in (sparc-hal-solaris2*): protect [] glob from
3223 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
3224 rather than hard-coded constants in target_cpu_default2.
3225 * configure: Regenerate.
3227 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3229 * tree.c (get_callee_fndecl): Extract the initial value from
3232 2000-04-28 Richard Henderson <rth@cygnus.com>
3234 * varasm.c (record_constant_1): Record the CODE_LABEL when
3235 taking the address of a LABEL_REF.
3237 2000-04-28 Richard Henderson <rth@cygnus.com>
3238 Jan Hubicka <jh@suse.cz>
3240 * calls.c (combine_pending_stack_adjustment_and_call): Return the
3241 adjustment; don't do the stack adjust.
3242 (expand_call): Call compute_argument_block_size right before
3243 allocating the block; update comment; don't do alignment sanity
3244 checking for sibling call; use args_size instead of
3245 unadjusted_args_size before args_size is adjusted. Use
3246 combine_pending_stack_adjustment_and_call to compute stack adjust
3247 for must_preallocate case.
3249 * expr.c (push_block): Remove shadow `temp' in inner scope.
3251 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3253 * toplev.c (rest_of_compilation): Call
3254 note_deferral_of_defined_inline_function even if the function
3257 2000-04-28 Scott Bambrough <scottb@netwinder.org>
3259 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
3261 2000-04-28 Richard Henderson <rth@cygnus.com>
3263 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
3265 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3267 * timevar.c (init_timevar): DeANSIfy function definition.
3269 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3271 * Makefile.in (timevar.o): Depend on flags.h.
3272 * timevar.c (unused_stack_instances): New variable.
3273 (timevar_push): Take a timevar_stack_def from
3274 unused_stack_instances if available.
3275 (timevar_pop): Push the popped timevar_stack_def onto
3276 unused_stack_instances.
3277 (TIMEVAR_ENABLE): New macro.
3278 (timevar_def): Make standalone a 1-bit field. Add field used.
3279 (get_time): Rename parameter to now. Return after clearing it if
3281 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
3282 (timevar_pop): Likewise.
3283 (timevar_stop): Likewise.
3284 (timevar_push): Likewise. Mark the timing variable as used.
3285 (timevar_start): Likewise.
3286 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
3287 timevars that were never used.
3289 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3291 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
3292 always TREE_READONLY.
3294 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
3296 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
3297 for call instruction with mode QImode.
3299 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3301 * Makefile.in (OBJS): Add timevar.o.
3302 (toplev.o): Depend on timevar.h.
3303 (ggc-simple.o): Likewise.
3304 (ggc-page.o): Likewise.
3305 (timevar.o): New rule.
3306 (timevar.h): New rule.
3308 * timevar.h: New file.
3309 * timevar.c: Likewise.
3310 * timevar.def: Likewise.
3312 * toplev.h (gc_time, parse_time, varconst_time): Remove.
3313 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
3315 (TIMEVAR): Remove macro.
3316 (gc_time, parse_time, varconst_time, integration_time, jump_time,
3317 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
3318 flow_time, combine_time, regmove_time, sched_time,
3319 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
3320 sched2_time, dbr_sched_time, reorder_blocks_time,
3321 rename_registers_time, shorten_branch_time, stack_reg_time,
3322 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
3324 (compile_file): Don't initialize time variables. Call
3325 init_timevar and start TV_TOTAL timer. Call timevar_print instead
3326 of many calls to print_time.
3327 (rest_of_compilation): Add timing for reload_cse_regs.
3328 (get_run_time): Removed to timevar.c.
3329 (print_time): Likewise.
3330 (get_run_time): Implement using TV_TOTAL time variable.
3331 (print_time): Get total run time from get_run_time.
3332 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
3333 computing elapsed time explicitly.
3334 * ggc-simple.c (ggc_collect): Likewise.
3335 (gc_time): Remove declaration.
3337 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3339 * calls.c (combine_pending_stack_adjustment_and_call): New function.
3340 (expand_call): Use it.
3342 2000-04-27 Jan Hubicka <jh@suse.cz>
3344 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
3347 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3349 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
3352 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
3354 * function.c (epilogue_done): Pass whole insn to record_insns.
3356 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
3358 * cse.c (CSE_ADDRESS_COST): Remove.
3359 (find_best_addr): Add new parameter "MODE", use address_cost instead
3361 (address_cost): New.
3362 (fold_rtx): Update call of find_best_addr.
3363 * rtl.h (address_cost): Declare.
3364 * loop.c (general_induction_var): Add new parameter "MODE", use
3365 address_cost instead of ADDRESS_COST
3366 (init_loop): Use address_cost instead of ADDRESS_COST.
3367 (check_insn_for_givs): Update call of general_induction_var.
3368 (find_mem_givs): Likewise.
3369 (consec_sets_giv): Likewise.
3370 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
3371 * i386.c (ix86_address_cost): New.
3372 * i386-protos.h (ix86_address_cost): Declare.
3374 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
3376 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
3379 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
3381 * expr.c (store_expr): Use clear_storage instead of direct memset
3384 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
3386 * config/mn10300/mn10300.c (mn10300_address_cost): Test
3387 ASHIFT, AND and LABEL_REF.
3389 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
3391 * invoke.texi (-foptimize-sibling-calls): Fix.
3393 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
3395 * loop.c (load_mems) Don't use hard registers for the hoisting.
3397 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
3398 calculation; rename const_equiv array in the preconditioning code
3399 from loop_unroll to loop_unroll_precondition
3401 2000-04-27 Richard Henderson <rth@cygnus.com>
3403 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
3405 (propagate_one_insn): Clear it. Don't update reg_live here.
3406 (init_propagate_block_info): Update for pbi member changes.
3407 (free_propagate_block_info): Likewise.
3408 (mark_set_1): Know that zero_extract, sign_extract, and
3409 strict_low_part don't kill their argument. Alter hard subregs.
3410 Update new_set for non-CLOBBER sets. Update reg_live.
3411 (find_auto_inc): Update reg_live, not new_dead.
3412 (mark_used_reg): Update reg_live, not new_live. Examine new_set
3413 to determine if the reg in question was set this insn. Only update
3414 reg info with PROP_REG_INFO.
3416 2000-04-26 Richard Henderson <rth@cygnus.com>
3418 * flow.c (allocate_reg_life_data): Set max_regno here ...
3419 (life_analysis): ... not here.
3421 * flow.c (calculate_global_regs_live): Force stack pointer
3424 2000-04-26 Richard Henderson <rth@cygnus.com>
3426 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
3427 commit change group changes.
3428 (invert_exp_1): Similarly.
3429 (redirect_exp, invert_exp): Use them.
3430 (redirect_jump_1): New.
3431 (invert_jump_1): New.
3432 (jump_optimize_1): Remove code subsumed by condexec.c.
3433 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
3435 2000-04-26 Richard Henderson <rth@cygnus.com>
3437 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
3439 * genconfig.c (main): Set all HAVE_foo to 1.
3441 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
3443 2000-04-26 Alex Samuel <samuel@codesourcery.com>
3445 * invoke.texi: Document -fssa flag.
3447 2000-04-26 Richard Henderson <rth@cygnus.com>
3449 * flow.c (count_reg_sets_1): Remove.
3450 (count_reg_sets, count_reg_references): Remove.
3451 (recompute_reg_usage): Implement with update_life_info.
3452 Reallocate life data.
3454 2000-04-26 Richard Henderson <rth@cygnus.com>
3456 * flow.c (update_life_info): Consider blocks null to mean the
3458 (calculate_global_regs_live): Likewise.
3459 (life_analysis): Do that instead of collecting all_blocks.
3461 2000-04-26 Richard Henderson <rth@cygnus.com>
3463 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
3464 a still-valid conditional jump.
3466 2000-04-26 Richard Henderson <rth@cygnus.com>
3468 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
3470 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
3471 * flow.c (calculate_loop_depth): Remove.
3472 * output.h (calculate_loop_depth): Don't declare.
3473 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
3474 inline; run estimate_probability at the same time.
3476 2000-04-26 Neil Booth <NeilB@earthling.net>
3478 * cpplib.h: "~=" is not a single pp-token.
3479 * cpplex.c: Correct commentary.
3481 2000-04-26 Richard Henderson <rth@cygnus.com>
3483 * flow.c (mark_set_1): New arguments code and flags; update all
3484 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
3485 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
3486 loop_depth when optimizing for size. Do new_dead update after
3487 emitting REG_UNUSED notes. Merge mark_set_reg code.
3488 (mark_set_reg): Remove.
3489 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
3490 arrange to not emit REG_UNUSED notes.
3492 2000-04-26 Richard Henderson <rth@cygnus.com>
3494 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
3495 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
3497 2000-04-26 Richard Henderson <rth@cygnus.com>
3499 * flow.c (propagate_one_insn): Break out from propagate_block.
3500 (init_propagate_block_info): Likewise.
3501 (free_propagate_block_info): Likewise.
3502 (propagate_block): Use them. Export.
3503 * basic-block.h: Declare them all.
3505 2000-04-26 Richard Henderson <rth@cygnus.com>
3507 * basic-block.h (life_analysis): Declare here ...
3508 * output.h: ... not here.
3509 * flow.c (life_analysis): Remove nregs parameter; replace
3510 remove_dead_code with flags. Remove ssa dead code check.
3511 Only init alias analysis if we'll use it.
3512 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
3513 * ssa.c (convert_to_ssa): Likewise.
3514 (convert_from_ssa): Likewise.
3515 * toplev.c (rest_of_compilation): Likewise.
3517 2000-04-26 Richard Henderson <rth@cygnus.com>
3519 * flow.c (flow_delete_block): Rename from delete_block. Export.
3520 * basic-block.h (flow_delete_block): Declare.
3522 2000-04-26 David S. Miller <davem@redhat.com>
3524 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
3525 taking a PATTERN of it.
3527 2000-04-26 <NeilB@earthling.net>
3529 * cpplex.c (spell_other, spell_char): Remove.
3531 (token_spelling, trigraph_map): Use unsigned chars.
3532 (_cpp_lex_line): Tidy up the switch statement.
3533 * cpplib.h: Implement spell_char with spell_string.
3536 2000-04-26 <RodneyBrown@pmsc.com>
3538 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3539 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3541 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3543 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
3544 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
3545 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
3546 dwarf2out_return_save, dwarf2out_return_reg,
3547 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
3548 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
3549 gen_compile_unit_die, dwarf2out_init): Constify a char*.
3551 * dwarf2out.h (dwarf2out_init): Likewise.
3553 * dwarfout.c (filename_entry, primary_filename, last_filename,
3554 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
3556 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
3557 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
3558 dwarf2out_return_reg): Likewise.
3560 2000-04-26 Andreas Jaeger <aj@suse.de>
3562 * extend.texi (Function Attributes): Fix description of pure
3565 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3567 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
3568 before calling rest_of_compilation.
3570 2000-04-26 Andreas Jaeger <aj@suse.de>
3572 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
3575 2000-04-25 Richard Henderson <rth@cygnus.com>
3577 * cse.c (cse_insn): Emit barrier after unconditional jump.
3579 * calls.c (expand_call): Disable tail call generation once
3580 rtx_equal_function_value_matters is false.
3582 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
3585 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
3587 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
3589 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
3591 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
3592 is the primary DIE for a member function.
3593 (gen_decl_die): Call set_decl_origin_self here.
3594 * dwarfout.c (output_decl): And here.
3595 * integrate.c (output_inline_function): Not here.
3596 Don't clear DECL_INLINE until after calling rest_of_compilation.
3597 (set_decl_origin_self): No longer static.
3598 * tree.h: Add prototype.
3599 * toplev.c (note_deferral_of_defined_inline_function): Only write
3600 out abstract instance for actual inlines.
3602 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
3604 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
3605 EXTENDED_REGS only if TARGET_AM33.
3606 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
3607 SP_REGS to register allocation and reloading unless absolutely
3609 (movsi3): Remove special-case of adding non-constants to SP.
3611 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3613 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
3614 INCLUDES to search and does not provide any of its own. Also it
3615 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
3616 parameters. Also it does not call AC_DEFINE.
3617 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
3618 AC_DEFINE and provides for automatic entries for autoheader.
3619 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
3621 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
3622 so we can pass -I flags and include gansidecl.h/system.h in this
3625 * acconfig.h: Delete all NEED_DECLARATION_* entries.
3627 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3629 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3630 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3631 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
3633 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3634 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3635 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
3636 for these macros. Clean up spacing and linewraps.
3638 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3640 * calls.c (expand_call): Use get_callee_fndecl.
3642 * print-tree.c (print_node): Print the chain of an _EXPR.
3644 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
3645 Jim Wilson <wilson@cygnus.com>
3646 Andrew Haley <aph@cygnus.com>
3648 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
3649 and gp save/restore problems.
3650 * config/ia64/crtend.asm: Add IA-64 unwind support.
3651 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
3652 in fr_pad_size calculation.
3653 (save_restore_insns): Move PR save area. Correct uses of
3654 RTX_FRAME_RELATED_P.
3655 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
3656 (ia64_expand_epilogue): Add eh_epilogue support.
3657 (ia64_function_prologue): Emit .prologue directive.
3658 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
3659 (ia64_override_options): Set init_machine_status and
3660 mark_machine_status.
3661 (rtx_needs_barrier): Handle bsp reads and writes.
3662 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
3663 New static variables.
3664 (process_set, process_for_unwind_directive): New functions.
3665 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
3666 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
3667 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
3669 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
3670 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
3671 (struct machine_function): Define.
3672 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
3674 2000-04-25 Bruce Korb <bkorb@gnu.org>
3676 * fixinc/Makefile.in: make the removal of old programs more
3678 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
3679 install-bin and install-sh
3681 2000-04-25 Nick Clifton <nickc@cygnus.com>
3683 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
3684 defined, define to return zero.
3685 (function_cannot_inline_p): If a function has any target
3686 specific attributes, then use the macro
3687 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
3688 whether it can be inlined. If it cannot, issue a suitable
3691 * tm.texi: Add a new node 'Inlining' to document the new macro
3692 FUNCTION_ATTRIBUTE_INLINABLE_P.
3694 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
3696 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
3699 2000-04-25 Neil Booth <NeilB@earthling.net>
3701 Restore previous patch, plus the following fixes:
3703 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
3704 flags, not CPP_OPEN_PAREN.
3705 * cpplex.c (expand_token_space, init_token_list,
3706 cpp_free_token_list): Put the dummy token at list->tokens[-1].
3707 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
3709 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3711 * config/i386/freebsd.h (INT_ASM_OP): Define.
3713 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
3715 * loop.c (strength_reduce): Fix typo in the last checkin.
3717 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3719 * stor-layout.c (finalize_record_size): Simplify to use existing
3721 (compute_record_mode): No longer static.
3722 * tree.h (compute_record_mode): New declaration.
3724 2000-04-25 Neil Booth <NeilB@earthling.net>
3726 * Revert my patch below until cause of build failures
3729 2000-04-25 Richard Henderson <rth@cygnus.com>
3731 * combine.c (combine_instructions): Add missing argument
3734 * toplev.c (rest_of_compilation): Delay sibcall optimization
3735 until after emit_eh_context.
3737 2000-04-24 Nick Clifton <nickc@redhat.com>
3739 * combine.c (combine_instructions): Do not try to combine a
3740 sequence of insns when the second insn has been replaced by a
3743 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
3745 * gcc.c (load_specs): New static function.
3746 (read_specs): Use it.
3748 * gcc.c (lookup_compiler): Make multiple passes for case
3749 insensitive filesystems.
3751 2000-04-24 Neil Booth <NeilB@earthling.net>
3753 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
3754 * cpphash.h (_cpp_check_directive): new.
3755 * cpplex.c (handle_newline, cpp_free_token_list,
3756 init_trigraph_map, trigraph_ok, trigraph_replace,
3757 backslash_start, skip_block_comment, skip_line_comment,
3758 skip_whitespace, parse_name, parse_number, parse_string,
3759 copy_comment, _cpp_lex_line, spell_char, spell_string,
3760 spell_comment, spell_name, spell_other, _cpp_lex_file,
3761 _cpp_output_list): new.
3762 (expand_name_space): take length argument.
3763 (init_token_list): add comment list initialisation.
3764 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
3765 instead of HSPACE_BEFORE.
3767 * cpplib.c (_cpp_check_directive): new
3768 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
3769 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
3770 (HSPACE_BEFORE): delete.
3771 (TTYPE_TABLE): rearrange.
3772 (struct cpp_toklist): update.
3774 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3776 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
3777 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
3778 argument form of AC_DEFINE.
3780 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
3781 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
3782 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
3783 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
3784 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
3786 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
3788 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3790 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
3791 deduced.h): Use -isystem, not -I, for including system headers.
3793 2000-04-24 Nick Clifton <nickc@cygnus.com>
3795 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
3796 the source register is the frame pointer or arg pointer.
3797 (addsi3_small_int): Disallow if source register is the frame
3798 pointer or arg pointer.
3800 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3802 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
3803 call to AC_MSG_RESULT.
3805 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3807 * invoke.texi: Correct grammatical errors, document
3808 -fno-gnu-keywords as identical to -fno-asm for C++.
3810 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3812 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
3813 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
3814 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
3815 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
3816 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
3818 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
3819 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
3820 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
3821 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
3824 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
3826 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
3827 (pop_alignment): Likewise.
3828 (handle_pragma_token): Likewise.
3830 2000-04-24 Robert Lipe <robertlipe@usa.net>
3832 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
3834 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
3836 * combine.c (try_combine): Update reg_nonzero_bits of
3837 newi2pat before newpat.
3839 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
3841 * loop.c (strength_reduce): Simplify test to INSN_P.
3842 (record_giv): Attempt to simplify the add value, use CONSTANT_P
3843 expressions instead of CONST_INT.
3844 (express_from_1): Likewise.
3846 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3848 * regs.h (reg_n_max): Don't declare.
3849 * flow.c (reg_n_max): Don't define.
3850 * regclass.c (renumber): Don't initialize to zero.
3851 (regno_allocated): Likewise.
3852 (reg_n_max): Define.
3853 (allocate_reg_info): Don't initialize unnecessarily.
3855 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
3857 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
3858 and blockage_p in the newly allocated attribute.
3860 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
3862 * config/mn10300/mn10300.md (addsi): `inc4' on address
3863 registers does not modify cc, but `inc' on an extended
3866 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
3868 * reload.c (find_equiv_reg): Checks all valueno regs
3869 as a reload_reg_p regs.
3871 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3873 * cpphash.c (collect_objlike_expansion): Add sanity check.
3874 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
3875 the buffer is the empty string, return. Mark __DATE__ and
3876 __TIME__ as XCONST nodes, not MCONST.
3877 (_cpp_macroexpand): Avoid pushing an empty buffer.
3878 (funlike_macroexpand): Don't pop token_buffer here.
3880 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
3882 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
3883 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
3884 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
3885 (REGNO_OK_FOR_BASE_P): Define in terms of them.
3886 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
3887 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
3888 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
3890 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3892 * loop.c (simplify_giv_expr): Be more agressive on simplifying
3895 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3897 * cpphash.h (struct definition): Move file, line, col members...
3898 (struct hashnode): ... here. Also add 'disabled' flag.
3899 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
3900 T_IDENTITY. Remove T_DISABLED.
3903 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3904 (collect_expansion): Split into collect_objlike_expansion and
3905 collect_funlike_expansion.
3906 (_cpp_macroexpand): Split out scan_arguments, stringify, and
3907 funlike_macroexpand.
3908 (_cpp_compare_defs): Rename compare_defs, make static.
3909 (_cpp_make_hashnode): Initialize hp->disabled.
3910 (macro_cleanup): Adjust for new token types. Clear
3912 (_cpp_create_definition): Move code here to determine what
3913 sort of macro it is, and code to check for redefinitions, from
3914 do_define. Implement a few simple cases without creating a
3916 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3917 Handle the simple cases.
3918 (push_macro_expansion): Set buf->has_escapes and hp->disabled
3921 * cppinit.c (builtin_array): Change MCONST to XCONST
3923 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3924 fix check for disabled and function-like macros.
3925 * cpplib.c (do_define): Move most logic to
3926 _cpp_create_definition.
3927 (do_undef): Handle new special token types.
3929 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
3931 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3932 of CONSTANT_P for mult_val; always use validate_change to update insn.
3934 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
3936 * cpphash.c (trad_stringify, add_pat): New functions.
3937 (collect_expansion): Restore support for -traditional syntax.
3938 Use trad_stringify and add_pat.
3939 (_cpp_macroexpand): Restore support for -traditional semantics.
3940 * cpplex.c (_cpp_scan_line): Don't change space_before if we
3941 get a COMMENT token.
3942 (_cpp_lex_token): Provide COMMENT tokens to caller if
3943 traditional and parsing_define_directive.
3944 (skip_comment): Warn about // comments if -Wtraditional.
3945 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
3947 (do_undef): Don't warn about undefining EMPTY nodes.
3949 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
3951 * loop.c (strength_reduce): Fix biv removal code.
3953 2000-04-22 Richard Henderson <rth@cygnus.com>
3955 * predict.c (estimate_probability): Examine both sides of
3956 a branch for no exits. Use 90% not 50% for predict taken.
3957 Reorg for one copy of note generation code.
3959 2000-04-22 Richard Henderson <rth@cygnus.com>
3961 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
3963 2000-04-22 Richard Henderson <rth@cygnus.com>
3965 * diagnostic.c (init_output_buffer): Don't initialize format_args.
3966 (output_clear): Likewise.
3967 (output_printf): Use va_copy.
3968 (vline_wrapper_message_with_location): Likewise.
3969 (v_message_with_decl): Likewise.
3970 (line_wrapper_printf): VA_START infor buffer.format_args directly.
3971 * system.h (va_copy): Provide default implementation.
3973 2000-04-22 Richard Henderson <rth@cygnus.com>
3975 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
3976 the collected condition is not a constant.
3978 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
3980 * diagnostic.h: New file.
3982 * Makefile.in (diagnostic.o): Depends on diagnostic.h
3984 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
3985 various function prototypes.
3986 (diagnostic.h): #include.
3987 (struct output_buffer): Move into diagnostic.h.
3988 (get_output_prefix): Rename to output_get_prefix. Export.
3989 (init_output_buffer): Export. Break out. Ajust intialization.
3990 (output_space_left, output_append): Export.
3991 (output_newline): Rename to output_add_newline. Export.
3992 (output_clear): Nullify additional output_buffer fields.
3993 (output_puts): Rename to output_add_string. Export.
3994 (dump_output): Rename to output_flush_on. Export.
3995 (build_location_prefix): Constify return-type.
3996 (emit_output_prefix): Rename to output_emit_prefix. Export.
3997 (set_real_maximum_length): New function.
3998 (output_set_maximum_length): Ditto
3999 (output_clear): Ditto.
4000 (output_add_character): Ditto.
4001 (output_add_integer): Ditto.
4002 (output_add_space): Ditto.
4003 (output_format): Ditto.
4004 (output_printf): Adjust buffer initialization.
4005 (vline_wrapper_message_with_location): Ditto.
4006 (v_message_with_decl): Ditto. Adjust call to output_puts
4007 and get_output_prefix.
4008 (default_print_error_function): Adjust buffer intialization.
4010 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4012 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
4015 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
4017 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
4020 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
4022 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
4023 accurate data about SP moves.
4025 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
4027 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
4028 aliases to AM33 registers.
4030 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
4032 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
4033 to all EXTENDED bitmaps.
4035 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
4037 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
4038 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
4039 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
4041 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
4043 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
4044 the operand is not constant.
4046 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
4048 * reload.c (find_equiv_reg): Checks all valueno and regno regs
4049 as a call-clobbered regs.
4051 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4053 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
4055 * rtl.def: Update comment.
4056 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
4057 * integrate.c (expand_inline_function): Likewise.
4058 * profile.c (branch_prob): Likewise.
4059 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
4060 * print-rtl.c (print_rtx): Likewise.
4061 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
4062 (reemit_notes): Likewise; also use enum insn_note.
4064 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
4065 (place_field): Properly compute know and actual alignment.
4067 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
4070 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
4073 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
4075 * cpphash.c (struct arg, struct arglist): Const-ify strings.
4076 (warn_trad_stringify, duplicate_arg_p): New helper functions.
4077 (collect_expansion): Rewrite to scan over a token list.
4078 Remove -traditional support.
4079 (collect_formal_parameters): Rename to collect_params; rewrite
4080 to scan over a token list.
4081 (_cpp_create_definition): Adjust to scan a token list.
4082 (_cpp_macroexpand): Remove -traditional support.
4083 (_cpp_compare_defs): Whitespace is now canonicalized.
4084 (comp_def_part): Delete function.
4086 * cpphash.h: Update prototypes.
4087 * cpplex.c (init_token_list): Don't set lineno if there is no
4089 (pedantic_whitespace): New function.
4090 (_cpp_scan_line): Mark tokens that had hspace before. Don't
4091 consume a newline. Use pedantic_whitespace.
4092 (_cpp_lex_token): Remove support for -traditional macros.
4093 (_cpp_get_define_token): Delete.
4094 (_cpp_get_directive_token): Do the real work here. Use
4095 pedantic_whitespace.
4096 (_cpp_init_input_buffer): Initialize pfile->directbuf.
4098 * cpplib.c (get_macro_name): Delete.
4099 (do_define): Read the entire line into pfile->directbuf, then
4100 feed the token list to _cpp_create_definition.
4101 * cpplib.h (HSPACE_BEFORE): new define.
4102 (struct cpp_reader): Add a toklist member, "directbuf".
4104 * predict.c (estimate_probability): New heuristic: if a jump
4105 branches around a block with no successors, predict it taken.
4106 Disentangle control flow.
4108 2000-04-20 Richard Henderson <rth@cygnus.com>
4110 * loop.c (emit_iv_add_mult): Revert last change.
4112 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
4114 * cpplib.h (enum cpp_ttype): Add token types for all
4115 punctuators. Distinguish pp-numbers from valid C numbers.
4116 Give some tokens better names. Initialize from macro.
4117 (struct cpp_name, cpp_token, cpp_toklist): New data
4120 * cpplex.c (bump_column, expand_name_space,
4121 expand_token_space, init_token_list, cpp_output_list,
4122 _cpp_scan_line): New functions.
4123 (output_line_command): Add third argument, new line number.
4124 * cpphash.h: Update prototypes.
4125 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
4128 2000-04-20 Richard Henderson <rth@cygnus.com>
4130 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
4132 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
4134 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
4137 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
4139 * loop.c (emit_iv_add_mult): Simplify it's input and emit
4140 REG_EQUAL note explaining the calculated value.
4142 * calls.c (expand_call): Avoid unnecesary precalculation
4143 and outgoing parameters space guarding for sibling calls.
4144 (store_one_arg): Likewise.
4146 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4148 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
4149 (rest_of_compilation): Write sibling dump file and account
4150 for time as jump time.
4151 * invoke.texi: Update documentation on dump flags.
4153 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
4155 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
4157 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
4159 * cpphash.c (special_symbol): Represent an empty macro with
4160 "\r \r " not just "\r ".
4161 (_cpp_macroexpand): Correct condition for the foo ( ) special
4163 (unsafe_chars): Handle EOF as second argument.
4164 (push_macro_expansion): Simplify test for removing escape at
4165 end. Do not trim both escapes if there is no text in between.
4167 2000-04-19 Jim Blandy <jimb@redhat.com>
4169 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
4170 of PTR_SIZE, when appropriate.
4172 2000-04-19 Mark Mitchell <mark@codesourcery.com>
4174 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
4175 (USE_ENUM_BITFIELDS): Fix typo.
4177 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4179 * stor-layout.c (place_field): Set rli->offset_align properly.
4181 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4183 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
4184 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
4185 PARM_BOUNDARY): Remove unnecessary casts.
4187 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
4189 * calls.c (precompute_arguments): Remove must_preallocate and
4191 (expand_call): Update call of precompute_arguments.
4193 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
4194 check_insn_for_givs): Break out from ...
4195 (strength_reduce) ... here; use for_every_insn_in_loop to call
4196 check_insn_for_givs.
4197 * loop.h (for_every_insn_in_loop): Declare.
4198 (loop_insn_callback): New type.
4200 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4202 * cpplib.c (do_pragma_poison): Strings in the token buffer are
4205 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
4207 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
4210 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4212 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
4214 * configure.in: Delete --disable-cpplib option and all
4215 references to cpp_main.
4216 * configure: Regenerate.
4217 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
4218 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
4219 cccp.o, cccp, or cppmain. Link cppmain.o straight to
4220 cpp$(exeext). Add --no-headers to makeinfo command line when
4221 generating INSTALL. Install and uninstall cpp.1 manpage, not
4223 * install.texi: Delete all references to cexp.y/cexp.c.
4224 Delete ancient instructions for compiling GCC on 3b1.
4225 * INSTALL: Regenerate.
4227 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
4228 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
4229 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
4231 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
4232 which is no longer tested anywhere.
4234 * cppinit.c (handle_option): Don't run error message through
4237 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4239 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
4240 * cpperror.c (hashtab.h): Now include.
4241 * cppexp.c (hashtab.h): Likewise.
4242 * cpplex.c (hashtab.h): Likewise.
4243 * cppfiles.c (hashtab.h): Likewise.
4244 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
4245 to htab_find_slot_with_hash.
4246 * cpphash.c (hashtab.h): Now include.
4247 (_cpp_lookup_slot): INSERT is now enum insert_option.
4248 * cpphash.h (_cpp_lookup_slot): Likewise.
4249 * cppinit.c (hashtab.h): Include earlier.
4250 (initialize_builtins): Pass enum to htab_find_slot.
4251 * cpplib.c (hashtab.h): Now include.
4252 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
4253 (do_pragma_poison, do_assert): Likewise.
4254 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
4255 htab_find_slot_with_hash.
4256 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
4257 * tree.c (type_hash_add): Likewise.
4258 (build1): Minor cleanup.
4260 * ggc-common.c: Add missing blanks.
4261 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
4262 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
4264 * stmt.c (mark_case_node): New function.
4265 (mark_case_nesting): Call it.
4267 * expmed.c (emit_store_flag): If comparing two-word integer
4268 with zero, can optimize NE, EQ, GE, and LT.
4270 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
4271 * conflict.c: Minor cleanups.
4272 * optabs.c: Add blank line
4273 * simplify-rtx.c: Minor cleanups.
4275 2000-04-18 Stan Cox <scox@cygnus.com>
4277 * gengenrtl.c (genlegend): Fix misspelling.
4279 2000-04-18 Robert Lipe <robertlipe@usa.net>
4281 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
4282 bitfields of the host compiler are not signed quantities.
4283 * config.in: Regenerate.
4284 * configure: Regenerate.
4285 * system.h (USE_ENUM_BITFIELDS): Added.
4286 (ENUM_BITFIELDS): Added.
4287 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
4288 (SHORT_ENUM_BUG): Deleted.
4289 * tree.h (tree_common): Members `code', `mode', `built_in_class',
4291 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
4292 (CODE_FIELD_BUG): Likewise.
4293 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
4295 * config/m68k/x-ccur (X_CFLAGS): Likewise.
4297 2000-04-18 Mark Mitchell <mark@codesourcery.com>
4299 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
4302 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4304 * cppexp.c (lex): Don't assume tokens are NUL terminated.
4305 * cpplib.c (do_include, do_import, do_include_next,
4306 read_line_number, detect_if_not_defined): Likewise.
4307 * cpphash.c (collect_expansion): Likewise.
4308 (special_symbol, _cpp_macroexpand): Check return from
4310 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
4311 macros. Delete all uses.
4313 * gcc.dg/cpp-mi.c: Add two more test cases.
4314 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
4316 2000-04-17 Richard Henderson <rth@cygnus.com>
4318 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
4319 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
4321 2000-04-17 Mark Mitchell <mark@codesourcery.com>
4323 * function.c (expand_function_start): Use hard_function_value to
4324 compute the RTL to use for DECL_RESULT.
4326 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
4328 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
4329 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4330 x86_memory_mismatch_stall): New global variables.
4331 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
4332 alloved; fix load penalties for Athlon.
4333 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4334 x86_memory_mismatch_stall): Declare.
4335 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
4336 TARGET_MEMORY_MISMATCH_STALL): New.
4337 * i386.md (athlon scheduling parameters): Fix latencies according to
4338 Athlon Optimization Manual.
4339 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
4341 (fsqrt instruction patterns): Set athlon_decode to direct.
4342 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
4343 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
4344 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
4345 and TARGET_PARTIAL_REGISTER_STALL machines.
4346 (pushdf_nointeger): New pattern.
4347 (pushdf_integer): Rename from pushdf.
4348 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
4349 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
4351 2000-04-17 Richard Henderson <rth@cygnus.com>
4353 * loop.c (canonicalize_condition): Add WANT_REG argument.
4354 Stop the search if we match it.
4355 * expr.h (canonicalize_condition): Update decl.
4356 * predict.c (expected_value_to_br_prob): Use it. Track last
4357 expected value note.
4358 (find_expected_value): Remove.
4360 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
4362 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4364 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
4365 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
4367 * configure.in: Call AC_FUNC_MMAP_FILE.
4368 * configure: Regenerate.
4369 * config.in: Regenerate.
4371 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
4372 * fixinc/fixincl.c: Likewise.
4374 2000-04-17 Richard Henderson <rth@cygnus.com>
4376 * builtins.c (expand_builtin_expect): New.
4377 (expand_builtin): Call it.
4378 * builtins.def (BUILT_IN_EXPECT): New.
4379 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
4380 * extend.texi: Document it.
4382 * predict.c (expected_value_to_br_prob): New.
4383 (find_expected_value): New.
4384 * basic-block.h (expected_value_to_br_prob): Declare.
4385 * toplev.c (rest_of_compilation): Invoke it.
4387 * rtl.h (NOTE_EXPECTED_VALUE): New.
4388 (NOTE_INSN_EXPECTED_VALUE): New.
4389 * rtl.c (note_insn_name): Update.
4390 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
4391 cases; handle NOTE_INSN_EXPECTED_VALUE.
4393 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4395 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
4396 leaf sibcall delay slot if flag_pic.
4397 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
4399 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4401 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
4403 * fixproto: If fix-header fails, exit with an error.
4405 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
4407 * cse.c (struct check_depdendence_data): New.
4408 (check_dependence): New function.
4409 (invalidate): Use check_depdenence.
4411 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4413 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
4414 UNITS_PER_WORD is unsigned.
4416 * tree.h (struct tree_common): Remove misleading comment.
4418 2000-04-16 Dave Pitts <dpitts@cozx.com>
4420 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
4421 message in quotes. Otherwise, IBM's make program treats the '#' as the
4422 start of a comment and ignores the remainder of the line.
4424 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
4426 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
4427 * cexp.y (initialize_random_junk): Likewise.
4428 * cppfiles.c (find_include_file): Cast alloca return value.
4429 * cppinit.c (initialize_standard_includes): Likewise.
4430 * cpplib.c (cpp_define, cpp_undef): Likewise.
4431 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
4432 * final.c (output_asm_insn): Allow for holes in EBCDIC.
4433 * fold-const.c (CHARMASK): New.
4434 (real_hex_to_f): Use it.
4435 * real.c (CHARMASK): New.
4436 (etoasc, asctoeg): Use it.
4437 (asctoeg): EBCDIC lower case characters preceed upper case.
4439 * i370.c (mvs_add_label): Change spacing for coding conventions.
4440 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
4441 outputing case vectors.
4442 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
4443 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
4444 since vector in in the data CSECT.
4445 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
4446 * i370.md (Many patterns): Put the length in the XL directives.
4447 (movdi): Put back STM and MVC in definition.
4448 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
4449 pattern using the TCA.
4450 * oe.h (CPP_SPEC): Added to allow trigraphs.
4451 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
4452 not support the "long long" type.
4454 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4456 * config/mips/mips-protos.h (mips_legitimate_address_p): New
4458 (mips_reg_mode_ok_for_base_p): Likewise.
4459 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
4460 (REG_OK_FOR_INDEX_P): Define unconditionally.
4461 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
4462 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
4463 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
4464 that GET_MODE_SIZE is unsigned.
4465 (mips_reg_mode_ok_for_base_p): Define.
4466 (mips_legitimate_address_p): Likewise. Adjust now
4467 that GET_MODE_SIZE is unsigned.
4468 (block_move_loop): Make the number of bytes unsigned.
4469 (expand_block_move): Likewise.
4470 (function_arg): Make the loop counter unsigned to match the
4473 2000-04-16 Richard Henderson <rth@cygnus.com>
4475 * rtl.h (enum insn_note): New enumeration. Subsume
4476 NOTE_INSN_DELETED and friends.
4477 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
4478 * rtl.c (note_insn_name): Tweak string order.
4480 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
4482 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
4485 * cpplex.c (output_line_command): Remove debugging prints.
4486 (cpp_output_tokens): Don't write out a zero-length buffer or
4487 try to see if it has a newline in it.
4488 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
4489 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
4490 the end of the loop. Use memmove. Don't read past the end of
4491 the buffer. Remove trailing newlines from error messages.
4493 2004-04-16 Neil Booth <NeilB@earthling.net>
4495 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
4496 * cpplib.c: Add new syntax flags to directive table, and
4499 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4501 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
4504 2000-04-15 David Edelsohn <edelsohn@gnu.org>
4506 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
4507 * haifa-sched.c: Update -fsched-verbose comments to use "=".
4509 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4511 * Makefile.in (ggc-page.o): Now includes toplev.h.
4512 * ggc-page.c (toplev.h): Now included.
4513 (gc_time): Remove declaration.
4514 (ggc_collect): TIME now long.
4515 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
4517 * toplev.h (gc_time, parse_time, gc_time): New declarations.
4519 * toplev.c: Make *_time variable long to reduce chance of overflow.
4520 (TIMEVAR): Likewise for `otime'.
4521 (print_time): Arg is now long; compute percentage in FP and round.
4522 * toplev.h (print_time): Arg is long.
4524 * tree.c: Minor whitespace changes.
4526 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
4527 * configure: Rebuilt.
4528 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
4529 (__fixunsxfDI): Renamed from __fixunsxfdi.
4530 (__fixunsdfDI): Renamed from __fixunsdfdi.
4531 (__fixunssfDI): Renamed from __fixunssfdi.
4532 (__floatdisf): Use proper type in REP_BIT macro.
4533 (__fixunsxfSI): Renamed from __fixunsxfsi.
4534 (__fixunsdfSI): Renamed from __fixunsdfsi.
4535 (__fixunssfSI): Renamed from __fixunssfsi.
4536 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
4537 Change location of macros and upper-case some names as above.
4538 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
4539 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
4541 * varasm.c (assemble_variable): Add cast to remove warning.
4542 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
4544 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
4545 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
4546 region number to -1.
4548 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
4550 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
4551 call unshare_all_rtl.
4553 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
4555 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
4557 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
4558 Use .s1 not .s0 for all FP instructions.
4560 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
4562 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
4564 (safe_fwrite, output_line_command): New static functions.
4565 (cpp_expand_to_buffer): Now private to cpplib.
4566 (cpp_scan_buffer): Take a printer.
4568 * cpphash.h: Update prototypes.
4569 * cpplib.h: Update prototypes.
4571 (cpp_buffer): Remove last_nominal_fname.
4572 (cpp_reader): Remove lineno.
4574 * cppmain.c: Use a cpp_printer.
4575 * fix-header.c: No need to inhibit line commands. Call
4576 cpp_start_read with no printer.
4578 * cpperror.c (cpp_notice_from_errno): Provide default name.
4579 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
4580 (find_include_file, cpp_read_file): Use make_IHASH.
4581 (file_cleanup): Set control_macro and clear
4582 input_stack_listing_current here.
4583 (_cpp_execute_include): Don't output entering-file marker.
4584 * cpphash.c (special_symbol): Look for the line number in the
4585 buffer, not the reader.
4586 (_cpp_macroexpand): No need to disable line commands.
4587 (_cpp_dump_definition): No need to generate line commands.
4588 (dump_hash_helper): Remove excess newline from output.
4589 * cppinit.c (dump_special_to_buffer): No need to generate line
4591 (cpp_printer_init): New.
4592 (cpp_start_read): Take a printer, and start it up if it's not
4593 NULL. No need to generate line commands.
4594 (cpp_finish): Expect no buffers stacked at all. Take a
4595 printer argument, and flush the output buffer if it's not
4597 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
4598 Don't put two hashes at the beginning of an assertion.
4599 (cpp_get_token): Don't increment pfile->lineno or emit line
4600 commands here. Return EOF if there's no buffer when we get
4602 * cpplib.c (do_define, skip_if_group):
4603 No need to disable line commands.
4604 (_cpp_output_line_command): Delete function.
4605 (do_line): Don't emit line commands here, but set things up so
4606 they will be emitted if necessary. Use _cpp_fake_ihash to
4607 make unique nominal_fnames if necessary.
4608 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
4609 with 0 for column, not -1.
4610 (_cpp_handle_eof): Don't set the control macro here. Don't
4611 clear input_stack_listing_current here. Don't emit line
4614 2000-04-14 Geoff Keating <geoffk@cygnus.com>
4616 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
4617 always, use the default SVR4 start address.
4619 * config/rs6000/linux.h (LINK_SPEC): Don't define.
4620 (LINK_SHLIB_SPEC): Define.
4621 (LINK_START_DEFAULT_SPEC): Define.
4622 (LINK_OS_DEFAULT_SPEC): Define.
4624 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
4626 * config/rs6000/eabi.asm (__eabi): Call __init rather than
4627 __do_global_ctors to handle constructors.
4628 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
4629 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
4630 (STARTFILE_MVME_SPEC): Likewise.
4631 (STARTFILE_SIM_SPEC): Likewise.
4632 (ENDFILE_ADS_SPEC): Use crtend.
4633 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
4634 (ENDFILE_MVME_SPEC): Likewise.
4635 (ENDFILE_SIM_SPEC): Likewise.
4636 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
4637 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
4638 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
4639 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
4640 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
4641 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
4642 (CRTSTUFF_T_CFLAGS_S): Define.
4643 * config/rs6000/eabi-ctors.c: Delete.
4645 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
4648 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
4652 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
4654 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
4655 plus mask size is smaller or equal to the mode size.
4657 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4659 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
4662 * expr.c (reload.h): Now included.
4663 (emit_block_move): Set volatile_ok when checking for movstr.
4664 (emit_move_1): Check for replacements in addresses in multi-word case.
4665 * Makefile.in (expr.o): Now includes reload.h.
4667 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
4668 Never have a LIBCALL end a basic block.
4669 (find_basic_blocks_1): Likewise.
4670 Reorganize CALL_INSN cases.
4672 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
4674 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
4676 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
4677 completers from mov.ret instruction.
4679 2000-04-14 Richard Henderson <rth@cygnus.com>
4681 * fold-const.c (extract_muldiv): Don't distribute and widen
4682 multiply across plus for non-sizetype unsigned types.
4684 2000-04-14 Richard Henderson <rth@cygnus.com>
4686 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
4687 If the original source is dead in the incr insn, it's dead now.
4689 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4691 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
4692 see if DECL_BIT_FIELD needs to still be set.
4694 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
4696 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
4697 print_int_cst_octal with something that's not an INTEGER_CST.
4699 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
4700 and not a SUBREG to a FLOAT rtl.
4702 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
4704 * emit-rtl.c (try_split): Avoid infinite loop if the split
4705 results in a sequence that contains the original insn.
4707 2000-04-13 Andreas Jaeger <aj@suse.de>
4709 * config/mips/mips.c (expand_block_move): Pass alignment
4710 argument to move_by_pieces in bits, not bytes.
4712 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
4713 __pic__ for little endian.
4715 2000-04-13 Andreas Jaeger <aj@suse.de>
4717 * config/i386/i386-protos.h: Add prototype for
4718 uno_comparison_operator.
4720 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
4722 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
4723 * calls.c (ECF_PURE): New flag.
4724 (emit_call_1): Handle ECF_PURE calls.
4725 (initialize_argument_information): Unset ECF_PURE flag too.
4726 (precompute_arguments): Precompute for ECF_PURE too.
4727 (expand_call): Handle ECF_PURE calls too.
4728 (emit_library_call_value_1): Rename no_queue argument to fn_type,
4729 accept value of 2 as pure function.
4730 (emit_library_call_value, emit_library_call): Rename no_queue argument
4732 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
4734 * tree.h (DECL_IS_PURE): New macro.
4735 (struct tree_decl): Add pure_flag.
4736 * c-common.c (enum attrs): Add attribute "pure".
4737 (init_attributes): Initialize attribute "pure"
4738 (decl_attributes): Handle attribute "pure".
4739 * extend.texi (Attribute "pure"): Document.
4740 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
4742 (flags_from_decl_or_type): Support attribute "pure".
4744 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
4746 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
4747 the token except for numbers and identifiers.
4749 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
4751 * i386.c (ix86_expand_binary_operator,
4752 ix86_expand_unary_operator): Check no_new_pseudos
4753 instead of reload_in_progress and reload_completed.
4754 (ix86_split_ashldi, ix86_split_ashrdi,
4755 ix86_split_lshrdi): Check no_new_pseudos instead
4756 of reload_completed.
4758 2000-04-12 Jeffrey A Law (law@cygnus.com)
4760 * function.c (purge_addressof): Unshare any shared rtl created by
4761 purge_addressof and its children.
4763 2000-04-12 Mark Mitchell <mark@codesourcery.com>
4765 * function.c (aggregate_value_p): VOID_TYPE nodes are never
4768 2000-04-05 Andreas Jaeger <aj@suse.de>
4770 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
4771 not compiling PIC code, add flags for mabi=64.
4772 (SUBTARGET_CPP_SIZE_SPEC): New.
4773 (SUBTARGET_CPP_SPEC): New.
4774 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
4775 for MIPS/Linux and lots of code needs these defines.
4777 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
4779 * reorg.c (fill_slots_from_thread): Check side_effects_p when
4780 trying the "opposite arithmetic" approach.
4782 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4784 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4785 (struct sh_args): Add new field force_mem.
4786 (INIT_CUMULATIVE_ARGS): Initialize it.
4787 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
4789 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
4791 * calls.c (expand_call): Do not reverse args in "equal from" field.
4792 (emit_library_call_value_1): Emit_libcall_block for const and pure
4795 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4797 * reload1.c (reload_combine): Don't enable optimization for fixed
4798 registers when encountering a BARRIER.
4800 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
4802 * builtins.c (expand_builtin_memcmp): Do expansion even with
4803 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
4805 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
4806 stack is propertly aligned; add sanity checking for aligned
4808 (expand_library_call_value_1): Add sanity checking for aligned
4811 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
4813 * calls.c (emit_library_call_value_1): Change 3rd arg to
4814 locate_and_pad_parm to disregard the setting of partial.
4816 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4818 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
4820 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
4821 CALL_INSN from the normal case.
4823 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
4825 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4826 New global variables.
4827 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
4829 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4831 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
4832 TARGET_ADD_ESP_8): New macros.
4833 * i386.md: Add peep2s to convert esp adjustments to push and pop
4835 (pushsi_prologue, popsi_epilogue): New patterns.
4837 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4839 * real.c (toe64): Remove stale #endif from the last change.
4841 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
4843 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
4844 * real.c (toe64): Revert previous change.
4846 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4848 * objc/objc-act.c: Include ggc.h.
4849 (objc_tree_index, objc_global_trees): Convert most of the
4850 static tree variables into a static array with previous names
4852 (objc_ellipsis_node): New variable.
4853 (lang_init): Call objc_act_parse_init and c_parse_init.
4854 Create objc_ellipsis_node.
4855 (build_selector_translation_table): Use objc_ellipsis_node instead
4857 (hack_method_prototype): Likewise.
4858 (get_arg_type_list): Likewise.
4859 (start_method_def): Likewise.
4860 (continue_method_def): Likewise.
4861 (gen_method_decl): Likewise.
4862 (ggc_mark_imp_list): New function.
4863 (ggc_mark_hash_table): New function.
4864 (objc_act_parse_init): New function.
4865 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
4866 * c-parse.in (c_parse_init): For objc add roots of objc specific
4867 local tree variables.
4868 * objc/objc-parse.y: Rebuilt.
4869 * objc/objc-parse.c: Rebuilt.
4870 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
4872 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
4874 * cse.c (delete_trivially_dead_insns): Also delete insns
4875 that copy a register to itself where the destination is
4878 2000-04-11 Richard Henderson <rth@cygnus.com>
4880 * flow.c (struct propagate_block_info): Add new_dead, new_live.
4881 (propagate_block): Initialize them. Use them in parallel instead
4882 of one tmp variable, ie revert much of the 0408 and 0407 functional
4883 changes, but keep the structural changes.
4884 (mark_set_regs): Take new_dead from propagate_block_info instead.
4885 (mark_set_1, mark_set_reg): Likewise.
4886 (mark_used_regs): Likewise with new_live.
4887 (mark_used_reg): Likewise. Revert 0408 change.
4889 2000-04-11 Nick Clifton <nickc@cygnus.com>
4891 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
4893 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
4895 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4897 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
4898 const section to output a CONSTRUCTOR based on the same conditions
4901 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
4903 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4904 * pa/pa-protos.h (output_call): Add additional argument indicating
4905 if the call is a sibling/tail call.
4906 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4907 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4908 (function_arg, function_arg_partial_nregs): Likewise
4909 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4910 (emit_move_sequence): Zero extend certain constants as needed
4912 (compute_zdepdi_operands, output_64bit_and): New functions.
4913 (output_64bit_ior, function_arg): Likewise.
4914 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4915 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4916 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4917 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4918 (output_bvb): Likewise.
4919 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4920 (output_call): New argument 'sibcall'. Generate sibcall sequences
4922 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
4923 (ouput_arg_descriptor): Do not emit argument descriptors for
4925 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4927 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4928 (FUNCTION_OK_FOR_SIBALL): Define.
4929 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4930 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4931 (CPP_SPEC): Use new spec infrastructure.
4932 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4933 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
4934 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
4935 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
4936 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
4937 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
4938 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4939 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
4940 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
4941 (FUNCTION_ARG); Call out to C code.
4942 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
4943 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
4944 (MIN_UNITS_PER_WORD): Likewise.
4945 * pa/pa.md (cmpdi): New expander.
4946 (scc patterns, movstrsi): Not available for TARGET_64BIT.
4947 (64bit conditional arithmetic): New patterns.
4948 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
4949 (movsicc): Not available if modes on all the operands to not match.
4950 (movdicc): New expander and associated patterns.
4951 (64bit branches): New patterns.
4952 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
4953 (pre_ldd, post_std): New patterns.
4954 (64bit addil, load low part): New patterns.
4955 (special movsf constant): Not available for TARGET_64BIT.
4956 (movsf, movdf expanders): Force constants into memory.
4957 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
4958 (64bit movdf/movdi patterns): New patterns.
4959 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
4961 (extendqidi2, extendhidi2, extendsidi2): Similarly.
4962 (adddi3 expander): Allow "arith_operand" for second input.
4963 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
4964 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
4965 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
4966 (muldi3): New expander for TARGET_64BIT.
4967 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
4969 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
4970 patterns for TARGET_64BIT.
4971 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
4972 patterns for TARGET_64BIT.
4973 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
4974 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
4975 (sibcall_epilogue): New expander.
4976 (casesi): Tweak for TARGET_64BIT.
4977 (call expanders): Set & use the outgoing argument pointer. Use the
4978 64bit call patterns as needed. Add additional arg to output_call.
4979 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
4980 (sibcall, sibcall_internal_symref): New expanders.
4981 (sibcall_value, sibcall_value_internal_symref
4982 (interspace_jump): Turn into an expander + matching patterns.
4983 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
4984 * pa/pa64-regs.h: Eliminate trigraph sequences.
4985 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
4987 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
4989 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
4990 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
4991 cpp_token with cpp_ttype everywhere.
4992 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
4993 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
4994 CPP_BUF_COL. Line and column numbers are unsigned int, not
4996 * cpplex.c (cpp_buf_line_and_col): Delete.
4997 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
4998 'long lineno' to 'unsigned int lineno'.
4999 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
5001 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5003 * extend.texi: ISO C99 is not a draft anymore.
5004 * invoke.texi: ISO C++ is not a draft anymore.
5005 * cpp.texi: __cplusplus is required by the ISO standard.
5007 * extend.texi (-fthis-is-variable): Undocument.
5008 * flags.h (warn_template_debugging): Remove declaration.
5009 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
5010 -Wenum-clash, -Wtemplate-debugging): Undocument.
5012 2000-04-10 Nick Clifton <nickc@cygnus.com>
5014 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
5016 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
5018 (ARM_SIGN_EXTEND): Use HOST_UINT.
5019 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
5020 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
5021 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
5022 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
5024 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
5025 (arm_gen_constant): Use HOST_UINT.
5026 (arm_canonicalize_constant): Use HOST_UINT.
5027 (arm_reload_in_hi): Use HOST_UINT.
5028 (arm_reload_out_hi): Use HOST_UINT.
5029 (output_multi_immediate): Use HOST_UINT.
5030 (int_log2): Use HOST_UINT.
5031 (arm_poke_function_name): Use HOST_UINT.
5032 (arm_output_epilogue): Use arm_volatile_func().
5033 (output_thumb_prologue): Use arm_strip_name_encoding().
5035 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5037 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
5038 of sequence point problems.
5040 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
5042 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
5044 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
5046 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5048 * sbitmap.h: Whitespace changes and use upper-case macro args.
5049 (struct simple_bitmap_def): All sizes now unsigned.
5050 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
5051 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
5052 (sbitmap_vector_alloc): Parms and local vars now unsigned.
5053 (sbitmap_zero): Cast bzero arg to PTR.
5054 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
5055 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
5056 loop to make structure clearer.
5057 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
5058 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
5059 (sbitmap_a_and_b_or_c): Likewise.
5060 (sbitmap_intersection_of_succs): Minor cleanups.
5061 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
5062 (sbitmap_union_of_preds): Likewise.
5063 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
5064 (debug_sbitmap): New function.
5066 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
5067 * c-typeck.c (convert_for_assignment): Likewise.
5069 * expmed.c (init_expmed): Don't free objects we make.
5070 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
5072 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
5073 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
5075 * gcse.c (expr_hash_table_size): Now unsigned.
5076 (compute_ae_gen): Local variable `i' now unsigned.
5077 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
5078 (compute_transout, hoist_code): Likewise.
5079 (compute_local_properties): Likewise, also hash_table_size.
5080 (alloc_expr_hash_table): N_INSNS now unsigned.
5081 (delete_null_pointer_checks): Mark arg F as unused.
5083 * regrename.c: Minor cleanups, including chang some variables
5086 2000-04-10 Neil Booth <NeilB@earthling.net>
5088 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
5090 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
5092 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5094 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
5095 __classof__, and __headof__ from the list of gnu keywords.
5096 (-ansi): Remove -foperator-names from list of implied options.
5097 Do not call it ANSI C++.
5098 (-foperator-names): Document as -fno-operator-names.
5100 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
5102 * cpphash.c (timestamp): Delete.
5103 (del_HASHNODE): If type is T_MCONST, free value.cpval.
5104 (special_symbol): Remove unnecessary braces. Remove
5105 T_VERSION. Treat T_STDC like T_CONST unless
5106 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
5107 when one is encountered, then convert them into T_MCONST
5109 * cppinit.c (builtin_array): version_string is T_MCONST.
5110 __STDC__ has a "1" in its cpval. Don't have a terminator
5111 entry. Clean up which entries are dumped.
5112 (initialize_builtins): Only __STDC__ gets the special
5113 -traditional treatment. Count the length of builtin_array.
5114 Render version_string here.
5115 * cpphash.h: Remove T_VERSION. Add T_MCONST.
5116 * cpplib.h (struct cpp_reader): Remove timebuf.
5118 2000-04-09 Richard Henderson <rth@cygnus.com>
5120 * genrecog.c (pred): Update comparison_operator for the unordered
5123 * config/i386/i386.c (no_comparison_operator): Disallow unordered
5125 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
5126 (uno_comparison_operator): New.
5127 (put_condition_code): Handle UNORDERED/ORDERED.
5128 (unsigned_comparison): Likewise.
5129 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
5130 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
5131 (ix86_expand_fp_compare): Use them. Take scratch as argument,
5132 update all callers. Handle all 8 unordered operators.
5133 (ix86_expand_setcc): Lose the unordered argument, update all callers.
5134 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
5135 * config/i386/i386.h (PREDICATE_CODES): Update.
5136 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
5137 (ix86_expand_branch, ix86_expand_setcc): Update.
5138 * config/i386/i386.md (sunordered, sordered): New.
5139 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
5140 (bunordered, bordered): New.
5141 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
5142 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
5143 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
5145 2000-04-09 Philip Blundell <philb@gnu.org>
5147 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
5149 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
5151 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
5152 fix_truncxfhi2): New patterns.
5153 * i386.c (output_fix_trunc): Handle converting to HImode.
5155 2000-04-08 Alex Samuel <samuel@codesourcery.com>
5157 * ssa.c (convert_to_ssa): Eliminate dead code when calling
5159 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
5160 (for_each_successor_phi): Change parameter to basic_block.
5161 (coalesce_regs_in_successor_phi_nodes): Likewise.
5162 (coalesce_regs_in_copies): Likewise.
5163 (compute_coalesced_reg_partition): Use basic_block instead of index.
5164 * rtl.h (convert_to_ssa): Delete.
5165 (convert_from_ssa): Likewise.
5166 (successor_phi_fn): Likewise.
5167 (for_each_successor_phi): Likewise.
5168 (in_ssa_form): Likewise.
5169 * basic-block.h (convert_to_ssa): Moved from rtl.h.
5170 (convert_from_ssa): Likewise.
5171 (successor_phi_fn): Likewise.
5172 (in_ssa_form): Likewise.
5173 (for_each_successor_phi): Likewise. Change parameter to basic_block.
5174 * flow.c (calculate_global_regs_live): Pass a basic_block to
5175 for_each_successor_phi.
5177 2000-04-08 Richard Henderson <rth@cygnus.com>
5179 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
5180 was modified in the current insn.
5182 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5184 * arm/thumb.md: Delete.
5185 * arm/thumb-protos.h: Delete.
5187 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5189 Merge changes from merged-arm-thumb-backend-branch onto trunk.
5191 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5193 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
5196 * arm.md (nop): Use the standard RTL expression. Don't code as a
5198 (*arm_nop, *thumb_nop): Delete.
5200 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
5201 constants. Use casts instead.
5202 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
5203 output_multi_immediate, arm_poke_function_name): Likewise.
5204 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
5205 MASK_RETURN_ADDDR): Likewise.
5207 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
5209 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
5212 * arm.md (eh_epilogue): New function.
5213 * arm.h (struct machine_function): Move to here ...
5214 * arm.c: ... from here.
5215 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
5216 (thumb_exit): Extra parameter eh_ofs. All callers changed.
5217 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
5219 2000-03-30 Nick Clifton <nickc@cygnus.com>
5221 * config/arm/semi.h (ASM_SPEC): Restore definition.
5222 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5224 * config/arm/elf.h (ASM_SPEC): Restore definition.
5225 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5227 * config/arm/arm.h (ASM_SPEC): Remove definition.
5228 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
5230 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
5232 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
5234 2000-03-24 Nick Clifton <nickc@cygnus.com>
5236 Various formating tidyups, elimination of compile time
5237 warnings and synchronisation with internal sources:
5239 * config/arm/arm-protos.h (assemble_align): Add prototype.
5240 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5241 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5242 (arm_return_addr_rtx): Rename to arm_return_addr.
5244 * config/arm/arm.c: Include except.h.
5245 Define shorter typenames for strict minipool_node and struct
5247 (arm_return_in_memory): For WinCE return all structures <= 32 bits
5249 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5250 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5252 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5254 (ASM_SPEC): Define if not already defined.
5255 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
5257 * config/arm/arm.md: Rename references to gen_rotated_half_load to
5258 arm_gen_rotated_half_load, and references to gen_comapre_reg to
5259 arm_gen_compare_reg.
5260 (indirect_jump): Only accept register operands.
5261 (load_indirect_jump): Keep this pattern since combine can generate
5264 * config/arm/coff.h: Include aout.h.
5265 (MULTILIB_DEFAULTS): Only define if not already defined.
5267 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
5268 into arm.h (so that COFF ports can support thumb based aliases).
5269 (ASM_SPEC): Move definition into arm.h
5271 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
5272 redundant apcs spec.
5273 (ASM_SPEC): Move definition to arm.h
5275 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
5277 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
5278 for entries in the .bss section
5280 2000-03-23 Nick Clifton <nickc@cygnus.com>
5282 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
5283 to thumb_far_jump_used_p.
5285 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
5286 single integer parameter.
5288 * config/arm/arm.c (struct machine_function): Add two new
5289 fields, 'far_jump_used' and 'arg_pointer_live'.
5290 (thumb_far_jump_used_p): Once the decision has been made that
5291 far jumps might be used, always return true.
5292 If being called from the initial elimination offset macro then
5293 do not bother to perform the test if the arg pointer is not
5295 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
5296 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
5298 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
5300 * arm.c (output_return_instruction): Handle more cases where we can
5301 return from a function with an ldr instruction.
5302 (arm_output_epilogue): Likewise.
5304 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
5305 if we need to push a large stack frame and there are no callee-saved
5308 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
5309 in ARM code if the frame pointer has been eliminated.
5311 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
5312 unspec_volatile arguments to avoid duplicates.
5313 (consttable_1, consttable_2): Fixes for big-endian mode.
5315 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
5318 Re-write constant pool code.
5319 * arm.c (minipool_node, minipool_fix): New types.
5320 (minifix): Delete type.
5321 (arm_add_minipool_constant): Delete.
5322 (arm_compute_minipool_offsets, arm_find_barrier,
5323 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
5324 (get_jump_table_size): Now returns HOST_WIDE_INT.
5325 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
5327 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
5328 (assign_minipool_offsets, arm_print_value): Likewise.
5329 (dump_minipool): Rewrite.
5330 (arm_barrier_cost): New function.
5331 (create_fix_barrier): New function.
5332 (push_minipool_barrier): New function.
5333 (push_minipool_fix): Record additional information about the fixup
5335 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
5336 check the mode of what needs fixing.
5337 (arm_reorg): Rewrite.
5339 2000-03-08 Nick Clifton <nickc@cygnus.com>
5341 * config/arm/arm.md (indirect_jump): Force constant addresses into
5344 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
5346 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
5348 2000-02-24 Nick Clifton <nickc@cygnus.com>
5350 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
5351 adjust is word aligned.
5352 (thumb_expand_epilogue): Make sure that stack adjust is word
5355 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
5357 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
5359 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
5360 pointer relative addresses.
5362 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
5364 * arm.c (find_barrier): Find the last barrier within the allowed
5367 2000-02-09 Nick Clifton <nickc@cygnus.com>
5369 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
5371 2000-02-09 Nick Clifton <nickc@cygnus.com>
5373 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
5374 ARM_FUNCTION_PROFILER.
5376 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
5377 ARM_FUNCTION_PROFILER.
5379 * config/arm/linux-oldld.h: Imported from mainline sources.
5381 2000-02-07 Nick Clifton <nickc@cygnus.com>
5383 * config/arm/lib1funcs.asm: Merge in thumb functions from
5386 * config/arm/lib1thumb.asm: Delete.
5388 2000-02-04 Nick Clifton <nickc@cygnus.com>
5390 * config/arm/arm.c: Sychronised with current Red hat local
5392 * config/arm/arm.h: Ditto.
5393 * config/arm/arm-protos.h: Ditto.
5395 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
5397 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
5399 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
5402 2000-02-02 Nick Clifton <nickc@cygnus.com>
5404 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
5406 * config/arm/arm.md (epilogue): Fix rtl checking abort because
5407 (return) was emited using an emit_insn() call.
5409 2000-01-31 Nick Clifton <nickc@cygnus.com>
5411 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
5413 (thumb_exit): Move frame pointer back into hard frame pointer
5414 register if backtracing is being used.
5416 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
5418 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
5421 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
5423 * config/arm/arm.md (neg_pool_offset): Provide default for new
5425 (arm_movsi_insn): Add neg_pool_offset attribute.
5426 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
5427 rtx for the insn that starts the scan and an unsigned long for its
5428 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
5429 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
5430 instructions in *PINSERTED.
5431 (struct minipool_fixup): Add MIN_ADDRESS elt.
5432 (sort_fixups): Compute it.
5433 (arm_reorg): Changes to support inserting pools before the insn to be
5436 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
5438 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
5439 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
5440 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
5442 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
5444 * config/arm/semi.h (TARGET_VERSION): Do not define if already
5446 (TARGET_DEFAULT): Do not define if already defined.
5448 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
5450 * config/arm/arm.md (anddi3): Allow disjoint source operands.
5451 (iordi3): Allow disjoint source operands.
5452 (xordi3): Allow disjoint source operands.
5453 (negdi2): Permit construction for ARM and Thumb.
5454 (arm_negdi2): Renamed version of old negdi2 pattern.
5455 (thumb_negdi2): New pattern: Only permit non-overlapping
5456 source and destination.
5458 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
5460 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
5461 scratch low register so that it will not be deleted.
5463 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
5465 * config/arm/pe.h (ARM_PE): Define.
5467 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
5468 interfacearm attribute if this is a PE toolchain.
5469 (output_return_instruction): Do not emit anything if the function
5470 has the naked attribute set.
5471 (is_called_in_ARM_mode): If the function has the interfacearm
5472 attribute then return true.
5473 (thumb_expand_prologue): Do not generate a prologue for naked
5475 (thumb_expand_epilogue): Do not generate an epilogie for a naked
5477 (output_thumb_prologue): Do not bother if the function is naked.
5478 Strip PE encoding from function name before emitting.
5480 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5482 * arm.md (pic_load_addr): Fix constraints.
5484 * arm.md (casesi_insn): Fix mis-applied patch.
5486 * arm.md ("core" function unit): Add rules for single- and
5488 (All TARGET_THUMB patterns): Add "type" attribute information
5490 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
5491 the following insn is a CALL.
5493 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
5495 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
5496 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
5497 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
5499 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
5501 * config/arm/linux-gas.h: oops - this file was missed out when the
5502 branch was created...
5504 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
5506 * thumb.c: Deleted. Move contents to ...
5508 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
5510 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
5513 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
5514 declare a prototype for asm_output_align();
5516 * arm.c (thumb_condition_code): Delete.
5517 (arm_print_operand): Always use arm_condition_code array.
5519 * arm.c (thumb_return_addr_rtx): Delete.
5520 (arm_save_machine_status, arm_restore_machine_status): Delete.
5521 (arm_init_machine_status, arm_mark_machine_status): New functions.
5522 (arm_init_expanders): Update accordingly.
5523 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
5524 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
5525 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
5527 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
5529 * configure.in : Fix arm-*-aout target to use new t-arm-aout
5531 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
5534 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
5536 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
5537 stack backtrace structure.
5539 * config/arm/arm-protos.h: Add prototypes for functions defined in
5542 * config/arm/arm.c (arm_override_options): Fix selection of
5543 attributes of default processor.
5545 * config/arm/coff.h: Delete needless #include.
5547 * config/arm/pe.c: Delete unused code.
5549 * config/arm/pe.h (CPP_DEFINES): Delete
5550 (SUBTARGET_CPP_SPEC): Define.
5551 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
5553 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
5555 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
5557 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
5559 (CAN_DEBUG_WITHOUT_FP): Define.
5560 (FIXED_REGISTERS): Make r11 call-saved.
5561 (CALL_USED_REGISTERS): Likewise.
5562 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
5563 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
5564 frame-pointer is required.
5565 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
5566 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
5567 if the target normally needs a stack frame in non-leaf functions.
5568 (use_return_insn): Correct logic for determining when a return
5569 instruction can be used.
5570 (output_return_instruction): Handle the frame-pointer register as
5571 a normal register when not TARGET_APCS_FRAME.
5572 (arm_output_prologue): Likewise.
5573 (arm_output_epilogue): Likewise.
5574 (output_func_epilogue): Likewise.
5575 (arm_expand_prologue): Likewise.
5576 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
5578 * arm.c (use_return_insn): No need to check floating point regs if
5580 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
5581 the code of value stored in the minipool array.
5582 (arm_add_minipool_constant): Likewise.
5584 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5586 * basic-block.h (conflict_graph_enum_fn): K&R fix.
5588 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5590 * tree.c (tree_expr_nonnegative_p): New function.
5592 * tree.h (tree_expr_nonnegative_p): Declare.
5594 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
5595 elide some sign_compare warnings.
5596 (build_conditional_expr): Likewise.
5598 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
5600 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
5602 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
5603 * i386.c (print_operand): Use the proper suffix for a 387 HImode
5604 operand. Abort if a 387 operand has an unsupported size.
5606 2000-04-08 Neil Booth <NeilB@earthling.net>
5608 * cppexp.c (parse_charconst): Null does not end character
5610 * cppinit.c (ISTABLE): Null character handled as whitespace.
5611 * cpplex.c (null_warning): new function.
5612 (skip_string): Emit warning if nulls encountered.
5613 (_cpp_skip_hspace): Emit warning if nulls encountered.
5614 (_cpp_lex_token): Emit warning if nulls encountered. Drop
5618 2000-04-07 Richard Henderson <rth@cygnus.com>
5620 * flow.c (loop_depth): Remove.
5621 (reg_next_use, cc0_live, mem_set_list): Replace with ...
5622 (struct propagate_block_info): New.
5623 (life_analysis): Don't allocate reg_next_use.
5624 (propagate_block_delete_insn): Break out of propagate_block.
5625 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
5626 (propagate_block_delete_libcall): Likewise.
5627 (propagate_block): Create a propagate_block_info struct to pass
5628 to subroutines. Allocate one not two temporary regsets. Don't
5629 clobber memory for const calls. Look for clobbers in
5630 CALL_INSN_FUNCTION_USAGE.
5631 (mark_set_regs): Recognize COND_EXEC.
5632 (mark_set_reg): Break out of mark_set_1.
5633 (mark_used_reg): Break out of mark_used_regs.
5634 (mark_used_regs): Recognize COND_EXEC.
5635 (insn_dead_p): Use propagate_block_info struct.
5636 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
5637 (find_auto_inc, try_pre_increment_1): Likewise.
5638 (print_rtl_with_bb): Dump regs live at end too.
5639 (count_reg_sets_1): Pass in loop_depth.
5640 (count_reg_sets, count_reg_references): Likewise.
5641 (recompute_reg_usage): Provide it.
5643 2000-04-07 Richard Henderson <rth@cygnus.com>
5645 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
5648 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
5650 * cpplib.c (do_elif): Skip the rest of the line if we're
5651 not going to bother evaluating it.
5652 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
5653 to avoid pointless calls to the lexer.
5655 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
5657 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
5659 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
5661 * calls.c (expand_call): emit_queue if we're trying a sibcall.
5663 2000-04-07 Jakub Jelinek <jakub@redhat.com>
5665 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
5667 2000-04-06 Geoff Keating <geoffk@cygnus.com>
5669 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
5670 crtend so they can be multilibbed.
5671 (STAGESTUFF): Remove s-crt and s-crtS.
5673 2000-04-07 Richard Henderson <rth@cygnus.com>
5675 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
5676 if we discover we need a pseudo and no_new_pseudos is true.
5677 * config/alpha/alpha.md (ne:DI insn): New.
5678 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
5680 2000-04-07 Richard Henderson <rth@cygnus.com>
5682 * rtl.def (COND_EXEC): New.
5683 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
5684 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
5686 * genconfig.c (have_cond_arith_flag): Remove.
5687 (have_cond_exec_flag): New.
5688 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
5689 (main): Print HAVE_conditional_execution.
5691 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
5692 (sched_analyze_insn, print_pattern): Likewise.
5693 * reload.c (find_equiv_reg): Likewise.
5694 * rtlanal.c (reg_referenced_p): Likewise.
5695 (note_stores, dead_or_set_regno_p): Likewise.
5696 (reg_overlap_mentioned_p): Rewrite to use a switch.
5698 * ggc.h (struct rtx_def): Forward declare.
5700 * print-rtl.c (debug_rtx_range): New.
5701 * rtl.h (debug_rtx_range): Declare.
5703 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
5705 * gcse.c (gcse_main): Don't rebuild the CFG here.
5706 (delete_null_pointer_checks): Likewise.
5707 * ssa.c (convert_to_ssa): Likewise.
5708 * toplev.c (rest_of_compilation): Do it here instead. Combine
5709 sequential calls to TIMEVAR. Consistently use `insns' instead of
5710 `get_insns()'. Always split insns after reload when optimizing.
5712 * basic-block.h (merge_blocks_nomove): Declare.
5713 (tidy_fallthru_edge): Declare.
5714 * flow.c (merge_blocks_nomove): Document as merging into previous
5715 blocks. Remove cruft from between blocks; remove all edges out of A.
5716 (tidy_fallthru_edge): Export.
5718 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5720 * ssa.c (compute_conservative_reg_partition): Declare with
5722 * toplev.c (clean_dump_file): Remove previously-deleted function
5723 inadvertantly merged back in.
5724 * conflict.c (conflict_graph_add): Use a single call to
5725 htab_find_slot to look up and insert.
5727 2000-04-06 Richard Henderson <rth@cygnus.com>
5729 * genrecog.c (*): Rename _last_insn to last_insn.
5730 (make_insn_sequence): Set the position of the peephole2 C test
5731 to be at the last insn.
5733 2000-04-06 Richard Henderson <rth@cygnus.com>
5735 * flow.c (compute_flow_dominators): Free worklist.
5737 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
5739 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
5741 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5743 * rtl.h (INSN_P): New macro.
5744 (successor_phi_fn): New typedef.
5745 (for_each_successor_phi): New prototype.
5746 (in_ssa_form): New variable.
5747 (PHI_NODE_P): Likewise.
5748 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
5749 phi nodes in successors.
5750 (mark_used_regs): Add PHI case.
5751 (set_phi_alternative_reg): New function.
5752 (life_analysis): Assert that dead code elimination is not selected
5754 * toplev.c (to_ssa_time): New variable.
5755 (from_ssa_time): Likewise.
5756 (compile_file): Zero to_ssa_time and from_ssa_time.
5757 Print time to convert to and from SSA.
5758 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
5759 (print_time): Compute percent fraction as integer.
5760 * ssa.c (PHI_NODE_P): Moved to rtl.h.
5761 (convert_to_ssa): Check if we're already in SSA.
5762 Don't eliminate dead code in life_analysis.
5763 Rerun flow and life analysis at bottom.
5764 (eliminate_phi): Use canonical regnos when adding nodes.
5765 (mark_reg_in_phi): New function.
5766 (mark_phi_and_copy_regs): Likewise.
5767 (convert_from_ssa): Rerun life analysis at top.
5768 Use coalesced partition.
5769 Check for removing a phi node at the end of the block.
5770 (compute_coalesced_reg_partition): New function.
5771 (coalesce_regs_in_copies): Likewise.
5772 (coalesce_reg_in_phi): Likewise.
5773 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
5774 (for_each_successor_phi): Likewise.
5775 (rename_context): New struct.
5776 (rename_block): Use a rename_context with rename_insn_1. When
5777 renaming sets of a subreg, emit a copy of the entire reg first.
5778 (rename_insn_1): Treat data as a rename_context *. Save current
5780 (rename_set_data): Add field set_insn.
5781 * Makefile.in (HASHTAB_H): Move up in file.
5782 (OBSTACK_H): New macro.
5783 (collect2.o): Use OBSTACK_H in dependencies.
5784 (sdbout.o): Likewise.
5785 (emit-rtl.o): Likewise.
5786 (simplify-rtx.o): Likewise.
5787 (fix-header.o): Likewise.
5788 (OBJS): Add conflict.o.
5789 (conflict.o): New rule.
5790 * basic-block.h: Include partition.h.
5791 (conflict_graph): New typedef.
5792 (conflict_graph_enum_fn): Likewise.
5793 (conflict_graph_new): New prototype.
5794 (conflict_graph_delete): Likewise.
5795 (conflict_graph_add): Likewise.
5796 (conflict_graph_conflict_p): Likewise.
5797 (conflict_graph_enum): Likewise.
5798 (conflict_graph_merge_regs): Likewise.
5799 (conflict_graph_print): Likewise.
5800 (conflict_graph_compute): Likewise.
5801 * conflict.c: New file.
5803 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
5805 * tlink.c (read_repo_files): Don't look for .rpo info for
5808 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5810 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
5812 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5814 * config/sh/lib1funcs.asm (___udivsi3_i4):
5815 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
5816 only depends on FMOVD_WORKS.
5818 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5820 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
5821 make double constant 8-byte aligned.
5823 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5825 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
5826 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
5827 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
5828 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
5829 Accept storing GENERAL_REGS into offsetable memory.
5830 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
5831 building a TFmode constant other than 0.0L into GENERAL_REGS.
5833 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
5835 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
5837 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
5839 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
5840 (macro_cleanup): No need to cast pbuf->macro.
5841 (collect_expansion): Use _cpp_get_define_token. Goto done if
5842 it returns VSPACE. Remove check for trailing space after
5844 (_cpp_create_definition): Don't diddle flags here. Return
5846 (unsafe_chars): Handle c1 being EOF.
5847 (push_macro_expansion): Use unsafe_chars for both accidental-paste
5848 checks. Don't push the buffer till after we're done with
5850 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
5851 (PEEKN, FORWARD, GETC, PEEKC): Use them.
5852 (cpp_push_buffer): Don't set new->alimit. Set new->mark
5854 (_cpp_parse_assertion): Don't NUL terminate.
5855 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
5856 hspace before calling _cpp_parse_assertion. Remove all sets
5857 of only_seen_white. Treat '\f' as hspace. Don't do anything
5858 special with '\n' here.
5859 (maybe_macroexpand): Handle T_EMPTY hash entries without
5860 pushing a buffer at all.
5861 (cpp_get_token): Handle clearing only_seen_white here. Handle
5862 incrementing the line number here. Clear
5863 potential_control_macro as well as only_seen_white, if
5865 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
5866 (_cpp_get_define_token): New function, basically like
5867 _cpp_get_directive_token was but doesn't eat horizontal space.
5868 Don't do anything with only_seen_white here.
5869 (_cpp_get_directive_token): Just call _cpp_get_define_token
5870 repeatedly till it returns non-hspace.
5872 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
5873 (conditional_skip, skip_if_group): Return int.
5874 (DIRECTIVE_TABLE): Change origin of all conditional directives
5876 (TRAD_DIRECT_P): New macro.
5877 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
5878 an error for a bogus directive, unless -lang-asm. Use
5879 TRAD_DIRECT_P. Loop calling handler functions till one returns
5881 (get_macro_name): Don't diddle flags here.
5882 (do_define): Diddle flags here. Use _cpp_get_directive_token.
5883 Create T_EMPTY nodes for #define macro /* nothing */.
5884 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
5885 Use hp->name when calling pass_thru_directive.
5886 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
5887 Return the result of conditional_skip and/or skip_if_group.
5888 Don't call _cpp_output_line_command.
5889 (consider_directive_while_skipping): Use _cpp_get_directive_token.
5890 Issue -Wtraditional warnings as appropriate. Don't complain
5891 about unrecognized directives. If we are to stop skipping,
5892 return the number of the directive that ended the skip.
5893 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
5894 expansion and line commands while skipping. Return the result
5895 of consider_directive_while_skipping, if nonzero.
5896 (do_endif): Just set potential_control_macro here.
5897 (validate_else): Use _cpp_get_directive_token.
5898 (do_assert, do_unassert): Don't save pointers into the
5899 token_buffer across calls to the lexer. Use
5900 _cpp_get_directive_token.
5902 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
5903 pointer, not an offset. Replace 'data', which was a generic
5904 pointer, with 'macro', which points to a struct hashnode.
5905 (cpp_reader): Add 'potential_control_macro' pointer.
5906 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5907 (CPP_BUF_GET, CPP_FORWARD): Delete.
5908 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5909 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5910 ACTIVE_MARK_P): Update.
5911 (_cpp_get_define_token): New internal function.
5912 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5914 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
5916 * configure.in: And here.
5917 * configure: Regenerate.
5918 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5919 --enable-libstdcxx-v3 is passed at configure time.
5920 * config.h.in: Regenerate.
5922 2000-04-05 Mark Mitchell <mark@codesourcery.com>
5924 * final.c (final): Use xcalloc to allocate line_note_exists.
5925 * function.c (free_after_compilation): Free the temp_slots.
5926 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5927 (combine_temp_slot): Free temp_slots when they get combined.
5928 (purge_addressof): Fix typo in comment.
5929 * stmt.c (mark_goto_fixup): Mark the fixup itself.
5930 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5932 * ggc.h: Include varray.h.
5933 (ggc_pending_trees): Declare.
5934 (ggc_mark_tree_children): Remove declaration.
5935 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
5936 * ggc-common.c (ggc_pending_trees): New variable.
5937 (ggc_mark_roots): Call ggc_mark_trees.
5938 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
5939 the ggc_pending_trees.
5940 * Makefile.in (GGC_H): New variable. Use it throughout in place
5943 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5945 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
5948 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5950 * sh.c (sh_insn_length_adjustment): New function.
5951 * sh-protos.h (sh_insn_length_adjustment): Declare.
5952 * sh.h (ADJUST_INSN_LENGTH): Use it.
5954 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
5956 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
5957 from the insn where REG_RETVAL is added.
5958 (emit_no_conflict_block): Ditto.
5960 * md.texi (Standard Names): Clarify when movX is needed.
5962 * combine.c (simplify_comparison) [MINUS]: Do not replace
5963 all (op (minus A B) 0) with (op A B).
5965 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
5966 J"orn Rennecke <amylaar@cygnus.co.uk>
5968 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
5969 (block_lump_real): Likewise.
5971 2000-04-05 Chris Demetriou <cgd@netbsd.org>
5973 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
5974 remaining non-zero debugging masks.
5976 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
5978 * basic-block.h (verify_flow_info): Declare.
5979 (flow_loop_outside_edge_p): Declare.
5980 * flow.c (verify_flow_info): Remove declaration.
5981 (clear_log_links, flow_loop_outside_edge_p): Likewise.
5983 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
5985 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
5988 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5990 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
5991 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
5992 seqdi_zero_trunc+1): Allow splits only if registers are
5995 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
5997 * acconfig.h: Add HAVE_GAS_HIDDEN.
5998 * config.in: Regenerated.
5999 * configure.in: Add test for .hidden pseudo-op in gas.
6000 * configure: Regenerated.
6001 * crtstuff.c: Include auto-host.h.
6002 Emit additional .hidden pseudo-op for __dso_handle if the
6003 assembler knows about it.
6005 2000-04-04 Philippe De Muyter <phdm@macqel.be>
6007 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
6008 before freeing argnames.
6009 * cpplib.c (do_ifndef): Cast return value of xstrdup.
6011 2000-04-05 Michael Meissner <meissner@redhat.com>
6013 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
6014 Walton <jonboy@gordian.com> to make memory references with update
6015 work wtih -mregnames.
6017 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6019 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
6020 (regrename_optimize): Rename variables `def_uses' and
6021 `ext_basic_blocks' to avoid conflicts with similarly named
6022 typedefs in traditional C.
6024 * calls.c (initialize_argument_information): Fix typo in previous
6027 2000-04-04 Richard Henderson <rth@cygnus.com>
6029 * regrename.c (consider_available): Test fixed_regs not
6030 PIC_OFFSET_TABLE_REGNUM.
6032 2000-04-04 Geoff Keating <geoffk@cygnus.com>
6034 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
6036 (CRTSTUFF_T_CFLAGS_S): Delete definition.
6037 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
6038 (ENDFILE_LINUX_SPEC): Always use crtend.
6039 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
6040 (powerpc-*-linux-gnu): Likewise.
6041 * configure: Regenerate.
6043 * config/rs6000/eabi.h: Don't include sysv4.h.
6044 (MULTILIB_DEFAULTS): Don't define.
6045 * config/rs6000/eabiaix.h: Don't include eabi.h.
6046 * config/rs6000/eabile.h: Delete.
6047 * config/rs6000/eabilesim.h: Delete.
6048 * config/rs6000/eabisim.h: Don't include eabi.h.
6049 * config/rs6000/linux.h: Don't include sysv4.h.
6050 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
6051 (MULTILIB_DEFAULTS): Don't redefine.
6052 * config/rs6000/rtems.h: Don't include eabi.h.
6053 * config/rs6000/sol2.h: Don't include sysv4le.h.
6054 * config/rs6000/sysv4le.h: Don't include sysv4.h.
6055 * config/rs6000/t-ppc: Delete.
6056 * config/rs6000/t-ppcgas: Correct comment.
6057 * config/rs6000/t-ppcos: Correct comment. Don't build
6058 multilibs for -fPIC, rather use -fPIC -mstrict-align
6060 * config/rs6000/t-ppc: Delete.
6061 * config/rs6000/vxppc.h: Don't include sysv4.h.
6062 * config/rs6000/vxppcle.h: Delete.
6063 * configure.in: Use multiple header files for p2pc ELF targets
6064 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
6065 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
6066 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
6067 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
6068 always available for these platforms.
6070 2000-04-04 Richard Henderson <rth@cygnus.com>
6072 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
6074 2000-04-04 Stan Cox <scox@cygnus.com>
6076 * Makefile.in: Add rules for regrename.o
6077 * regrename.c: New file.
6078 * rtl.h (regrename_optimize): Add prototype.
6079 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
6080 (compile_file, decode_d_option): Add support for -frename-registers.
6081 (rest_of_compilation): Call regrename_optimize.
6082 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
6085 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6087 * Makefile (gccbug): New target.
6088 (doc): Depend on it.
6089 * gcc.texi (Bugs): Link subnodes.
6091 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
6092 Document severities, priorities, and classes in bug form.
6094 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
6096 * cpplex.c (trigraph_map, speccase): Combine into single
6098 (NORMAL, NONTRI): New macros.
6099 (_cpp_read_and_prescan): Change to use unified table. Use
6100 is_hspace to test for whitespace.
6102 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
6103 definition that doesn't provoke the "empty body in an
6104 if-statement" warning.
6106 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
6108 * builtins.c (expand_builtin_strlen): Force the source to
6109 be a memory address.
6111 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6113 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
6115 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
6117 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
6118 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
6119 (ECF_IS_CONST): Rename to ECF_CONST.
6120 (special_function_p): Make static, change interface.
6121 (flags_from_decl_or_type, try_to_integrate): Break out from ...
6122 (expand_call) ... here; convert number of variables to flags.
6123 (emit_library_call_vlue_1): Likewise.
6124 (setjmp_call_p): New function.
6125 (initialize_argument_information): Accepts flags as argument;
6127 (precompute_arguments): Likewise.
6128 * tree.h (special_function_p): Remove.
6129 (setjmp_call_p): Add prototype.
6131 2000-04-04 Jakub Jelinek <jakub@redhat.com>
6133 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
6134 so that addresses are offsetable by up to 16 bytes.
6135 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
6136 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
6139 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
6140 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
6141 (movsf): Don't force any constant to memory if target is integer
6143 Move fp_zero_operand check below the const0_rtx check.
6144 (movtf): Likewise. Also allow fp_zero_operand for stores into
6146 (movdf): Likewise. Also allow fp_zero_operand for stores into
6147 memory and into integer hard registers.
6148 (clear_df, clear_dfp, movdf_const_intreg_sp32,
6149 movdf_const_intreg_sp64): Remove.
6150 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
6152 (movdf_no_e_insn_v9_sp32): New pattern.
6153 (movdf_insn_v9only): Remove.
6154 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
6155 (movdf_insn_sp64): Remove.
6156 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
6157 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
6158 (following splits): Rewrite conditions. Add two new splits
6159 for storing 0.0 into memory and registers.
6160 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
6161 (movtf_insn_sp32): Redo constraints and conditions.
6162 (movtf_insn_vis_sp32): New pattern.
6163 (movtf_no_e_insn_sp32): Redo constraints and conditions.
6164 (movtf_insn_hq_sp64): Likewise.
6165 (movtf_insn_hq_vis_sp64): New pattern.
6166 (movtf_insn_sp64): Redo constraints and conditions.
6167 (movtf_insn_vis_sp64): New pattern.
6168 (movtf_no_e_insn_sp64): Redo constraints and conditions.
6169 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
6171 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
6172 -mvis or -m64 to take down the number of various reload patterns.
6174 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
6176 * pa/pa-64.h: New file.
6177 * pa/pa64-regs.h: New file.
6178 * pa/pa64-start.h: New file.
6179 * pa/t-pa64: New file.
6180 * pa/xm-pa64hpux.h: New file.
6182 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6184 * sparc.c (output_restore_regs): Prototype.
6185 (sparc_emit_float_lib_cmp): Constification.
6187 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
6189 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
6192 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
6193 (get_value_hash, hash_rtx): Likewise.
6195 * ssa.c (compute_conservative_reg_partition): Prototype.
6197 * tree.c (mark_hash_entry): Prototype.
6199 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
6201 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
6202 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
6203 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
6205 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
6206 * objc/lang-specs.h: Likewise.
6208 2000-04-03 Neil Booth <NeilB@earthling.net>
6210 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
6211 and SYNTAX_ERROR2. Replace `' in messages with ''.
6212 (op_to_str): Make re-entrant.
6213 (_cpp_parse_expr): Implement new error macros. Use | rather
6214 than || to logically or 2 boolean integers. Simply expression
6215 checking we have a left operand iff needed.
6217 2000-04-03 Nick Clifton <nickc@cygnus.com>
6219 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
6221 2000-04-03 Philip Blundell <philb@gnu.org>
6223 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
6225 2000-04-03 Felix Lee <flee@cygnus.com>
6227 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
6228 (run_shell): Use it.
6230 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
6232 * Makefile.in (stmp-int-hdrs): Make include subdir here...
6233 (stmp-fixproto): ...rather than here.
6235 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
6237 * pa.c (print_operand): Compute 'base' only inside the code paths
6240 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
6242 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
6245 2000-04-03 Philipp Thomas <pthomas@suse.de>
6247 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
6249 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
6251 * Makefile.in (alias.o): Depend on $(TREE_H).
6253 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
6255 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
6257 * cpplib.c (_cpp_handle_directive): Improve warnings for
6258 traditional C and indented directives.
6260 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
6261 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
6262 fixinc/inclhack.def: Indent the # of #include_next one space.
6263 * cp/rtti.c: Un-indent #if and #endif.
6265 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
6266 syntax error, but an error has already been printed.
6267 * cpplex.c (_cpp_parse_assertion): Give a more specific error
6268 message when called with nothing remaining on the line.
6269 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
6270 OTHER token, not an ASSERTION.
6271 * cpplib.c (do_assert): When we create a 'base' node, clear
6272 its aschain pointer.
6274 2000-04-02 Neil Booth <NeilB@earthling.net>
6276 * cppexp.c: New typedef op_t. struct operation and struct
6277 token updated to use it.
6278 (op_to_str): New function.
6279 (_cpp_parse_expr): Error messages modified to use op_to_str.
6281 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6283 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
6284 before checking MUST_PASS_IN_STACK.
6286 2000-04-02 Neil Booth <NeilB@earthling.net>
6288 * cppexp.c: New FINISHED dummy token. Combine operator initial
6289 flags and initial priority into a single constant. New
6290 EQUALITY macro. New operator flag SHORT_CIRCUIT.
6291 (_parse_cpp_expr): Implement new constants. Take left operand
6292 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
6293 parse indicated by reducing FINISHED token. Remove new lines
6294 from cpp_error messages.
6296 2000-04-01 Mark Mitchell <mark@codesourcery.com>
6298 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
6301 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
6303 * cpplib.c: Include symcat.h. Add 'origin' field to struct
6304 directive. Add origin values to DIRECTIVE_TABLE. Generate
6305 the strings and function names on the fly. Take the #sccs
6306 entry out of the table if SCCS_DIRECTIVE is not defined.
6307 (_cpp_handle_directive): Decide if the # was at the beginning
6308 of the line here. Issue -pedantic warnings for extended
6309 directives here. Warn about K+R directives with the #
6310 indented, and C89/extended directives with the # not indented,
6312 (do_import, do_include_next, do_warning, do_ident, do_sccs,
6313 do_assert, do_unassert): Don't issue pedantic warning here.
6315 * cpphash.h: Add CPP_WTRADITIONAL macro.
6316 * cpplib.h (struct cpp_options): Rename warn_stringify to
6317 warn_traditional; update comments.
6318 * cppinit.c (handle_option): Set warn_traditional not
6320 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
6321 CPP_WTRADITIONAL (pfile).
6322 * cpplex.c (_cpp_lex_token): Don't decide if directives should
6323 be ignored in -traditional mode here.
6325 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
6326 to initialize speccase[] and trigraph_map[]. Delete all
6327 references to pfile->input_speccase. Always treat '?' as a
6328 special character. Remove table-initialization code from
6329 _cpp_init_input_buffer.
6331 * cpplib.h (struct cpp_reader): Remove input_speccase field.
6332 * cppinit.c (cpp_cleanup): Don't free input_speccase.
6334 2000-04-01 Richard Henderson <rth@cygnus.com>
6336 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
6337 (mostlyclean): Likewise.
6339 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
6340 (struct dump_file_info, enum dump_file_index, dump_file): New.
6341 (open_dump_file): Take a dump_file_index not a suffix, and a decl
6342 not a string. Clean out file if we havn't yet done so. Do nothing
6343 if the dump isn't enabled.
6344 (close_dump_file): Do nothing if the dump isn't open. Dump
6345 graph data if requested.
6346 (dump_rtl, clean_dump_file): Remove.
6347 (compile_file): Don't clean the dump files. Only finalize .bp dump
6348 if flag_test_coverage or flag_branch_probabilities. Only finalize
6349 .combine dump if optimizing. Iterate over dump_file to finalize the
6351 (rest_of_compilation): Update for open_dump_file/close_dump_file.
6352 Convert all uses of dump_rtl.
6353 (decode_d_option): Iterate over dump_file to implement 'a' and to
6354 locate pass-specific dumps.
6356 2000-04-01 Neil Booth <NeilB@earthling.net>
6358 * cppexp.c: Redefine priority constants.
6359 (_cpp_parse_expr): Replace left and right priority scheme with
6360 single priority logic. Move LOGICAL to same place as COMPARE.
6361 Remove bogus check for multiple unary +/- operators.
6363 2000-04-01 Neil Booth <NeilB@earthling.net>
6365 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
6366 within the switch statement. Binary operations break out of
6367 the switch naturally. '(' tokens handled by forcing
6368 immediate shift. ')' handled by forcing immediate reduce to
6369 the previous '('. New error messages.
6371 2000-03-31 Geoff Keating <geoffk@cygnus.com>
6373 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
6374 part', it's already in use. Use %K instead. Add a return at the
6375 end of what is now %K.
6376 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
6378 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
6380 * builtins.c (expand_builtin_apply): Pass proper parameters to
6381 allocate_dynamic_stack_space.
6382 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
6383 update stack_pointer_delta; do not update arg_size_so_far.
6384 (compute_argument_block_size): Use stack_delta instead of
6385 stack_pointer_pending and arg_size_so_far.
6386 (expand_call): Add sanity checking for stack_pointer_delta;
6387 save and restore stack_pointer_delta for SIB, use
6388 stack_pointer_delta for alignment; do not update arg_space_so_far.
6389 (emit_library_call_value): Use stack_pointer_delta for alignment.
6390 (store_one_arg): Do not update arg_space_so_far.
6391 * explow.c (adjust_stack, anti_adjust_stack): Update
6392 stack_pointer_delta.
6393 (allocate_dynamic_stack_space): Add sanity checking for
6394 stack_pointer_delta.
6395 * expr.c (init_expr, clear_pending_stack_adjust): Clear
6396 stack_pointer_delta.
6397 (emit_push_insn): Update stack_pointer_delta.
6398 * function.h (struct expr_status): Add x_stack_pointer_delta;
6399 remove x_arg_space_so_far.
6400 (arg_space_so_far): Remove.
6401 (stack_pointer_delta): New macro.
6403 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
6405 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
6406 Reorder struct cpp_options and struct cpp_reader for better
6407 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
6408 takes two args. Change all 'char' flags to 'unsigned char'.
6409 Move show_column flag into struct cpp_options. Don't
6410 prototype cpp_options_init.
6411 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
6412 cppinit.c, cpplex.c, cpplib.c:
6413 Replace CPP_OPTIONS (pfile)->whatever with
6414 CPP_OPTION (pfile, whatever), and likewise for
6415 opts = CPP_OPTIONS (pfile); ... opts->whatever;
6417 * cppinit.c (merge_include_chains): Take a cpp_reader *.
6418 Extract CPP_OPTION (pfile, pending) and work with that
6420 (cpp_options_init): Delete.
6421 (cpp_reader_init): Turn on on-by-default options here.
6422 Allocate the pending structure here.
6423 (cl_options, enum opt_code): Define these from the same table,
6424 kept in a large macro. Add -fshow-column and -fno-show-column
6427 * cpperror.c (v_message): If show_column is off, don't print
6430 * cppmain.c: Update for new interface.
6431 * fix-header.c: Likewise.
6433 2000-03-30 Geoff Keating <geoffk@cygnus.com>
6435 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
6437 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
6438 are passed to any invocation of AR_FOR_TARGET.
6439 (AR_CREATE_FOR_TARGET): New macro.
6440 (AR_EXTRACT_FOR_TARGET): New macro.
6441 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
6442 AR_EXTRACT_FOR_TARGET.
6443 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
6444 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
6445 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
6446 AR_EXTRACT_FOR_TARGET to sub-makes.
6448 2000-03-31 Neil Booth <NeilB@earthling.net>
6450 * cppexp.c: Delete SKIP_OPERAND. Correct priority
6452 (_cpp_parse_expr): Check for multiple unary +/- operators.
6453 Correct priorities of ':' and '?'. Treat ')' as having a
6454 value. Ensure conditional expression is not void.
6456 2000-03-31 Mark Mitchell <mark@codesourcery.com>
6458 * alias.c (canon_rtx): Make it global.
6459 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
6461 * cse.c (struct table_elt): Add canon_exp.
6463 (invalidate): Canonicalize expressions only once.
6464 * rtl.h (canon_rtx): Declare.
6466 2000-03-30 Mark Mitchell <mark@codesourcery.com>
6468 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
6469 * alias.c (reg_known_value): Add comments.
6470 (init_alias_analysis): Likewise.
6471 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
6473 (cse_basic_block): Fix typo in comment.
6474 * emit-rtl.c: Include hashtab.h.
6475 (const_int_htab): New variable.
6476 (const_int_htab_hash): New function.
6477 (const_int_htab_eq): Likewise.
6478 (rtx_htab_mark_1): Likewise.
6479 (rtx_htab_mark): Likewise.
6480 (gen_rtx_CONST_INT): Cache all CONST_INTs.
6481 (unshare_all_rtx): Fix formatting.
6482 (init_emit_once): Initialize const_int_htab.
6483 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
6485 * rtl.texi: Document the fact that all CONST_INTs with the same
6488 2000-03-30 Richard Henderson <rth@cygnus.com>
6490 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
6492 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
6494 * configure.in: Comment out --enable-c-cpplib stanza.
6495 * configure: Regenerate.
6497 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6499 * expr.c (store_constructor): Properly compute displacement and
6500 alignment when offset is variable.
6502 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
6503 cases of alignment in bytes.
6505 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
6507 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
6508 since it is used to generate c-parse.y.
6509 * objc-parse.c, objc-parse.y: Regenerated.
6511 * function.c (expand_function_end): Pass alignment argument to
6512 emit_block_move in bits, not bytes.
6514 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6516 * expr.c (move_by_pieces_ninsns): Fix one more missing align
6519 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
6521 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
6522 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
6523 * function.c (assign_parms): Likewise.
6524 * integrate.c (expand_inline_function): Likewise.
6525 * stmt.c (expand_decl): Likewise.
6526 (copy_rtx_and_substitute): Likewise.
6527 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
6528 (clear_by_pieces): Fix error in last change.
6529 * emit-rtl.c (init_emit): Set known registers alignment in bits.
6530 * function.h (regno_pointer_align): Now unsigned.
6531 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
6533 * config/i386/i386.c (aligned_operand): Likewise.
6534 * config/sparc/sparc.c (mem_min_alignment): Likewise.
6535 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
6536 (unaligned_memory_operand): Likewise.
6537 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
6538 Also make alignments and sizes unsigned and some whitespace cleanup.
6539 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
6541 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
6542 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
6543 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
6544 (expand_builtin_memset): Likewise, but to clear_storage.
6545 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
6546 (restore_fixed_argument_area): Likewise.
6547 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
6548 (load_register_parameters): Likewise, to emit_group_load.
6549 (expand_call): Likewise, to emit_group_store and emit_block_move.
6550 (emit_library_call_value_1): Likewise, to emit_block_move.
6551 (store_one_arg): Likewise, and to emit_push_insn.
6552 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
6553 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
6554 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
6555 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6556 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
6557 (expand_assigment, store_expr, store_constructor_field): Likewise.
6558 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
6559 (store_constructor, store_field, get_inner_reference): Likewise.
6560 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
6561 (expand_expr, case COMPONENT_REF): Likewise.
6562 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
6563 and positions; reindent code.
6564 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
6565 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
6566 (assign_parms): Likewise to emit_group_store.
6567 * optabs.c (prepare_cmp_insn): Alignment is in bits.
6568 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
6569 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
6570 (expand_return): Likewise to {extract,store}_bit_field.
6571 * stor-layout.c (get_mode_alignment): Minor cleanup.
6572 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
6573 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
6575 2000-03-29 Nick Clifton <nickc@cygnus.com>
6577 * config/arm/arm.h: Undo effects of previous delta:
6578 (ASM_SPEC): Do not define.
6579 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
6581 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
6584 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6586 * cppinit.c (cpp_start_read): Call initialize_dependency_output
6587 only after reading in the primary source file.
6589 2000-03-29 Geoff Keating <geoffk@cygnus.com>
6591 * c-common.c (c_common_nodes_and_builtins): The first parameter to
6592 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
6593 or a reference to a va_list.
6594 * builtins.c (stabilize_va_list): Simplify now we don't have to
6595 work around C array address decay.
6596 * c-typeck.c (convert_for_assignment): Handle assignment to
6597 a reference parameter by taking the address of the RHS.
6598 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
6599 (va_copy): Likewise.
6600 (__va_copy): Likewise.
6601 * ginclude/varargs.h (va_start): Likewise.
6602 (__va_copy): Likewise.
6604 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
6606 * i386/djgpp.h: Remove extraneous "+".
6608 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
6610 * calls.c (expand_call): Fix typo in last change.
6612 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
6614 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
6617 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6619 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
6620 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
6621 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
6622 * tree.c (bit_position, byte_position): Likewise.
6623 * tree.h: Declare new functions.
6625 2000-03-29 Nick Clifton <nickc@cygnus.com>
6627 * config/arm/arm.c: Minor formatting changes/
6628 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
6630 (ASM_SPEC): Define if not already defined.
6632 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6634 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
6637 2000-03-29 Jakub Jelinek <jakub@redhat.com>
6639 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
6640 value, don't output it as unsigned.
6642 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
6644 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
6646 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6648 * c-common.c (c_common_nodes_and_builtins): Don't special case
6649 cplus_mode when declaring builtin bzero/bcmp, always avoid
6650 prototype arguments.
6652 2000-03-29 Bruce Korb <bkorb@gnu.org>
6654 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
6657 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
6659 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
6660 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
6661 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
6662 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
6663 (save_fixed_argument_area, restore_fixed_argument_area):
6664 conditionize by #ifdef REG_PARM_STACK_SPACE only.
6665 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
6666 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
6667 (precompute_register_parameters): Avoid #ifdefs on
6668 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
6669 (stire_one_args): Likewise.
6670 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
6671 (emit_library_call_value_1): Likewise.
6672 (compute_argument_block_size): Align to STACK_BOUNDARY only for
6673 ACCUMULATE_OUTGOING_ARGS.
6674 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
6676 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
6677 (use_crosses_set_p): Likewise.
6678 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
6679 #define ACCUMULATE_OUTGOING_ARGS 1.
6680 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
6682 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
6684 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
6685 (TARGET_SWITCHES): Add push-args, no-push-args,
6686 accumulate-outgoing-args and no-accumulate-outgoing-args.
6687 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
6688 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
6689 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
6691 (emit_push_insn): Likewise.
6692 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6693 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
6694 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6695 (STACK_DYNAMIC_OFFSET): Define correctly for both
6696 ACCUMULATE_OUTGOING_ARGS and normal mode.
6697 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
6698 * tm.texi (PUSH_ARGS): Document.
6699 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
6701 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
6703 * flags.h (flag_optimize_sibling_calls): Declare.
6704 * calls.c (expand_call): Fail sibcall when
6705 !flag_optimize_sibling_calls
6706 * invoke.texi (flag_optimize_sibling_calls): Document.
6707 * toplev.c (flag_optimize_sibling_calls): New global variable.
6708 (f_options): Add flag_optimize_sibling_calls.
6709 (rest_of_compilation): Conditionize
6710 optimize_sibling_and_tail_recursive_calls by
6711 flag_optimize_sibling_calls.
6712 (main): Set flag_optimize_sibling_calls for -O2.
6713 * stmt.c (expand_return): Conditionize tail recursion by
6714 flag_optimize_sibling_calls.
6716 2000-03-29 Richard Henderson <rth@cygnus.com>
6718 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
6719 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
6721 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
6723 * except.c (add_eh_table_entry): Mark type_info's as referenced.
6725 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6727 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
6729 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
6730 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
6731 * config/rs6000/aix.h: then modified likewise.
6733 2000-03-28 Richard Henderson <rth@cygnus.com>
6735 * rtl.h: Redistribute enum reg_note documentation.
6736 Kill trailing whitespace.
6737 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
6738 Kill trailing whitespace.
6740 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
6742 * cppfiles.c (hash_IHASH): Just return i->hash.
6743 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
6744 htab_find_with_hash.
6745 (cpp_read_file): Likewise.
6746 (find_include_file): Likewise. Properly initialize
6747 ih->nshort. Share ih->name and ih->nshort if possible.
6748 * cpphash.c (_cpp_calc_hash): New function.
6749 (hash_HASHNODE): Just return h->hash.
6750 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
6751 htab_find_with_hash.
6752 * cpphash.h: Prototype _cpp_calc_hash.
6753 * cppinit.c (initialize_builtins): Provide a valid hash
6754 to _cpp_make_hashnode, using _cpp_calc_hash.
6756 * cpphash.c (collect_expansion): # is not a special character
6757 in object-like macros. In -traditional mode, /**/ is not
6758 token paste at the beginning or end of the line.
6759 * cpplib.c (do_include, do_import, do_include_next): If
6760 parse_include fails, return immediately.
6762 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
6764 * config/arm/arm.md (return peepholes): Update to reflect the new
6766 * config/arm/arm.c (arm_volatile_func): Also check
6767 current_function_nothrow.
6768 (output_return_instruction, output_func_prologue): Use it.
6769 (arm_output_epilogue, arm_expand_prologue): Likewise.
6771 2000-03-27 Tom Tromey <tromey@cygnus.com>
6773 * gcc.c (handle_braces): In {x*...} case, break out of loop if
6776 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6778 * expr.c (store_constructor): SIZE now signed.
6779 For EXPR_SIZE, don't evaluate size; just needed if constant.
6780 * fold-const.c (fold): Fix a number of cases when folded tree is
6782 * function.c (flush_addressof): Reenable.
6783 * tree.h (flush_addressof): Likewise.
6784 * toplev.c (independent_decode_option): Look at strings_processed.
6785 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
6787 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
6789 * sibcall.c (indentify_call_return_value): Find last call in the chain;
6790 Allow stack adjustment after function call.
6792 * regmove.c (struct csa_memlist): Make mem field rtx *.
6793 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
6794 (try_apply_stack_adjustment): Replace whole MEM rtx.
6795 (combine_stack_adjustments_for_block): Update calls
6796 to record_one_stack_ref.
6798 2000-03-28 Neil Booth <NeilB@earthling.net>
6800 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
6801 '\\' rather than a null character, so nulls are not special. Fix
6802 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
6803 speed trigraph conversion.
6804 (_cpp_init_input_buffer): Initialize trigraph map.
6806 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6808 * config/i386/i386.c (output_387_binary_op): Correct intel
6809 mode assembly output, and add spaces after commas in AT&T
6810 output. Correct Unixware assembler comment. Document input
6811 constraints. Comment fp operations. Reduce profligate buffer
6812 size. Remove extraneous abort. Localize temp var.
6813 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
6814 (output_fix_trunc): Add spaces after commas in assembly output.
6816 2000-03-27 Richard Henderson <rth@cygnus.com>
6818 * i386-protos.h (ix86_match_ccmode): Declare.
6819 * i386.c (ix86_match_ccmode): New.
6820 (ix86_expand_fp_compare): Update for pattern renames.
6821 (ix86_expand_strlensi_unroll_1): Likewise.
6822 * i386.h (EXTRA_CC_MODES): Add CCZ.
6823 (SELECT_CC_MODE): Use it for EQ/NE zero.
6824 * i386.md (cmpsi_ccz_1): New.
6826 (*testsi_ccz_1): New.
6827 (testqi_ccz_1): New.
6828 (cmpsi_ccno_1): Rename from cmpsi_0.
6829 (testsi_ccno_1): Rename from testsi_1.
6830 (testqi_ccno_1): Rename from testqi_1.
6831 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
6832 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
6833 (*cmphi_0): Use ix86_match_ccmode.
6834 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
6835 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
6836 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
6837 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
6838 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
6839 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
6840 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
6841 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
6842 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
6843 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
6844 (appropriate peepholes): Likewise.
6845 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
6846 (*subsi_3, *subhi_3, *subqi_3): Remove.
6847 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
6848 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
6849 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
6850 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
6851 (x86_shift_adj_1): Use CCZ.
6852 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
6854 2000-03-27 Stan Cox <scox@cygnus.com>
6856 * resource.h (mark_resource_type): New.
6857 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
6858 find_free_register): Use mark_resource_type.
6859 (mark_set_resources): Change include_delayed_effects
6860 to mark_resource_type.
6861 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
6862 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
6863 Use mark_resource_type.
6865 2000-03-27 Richard Henderson <rth@cygnus.com>
6867 * i386.md (call_pop_0, call_value_pop_0): New.
6868 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
6869 (call_value_pop_1): Likewise.
6870 (call_0, call_value_0): New.
6871 (call_1, call_value_1): Remove constraint from unused arg.
6873 2000-03-27 Nick Clifton <nickc@cygnus.com>
6875 * invoke.texi (Spec Files): Document new spec % command created by
6876 Tom Tromey's recent patch.
6878 2000-03-27 Jakub Jelinek <jakub@redhat.com>
6880 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
6883 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6885 * expr.c (expand_assignment): Fix typo in last change.
6887 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
6889 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6891 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
6892 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
6893 and DECL_INLINE if FUNCTION_DECL.
6894 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
6895 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
6896 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
6897 (combine_parm_decls): Likewise.
6898 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
6899 * print-tree.c (print_node): Likewise.
6900 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
6901 DECL_TRANSPARENT_UNION on proper decl types.
6902 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
6903 * stor-layout.c (layout_decl): Only check DECL_PACKED and
6904 DECL_BIT_FIELD of FIELD_DECL.
6905 * tree.h (DECL_RESULT_FLD): New macro.
6907 * expr.c (expand_assignment): Add code to handle variable-sized
6910 2000-03-26 Richard Henderson <rth@cygnus.com>
6912 * calls.c (expand_call): Pass parms not original exp to
6913 optimize_tail_recursion. Mind return value instead of looking
6915 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6916 call_expr. Move checks for call_expr and current_function_decl ...
6917 (expand_return): ... here.
6919 2000-03-26 Tom Tromey <tromey@cygnus.com>
6921 * gcc.c (handle_braces): Recognize `%{<S}' construct.
6922 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6924 (process_command): Use them.
6925 (check_live_switch): Likewise.
6926 (give_switch): Skip ignored switches.
6928 2000-03-26 Jan Hubicka <jh@suse.cz>
6930 * jump.c (jump_optimize_1): Fix typo in elide optimizations
6931 for minimal jump pass test.
6933 2000-03-26 Mark Mitchell <mark@codesourcery.com>
6935 * integrate.c (function_cannot_inline_p): Do inline functions that
6938 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6940 * stor-layout.c (layout_type, set_sizetype): early_type_list is
6941 now a list of TREE_LIST entries, not types.
6942 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
6944 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
6945 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
6947 * config/mips/mips.c (function_arg): Likewise; also remove cast
6948 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
6949 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
6950 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
6951 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
6952 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
6953 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
6954 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
6955 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
6956 num_adjusts now unsigned.
6957 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
6958 * config/sparc/sparc.c (struct function_arg_record_value_parms):
6960 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
6961 as is BITPOS variable; use host_integerp and int_bit_position.
6962 (function_arg_record_value_2): Likewise.
6963 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
6964 Variable REGNO now unsigned.
6965 (function_arg_record_value): NREGS now unsigned.
6967 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
6969 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
6971 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6973 * Rework fields used to describe positions of bitfields and
6974 modify sizes to be unsigned and use HOST_WIDE_INT.
6975 * alias.c (reg_known_value_size): Now unsigned.
6976 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
6977 (really_start_incremental_init): Use bitsize_zero_node.
6978 (push_init_level, pop_init_level, output_init_element): Likewise.
6979 Use bitsize_unit_node and bitsize_one_node.
6980 (output_pending_init_elements, process_init_element): Likewise.
6981 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
6982 (make_extraction): Position and length HOST_WIDE_INT and unsigned
6983 HOST_WIDE_INT, respectively.
6984 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
6985 (num_sign_bit_copies): Returns unsigned.
6986 BITWIDTH now unsigned; rework arithmetic.
6987 Remove recursive call from arg to MAX.
6988 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
6989 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
6991 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
6992 (find_split_point, expand_compound_operation, make_extraction): LEN
6993 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
6994 (make_field_assignment): Likewise.
6995 (combine_simplify_rtx): Add cast.
6996 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
6997 (force_to_mode): WIDTH now unsigned; add cast.
6998 (if_then_else_cond): SIZE now unsigned.
6999 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
7000 (extended_count): Now returns unsigned.
7001 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
7002 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
7003 (simplify_comparison): MODE_WIDTH now unsigned.
7004 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
7005 (mark_used_regs_combine): Likewise; rework arithmetic.
7006 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
7007 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
7008 (record_promoted_value): REGNO now unsigned.
7009 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
7010 (get_last_value): REGNO now unsigned.
7011 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
7012 (reg_dead_regno, reg_dead_endregno): Now unsigned.
7013 (remove_death): Arg REGNO now unsigned.
7014 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
7015 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
7017 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
7018 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
7019 (struct cse_reg_info): REGNO now unsigned.
7020 (cached_regno): Now unsigned.
7021 (REGNO_QTY_VALID_P): Add cast.
7022 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
7023 (remove_invalid_regs): Likewise.
7024 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
7025 as are variables END and I.
7026 (get_cse_reg_info, insert): Likewise.
7027 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
7028 (canon_hash): Likewise.
7029 (insert_regs, lookup_for_remove): REGNO now unsigned.
7030 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
7032 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
7033 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
7034 * emit-rtl.c (subreg_realpart_p): Add cast.
7035 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
7036 (operand_subword_force): Arg I is now unsigned.
7037 * except.c (eh_regs): Variable I is now unsigned.
7038 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
7039 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
7040 length is unsigned HOST_WIDE_INT; likewise for internal variables.
7041 (store_split_bit_field, extract_fixed_bit_field): Likewise.
7042 (extract_split_bit_field, store_bit_field, extract_bit_field):
7044 * expr.c (store_constructor_fields, store_constructor, store_field):
7045 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
7046 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
7047 (do_jump): Likewise.
7048 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
7049 MAX_SIZE is now unsigned.
7050 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
7051 (emit_group_store): Likewise.
7052 (emit_move_insn): I now unsigned.
7053 (store_constructor): Use host_integerp, tree_low_cst, and
7055 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
7056 Rework all calculations to use trees and new fields.
7057 * expr.h (promoted_input_arg): Regno now unsigned.
7058 (store_bit_field, extract_bit_field): Adjust types of pos and size.
7059 (mark_seen_cases): Arg is HOST_WIDE_INT.
7060 * flow.c (verify_wide_reg_1): REGNO now unsigned.
7061 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
7062 precisions and alignments are unsigned.
7063 (optimize_bit_field_compare, fold_truthop): Likewise.
7064 (int_const_binop): Adjust threshold for size_int_type_wide call.
7065 (fold_convert): Likewise.
7066 (size_int_type_wide): Make table larger and fix thinko that only
7067 had half of table used.
7068 (all_ones_mask_p, fold): Precisions are unsigned.
7069 * function.c (put_reg_info_stack): REGNO is unsigned.
7070 (instantiate_decl): Size is HOST_WIDE_INT.
7071 (instantiate_virtual_regs): I is unsigned.
7072 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
7073 (promoted_input_arg): REGNO is unsigned.
7074 * function.h (struct function): x_max_parm_reg is now unsigned.
7075 * gcse.c (max_gcse_regno): Now unsigned.
7076 (struct null_pointer_info): min_reg and max_reg now unsigned.
7077 (lookup_set, next_set): REGNO arg now unsigned.
7078 (compute_hash_table): REGNO and I now unsigned.
7079 (handle_avail_expr): regnum_for_replacing now unsigned.
7080 (cprop_insn): REGNO now unsigned.
7081 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
7082 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
7083 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
7084 * hard-reg-set.h (reg_class_size): Now unsigned.
7085 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
7086 * jump.c (mark_modified_reg): I now unsigned; add cast.
7087 (rtx_equal_for_thread_p): Add cast.
7088 * loop.c (max_reg_before_loop): Now unsigned.
7089 (struct_movable): REGNO now unsigned.
7090 (try_copy_prop): REGNO arg unsigned.
7091 (regs_match_p): XN and YN now unsigned.
7092 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
7093 (strength_reduce): Likewise; NREGS also unsigned.
7094 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
7095 * loop.h (struct iv_class): REGNO now unsigned.
7096 (max_reg_before_loop, first_increment_giv, last_increment_giv):
7098 * machmode.h (mode_size, mode_unit_size): Now unsigned.
7099 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
7100 * optabs.c (expand_binop): I and NWORDS now unsigned.
7101 (expand_unop): I now unsigned.
7102 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
7103 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
7104 * real.c (significand_size): Now returns unsigned.
7105 * real.h (significand_size): Likewise.
7106 * regclass.c (reg_class_size): Now unsigned.
7107 (choose_hard_reg_mode): Both operands now unsigned.
7108 (record_reg_classes): REGNO and NR now unsigned.
7109 (reg_scan): NREGS now unsigned.
7110 (reg_scan_update): old_max_regno now unsigned.
7111 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
7112 * reload.c (find_valid_class): BEST_SIZE now unsigned.
7113 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
7114 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
7115 Likewise for variable R.
7116 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
7117 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
7118 (find_equiv_reg): Add casts.
7119 (regno_clobbered_p): Arg REGNO now unsigned.
7120 * reload.h (struct reload): NREGS now unsigned.
7121 (refers_to_regno_for_reload_p): Regno args are unsigned.
7122 (regno_clobbered_p): Likewise.
7123 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
7124 (compute_use_by_pseudos): REGNO now unsigned.
7125 (find_reg): I and J now unsigned, new variable K, and change loop
7126 variables accordingly; THIS_NREGS now unsigned.
7127 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
7128 (spill_hard_reg): REGNO arg now unsigned; add casts.
7129 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
7130 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
7131 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
7132 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
7133 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
7134 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
7135 (emit_reload_insns): REGNO now unsigned.
7136 (reload_cse_move2add): Add cast.
7137 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
7139 * resource.c (mark_referenced_resources, mark_set_resources): New
7140 variable R; REGNO and LAST_REGNO now unsigned.
7141 (mark_target_live_regs): J and REGNO now unsigned.
7142 * rtl.c (mode_size, mode_unit_size): Now unsigned.
7143 * rtl.h (union rtunion_def): New field rtuint.
7144 (XCUINT): New macro.
7145 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
7146 (operand_subword, operand_subword_force): Word number is unsigned.
7147 (choose_hard_reg_mode): Operands are unsigned.
7148 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
7149 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
7150 (regno_use_in, combine_instructions, remove_death): Likewise.
7151 (reg_scan, reg_scan_update): Likewise.
7152 (extended_count): Return is unsigned.
7153 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
7154 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
7155 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
7156 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
7157 (reg_reg_last_1): FIRS and LAST now unsigned.
7158 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
7159 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
7161 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
7162 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
7163 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
7164 (replace_regs): Arg NREGS now unsigned.
7165 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
7166 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
7167 (simplify_binary_operation): Likewise.
7168 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
7169 THIS_LAST now unsigned.
7170 (cselib_record_set): Add cast.
7171 * ssa.c (ssa_max_reg_num): Now unsigned.
7172 (rename_block): REGNO now unsigned.
7173 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
7175 (all_cases_count): Just return -1 not -2.
7176 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
7177 Rework tests to use trees whenever possible.
7178 Use host_integerp and tree_low_cst.
7179 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
7180 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
7181 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
7182 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
7183 (smallest_mode_for_size): Likewise.
7184 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
7185 KNOWN_ALIGN is now an alignment, so simplify code.
7186 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
7187 (start_record_layout): Renamed from new_record_layout_info.
7188 Update to new fields.
7189 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
7191 (place_union_field): Renamed from layout_union_field.
7192 Update to use new fields in rli.
7193 (place_field): Renamed from layout_field.
7194 Major rewrite to use new fields in rli; pass alignment to layout_decl.
7195 (finalize_record_size): Rework to use new fields in rli and handle
7197 (compute_record_mode): Rework to simplify and to use new DECL fields.
7198 (finalize_type_size): Make rounding more consistent.
7199 (finish_union_layout): Deleted.
7200 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
7201 (layout_type, case RECORD_TYPE): Call new function names.
7202 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
7203 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
7204 (get_best_mode): UNIT is now unsigned; remove casts.
7205 * tree.c (bit_position): Compute from new fields.
7206 (byte_position, int_byte_position): New functions.
7207 (print_type_hash_statistics): Cast to remove warning.
7208 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
7209 (build_index_type): Likewise; make subtype of sizetype.
7210 (build_index_2_type): Pass sizetype to build_range_type.
7211 (build_common_tree_nodes): Use size_int and bitsize_int to
7212 initialize nodes; add bitsize_{zero,one,unit}_node.
7213 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
7214 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
7215 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
7216 (DECL_FIELD_BITPOS): Deleted.
7217 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
7218 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
7219 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
7220 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
7221 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
7222 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
7223 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
7224 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
7225 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
7226 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
7227 (DECL_ALIGN): Adjust to new field in union.
7228 (DECL_OFFSET_ALIGN): New field.
7229 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
7230 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
7231 (union tree_decl): Add struct for both aligns.
7232 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
7233 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
7234 (struct record_layout_info): Rework fields to have offset
7235 alignment and byte and bit position.
7236 (start_record_layout, place_field): Renamed from old names.
7237 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
7238 (byte_position, int_byte_position): Likewise.
7239 (get_inner_reference): Change types of position and length.
7240 * unroll.c (unroll_loop): New variable R; use for some loops.
7241 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
7242 (calculate_giv_inc): Arg REGNO now unsigned.
7243 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
7244 * varasm.c (assemble_variable): Clean up handling of size using
7245 host_integerp and tree_low_cst.
7246 (decode_addr_const): Use byte, not bit, position.
7247 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
7248 use tree_low_cst and int_bit_position.
7249 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
7251 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
7253 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
7254 (reorder_block_def): New members eff_head and eff_end.
7255 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
7256 (verify_insn_chain): New function.
7257 (skip_insns_between_block): Add code to skip deleted insns.
7258 Check for note before using.
7259 (chain_reorder_blocks): Replace calls to skip_insns_between_block
7260 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
7261 Check for note before using.
7262 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
7263 (fixup_reorder_chain): Restructure, clean up, defect removal.
7264 (reorder_basic_blocks): Remove last_insn and references to it.
7265 Moved insn chain verification code into a new function (see above).
7266 Delete defective code that sets last insn.
7267 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
7270 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7272 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
7274 2000-03-24 Richard Henderson <rth@cygnus.com>
7276 * tree.c (lang_safe_for_unsave): Remove.
7277 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
7278 allowing for two levels of unsafeness. Remove lang hook.
7279 * tree.h: Update declarations.
7280 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
7281 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
7282 Always fail sibcalls when there are pending cleanups.
7284 2000-03-24 Geoff Keating <geoffk@cygnus.com>
7286 * flow.c (propagate_block): When we delete an ADDR_VEC,
7287 also delete the BARRIER following it if there is one.
7289 2000-03-24 Richard Henderson <rth@cygnus.com>
7291 * builtins.c (expand_builtin_bzero): Convert `length' argument
7294 2000-03-24 Jakub Jelinek <jakub@redhat.com>
7296 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
7297 comparison if regno's are equal.
7298 * calls.c (initialize_argument_informat): Add ecf_flags argument.
7299 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7300 (expand_call): Update caller.
7301 Avoid making a sibling call if argument size of the callee is larger
7302 than argument size of the caller.
7303 Call hard_function_value with outgoing set if in sibcall pass.
7304 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7306 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
7307 Change LEAF_REGISTERS from an array initializer to actual array
7308 identifier. Move static global variable into the function.
7309 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
7310 sequences for leaf functions.
7311 * global.c (global_alloc): Likewise.
7312 * tm.texi (LEAF_REGISTERS): Update documentation.
7314 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
7315 TARGET_FLAT leaf disabling hack.
7316 (LEAF_REGISTERS): Changed from an array initializer to actual array
7317 identifier to avoid duplication and remove the above hack.
7318 (FUNCTION_OK_FOR_SIBCALL): Define.
7319 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
7320 always like call attribute.
7321 (eligible_for_sibcall_delay): New attribute.
7322 (sibcall): New delay type.
7323 (sibcall, sibcall_value, sibcall_epilogue): New expands.
7324 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
7325 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
7326 * config/sparc/sparc.c (sparc_leaf_regs): New array.
7327 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
7329 (output_function_epilogue): Move part of the code into
7330 output_restore_regs.
7331 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
7333 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
7336 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
7337 until infrastructure is finished.
7339 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
7341 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
7342 (save_parm_insns): Not here.
7344 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7346 * builtins.c (expand_builtin_bzero): New function.
7347 (expand_builtin): Handle bzero.
7349 * builtins.def: Add BUILT_IN_BZERO.
7351 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7352 prototype & function for bzero.
7354 2000-03-23 Michael Meissner <meissner@redhat.com>
7356 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
7357 change adding TARGET_FP to the TF floating point insns, except for
7358 trunctfsf2, which generates direct calls to truncdfsf2.
7360 2000-03-23 Geoff Keating <geoffk@cygnus.com>
7362 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
7363 try to protect against middle-end changes that break binary
7365 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
7367 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7369 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
7371 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7373 * calls.c (expand_call): If TARGET is passed by reference and
7374 is readonly, write a CLOBBER.
7376 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7378 * builtins.c (expand_builtin): Handle bcmp.
7380 * builtins.def: Add BUILT_IN_BCMP.
7382 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7383 prototype & function for bcmp.
7385 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
7387 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
7388 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
7389 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
7391 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
7393 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
7394 alternative when using -fp64 -gp32.
7396 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7398 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
7399 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
7400 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
7402 * frame.h (frame_state): Revert last change.
7403 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
7404 * libgcc2.c (throw_helper): Revert last change.
7406 2000-03-22 Richard Henderson <rth@cygnus.com>
7408 * stmt.c (expand_asm_operands): Don't promote the temporary.
7410 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
7412 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
7413 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
7414 c_get_alias_set): Likewise.
7415 * c-decl.c (duplicate_decls): Likewise.
7416 * c-typeck.c (default_conversion,build_unary_op): Likewise.
7417 * calls.c (initialize_argument_information): Likewise.
7418 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
7420 * dwarfout.c (decl_class_context,output_type): Likewise.
7421 * expr.c (get_inner_reference): Likewise.
7422 * fold-const.c (simple_operand_p,fold): Likewise.
7423 * function.c (aggregate_value_p): Likewise.
7424 * stmt.c (expand_asm_operands): Likewise.
7425 * varasm.c (named_section): Likewise.
7427 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7429 Implement dwarf2 exception handling for the ARM.
7430 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
7431 (DWARF_FRAME_RETURN_COLUMN): Define.
7432 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
7433 REG_FRAME_RELATED_EXPR note.
7434 (emit_sfm): Likewise.
7435 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
7436 * dwarf2out.c (reg_save): Handle saving a register to itself.
7437 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
7438 * except.c (eh_regs): Don't use the static chain reg if it's
7440 * frame.h (frame_state): Add cfa_saved field.
7441 * frame.c (execute_cfa_insn): Set it.
7442 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
7444 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
7446 (instantiate_virtual_regs): Adjust.
7448 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7449 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7450 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
7452 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
7453 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
7455 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7457 * builtins.def: New file.
7459 * Makefile.in (TREE_H): Depend on builtins.def.
7461 * builtins.c (built_in_names): Use builtins.def.
7463 * tree.h (built_in_function): Likewise.
7465 2000-03-22 Mark Mitchell <mark@codesourcery.com>
7467 * tree.c (size_in_bytes): Return size_zero_node, not
7470 2000-03-22 Geoff Keating <geoffk@cygnus.com>
7472 * config/fp-bit.c (pack_d): Correct the case when a denormal
7473 is rounded up and stops being denormal.
7475 2000-03-21 Richard Henderson <rth@cygnus.com>
7477 * config/alpha/alpha.c (function_arg): Check for void_type_node
7478 before using MUST_PASS_IN_STACK.
7480 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
7482 * regmove.c (combine_stack_adjustments_for_block): Check that
7483 the stack pointer is a valid memory address.
7485 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
7487 * calls.c: re-install Mar 16 emit_library_call merge.
7489 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7491 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
7492 we cannot be sure that if reload_completed base register will
7493 be properly aligned.
7495 2000-03-21 Richard Henderson <rth@cygnus.com>
7497 * flow.c (delete_block): Fix typo last change.
7499 2000-03-21 Mark Mitchell <mark@codesourcery.com>
7501 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
7502 not COMPLETE_TYPE_P, to check the type of the expression.
7504 2000-03-21 Michael Meissner <meissner@redhat.com>
7506 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
7507 all floating point insns that just tested the macro
7508 TARGET_HAS_XFLOATING_LIBS.
7509 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
7510 used to only use the gprs.
7512 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
7514 * tree.h (COMPLETE_TYPE_P): New macro.
7515 (COMPLETE_OR_VOID_TYPE_P): New macro.
7516 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
7517 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
7518 * c-aux-info.c (gen_type): Use them.
7519 * c-common.c (c_expand_expr_stmt): Likewise.
7520 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
7521 grokdeclarator, grokparms, finish_struct, start_function,
7522 store_parm_decls, combine_parm_decls): Likewise.
7523 * c-parse.y (cast_expr): Likewise.
7524 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
7525 c_size_in_bytes, c_alignof, build_component_ref,
7526 build_indirect_ref, build_array_ref, convert_arguments,
7527 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
7528 * calls.c (initialize_argument_information): Likewise.
7529 * convert.c (convert_to_integer): Likewise.
7530 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
7531 * dwarfout.c (location_or_const_value_attribute,
7532 output_enumeration_type_die, output_structure_type_die,
7533 output_union_type_die, output_type): Likewise.
7534 * expr.c (safe_from_p, expand_expr): Likewise.
7535 * function.c (assign_parms): Likewise.
7536 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
7537 * tree.c (build_array_type, build_function_type,
7538 build_method_type, build_offset_type, build_complex_type): Likewise.
7539 * c-parse.c, c-parse.h: Regenerated.
7541 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7543 * config/c4x/rtems.h: Include config/rtems.h.
7545 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
7547 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
7548 decl is a FUNCTION_DECL
7550 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
7552 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
7553 function uses output registers. Don't save RP for leaf functions.
7554 Do save RP even if no epilogue.
7555 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
7556 (CALL_USED_REGISTERS): Unmark in registers.
7557 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
7560 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7562 * config/rs6000/rs6000.md (bunordered): New expander.
7563 (bordered): New expander.
7564 (buneq): New expander.
7565 (bunge): New expander.
7566 (bungt): New expander.
7567 (bunle): New expander.
7568 (bunlt): New expander.
7569 (bltgt): New expander.
7571 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
7572 (ccr_bit_negated_p): New function.
7573 (print_operand): For %C, generate appropriate cror for UNEQ,
7574 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
7576 2000-03-20 Andreas Jaeger <aj@suse.de>
7578 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
7581 * tree.h (safe_for_unsave): Prototype.
7583 2000-03-20 Richard Henderson <rth@cygnus.com>
7585 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
7586 (combine_stack_adjustments_for_block): Don't allow sp references
7587 in the side of a set we're not fixing up.
7588 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
7589 after life_analysis.
7591 2000-03-20 Richard Henderson <rth@cygnus.com>
7593 * calls.c (expand_call): Don't bother generating tail call
7594 sequences if there are pending cleanups. Use
7595 expand_start_target_temps/expand_end_target_temps to elide
7596 cleanups created during sibcall expansion.
7598 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7600 * configure.in: Set $IFS to a value if it doesn't already have one
7601 in the --enable-checking handling.
7602 * configure: Regenerate.
7604 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7606 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
7607 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7610 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
7612 * jump.c (delete_noop_moves): Remove code attempting to
7613 combine stack adjustments.
7615 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7617 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
7618 * except.c (emit_cleanup_handler): Use them.
7619 (expand_end_all_catch): Likewise.
7620 * function.c (fixup_var_refs): Likewise.
7621 (expand_function_end): Clear catch_clauses_last.
7622 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
7623 * except.h (struct eh_status): New field x_catch_clauses_last.
7624 (catch_clauses_last): New define.
7626 * Makefile.in (tree.o): Depend on HASHTAB_H.
7627 * tree.c: Include hashtab.h.
7628 (struct type_hash): Remove next field.
7629 (TYPE_HASH_SIZE): Remove.
7630 (TYPE_HASH_INITIAL_SIZE): New define.
7631 (type_hash_table): Change type to htab_t.
7632 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
7633 mark_hash_entry): New functions.
7634 (init_obstacks): Allocate type hash.
7635 (type_hash_lookup): Use htab functions.
7636 (type_hash_add, mark_type_hash): Likewise.
7637 (dump_tree_statistics): Call print_type_hash_statistics.
7639 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7641 * rs6000/t-aix41: New file.
7643 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
7645 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
7647 * tm.texi (Driver): Fix typos and tweak entry for
7649 Move misplaced STRUCT_FORCE_BLK entry ...
7650 (Storage Layout): ... to here.
7651 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
7653 2000-03-19 Richard Henderson <rth@cygnus.com>
7655 * flow.c (delete_block): Delete the addr_vec along with the block.
7656 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
7659 * fold-const.c (extract_muldiv): Apply type check for defined
7660 overflow to multiply as well as divide.
7662 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
7664 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7666 * emit-rtl.c (remove_unncessary_notes): Check that all
7667 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
7668 associated NOTE_BLOCK.
7669 * function.h (identify_blocks): Update comments.
7670 (reorder_blocks): Declare.
7671 * function.c (identify_blocks): Don't take paramters.
7672 (reorder_blocks): Don't take parameters.
7673 * loop.h (find_loop_tree_blocks): Remove.
7674 (unroll_block_trees): Likewise.
7675 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
7676 reorder_blocks instead of unroll_block_trees.h
7677 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
7678 * stmt.c (find_loop_tree_blocks): Remove.
7679 (unroll_block_trees): Likewise.
7680 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
7681 in whole-function mode.
7682 * tree.h (reorder_blocks): Remove declaration.
7684 * expr.c: Include intl.h.
7685 * Makefile.in (expr.o): Depend on intl.h.
7687 2000-03-18 Richard Henderson <rth@cygnus.com>
7689 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
7691 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7693 * tree.h (tree_index): Remove enumerals for integer types.
7694 (integer_type_kind): New type.
7695 (integer_types): New variable.
7696 (char_type_node): Adjust.
7697 (signed_char_type_node): Likewise.
7698 (unsigned_char_type_node): Likewise.
7699 (short_integer_type_node): Likewise.
7700 (short_unsigned_type_node): Likewise.
7701 (integer_type_node): Likewise.
7702 (unsigned_type_node): Likewise.
7703 (long_integer_type_node): Likewise.
7704 (long_unsigned_type_node): Likewise.
7705 (long_long_integer_type_node): Likewise.
7706 (long_long_unsigned_type_node): Likewise.
7707 * tree.c (integer_types): New variable.
7708 (init_obstacks): Register it as a root.
7710 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
7712 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
7713 NEXT_INSN. Update last insn in chain.
7715 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
7717 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
7718 with TYPE_DECL_SUPPRESS_DEBUG set.
7720 2000-03-18 Richard Henderson <rth@cygnus.com>
7722 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
7724 2000-03-18 Richard Henderson <rth@cygnus.com>
7726 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
7727 care for HALF_PIC_P.
7728 (expander_call_insn_operand): Remove.
7729 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
7730 * i386.h (PREDICATE_CODES): Update.
7731 * i386.md (all call expanders): Remove predicates, remove special
7732 handling for half-pic.
7733 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
7734 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
7735 (sibcall_epilogue): New.
7737 2000-03-17 Richard Henderson <rth@cygnus.com>
7739 * rtlanal.c (single_set): Reject if the parallel has anything
7740 except SET or USE or CLOBBER.
7742 2000-03-17 Jeff Law <law@cygnus.com>
7743 Richard Henderson <rth@cygnus.com>
7745 * Makefile.in (OBJS): Add sibcall.o.
7747 * sibcall.c: New file.
7748 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
7749 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
7750 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
7751 Emit sibcall patterns when requested. Update all callers.
7752 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
7753 elimination seems feasable.
7754 * final.c (leaf_function_p): Sibling calls don't discount being
7756 * flow.c (HAVE_sibcall_epilogue): Provide default.
7757 (find_basic_blocks_1): Sibling calls don't throw.
7758 (make_edges): Make edge from sibling call to EXIT.
7759 (propagate_block): Don't remove sibcall_epilogue insns.
7760 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
7761 (sibcall_epilogue): New.
7762 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
7763 (identify_blocks_1): Likewise. Break out from ...
7764 (identify_blocks): ... here.
7765 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
7766 (reorder_blocks): ... here.
7767 (init_function_for_compilation): Zap prologue/epilogue as varrays.
7768 (record_insns): Extend a varray instead of mallocing new memory.
7769 (contains): Read a varray not array of ints.
7770 (sibcall_epilogue_contains): New.
7771 (thread_prologue_and_epilogue_insns): Emit and record
7772 sibcall_epilogue patterns.
7773 (init_function_once): Allocate prologue/epilogue varrays.
7774 * genflags.c (gen_insn): Treat sibcall patterns as calls.
7775 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
7777 (save_for_inline_nocopy): ... here.
7778 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
7780 (expand_inline_function): ... here.
7781 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
7782 (subst_constants): Handle 'n' formats.
7783 * jump.c (jump_optimize_minimal): New.
7784 (jump_optimize_1): New arg `minimal'; update callers. Elide most
7785 optimizations if it's set.
7786 * rtl.c (copy_rtx): Do copy jump & call for insns.
7787 * rtl.h (struct rtx_def): Document use of jump and call for insns.
7788 (SIBLING_CALL_P): New.
7789 (sibcall_use_t): New.
7790 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
7791 Invoke optimize_sibling_and_tail_recursive_calls.
7792 * tree.c (lang_safe_for_unsave): New.
7793 (safe_for_unsave): New.
7794 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
7796 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
7797 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
7798 (*sibcall_osf_1, *sibcall_value_osf_1): New.
7800 2000-03-17 Mark Mitchell <mark@codesourcery.com>
7802 * objc/objc-act.c (encode_method_prototype): Pass types, not
7803 PARM_DECLs, to int_size_in_bytes.
7805 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
7807 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
7809 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7810 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
7812 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7814 * Clean up usages of TREE_INT_CST_LOW.
7815 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
7816 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7818 * c-tree.h (min_precision): Move declaration to here.
7819 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
7820 (build_unary_op, add_pending_init): Use bit_position.
7821 (pending_init_member, process_init_element): Likewise.
7822 (really_start_incremental_init, push_init_level, pop_init_level):
7823 Don't make copies of nodes or modify them in place, use consistent
7824 types when tracking positions, and use tree routines computations.
7825 (set_init_index, output_init_element): Likewise.
7826 (output_pending_init_elements, process_init_element): Likewise.
7827 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
7828 tree_low_cst and int_bit_position; also minor cleanup.
7829 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
7830 (print_cst_octal): Precision is unsigned.
7831 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
7832 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
7833 (simple_type_align_in_bits): Result is unsigned int.
7834 Use tree_int_low_cst and host_integerp.
7835 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
7836 (field_byte_offset): Result is HOST_WIDE_INT.
7837 Change types of internal variables so alignments are unsigned int,
7838 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
7839 Use host_integerp, tree_low_cst, and int_bit_position.
7840 (add_bit_offset_attribute): Likewise.
7841 (add_data_member_location_attribute): Use tree_cst_low.
7842 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
7843 (add_bit_size_attribute): Use tree_low_cst.
7844 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
7845 * dwarfout.c: Similar changes to dwarf2out.c.
7846 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
7847 * genoutput.c (n_occurences): Return -1 for null string.
7848 (strip_whitespace): Accept null string and make into function.
7849 (scan_operands): Reflect above changes.
7850 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
7851 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
7852 * ssa.c (rename_registers): Add missing cast of arg to bzero.
7853 * tree.c (int_size_in_bytes): Check for too big to represent.
7854 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
7855 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
7857 (min_precision): Delete from here.
7858 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
7859 and int_bit_position.
7860 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
7861 (encode_method_def): Likewise.
7862 (build_ivar_list_initializer): Use int_bit_position.
7863 (generate_shared_structures): Convert size.
7864 (encode_type, encode_complete_bitfield): Use integer_zerop.
7865 (encode_bitfield): Use tree_low_cst and int_bit_position.
7867 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7869 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
7871 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7873 * call.c (special_function_p): It is only malloc if it returns
7876 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7878 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
7879 (C33_FLAG, TARGET_C3X): Add macros.
7880 (TARGET_SWITCHES): Add -m33 option.
7881 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
7883 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7885 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
7886 (PARALLEL_PACK_FLAG): Delete.
7887 (TARGET_SWITCHES): Update.
7888 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
7890 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7892 * fold-const.c (fold): Fix a few cases when the returned result
7893 is not of the same type as the input.
7895 2000-03-16 Nick Clifton <nickc@cygnus.com>
7897 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
7900 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7902 * libgcc2.h: Move prototypes above macros with the same name.
7903 Wrap some function prototypes in the conditional which indicates
7904 whether they are supported, i.e. "BITS_PER_UNIT == 8".
7906 2000-03-16 Richard Henderson <rth@cygnus.com>
7908 * calls.c: Revert last two changes.
7910 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
7912 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7913 has exponent 0 is a zero.
7915 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7916 HASH may already be nonzero. Add code/mode into hash value
7917 immediately after repeat label.
7918 (cselib_lookup): Don't leave the hash table in an inconsistent
7919 state before a hash lookup operation.
7921 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
7923 * i386.md (all HI and QI mode non-move patterns): Conditionize
7924 by TARGET_[HQ]IMODE_MATH.
7925 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7926 x86_promote_qi_regs): Declare.
7927 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7928 TARGET_PROMOTE_QI_REGS): New macros.
7929 (PROMOTE_MODE): New macro.
7930 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7931 x86_promote_qi_regs): New global variables.
7933 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
7935 * calls.c (emit_library_call_value_1): Break out from ...; handle
7936 VOIDmode function calls too.
7937 (emit_library_call_value): ... here.
7938 (emit_library_call): Implement by calling emit_library_call_value_1.
7940 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
7942 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
7943 Update arg_space_so_far on stack adjustments.
7944 (emit_library_call, emit_library_call_value): Likewise; take into
7945 account arg_space_so_far and pending_stack_adjust when calculcating
7948 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
7950 * flow.c: Move all basic block reordering code into its own file.
7951 (create_basic_block): Externalize.
7952 * bb-reorder.c: New file. Copy all basic block reordering code from
7953 flow.c to this file.
7954 (reorder_basic_blocks): Fix fencepost error in for-loop.
7955 (reorder_basic_blocks): Remove braces from single statement for-loops.
7956 * basic-block.h: Add declaration for create_basic_block.
7957 * Makefile.in: Add rules for bb-reorder.o.
7959 2000-03-16 Neil Booth <NeilB@earthling.net>
7961 * cppinit.c (handle_option): Implement #unassert directive
7962 as -A- command line option.
7963 (print_help): Update.
7964 * cpptexi.c: Update.
7966 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
7968 * md.texi (Standard Names): Document `jump'.
7970 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7972 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
7975 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7977 Merge changes from newppc-branch onto trunk.
7979 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7981 * rs6000.c (toc_hash_table): Update for new hash table functions.
7982 (toc_hash_function): Likewise.
7983 (toc_hash_eq): Likewise.
7984 (toc_hash_mark_entry): Likewise.
7985 (toc_hash_mark_table): Likewise.
7986 (output_toc): Likewise.
7987 (rs6000_add_gc_roots): Likewise.
7989 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7991 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
7992 (AR_FLAGS_FOR_TARGET): here. New macro.
7994 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
7996 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
7997 fpmem_operand) Delete.
7999 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
8000 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
8001 (rs6000_save_machine_status, rs6000_restore_machine_status,
8002 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
8003 references to above variables.
8004 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
8005 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
8006 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
8007 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
8008 (XER_REGNO_P, XER_REGNO): New.
8009 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
8010 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
8011 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
8013 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
8014 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
8015 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
8017 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8019 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
8020 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
8021 * rs6000.h: from here.
8023 * rs6000-protos.h (rs6000_select_section): Provide prototype.
8024 (rs6000_select_rtx_section): Likewise.
8025 (rs6000_encode_section_info): Likewise.
8026 (sdata_section): Likewise.
8027 (sdata2_section): Likewise.
8028 (sbss_section): Likewise.
8029 * sysv4.h (rs6000_select_section): Delete prototype.
8030 (rs6000_select_rtx_section): Likewise.
8031 (rs6000_encode_section_info): Likewise.
8032 (sdata_section): Likewise.
8033 (sdata2_section): Likewise.
8034 (sbss_section): Likewise.
8035 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
8037 * sysv4.h: Delete various unnecessary #undef's and put a comment
8038 on the remaining ones.
8039 Change various comments according to coding standard.
8041 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
8043 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
8044 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
8045 (CR0_REGNO_P) Remove.
8046 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
8047 setup_incoming_varargs, mtcrf_operation, print_operand,
8048 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
8049 Use the above macros.
8051 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
8053 * config/rs6000/rs6000.md: Added a new alternative for each
8054 pattern that had a 'x' alternative but no 'y' alternative.
8055 Added a new split for each of the above patterns.
8057 2000-02-18 Geoff Keating <geoffk@cygnus.com>
8059 * aix41.h (ASM_CPU_SPEC): Delete.
8060 (CPP_CPU_SPEC): Delete.
8062 * aix.h (RS6000_OUTPUT_BASENAME): Define.
8063 (ASM_OUTPUT_LABEL): Define.
8064 (ASM_GLOBALIZE_LABEL): Define.
8065 (STRIP_NAME_ENCODING): Define.
8066 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
8067 (STRIP_NAME_ENCODING): Don't define.
8068 (ASM_OUTPUT_LABEL): Don't define.
8069 (ASM_GLOBALIZE_LABEL): Don't define.
8070 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
8071 names, and ASM_OUTPUT_LABEL to output labels, rather than
8073 (ASM_OUTPUT_LABEL): Define.
8074 (ASM_OUTPUT_INT): Use assemble_name.
8075 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
8076 (STRIP_NAME_ENCODING): Don't undefine first.
8077 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
8079 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
8080 specified with 'asm' even with -fleading-underscore.
8081 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
8082 (output_epilog): Likewise.
8083 (output_toc): Likewise.
8084 * tramp.asm: Handle -fleading-underscore correctly.
8086 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
8088 (nonlocal_goto_receiver): Delete.
8089 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
8091 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
8092 (SET_ASM_OP): Define.
8093 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
8095 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
8098 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
8099 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
8101 * rs6000.h: Add 'u' to more constants.
8103 2000-02-18 David Edelsohn <edelsohn@gnu.org>
8105 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
8107 2000-02-15 David Edelsohn <edelsohn@gnu.org>
8109 * rs6000.c (reg_or_u_cint_operand): New function.
8110 (logical_operand): Handle 64-bit hosts.
8111 (logical_u_operand): New function.
8112 (non_logical_cint_operand): Handle 64-bit hosts.
8113 (non_logical_u_cint_operand): New function.
8114 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
8115 (PREDICATE_CODES): Define new functions.
8116 * rs6000-protos.h: Declare new functions.
8117 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
8118 (movdi_64): Bracket code intended for 64-bit hosts. Create
8119 CONST_DOUBLE for 32-bit values.
8120 (scc insns): Generate DImode compares.
8121 (mfcr insns): Create DImode versions.
8122 (sge matchers): New patterns.
8124 2000-02-15 Gabriel Paubert <paubert@iram.es>
8126 * rs6000.md: Correct instructions length attributes and
8127 constraints on unsigned compare instructions.
8128 (*ne0): Disable for PowerPC64.
8130 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8132 * rs6000.c (output_function_profiler): Use .long for a 32-bit
8133 quantity, fix profile1.C test failure under -fPIC.
8135 * rs6000.c: Add 'u' to many constants to suppress warnings.
8136 (constant_pool_expr_1): Make static.
8137 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
8138 * rs6000.h: Add 'u' to many constants to suppress warnings.
8140 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
8141 for the start of the TOC, instead of LCTOC..0.
8142 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
8144 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
8145 (load_toc_aix_di): Use LCTOC..1.
8147 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
8148 * rs6000.c (rs6000_legitimize_address): New function from
8149 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
8150 symbols in the constant pool that really are TOC references.
8151 (print_operand_address): For ELF, write TOC offsets under
8152 -fPIC as subtractions in the insn.
8153 (output_toc): For ELF, define symbols in TOC as normal labels,
8155 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
8156 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
8157 (create_TOC_reference): Prototype only when RTX_CODE is defined.
8158 * rs6000.md (movsi): Only use create_TOC_reference on
8159 symbols in the constant pool that really are TOC references.
8161 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
8162 * rs6000.c (rs6000_reorg): Delete.
8163 * rs6000-protos.h (rs6000_reorg): Delete.
8165 2000-02-09 Geoff Keating <geoffk@cygnus.com>
8167 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
8169 * aix.h (SETUP_FRAME_ADDRESSES): Define.
8170 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
8171 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
8172 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
8173 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
8174 rs6000_aix_emit_builtin_unwind_init.
8175 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
8176 rs6000_emit_eh_toc_restore on AIX.
8177 (return_eh_si): Use r2.
8178 (return_eh_di): Use r2.
8180 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
8181 since we're breaking binary compatibility anyway.
8183 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
8185 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
8186 constant_pool_expr_p): Declare them.
8187 (constant_pool_expr_p): Declare it.
8188 * config/rs6000/rs6000.c (toc_label_name): Define.
8189 (rs6000_override_options): Set toc_label_name.
8190 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
8191 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
8192 uses_TOC): New functions.
8193 (print_operand): Delete old '*' case.
8194 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
8195 and strip off rtl for TOC before calling output_addr_const.
8196 (rs6000_emit_load_toc_table): Use toc_label_name.
8197 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
8199 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
8200 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
8201 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
8202 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
8203 into explicit TOC_REGISTER offsets.
8204 (TOC_REGISTER): New macro.
8205 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
8206 TARGET_TOC to reference TOC_REGISTER.
8207 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
8208 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
8209 uses_TOC before emitting label references.
8211 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8213 * rs6000.md (stack_tie): Fix warning.
8215 * eabi-ctors.c: Use 'asm' names for the start/end variables,
8216 to handle -fleading-underscore.
8217 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
8218 (USER_LABEL_PREFIX): New macro.
8219 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
8220 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
8221 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
8222 call-linux can use the same multilibs.
8223 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
8224 and call-linux multilibs. Do multilib with -fleading-underscore.
8225 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
8226 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
8229 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
8230 have MASK_SOFT_FLOAT set.
8231 (CPP_FLOAT_DEFAULT_SPEC): New macro.
8232 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
8233 CPP_FLOAT_DEFAULT_SPEC.
8235 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
8236 * rs6000.md: Whitespace change.
8237 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
8238 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
8240 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8242 * rs6000.md (eh_epilogue): New expander.
8243 (eh_reg_restore): New expand/split/insn combination.
8244 (return_eh_si): New insn.
8245 (return_eh_di): New insn.
8247 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
8248 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
8249 * eabi-ctors.c (__do_global_ctors): Register this object's
8250 frame. Clean up. Call atexit() after the constructors.
8251 (__do_global_dtors): Deregister this object's frame. Clean up.
8252 Allow for recursive calls to exit().
8253 * rs6000.c (fixuplabelno): New variable.
8254 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
8255 TARGET_RELOCATABLE, it slows down exec() under linux.
8256 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
8258 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
8259 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
8260 (ASM_OUTPUT_DWARF_DELTA2): New macro.
8261 (ASM_OUTPUT_DWARF_DELTA4): New macro.
8262 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
8263 (ASM_OUTPUT_DWARF_ADDR): New macro.
8264 (ASM_OUTPUT_DWARF_DATA4): New macro.
8265 (ASM_OUTPUT_DWARF_DATA2): New macro.
8266 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
8267 (ASM_OUTPUT_DWARF_OFFSET): New macro.
8268 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
8270 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8272 * rs6000.c (rs6000_sr_alias_set): New variable.
8273 (rs6000_override_options): Initialise rs6000_sr_alias_set.
8274 (rs6000_emit_stack_tie): New function.
8275 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
8276 in a way that dwarf2out can understand.
8277 (rs6000_frame_related): New function.
8278 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
8279 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
8280 Use rs6000_emit_stack_tie when needed.
8281 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
8282 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
8283 * rs6000.md (stack_tie): New insn.
8284 (return_internal_si): Allow return value to be in the count
8286 (return_internal_di): Likewise.
8288 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
8290 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8292 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
8294 2000-01-31 Geoff Keating <geoffk@cygnus.com>
8296 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
8298 * rs6000.md (stmw): Use the right POWER opcode.
8301 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8303 * rs6000-protos.h: New file.
8305 * rs6000.c: Include tm_p.h. Fix compile time warnings.
8307 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
8310 * sysv4.h: Likewise.
8312 2000-01-28 Geoff Keating <geoffk@cygnus.com>
8314 * ../../configure.in: Delete powerpcle-*-winnt*
8315 and powerpcle-*-pe|powerpcle-*-cygwin*.
8316 * ../../configure: Regenerated.
8318 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
8319 (TARGET_WINDOWS_NT): Delete.
8321 (CALL_NT_DLLIMPORT): Delete.
8322 Delete NT-specific code.
8323 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
8326 * nt-ci.asm: Delete.
8327 * nt-cn.asm: Delete.
8328 * ntstack.asm: Delete.
8330 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8332 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
8333 (ASM_FILE_START): Likewise.
8334 (ASM_DECLARE_FUNCTION_NAME): Likewise.
8335 (ASM_OUTPUT_LABELREF): Likewise.
8336 (ASM_OUTPUT_SKIP): Likewise.
8337 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
8338 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
8339 (ASM_OUTPUT_CASE_LABEL): Likewise.
8340 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
8341 (ASM_OUTPUT_ASCII): Likewise.
8343 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
8345 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
8346 reload_toc_labelno for non-prologue TOC reloads. Also, don't
8347 increment rs6000_pic_labelno here.
8348 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
8349 and increment rs6000_pic_labelno here.
8351 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
8353 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
8354 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
8355 allocation knows (reg) is dead before the insn.
8357 2000-01-21 Geoff Keating <geoffk@cygnus.com>
8359 * rs6000.md (movsi_to_cr): Correct typo in output template.
8361 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8363 * rs6000.c (rs6000_pic_labelno): Always define.
8364 (rs6000_pic_func_labelno): Delete.
8365 (lmw_operation): Check for a zero base register,
8366 which doesn't mean what we want.
8367 (stmw_operation): New function.
8368 (print_operand): Define new 'l' modifier.
8369 (rs6000_stack_info): We must save all 64 bits of the registers
8370 if TARGET_POWERPC64.
8371 (rs6000_output_load_toc_table): Delete.
8372 (rs6000_emit_load_toc_table): New function.
8373 (rs6000_allocate_stack_space): Delete.
8374 (rs6000_emit_allocate_stack): New function.
8375 (rs6000_emit_prologue): New function.
8376 (output_prolog): Use rs6000_emit_prologue.
8377 (rs6000_emit_epilogue): Change a few variable names to be
8378 more accurate. Restore all 64 bits of the registers if
8379 TARGET_POWERPC64. Only restore the FP registers which were used
8380 if they are being saved/restored one-at-a-time.
8381 (output_mi_thunk): Delete inefficient code generation.
8382 (output_function_profiler): Don't use rs6000_output_load_toc_table.
8383 * rs6000.h: Declare rs6000_emit_load_toc_table,
8384 rs6000_allocate_stack_space, stmw_operation. Don't declare
8385 rs6000_output_load_toc_table.
8386 * rs6000.md (elf_high): Allow register 0, but discourage it
8388 (elf_low): Support loading into register 0.
8389 (load_toc_aix_si): New pattern.
8390 (load_toc_aix_di): New pattern.
8391 (load_toc_v4_pic_si): New pattern.
8392 (load_toc_v4_pic_di): New pattern.
8393 (load_toc_v4_PIC_1): New pattern.
8394 (load_toc_v4_PIC_1b): New pattern.
8395 (load_toc_v4_PIC_2): New pattern.
8396 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
8397 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
8398 (prologue): New expander.
8399 (movesi_from_cr): New pattern.
8400 (stmw): New pattern.
8401 (save_fpregs_si): New pattern.
8402 (save_fpregs_di): New pattern.
8404 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8406 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
8411 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8413 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
8415 (movsi_got_internal): Likewise.
8416 (movsi_got_internal+1): Likewise.
8417 (set_sp): 'unspec 7' does a SImode clobber.
8419 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8421 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
8422 allocate a stack temporary.
8423 (floatsidf2_internal): Likewise.
8424 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
8426 (floatunssidf2): Don't use the fpmem "register", just
8427 allocate a stack temporary.
8428 (floatunssidf2_internal): Likewise.
8429 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
8431 (floatsidf2_loadaddr): Delete.
8432 (floatsidf2_store1): Delete.
8433 (floatsidf2_store2): Delete.
8434 (floatsidf2_load): Delete.
8435 (fix_truncdfsi2): Don't use the fpmem "register", just
8436 allocate a stack temporary.
8437 (fix_truncdfsi2_internal_si): Delete.
8438 (fix_truncdfsi2_internal_di): Delete.
8439 (fix_truncdfsi2_internal): New insn.
8440 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
8441 (fix_truncdfsi2_store): Delete.
8442 (fix_truncdfsi2_load): Delete.
8443 (fctiwz): Produce gen_fctiwz.
8445 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8447 * eabi.h (INVOKE__main): Define.
8448 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
8450 (rs6000_emit_prologue): Likewise.
8451 * rs6000.h (struct rs6000_stack): Don't keep track of whether
8452 this is the main program.
8454 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8456 * rs6000.c (rs6000_va_arg): Delete some unused variables.
8458 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8460 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
8461 goes after the argument.
8463 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8465 * rs6000.md: Document 'unspec' values used.
8466 (epilogue): New expander.
8467 (movesi_to_cr_one): New expander.
8468 (movesi_to_cr and following): New pattern.
8470 (return_internal_si): New pattern.
8471 (return_internal_di): New pattern.
8472 (return_and_restore_fpregs_si): New pattern.
8473 (return_and_restore_fpregs_di): New pattern.
8474 * rs6000.h: Declare new functions.
8475 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
8476 rather than rs6000_calls_p.
8477 (rs6000_makes_calls): Delete.
8478 (lmw_operation): New function.
8479 (mtcrf_operation): New function.
8480 (rs6000_emit_epilogue): New function.
8481 (output_epilog): Call rs6000_emit_epilogue and final if
8482 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
8484 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8486 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
8487 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
8488 * aix.h (SUBTARGET_SWITCHES): Document switches.
8489 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
8490 sched-prolog and sched-epilog the same. Document all the
8492 (TARGET_OPTIONS): No longer allow -mdebug-.
8494 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8496 * rs6000.h (ASM_FILE_END): Move to aix.h.
8497 (EXTRA_SECTIONS): Move to aix.h.
8498 (READONLY_DATA_SECTION): Move to aix.h.
8499 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
8500 (SELECT_SECTION): Move to aix.h.
8501 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
8502 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
8503 (LINK_REGISTER_REGNUM): New definition.
8504 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
8505 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
8507 * sysv4.h: Delete the code between the inclusion of rs6000.h
8509 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
8510 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
8511 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
8512 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
8513 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
8514 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
8515 (fix_truncdfsi2_internal_di): New pattern.
8516 (fix_truncdfsi2_store): The second arg here is Pmode too.
8517 (fix_truncdfsi2_load): The second arg here is Pmode too.
8518 (tablejumpdi): Now that switch tables hold only SImode values,
8519 gcc needs to know how to add them to the pc which is DImode.
8520 * rs6000.c (rs6000_stack_info): Use symbolic name for
8521 LINK_REGISTER_REGNUM.
8522 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
8523 (output_toc): Delete unused variables s1 and s2.
8524 (output_ascii): Use fputs not fprintf on a variable string.
8526 2000-01-07 David Edelsohn <edelsohn@gnu.org>
8528 * rs6000.c (processor_target_table): Add power3 as alias for 630.
8529 * aix43.h: Revert Aug 2 change.
8530 (HAS_INIT_SECTION): Define, not visible yet.
8531 (LD_INIT_SWITCH): Define, not visible yet.
8532 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8534 2000-01-04 Joel Sherrill (joel@OARcorp.com>
8536 * config/rs6000/rtems.h: Include config/rtems.h.
8538 2000-01-04 David Edelsohn <edelsohn@gnu.org>
8540 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8541 (SLOW_UNALIGNED_ACCESS): Define.
8542 (CASE_VECTOR_MODE): Always use 32-bit offsets.
8543 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8544 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8545 (toc_section): Likewise and .toc pseudo-op.
8546 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
8548 (TEXT_SECTION_ASM_OP): Likewise.
8549 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8552 1999-12-17 Jakub Jelinek <jakub@redhat.com>
8554 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
8555 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8558 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8560 * rs6000.h: Move more stuff from here...
8562 * sysv4.h: Cleanup accordingly.
8563 * netware.h: Likewise
8565 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8567 * rs6000.h: Continue cleanup.
8570 * netware.h: Likewise.
8572 * sysv4.h: Likewise.
8573 * win-nt.h: Likewise.
8575 * rs6000.h (TARGET_SWITCHES): Add descriptions.
8576 (TARGET_OPTIONS): Likewise.
8578 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
8579 (SUBTARGET_OPTIONS): Likewise.
8581 * rs6000.md: Fix compile time warnings.
8583 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8585 vxworks patches from the Cygnus tree originally by
8586 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
8587 <vmakarov@cygnus.com>.
8588 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
8589 (ENDFILE_SPEC): Likewise.
8590 (LIB_VXWORKS_SPEC): New macro.
8591 (STARTFILE_VXWORKS_SPEC): New macro.
8592 (ENDFILE_VXWORKS_SPEC): New macro.
8593 (LINK_START_VXWORKS_SPEC): New macro.
8594 (LINK_OS_VXWORKS_SPEC): New macro.
8595 (CPP_OS_VXWORKS_SPEC): New macro.
8596 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
8597 * vxppc.h: Rewrite to use proper configuration method.
8598 * vxppcle.h: New file.
8599 * ../../configure.in: Add powerpcle-wrs-vxworks*.
8600 * ../../configure: Rebuilt.
8602 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8604 Lots of changes to rs6000.h, sysv4.h, aix.h,
8605 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
8606 with the aim that rs6000.h is the first header
8607 included and the others override it.
8610 * x-aix41-gld: Remove.
8612 * x-aix41: Remove target-specific switches, and don't specify
8613 -Wl,-bbigtoc as we don't need it any more.
8614 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
8615 Use t-aix43 for AIX 4.3 and above.
8616 * ../../configure: Regenerated.
8618 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
8619 options, that don't do anything yet.
8620 (MASK_SCHED_PROLOG): New macro.
8621 (MASK_SCHED_EPILOG): New macro.
8622 (TARGET_SCHED_PROLOG): New macro.
8623 (TARGET_SCHED_EPILOG): New macro.
8625 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8627 * rs6000.c: Correct comment, the `minimal' TOCs are actually
8628 one per translation unit, not one per function.
8629 (output_toc): Also do duplicate constant elimination
8630 for per-translation-unit TOCs.
8632 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
8633 a comment explaining _exactly_ when this pattern gets used.
8634 (builtin_setjmp_receiver): New pattern for better clarity.
8635 (init_v4_pic): Move it into a section dealing with TOC registers.
8637 1999-12-30 Geoff Keating <geoffk@cygnus.com>
8639 * rs6000.c (toc_hash_table): New variable.
8640 (rs6000_hash_constant): New function.
8641 (toc_hash_function): New function.
8642 (toc_hash_eq): New function.
8643 (toc_hash_mark_entry): New function.
8644 (toc_hash_mark_table): New function.
8645 (output_toc): Don't output duplicate TOC entries in
8647 (rs6000_add_gc_roots): Add the hash table as a GC root.
8648 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
8649 where they clearly shouldn't be. This may need to be fixed
8650 later when there is a GNU ar for AIX.
8651 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
8652 Don't define BOOT_LDFLAGS as it is now not necessary.
8654 1999-12-29 Geoff Keating <geoffk@cygnus.com>
8656 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
8657 for va_list on AIX. Use unsigned_char_type_node rather than
8658 constructing our own version on svr4.
8660 1999-12-17 Geoff Keating <geoffk@cygnus.com>
8662 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
8663 since patently it's not.
8665 1999-12-08 Geoff Keating <geoffk@cygnus.com>
8667 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
8668 define_expand/define_insn pair, and handle restore of the
8669 SVR4 -fpic register.
8671 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
8673 * acconfig.h (HAVE_GAS_WEAK): New define.
8674 * configure.in (assembler weak support): Check for .weak support.
8675 * config.in, configure: Rebuilt.
8676 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
8677 HAVE_GAS_WEAK is defined.
8679 2000-03-15 Nick Clifton <nickc@cygnus.com>
8681 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
8684 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
8686 * cppfiles.c (open_include_file): New function.
8687 (find_include_file, cpp_read_file): Use it.
8689 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
8691 * cpphash.c (dump_hash_helper): Take the slot, not the element.
8693 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
8695 * flow.c (verify_flow_info): Check for unconditional return.
8697 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
8699 * config/ia64/ia64.md (restore_stack_nonlocal): New.
8700 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
8701 (__ia64_restore_stack_nonlocal): New.
8702 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
8704 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8706 * cpphash.c (collect_formal_parameters): Do not complain about
8707 parameter names that just start with `__VA_ARGS__'.
8709 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
8711 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
8712 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
8713 * i386.c (pentiumpro_cost): Set mul cost to 4.
8714 (x86_use_movx): Set for PPro.
8716 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
8718 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
8719 STACK_BOUNDARY for empty frames now.
8721 2000-03-14 Mark Mitchell <mark@codesourcery.com>
8723 * stor-layout.c (layout_union): Remove.
8724 (layout_union_field): New function, split out from layout_union.
8725 (finish_union_layout): Likewise.
8726 (layout_field): Handle unions by calling layout_union_field.
8727 (finish_record_layout): Handle unions.
8728 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
8729 QUAL_UNION_TYPE handling.
8731 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
8733 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
8734 end of basic block is jump_insn, not barrier; use create_basic_block
8735 instead of creating basic block by hand.
8737 2000-03-14 Jason Eckhardt <jle@cygnus.com>
8739 * flow.c (reorder_basic_blocks): Account for barriers when writing
8740 over NEXT_INSN (last_bb->end).
8741 (verify_flow_info): Add check for missing barriers.
8743 2000-03-14 Greg McGary <gkm@gnu.org>
8745 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
8746 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
8747 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
8748 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
8749 __unbounded, __unbounded__): New keywords.
8750 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
8751 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
8752 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
8754 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
8756 * cselib.h: New file.
8757 * alias.c: Include "cselib.h".
8758 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
8759 MEMs as two new arguments.
8760 (get_addr): New static function.
8761 (find_base_term): Handle VALUEs.
8762 (memrefs_conflict_p): Likewise.
8763 (true_dependence): Call get_addr on the addresses.
8764 Call fixed_scalar_and_varying_struct_p with addresses that have been
8765 passed through get_addr and canon_rtx.
8766 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
8767 with true_dependence.
8768 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
8769 * loop.c: Include "cselib.h".
8770 (load_mems): Process extended basic block that enters the loop with
8771 cselib. Use that information to change initialization of the shadow
8772 register so that a constant equivalence is seen by later passes.
8773 * reload1.c: Include "cselib.h".
8774 (reload_cse_invalidate_regno): Delete function.
8775 (reload_cse_mem_conflict_p): Likewise.
8776 (reload_cse_invalidate_mem): Likewise.
8777 (reload_cse_invalidate_rtx): Likewise.
8778 (reload_cse_regno_equal_p): Likewise.
8779 (reload_cse_check_clobber): Likewise.
8780 (reload_cse_record_set): Likewise.
8781 (reg_values): Delete static variable.
8782 (invalidate_regno_rtx): Likewise.
8783 (reload_cse_delete_noop_set): New static function.
8784 (reload_cse_simplify): New static function, broken out of
8786 (reload_cse_noop_set_p): Delete unused argument INSN.
8787 Just call rtx_equal_for_cselib_p on set source and destination.
8788 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
8789 reload_cse_delete_noop_set. Delete code to keep track of values; use
8790 cselib functions instead. Delete code to push/pop obstacks.
8791 (reload_cse_simplify_set): Use cselib to find equivalent values.
8792 Delete code to push/pop obstacks.
8793 (reload_cse_simplify_operands): Likewise.
8794 * rtl.def (VALUE): New rtx code.
8795 * rtl.h (union rtunion_def): New elt rt_cselib.
8796 (X0CSELIB, CSELIB_VAL_PTR): New macros.
8797 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
8798 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
8799 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
8800 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
8801 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
8802 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
8803 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
8804 cselib_record_set, cselib_record_sets): New static functions.
8805 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
8806 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
8807 references_value_p): New functions.
8808 (MAX_USELESS_VALUES, REG_VALUES): New macros.
8809 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
8810 n_useless_values, reg_values, callmem, cselib_obstack,
8811 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
8812 New static variables.
8813 * varray.h (union varray_data_tag): New elt te.
8814 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
8815 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
8818 2000-03-14 Nick Clifton <nickc@cygnus.com>
8820 * gcc.c (do_spec_1): Catch the case where %* is used in a
8821 substitution pattern, but it has not been initialised.
8822 Issue a meaningful error message if an unrecognised operator
8823 is encountered in a spec string.
8825 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
8827 * function.c (prepare_function_start): Correctly initialize
8828 cfun->stack_alignment_needed.
8830 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
8832 * cppfiles.c (find_include_file): Don't assume nshort is a
8835 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
8837 * configure.in (hppa configurations): Add pa32-regs.h to the
8838 list of tm files as appropriate.
8839 * configure: Rebuilt.
8840 * pa.c (compute_frame_size): Remove explicit knowledge about FP
8842 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
8843 (fmpyaddoperands, fmpysuboperands): Likewise.
8844 * pa.h: Remove various definitions which depend on knowing
8845 how registers are numbered.
8846 * pa32-regs.h: New file with PA32 register numbering specific
8849 2000-03-14 Richard Henderson <rth@cygnus.com>
8851 * regmove.c (combine_stack_adjustments): New.
8852 (stack_memref_p, single_set_for_csa): New.
8853 (free_csa_memlist, record_one_stack_memref): New.
8854 (try_apply_stack_adjustment): New.
8855 (combine_stack_adjustments_for_block): New.
8856 * rtl.h (combine_stack_adjustments): Declare.
8857 * toplev.c (rest_of_compilation): Call it.
8859 * i386.md: Revert 2000-01-16 change.
8861 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8863 * gccbug.in: Add web category, gcc specific classes.
8865 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
8867 * stor-layout.c (finalize_record_size): Fix typo.
8869 2000-03-14 Stan Shebs <shebs@apple.com>
8871 * c-typeck.c (c_alignof): Error on incomplete types.
8872 * extend.texi (Alignment): Document this.
8874 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8876 * cppfiles.c: Include mkdeps.h.
8877 (find_include_file, read_include_file): Remove _cpp_ prefix
8878 from name, make static.
8879 (_cpp_execute_include): New function, broken out of
8882 * cpplib.c: Don't include mkdeps.h.
8883 (struct directive): Remove type field. Reorder entries. The
8884 function takes only one argument.
8885 (struct if_stack): Make type field an int.
8886 (directive_table): Rename to dtable. Generate it, the
8887 prototypes of the directive handlers, and the enum for the
8888 directive numbers, from a template macro.
8889 (do_ifndef, do_include_next, do_import): New functions.
8890 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
8891 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
8892 do_ident, do_assert, do_unassert, do_sccs): Take only one
8894 (do_sccs): Define always, but alter behavior based on
8896 (_cpp_handle_directive, consider_directive_while_skipping):
8897 Restructure for new directive table layout.
8899 (pass_thru_directive): Take a directive number, not a pointer
8900 to a struct directive.
8901 (parse_include): New function, broken out of do_include.
8902 (do_include, do_import, do_include_next): Use parse_include
8903 and _cpp_execute_include.
8904 (do_elif, do_else): Test for T_ELSE specifically when checking
8905 for #elif/#else after #else.
8906 (parse_ifdef): New function, broken out of do_ifdef.
8907 (validate_else): Expect a name arg without a leading #.
8908 (if_directive_name): Delete.
8909 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8910 directive handlers with only one argument.
8912 * cpphash.h: Update prototypes.
8913 (enum node_type): Remove entries for directives.
8914 * Makefile.in: Update dependencies.
8916 * cpphash.c (dump_hash_helper): Only dump nodes of type
8917 T_MACRO. Emit a newline after each definition.
8919 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8921 * gccbug.in: New file.
8922 * configure.in (all_outputs): Add gccbug.
8923 * Makefile.in (install-common): Install gccbug.
8924 (GCCBUG_INSTALL_NAME): New variable.
8925 * configure: Rebuilt.
8927 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8929 * function.c (put_var_into_stack): Use type_for_mode to calculate
8930 part_type. Use MEM_SET_IN_STRUCT_P.
8931 * expr.c (store_field): Handle CONCAT.
8932 (store_constructor): Use fields_length.
8933 * tree.c (fields_length): New fn.
8934 * tree.h: Declare it.
8936 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8938 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
8939 (cpplex.o): New target.
8940 * po/POTFILES.in: Add cpplex.c.
8942 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
8943 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
8944 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
8945 skip_block_comment, skip_line_comment, skip_comment,
8946 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
8947 _cpp_parse_name, skip_string, parse_string,
8948 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
8949 _cpp_get_directive_token, find_position,
8950 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
8951 (maybe_macroexpand, _cpp_lex_token): New functions.
8953 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
8954 parse_goto_mark): Delete.
8955 (_cpp_handle_eof): New function.
8956 (_cpp_handle_directive): Rename from handle_directive.
8957 (_cpp_output_line_command): Rename from output_line_command.
8958 (do_if, do_elif): Call _cpp_parse_expr directly.
8959 * cppfiles.c (_cpp_read_include_file): Don't call
8960 init_input_buffer here.
8961 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
8962 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
8963 here; pop the token_buffer and skip the rest of the line here.
8964 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
8967 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
8969 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
8970 CPP_GOTO_MARK): New macros.
8971 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
8972 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
8973 _cpp_read_and_prescan, _cpp_init_input_buffer,
8974 _cpp_grow_token_buffer, _cpp_get_directive_token,
8975 _cpp_handle_directive, _cpp_handle_eof,
8976 _cpp_output_line_command): Prototype them here.
8977 * cpplib.h (enum cpp_token): Add CPP_MACRO.
8978 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
8979 quote_string, output_line_command): Remove.
8981 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
8983 * stmt.c (expand_end_case): RANGE may be signed, and when checking
8984 whether it is too large we must also verify that it isn't negative.
8986 2000-03-13 Jakub Jelinek <jakub@redhat.com>
8988 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
8989 (movsi_zero_liveg0): Remove.
8990 (movsf_insn_novis_liveg0): Remove.
8992 (negsi2_not_liveg0): Rename to negsi2.
8993 (one_cmplsi2): Remove.
8994 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
8995 (one_cmplsi2_liveg0): Remove.
8996 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
8997 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
8998 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
8999 (PREDICATE_CODES): Remove zero_operand.
9000 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
9001 TARGET_BROKEN_SAVERESTORE.
9002 (zero_operand): Remove.
9003 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
9004 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
9006 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9007 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9008 TARGET_BROKEN_SAVERESTORE): Remove.
9009 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9011 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9013 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9016 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
9018 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
9020 * cpplib.c (do_pragma_implementation): Fix off-by-one error
9021 truncating a string. Don't assume tokens are nul terminated.
9022 Problem noted by Andreas Jaeger <aj@suse.de>
9024 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
9026 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
9027 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
9028 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
9030 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
9032 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
9033 STRUCTURE_SIZE_BOUNDARY.
9035 2000-03-13 Mark Mitchell <mark@codesourcery.com>
9037 * tree.h (record_layout_info_s): New structure.
9038 (record_layout_info): New type.
9039 (new_record_layout_info): New function.
9040 (layout_field): Likewise.
9041 (finish_record_layout): Likewise.
9042 * stor-layout.c (layout_record): Remove.
9043 (new_record_layout_info): New function.
9044 (layout_field): New function, broken out from layout_record.
9045 (finalize_record_size): Likewise.
9046 (compute_record_mode): Likewise.
9047 (finalize_type_size): New function, broken out from layout_type.
9048 (finish_record_layout): Likewise.
9049 (layout_type): Use them.
9051 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
9053 * cpphash.c: Don't include version.h.
9054 (special_symbol) [case T_VERSION]: Look for the string in
9055 hp->value.cpval; don't use version_string.
9056 * cppinit.c (initialize_builtins): Set hp->value.cpval for
9057 __VERSION__ to version_string.
9058 * Makefile.in (cpphash.o): Update deps.
9060 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
9062 Convert cpplib to use libiberty/hashtab.c.
9064 * cpplib.h (struct cpp_reader): Make hashtab and
9065 all_include_files of type 'struct htab *'. Delete HASHSIZE
9066 and ALL_INCLUDE_HASHSIZE macros.
9068 * cpphash.h: Update prototypes.
9069 (struct hashnode): Remove next, prev, and bucket_hdr members.
9070 Make length a size_t. Add hash member.
9071 (struct ihash): Remove next member. Add hash member. Make
9072 name a flexible array member.
9074 * cppfiles.c: Include hashtab.h.
9075 (include_hash): Delete.
9076 (IHASHSIZE): New macro.
9077 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
9078 (cpp_included): Do the hash lookup here.
9079 (_cpp_find_include_file): Rewrite.
9080 (cpp_read_file): Put the "fake" hash entry into the hash
9081 table. Honor the control_macro, if it turns out we've seen
9082 the file before. Don't push the buffer here.
9083 (_cpp_read_include_file): Push the buffer here.
9084 (OMODES): New macro. Use it whenever we call open(2).
9086 * cpphash.c: Include hashtab.h.
9087 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
9088 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
9089 _cpp_lookup_slot): New functions.
9090 (HASHSIZE): new macro.
9091 (hashf, _cpp_install, _cpp_delete_macro): Delete.
9092 (_cpp_lookup): Use hashtab.h routines.
9094 * cppinit.c: Include hashtab.h.
9095 (cpp_reader_init): Call _cpp_init_macro_hash and
9096 _cpp_init_include_hash. Don't allocate hashtab directly.
9097 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
9098 pfile->all_include_files.
9099 (initialize_builtins): Use _cpp_make_hashnode and
9100 htab_find_slot to add hash entries.
9101 (cpp_finish): Just call _cpp_dump_macro_hash.
9102 * cpplib.c: Include hashtab.h.
9103 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
9104 create hash entries.
9105 (do_pragma_poison, do_assert): Likewise.
9106 (do_include): Don't push the buffer here. Don't increment
9107 system_include_depth unless _cpp_read_include_file succeeds.
9108 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
9110 (do_pragma_implementation): Use alloca to create copy.
9112 * Makefile.in: Update dependencies.
9114 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9116 * cppinit.c (cl_directive_handler): More K&R fixing.
9118 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
9120 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
9122 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
9124 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9126 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
9127 Change from char[] to macros.
9129 2000-03-12 Neil Booth <NeilB@earthling.net>
9131 * cppinit.c (cpp_start_read): Update indirect function
9134 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
9136 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
9139 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9140 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
9142 2000-03-11 Neil Booth <NeilB@earthling.net>
9144 * cppinit.c (struct pending option): Replace undef with a
9145 pointer to a directive handling routine.
9146 (struct cpp_pending): Replace separate assert_ and define_
9147 lists with one directive_ list.
9148 (new_pending_define): Rename new_pending_directive. Extra
9149 argument is the directive's handling routine.
9150 (handle_option): Update to use new_pending_directive.
9152 2000-03-11 Neil Booth <NeilB@earthling.net>
9154 * cppfiles.c (file_cleanup, _cpp_find_include_file,
9155 remap_filename, _cpp_read_include_file, actual_directory,
9156 hack_vms_include_specification): Replace bcopy(), index() etc
9157 calls. Add casts to some allocations. Make some variables
9158 pointers to const [unsigned] char.
9159 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
9160 collect_formal_parameters): Similarly.
9161 * cppinit.c (struct pending_option, append_include_chain,
9162 cpp_options_init, cpp_reader_init, initialize_standard_includes,
9163 cpp_start_read, new_pending_define, handle_option): Similarly.
9164 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
9165 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
9166 do_pragma_implementation, detect_if_not_defined,
9167 do_ifdef, skip_if_group, cpp_get_token, parse_string,
9168 do_assert, do_unassert): Similarly.
9169 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
9170 function prototypes.
9171 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
9173 2000-03-10 Richard Henderson <rth@cygnus.com>
9175 * builtins.c (expand_builtin_strlen): Revert last change.
9176 Use emit_insn_before if we're at the beginning of a sequence.
9178 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
9180 * builtins.c (expand_builtin_strlen): Make sure that we have something
9181 at the beginning of the sequence.
9183 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
9186 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
9188 2000-03-10 Richard Henderson <rth@cygnus.com>
9190 * except.c (can_throw): Use INTVAL on a CONST_INT.
9191 (reachable_handlers): Likewise.
9192 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
9194 2000-03-10 Andreas Jaeger <aj@suse.de>
9196 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
9197 MD_STARTFILE_PREFIX since those are not needed on linux.
9198 (ASM_FILE_START): New, from mips/gnu.h.
9200 2000-03-09 Richard Henderson <rth@cygnus.com>
9201 Alex Samuel <samuel@codesourcery.com> and others
9203 * Makefile.in (ssa.o): New rule.
9205 (STAGESTUFF): Add *.ssa and *.ussa.
9206 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
9207 * rtl.def (PHI): New RTL expression.
9208 * rtl.h (clear_log_links): New declaration.
9209 (convert_to_ssa): Likewise.
9210 (convert_from_ssa): Likewise.
9211 * flow.c (split_edge): If the entry node falls through to the
9212 split edge's source block, split the entry edge.
9213 (clear_log_links): New function.
9214 * toplev.c (ssa_dump): New variable.
9215 (flag_ssa): Likewise.
9216 (f_options): Add "ssa".
9217 (compile_file): Create SSA dump files.
9218 (rest_of_compilation): Go to and from SSA if enabled.
9219 (decide_d_option): Handle -de for SSA dump files.
9222 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
9224 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
9227 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
9229 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
9231 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
9233 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
9234 (MD_STARTFILE_PREFIX_1): New macro.
9236 2000-03-09 Robert Lipe <robertl@sco.com>
9238 * config/ia64/ia64.c: Include system.h.
9240 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9242 * except.c (nothrow_function_p): If -fno-exceptions, just return.
9243 (init_eh_nesting_info): Likewise.
9245 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
9246 (TREE_NOTHROW): Rename from TREE_RAISES.
9247 * toplev.c (rest_of_compilation): Set it.
9248 * print-tree.c (print_node): Adjust.
9249 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
9250 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
9251 * calls.c (emit_call_1): Add 'nothrow' parm. Add
9252 REG_EH_REGION note as appropriate.
9253 (libfunc_nothrow): New fn.
9254 (emit_library_call, emit_library_call_value): Use it.
9255 (expand_call): Check TREE_NOTHROW.
9257 * varasm.c (make_decl_rtl): Skip initial '*' when setting
9258 DECL_ASSEMBLER_NAME.
9260 2000-03-09 Andreas Jaeger <aj@suse.de>
9262 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
9263 (TARGET_MEM_FUNCTIONS): Define.
9265 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9267 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
9269 * except.c (can_throw): See through a SEQUENCE.
9270 (nothrow_function_p): New fn.
9271 * except.h: Declare it.
9272 * function.c (current_function_nothrow): New var.
9273 (prepare_function_start): Initialize it.
9274 * output.h: Declare it.
9275 * toplev.c (rest_of_compilation): Set it.
9276 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
9278 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
9280 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
9281 match. (cpp_compare_defs): Count the nul separator when
9282 advancing over argument names.
9284 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
9286 * recog.c (preprocess_constraints): Matching constraints affect
9287 same alternative/different operand, not same operand/different
9290 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
9291 register and a constant specially.
9293 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9295 * libgcc2.h: New file.
9296 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
9298 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
9300 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
9301 * configure: Regenerate.
9304 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9306 * Makefile.in (LIBCPP_DEPS): New macro.
9307 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
9309 * cpperror.c: Include cpphash.h.
9310 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
9312 (lex): Don't use CPP_WARN_UNDEF.
9313 (_cpp_parse_expr): Return an int, the truth value.
9314 * cppfiles.c: Include cpphash.h.
9315 (_cpp_merge_include_chains): Move to cppinit.c and make static.
9316 * cppinit.c (include_defaults_array): Disentangle.
9317 (cpp_cleanup): Don't free the if stack here.
9318 (cpp_finish): Pop off all buffers, not just one.
9319 * cpplib.c (eval_if_expr): Return int.
9320 (do_xifdef): Rename do_ifdef.
9321 (handle_directive): Don't use CPP_PREPROCESSED.
9322 (cpp_get_token): Don't use CPP_C89.
9323 * fix-header.c: Don't use CPP_OPTIONS.
9325 * cpplib.h: Move U_CHAR, enum node_type, struct
9326 file_name_list, struct ihash, is_idchar, is_idstart,
9327 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
9328 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
9329 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
9330 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
9331 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
9332 of _cpp_simplify_pathname, _cpp_find_include_file,
9333 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
9334 Move struct if_stack to cpplib.c. Move struct cpp_pending to
9336 Change all uses of U_CHAR to be unsigned char instead.
9337 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
9339 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9341 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
9342 (dwarf2out_begin_prologue): Set it.
9343 (output_call_frame_info): Don't emit EH unwind info for leaves.
9345 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
9346 can occur outside of an EH region.
9347 * except.c: Correct comments about rethrow behavior.
9348 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
9350 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
9352 * flow.c (make_edges): Always call make_eh_edge for calls.
9354 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9356 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
9357 (struct cpp_buffer): Remove fname and underflow fields.
9358 (struct cpp_reader): Remove get_token field.
9359 (struct include_hash): Rename to struct ihash. Add typedef to
9361 (struct if_stack): Remove fname field.
9362 (IF_STACK_FRAME): Rename to IF_STACK.
9364 * cpperror.c (print_containing_files): Trust that there are no
9365 macro buffers below the top file buffer.
9366 * cppfiles.c: Replace all references to 'struct include_hash'
9367 with 'IHASH'. Rename initialize_input_buffer to
9368 init_input_buffer. Don't set or reference cpp_buffer->fname,
9369 use buffer->ihash->name instead.
9370 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
9371 not CPP_NULL_BUFFER.
9372 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
9373 IF_STACK_FRAME, IHASH not struct include_hash.
9374 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
9375 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
9376 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
9377 references to cpp_buffer->fname (delete entirely, or use
9378 ->ihash->name instead) and IF_STACK->fname.
9379 (cpp_push_buffer): Don't set new->underflow.
9380 (do_include): Use cpp_file_buffer.
9382 * cpphash.c (collect_formal_parameters): Remove duplicate
9383 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
9384 used as a macro argument name. Don't append "..." to namebuf
9385 for varargs macros. After we're done scanning, go through
9386 namebuf and make it NUL separated, not comma separated.
9387 (_cpp_compare_defs): Remove register tag from variables.
9388 Expect defn->argnames to be NUL separated.
9389 (_cpp_dump_definition): Expect defn->argnames to be NUL
9390 separated and in forward order.
9391 * cpphash.h: Update documentation of argnames field.
9393 2000-03-08 Richard Henderson <rth@cygnus.com>
9395 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
9396 to fail. Don't pre-expand the source operand.
9398 * i386.md (strlensi): Initialize eoschar and align before use.
9400 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9402 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
9403 CONSTRUCTOR element.
9405 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
9407 * mips.c (mips_expand_prologue): If the last
9408 named argument is the vararg marker "va_list", treat it as
9409 an unnamed argument.
9411 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
9413 * dbxout.c (dbxout_parms): When correcting for promoted
9414 big-endian parameters, use the mode of the DECL_RTL rather
9415 than UNITS_PER_WORD.
9417 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
9419 * c-common.h (make_fname_decl): Declare.
9420 * c-common.c (make_fname_decl): Define.
9421 (declare_hidden_char_array): Remove.
9422 (declare_function_name): Use make_fname_decl.
9423 * c-decl.c (c_make_fname_decl): New function.
9424 (init_decl_processing): Set make_fname_decl.
9426 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
9428 * cccp.c (handle_directive): Initialize backslash_newlines_p.
9430 2000-03-07 Philipp Thomas <pthomas@suse.de>
9432 * po/POTFILES.in: Remove cppalloc.c from file list.
9434 2000-03-07 Steve Chamberlain <sac@pobox.com>
9436 * pj.c (pj_expand_prologue): current_function->args_info is
9437 now current_function_args_info.
9439 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
9440 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
9441 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
9443 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9445 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
9446 output as hexadecimal rather than the default octal.
9448 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9450 * cpphash.c (special_symbol): Fix thinko in previous commit.
9452 2000-03-07 Neil Booth <NeilB@earthling.net>
9454 * cppexp.c (struct operation, left_shift, right_shift,
9455 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
9456 "int"s to "unsigned int"s.
9457 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
9459 * cpplib.h: Update for above.
9460 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
9461 returned from allocations.
9463 * cppinit.c (opt_comp, parse_options): New functions.
9464 (handle_option): Use parse_option to parse a single command
9465 line option, that possibly takes an argument.
9466 (cpp_handle_options): Sort the array of command line options on
9467 first invocation (non-ASCII hosts only).
9468 (print_help): Update.
9470 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9472 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
9473 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
9475 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
9477 * cppinit.c (cpp_cleanup): Free imp->nshort also.
9479 * cpperror.c (cpp_print_containing_files,
9480 cpp_print_file_and_line, v_cpp_message): Rename to
9481 print_containing_files, print_file_and_line, and v_message.
9482 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
9483 to _cpp_parse_expr, parse_escape, and lex.
9484 (parse_charconst): Remove broken multibyte support.
9485 * cppfiles.c (include_hash): Make static.
9486 (cpp_included): New function.
9487 (merge_include_chains, find_include_file, finclude,
9488 simplify_pathname): Rename to _cpp_merge_include_chains,
9489 _cpp_find_include_file, _cpp_read_include_file, and
9490 _cpp_simplify_pathname.
9491 * cpphash.c (cpp_lookup, free_definition, delete_macro,
9492 cpp_install, create_definition, macroexpand, compare_defs,
9493 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
9494 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
9495 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
9496 * cppinit.c (cpp_handle_option): Rename to handle_option, make
9498 * cpplib.c: Remove extern prototype of cpp_parse_expr.
9500 * cpphash.h: Update prototypes.
9501 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
9503 2000-03-07 Andrew Haley <aph@cygnus.com>
9505 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
9506 PTRDIFF_TYPE should be based solely on Pmode.
9509 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9511 * rtl.h (rtunion_def): Constify member `rtstr'.
9512 (emit_line_note_after, emit_line_note, emit_line_note_force,
9513 emit_note, decode_asm_operands): Constify.
9515 * cse.c (canon_hash): Likewise.
9517 * dbxout.c (dbxout_block): Likewise.
9519 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
9520 v_warning_for_asm): Likewise.
9522 * dwarfout.c (function_start_label): Likewise.
9524 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
9525 emit_line_note_force): Likewise.
9527 * final.c (last_filename, asm_insn_count, final_scan_insn,
9528 output_source_line): Likewise.
9530 * function.h (struct emit_status): Likewise.
9532 * gcse.c (hash_expr_1): Likewise.
9534 * genattr.c (gen_attr, main): Likewise.
9536 * genattrtab.c (struct function_unit, current_alternative_string,
9537 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
9538 attr_numeral, check_attr_test, check_attr_value,
9539 convert_set_attr_alternative, convert_set_attr,
9540 compute_alternative_mask, simplify_by_exploding, gen_attr,
9541 gen_unit): Likewise.
9543 * genflags.c (gen_insn): Likewise.
9545 * gengenrtl.c (type_from_format): Likewise.
9547 * genopinit.c (gen_insn): Likewise.
9549 * genoutput.c (n_occurrences, process_template, process_template):
9552 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9555 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9558 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
9559 ggc_set_mark, ggc_get_size): Likewise.
9561 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
9563 * optabs.c (init_one_libfunc): Likewise.
9565 * output.h (assemble_start_function): Likewise.
9567 * recog.c (decode_asm_operands): Likewise.
9569 * toplev.c (rest_of_compilation): Likewise.
9571 * tree.h (emit_line_note_after, emit_line_note,
9572 emit_line_note_force): Likewise.
9574 * varasm.c (asm_output_bss, asm_output_aligned_bss,
9575 asm_emit_uninitialised, assemble_start_function,
9576 assemble_variable, const_hash, compare_constant_1,
9577 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
9579 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
9581 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
9583 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
9585 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
9587 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
9588 arm_dllimport_name_p): Likewise.
9590 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
9593 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
9595 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9597 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
9598 arm_mark_dllexport, arm_mark_dllimport,
9599 arm_pe_encode_section_info): Likewise.
9601 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
9602 ASM_FINISH_DECLARE_OBJECT): Likewise.
9604 * arm/thumb.c (thumb_function_prologue): Likewise.
9606 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
9608 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9610 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
9612 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
9614 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
9616 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9618 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
9619 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
9621 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
9623 * i386/i386.c (asm_output_function_prefix): Likewise.
9625 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
9627 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9629 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
9631 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
9632 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
9633 ASM_OUTPUT_SECTION_NAME): Likewise.
9635 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
9637 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
9639 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
9641 * m32r/m32r.c (m32r_encode_section_info): Likewise.
9643 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9645 * mcore/mcore.c (mcore_encode_section_info): Likewise.
9647 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9649 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9651 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9653 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
9655 * mips/mips.md (movdi, movsi): Likewise.
9657 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9659 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9661 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9663 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
9664 ASM_OUTPUT_ASCII): Likewise.
9666 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
9667 output_mi_thunk, output_toc): Likewise.
9669 * rs6000/rs6000.md (movsi): Likewise.
9671 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
9673 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
9675 * v850/v850.c (print_operand, print_operand_address,
9676 v850_encode_data_area): Likewise.
9678 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
9680 * config/mips/mips.md (zero_extendsidi2): Always force operand
9681 one to memory for mips16.
9683 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9685 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
9686 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
9687 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
9688 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
9689 (min_precision): Result is unsigned.
9690 (add_double, neg_double, mul_double): Low word is unsigned.
9691 (lshift_double, rshift_double, lrotate_double): Likewise.
9692 (rrotate_double, div_and_round_double): Likewise.
9693 (tree_floor_log2, compare_tree_int): New functions.
9694 (preserve_rtl_expr_temps): New declaration.
9695 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
9696 (decl_attributes): Use tree_log2 to find alignment.
9697 Check for TREE_INT_CST_HIGH for format args.
9698 (min_precision): Now unsigned.
9699 Use tree_floor_log2.
9700 (truthvalue_conversion): Delete long-disabled code.
9701 * c-decl.c (finish_struct): Clean up tests on field width.
9702 (finish_function): Use compare_tree_int.
9703 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
9704 * c-typeck.c (comptypes): Use tree_int_cst_equal.
9705 (default_conversion, digest_init): Use compare_tree_int.
9706 (build_binary_op): Use integer_all_onesp and compare_tree_int.
9707 Fix type errors in forming masks.
9708 * calls.c (initialize_argument_information): Use compare_tree_int.
9709 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9710 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
9711 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
9712 (store_field): Use compare_tree_int.
9713 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
9714 (expand_expr, case ARRAY_REF): Use compare_tree_int.
9715 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
9716 (do_store_flag): Use compare_tree_int.
9717 * fold-const.c (encode, decode): Low part is always unsigned.
9718 (force_fit_type, add_double, neg_double, mul_double): Likewise.
9719 (lshift_double, rshift_double, lrotate_double): Likewise.
9720 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
9721 (fold_convert): Use compare_tree_int.
9722 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
9723 (invert_truthvalue, case INTEGER_CST): Likewise.
9724 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
9725 * mkdeps.c (deps_dummy_targets): Make I unsigned.
9726 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
9727 (lshift_double, rshift_double, lrotate_double, rrotate_double):
9729 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
9730 (expand_end_case): Use compare_tree_int.
9731 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9732 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
9733 (layout_decl): Likewise.
9734 (layout_record, layout_union): Make sizes unsigned.
9735 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
9736 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
9737 * tree.c (struct type_hash): hashcode is unsigned.
9738 (build_type_attribute_variant, type_hash_list): Likewise.
9739 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
9740 (attribute_hash_list, build_array_type, build_method_type): Likewise.
9741 (build_complex_type): Likewise.
9742 (real_value_from_int_cst): Remove unneeded casts.
9743 (integer_all_onesp): Add casts.
9744 (tree_floor_log2, compare_tree_int): New functions.
9745 (build_index_type): Use tree_int_cst_sgn.
9746 * varasm.c (assemble_variable): Use compare_tree_int.
9748 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
9750 * cpphash.c (collect_expansion): Also catch ## at start of macro.
9752 * varasm.c (make_decl_rtl): Don't add a number to members of
9754 (make_function_rtl): Likewise.
9756 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9758 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
9759 patch from 2000-01-28.
9761 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
9763 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
9764 filled with an insn from the jump target.
9766 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9768 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
9769 (c4x_external_ref): Likewise.
9770 * config/c4x/c4x.c (struct name_list): Likewise.
9772 1999-12-16 Ben Collins <bcollins@debian.org>
9774 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
9775 argument to genmultilib.
9776 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
9777 the contents into the multilib.h header.
9778 * gcc.c: Declare multilib_exclusions for the specs file.
9779 (set_multilib_dir): Use it.
9780 (print_multilib_info): Likewise.
9781 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
9782 to pass to genmultilib.
9784 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9786 * builtins.c (built_in_class_names, built_in_names): Constify a
9789 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
9791 (_mcleanup): Ensure value matches format specifier in sprintf.
9793 * cpphash.c (special_symbol): Don't needlessly cast away
9796 * cppinit.c (base_name): Delete unused prototype.
9798 * mkdeps.c (deps_init): Make definition K&R safe.
9800 * tree.h (built_in_class_names, built_in_names): Constify a
9803 2000-03-06 Jakub Jelinek <jakub@redhat.com>
9805 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
9806 floating point instructions for epilogue delay.
9808 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
9809 to gas if it supports .register pseudo.
9811 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
9812 LONG_DOUBLE_TYPE_SIZE if not defined.
9813 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
9814 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
9816 * gengenrtl.c: Likewise.
9817 * print-rtl.c: Likewise.
9819 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
9820 MASK_LONG_DOUBLE_128.
9821 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
9822 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
9823 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
9824 (SUBTARGET_SWITCHES): Define.
9825 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
9826 with -mlong-double-128.
9827 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9828 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9829 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9830 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
9831 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
9832 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
9833 with -mlong-double-128.
9834 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9835 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9836 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9837 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
9838 TARGET_LONG_DOUBLE_128): Define.
9839 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
9840 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
9841 long double on TARGET_ARCH64.
9843 2000-03-06 Mark Mitchell <mark@codesourcery.com>
9845 * function.c (free_temps_for_rtl_expr): Don't free slots
9846 that have been pushed into a higher level.
9849 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9851 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9853 * basic-block.h (ALLOCA_REG_SET): Remove.
9854 (INITIALIZE_REG_SET): New macro.
9855 * flow.c (update_life_info): Use it.
9856 (calculate_global_regs_live): Likewise.
9857 (propagate_block): Likewise.
9858 * global.c (build_insn_chain): Likewise.
9859 * haifa-sched.c (schedule_region): Likewise.
9861 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
9863 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
9864 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
9865 (DWARF_ARANGES_PAD_SIZE): New define.
9866 (output_aranges): Use it to pad the address range header.
9867 (DWARF_ROUND): Fix for non power of 2 rounding.
9869 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
9871 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
9873 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9875 * tree.def (RTL_EXPR): Update documentation.
9876 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
9877 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
9878 * function.c (preserve_rtl_expr_temp): New function.
9879 (preserve_rtl_expr_temps): Likewise.
9880 (preserve_rtl_expr_result): Use it.
9883 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9885 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
9887 * regmove.c (copy_src_to_dest) Do not create src->dest move
9888 for unchanging destination.
9890 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9892 * function.h (struct sequence_stack): Remove rtl_expr.
9893 (struct emit_staus): Likewise.
9894 (seq_rtl_expr): Remove.
9895 * tree.h (free_temps_for_rtl_expr): Don't declare.
9896 (start_sequence_for_rtl_expr): Likewise.
9897 * rtl.h (preserve_rtl_expr_result): Likewise.
9898 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
9899 (start_sequence_for_rtl_expr): Remove.
9900 (push_topmost_sequence): Don't save sequence_rtl_expr.
9901 (pop_topmost_sequence): Remove comment about not restoring it.
9902 (end_sequence): Don't set seq_rtl_expr.
9903 (init_emit): Don't initialize it.
9904 (mark_sequence_stack): Don't mark it.
9905 (mark_emit_status): Likewise.
9906 * except.c (protect_with_terminate): Use
9907 start_sequence_for_rtl_expr, not start_sequence.
9908 * expr.c (expand_expr, case RTL_EXPR): Don't call
9909 preserve_rtl_expr_result or free_temps_for_rtl_expr.
9910 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9911 (preserve_rtl_expr_result): Remove.
9912 (free_temps_for_rtl_expr): Likewise.
9913 (pop_temp_slots): Likewise.
9914 (mark_temp_slot): Don't mark the rtl_expr.
9915 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9916 start_sequence_for_rtl_expr.
9918 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
9920 * mkdeps.c, mkdeps.h: New files.
9921 * po/POTFILES.in: Add them.
9922 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9923 (cpplib.o, cppinit.o): Depend on mkdeps.h.
9924 (mkdeps.o): New target.
9926 * cppfiles.c: Delete deps_output.
9927 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
9928 OBJECT_SUFFIX, and base_name.
9929 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
9931 (initialize_dependency_output): Use deps_init,
9932 deps_add_target, deps_calc_target, and deps_add_dep. Remove
9933 all the unnecessary string bashing.
9934 (cpp_finish): Use deps_write. Remove an unnecessary nesting
9936 * cpplib.c (do_include): Use deps_add_dep.
9937 * cpplib.h (struct cpp_reader): Replace deps_buffer,
9938 deps_allocated_size, deps_size, deps_column members with
9939 single pointer to a struct deps. Delete prototype of
9942 * cppinit.c: Fix thinko in previous patch.
9944 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9946 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
9947 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
9948 (mode_for_size_tree): New function.
9949 (layout_decl, layout_type): Call it and clean up BLKmode checks.
9950 * tree.h (mode_for_size_tree): New declaration.
9952 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
9954 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
9956 * stmt.c (is_body_block): Move...
9957 * dwarfout.c, dwarf2out.c: ...from here.
9958 * tree.h: Declare it.
9959 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
9960 * final.c (final_start_function): Do call remove_unnecessary_notes
9963 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9965 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
9967 * cpplib.h (_dollar_ok): New macro.
9968 (is_idchar, is_idstart): Use it.
9969 (IStable): Rename to _cpp_IStable. Declare it const if
9970 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
9971 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
9972 is_space): Update for renamed IStable.
9974 * cppinit.c: Delete all references to FAKE_CONST and CAT
9975 macros. Define init_IStable as empty macro if gcc >=2.7 or
9976 C99. Change TABLE() to ISTABLE and hardcode name of table.
9977 (cpp_start_read): Don't change the IStable based on
9980 * cpphash.c (unsafe_chars): Add pfile argument. All callers
9981 changed. Handle '$' for char1 correctly.
9982 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
9984 * cppexp.c (tokentab2): Make const.
9985 (cpp_lex): Make toktab const.
9986 * cppinit.c (include_defaults_array): Make const.
9987 (initialize_standard_includes): Make default_include const.
9989 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9991 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
9992 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
9993 (gen_decl_die): Likewise.
9994 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
9995 (output_decl): Likewise.
9997 * varasm.c (make_function_rtl): If we change the name used in the
9998 rtl, update DECL_ASSEMBLER_NAME accordingly.
9999 (make_decl_rtl): Likewise.
10001 * toplev.c (rest_of_compilation): Tweak formatting.
10003 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
10004 remove_unnecessary_notes.
10005 (debug_ignore_block): New fn.
10006 * toplev.h: Declare it.
10007 * emit-rtl.c (remove_unncessary_notes): Call it.
10008 * dwarf2out.c (dwarf2out_ignore_block): New fn.
10009 * dwarf2out.h: Declare it.
10010 * final.c (final_start_function): Don't call remove_unnecessary_notes
10011 if we did insn scheduling.
10013 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
10015 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
10016 * cpplib.h: Delete SET_CPP_PEDANTIC.
10018 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10020 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
10021 result is a RECORD_TYPE.
10023 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
10025 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
10027 2000-03-03 Richard Henderson <rth@cygnus.com>
10029 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
10030 addition over compliments over shifts.
10032 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10034 * reload1.c (reload_combine_note_use): Handle return register USEs.
10035 REG case: Handle multi-hard-register hard regs.
10037 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10039 * md.texi: Document use of '*' in insn pattern name.
10041 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
10043 * calls.c (special_function_p): operator new may not be malloc-like.
10045 * gcse.c (dump_hash_table): Really fix error in last change.
10047 2000-03-02 Denis Chertykov <denisc@overta.ru>
10049 * avr.c (print_operand): Use print_operand_address instead of
10051 * avr/libgcc.S: Cleanup code.
10053 2000-03-02 Richard Henderson <rth@cygnus.com>
10055 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
10057 2000-03-02 Mark Mitchell <mark@codesourcery.com>
10059 * tree.h (TYPE_ALIGN_UNIT): New macro.
10061 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
10063 * i386.c: (constant_call_address_operand): Reject CONST_INT.
10065 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
10067 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
10069 (SET_CPP_PEDANTIC): New macro.
10070 * cpplib.c (do_include): Don't bother checking system_header_p.
10071 (do_warning, do_ident, do_assert, do_unassert): Likewise.
10072 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
10074 * function.h (struct expr_status): Add x_arg_space_so_far.
10075 (arg_space_so_far): New macro.
10076 * expr.c (init_expr): Initialize it.
10077 * calls.c (emit_call_1): Reset it.
10078 (compute_argument_block_size, expand_call): Use it.
10079 (expand_call, store_one_arg): Increment it.
10081 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10083 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
10086 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
10088 * cppfiles.c (cpp_read_file): New function.
10090 * cpphash.c (collect_expansion): Make sure to reset last_token
10091 to NORM when we hit a string. Handle trailing whitespace
10092 properly when the expansion is empty.
10093 (create_definition): Disable line commands while parsing the
10095 (dump_definition): If pfile->lineno == 0, output a line
10096 command ahead of the dump, and add a trailing newline.
10098 * cppinit.c (append_include_chain): Add fifth argument, which
10099 indicates whether or not system headers are C++ aware.
10100 (initialize_standard_includes): New function,
10101 broken out of read_and_prescan. Pass 'cxx_aware' value from
10102 the include_defaults_array on to append_include_chain.
10103 (dump_special_to_buffer): Const-ify char array.
10104 (builtin_array): Don't dump __BASE_FILE__.
10105 (cpp_start_read): Use cpp_read_file. Reorder code for
10106 clarity. Don't output line commands here for -D/-A/-U
10107 switches. Don't call deps_output for files included with
10108 -include or -imacros.
10110 * cpplib.c (do_define): Don't pay any attention to the second
10112 (cpp_expand_to_buffer): Disable line commands while scanning.
10113 (output_line_command): Work in the file buffer.
10114 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
10115 Fix formatting of comments. Prototype cpp_read_file.
10117 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10119 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
10120 reference the language-equivalent of sizetype.
10121 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
10122 * fold-const.c (size_binop, size_diffop): Put back checks.
10123 * gcse.c (dump_hash_table): Fix minor error in last change.
10124 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
10125 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
10128 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
10130 * calls.c (expand_call) Do not attempt to combine stack adjustments
10131 with inhibit_defer_pop set.
10133 2000-03-01 Mark Mitchell <mark@codesourcery.com>
10135 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
10136 the DECL_SIZE for a FIELD_DECL.
10138 2000-03-01 Bruce Korb <bkorb@gnu.org>
10140 * fixinc/inclhack.tpl: remove unused symlinks
10141 * fixinc/README: GCC Maintainer info
10142 * fixinc/inclhack.sh: regen
10143 * fixinc/fixincl.sh: regen
10145 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
10147 * cpphash.c (collect_expansion): Trim trailing white space
10148 from macro definitions, but don't go past the last insertion
10151 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
10153 * i386.md (mulqi3): New pattern.
10155 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
10157 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
10159 (struct cpp_reader): Add parsing_if_directive and
10160 parsing_define_directive flags.
10161 (struct cpp_options): Remove output_conditionals flag.
10162 (check_macro_name): Delete prototype.
10164 * cpphash.h (struct macrodef): Delete.
10165 (struct reflist): Separate from struct definition.
10166 (struct definition): Remove unused fields. Add column number.
10167 (create_definition): Returns a DEFINITION *. Takes a
10168 cpp_reader * and an int.
10170 * cpphash.c (SKIP_WHITE_SPACE): Delete.
10171 (PEEKC): Copy defn from cpplib.c.
10172 (rest_extension, REST_EXTENSION_LENGTH): Delete.
10174 (struct arglist): Simplify.
10175 (collect_expansion): Rewrite. Get tokens by calling
10176 cpp_get_token. Add more error checking.
10177 (collect_formal_parameters): New function, broken out of
10178 create_definition and reworked to use get_directive_token.
10179 (create_definition): All real work is now in collect_expansion
10180 and collect_formal_parameters. do_define handles finding the
10181 macro name. Return a DEFINITION, not a MACRODEF.
10182 (macroexpand): Replace bcopy with memcpy throughout. Replace
10183 character-at-a-time copy loop with memcpy and pointer increments.
10184 (compare-defs): d1->argnames / d2->argnames might be null.
10186 * cpplib.c (copy_rest_of_line): Delete function.
10187 (skip_rest_of_line): Do all the work ourselves.
10188 (skip_string): New function.
10189 (parse_string): Use skip_string.
10190 (get_macro_name): New function.
10191 (check_macro_name): Delete.
10192 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
10193 (cpp_skip_hspace): Use CPP_BUMP_LINE.
10194 (handle_directive): ICE if we're called on a macro buffer.
10195 (do_define): Determine macro name and type (funlike/objlike)
10196 here. Expunge all uses of MACRODEF.
10197 (cpp_push_buffer): Set line_base to NULL.
10198 (do_undef, read_line_number): Don't worry about getting a POP token.
10199 (eval_if_expression): Set/reset parsing_if_directive around
10200 cpp_parse_expr. Don't clear only_seen_white.
10201 (skip_if_group): Remove output_conditionals logic. Use
10203 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
10204 tokens under appropriate conditions.
10205 (cpp_unassert): Call do_unassert not do_assert. Oops.
10207 * cppexp.c (parse_defined): New function, break out of
10209 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
10210 ourselves, with cpp_defined.
10211 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
10213 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
10214 * gcc.dg/strpaste-2.c: New.
10216 2000-02-29 Mark Mitchell <mark@codesourcery.com>
10218 * fold-const.c (size_binop): Don't asert inputs are the same and
10219 have TYPE_IS_SIZETYPE set.
10220 (size_diffop): Likewise.
10222 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
10224 * dwarfout.c (output_block): Output abstract blocks even if they
10225 don't have TREE_ASM_WRITTEN set.
10227 * calls.c (emit_library_call): Check for null REG.
10229 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
10231 * c-decl.c (current_function_decl): Move to toplev.c.
10232 (init_decl_processing): Don't add current_function_decl as a ggc
10234 * dbxout.c (dbxout_symbol): Change return type to int.
10235 (dbxout_symbol_location, dbxout_syms): Likewise.
10236 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
10237 any locals. Use current_function_func_begin_label if set.
10238 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
10239 * dwarf2out.c (dwarf2out_begin_prologue): Set
10240 current_function_func_begin_label.
10241 * final.c (final_start_function): Reset it.
10242 * toplev.c (current_function_decl): Define it here.
10243 (current_function_func_begin_label): New variable.
10244 (main): Add both as ggc roots.
10245 * tree.h (current_function_func_begin_label): Declare.
10247 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10249 * gcse.c: Cleanups throughout: mostly white-space, but also
10250 some minor rearrangement of code.
10252 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
10254 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
10255 returns a PARALLEL. Use emit_group_load and use_group_regs
10257 (emit_library_call_value): Similarly.
10259 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
10260 * pa/quadlib.asm: Remove.
10261 * pa/quadlib.c: New file.
10263 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
10264 * configure: Rebuilt.
10266 2000-02-29 Philip Blundell <pb@futuretv.com>
10268 * config/arm/conix-elf.h: New file.
10269 * configure.in (arm*-*-conix*): New configuration.
10270 * configure: Regenerate.
10272 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
10274 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
10275 don't have TREE_ASM_WRITTEN set.
10277 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10279 * Eliminate DECL_FIELD_SIZE.
10280 * builtins.c (built_in_class_names, built_in_names): New variables.
10281 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
10282 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
10283 DECL_SIZE, not DECL_FIELD_SIZE.
10284 * print-tree.c (print_node): Remove code that prints extra blank
10285 lines in some cases.
10286 Properly handle inline and builtin function cases.
10287 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
10288 * tree.h (built_in_class_named, built_in_names): New declarations.
10289 (union tree_decl): Rename internal unions to u1 and u2 and change
10290 some of their components.
10291 Add new field built_in_class.
10292 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
10293 Reflect above changes.
10294 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
10295 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
10296 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
10297 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
10299 2000-02-28 Dmitri Makarov <dim@windriver.com>
10301 * extend.texi: Document ARM's support for long/short calls.
10303 * invoke.texi: Document ARM's -mlong-calls command line switch.
10305 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
10306 (arm_encode_call_attribute): Add prototype.
10307 (arm_set_default_type_attribute): Add prototype.
10308 (arm_strip_name_encoding): Add prototype.
10310 * config/arm/arm.c (arm_init_cumulative_args): replace
10311 initialisation og 'long_calls' field with initialisation of
10312 'call_cookie' field.
10313 (enum arm_pragma_enum): New enum.
10314 (arm_pragma_long_calls): New static variable.
10315 (arm_process_pragma): Also process "#pragma long_calls_off".
10316 (arm_valid_type_attribute_p): Accept short_call attribute.
10317 (arm_comp_type_attributes): Check long/short call attributes.
10318 (arm_encode_call_attribute): New function: Encode long_call
10319 or short_call attribute in function name.
10320 (arm_set_default_type_attributes): New function: Assign
10321 default attributes to newly defined type.
10322 (current_file_function_operand): New function: Return true if
10323 the symbol is a function which has already been compiled.
10324 (arm_is_longcall_p): New function: Return true if the
10325 indicated function should be called via a long call.
10326 (arm_get_strip_length): New function. Returns number of
10327 prefix characters to be stripped from a function's name.
10328 (arm_strip_name_encoding): New function. Strip prefix characters
10329 from a function's name.
10331 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
10332 with 'call_cookie'.
10333 (SHORT_CALL_FAG_CHAR): Define.
10334 (LONG_CALL_FAG_CHAR): Define.
10335 (ENCODED_SHORT_CALL_ATTR_P): Define.
10336 (ENCODED_LONG_CALL_ATTR_P): Define.
10337 (ARM_NAME_ENCODING_LENGTHS): Define.
10338 (STRIP_NAME_ENCODING): Define.
10339 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
10340 (ARM_ENCODE_CALL_TYPE): Define.
10341 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
10342 (ARM_DECLARE_FUNCTION_SIZE): Define.
10343 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
10345 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
10346 if a long call is needed.
10347 (call_value): Ditto.
10348 (call_symbol): Ditto.
10350 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
10351 ARM_DECLARE_FUNCTION_SIZE.
10353 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
10354 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
10355 (ARM_STRIP_NAME_ENCODING): Undefine.
10356 (STRIP_NAME_ENCODING): Undefine.
10357 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
10358 (ASM_DECLARE_FUNCTION_NAME): Ditto.
10359 (ASM_OUTPUT_COMMON): Ditto.
10360 (ASM_DECLARE_OBJECT_NAME): Ditto.
10362 * config/arm/pe.c (arm_dllexport_name_p): Check for
10364 (arm_dllimport_name_p): Ditto.
10365 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
10366 (arm_mark_dllimport): Ditto.
10368 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10370 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
10372 2000-02-28 Mark Mitchell <mark@codesourcery.com>
10374 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
10376 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
10378 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
10379 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
10380 NO_BUILTIN_WCHAR_TYPE is not defined.
10381 (CPP_WCHAR_TYPE): Delete.
10382 * cccp.c (main): Don't change wchar_type if cplusplus.
10383 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
10385 2000-02-28 Nick Clifton <nickc@cygnus.com>
10387 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
10389 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
10391 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
10392 (ASM_WEAKEN_LABEL): Define.
10394 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
10396 * expr.c (store_constructor): Do not emit USE.
10397 * rtl.h (stupid_life_analysis): Remove.
10399 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10401 * function.c (number_blocks): Reset next_block_index based on
10402 what debugging format is used, not what is defined.
10404 * lcm.c: Minor reformatting throughout.
10405 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
10407 * toplev.c (rest_of_compilation): Account for time in
10408 optimize_mode_switching.
10410 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
10411 if only marking labels.
10413 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
10415 * calls.c (expand_call): Attempt to combine stack adjustments with
10416 pending stack adjustments.
10418 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10420 * loop.c (reg_in_basic_block_p): Don't abort when falling through
10421 to the end of the function.
10423 2000-02-27 Mark Mitchell <mark@codesourcery.com>
10425 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
10427 * final.c (next_block_index): Remove.
10428 (max_block_depth): Likewise.
10429 (pending_blocks): Likewise.
10430 (init_final): Don't initialize them.
10431 (final_start_function): Don't set next_block_index. Set up
10433 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
10434 * function.h (number_blocks): New function.
10435 * function.c (get_block_vector): New function.
10436 (identify_blocks): Use it.
10437 (reorder_blocks): Set NOTE_BLOCK.
10438 (number_blocks): New function.
10439 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
10440 * tree.h (BLOCK_NUMBER): New macro.
10441 (tree_block): Add block_num field.
10442 * dbxout.c (next_block_number): Remove.
10443 (dbxout_init): Don't set it.
10444 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
10445 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
10447 * toplev.c (rest_of_compilation): Always call
10448 find_loop_tree_blocks. Fix indentation.
10449 * dwarf2out.c (next_block_number): Remove.
10450 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10451 to determine block numbers.
10452 (gen_inlined_subroutine_die): Likewise.
10453 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
10454 (decls_for_scope): Don't increment next_block_number.
10455 * dwarfout.c (next_block_number): Remove.
10456 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10457 to determine block numbers.
10458 (output_inlined_subroutine_die): Likewise.
10459 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
10460 (output_decls_for_scope): Don't increment next_block_number.
10461 * sdbout.c (next_block_number): Remove.
10462 (sdbout_block): Use BLOCK_NUMBER.
10463 (sdbout_begin_block): Simplify.
10464 * xcoffout.c (next_block_number): Remove.
10465 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
10466 (xcoffout_begin_block): Don't set next_block_number.
10467 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
10470 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10472 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
10473 (expand_builtin_strcpy): Pass correct type to size_binop.
10474 (expand_builtin_strcmp): Likewise.
10475 Clean up conditional structure.
10476 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
10477 (complete_array_type): Don't use size_binop for MAXINDEX.
10478 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
10479 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
10480 (c_alignof): Use size_one_node.
10481 (build_unary_op): Pass arg of proper type to size_binop.
10482 (really_start_incremental_init, push_init_level): Use sizetype for
10483 constructor{,_bit,_unfilled}_index.
10484 (pop_init_label, output_init_element): Likewise.
10485 (output_pending_init_elements, process_init_element): Likewise.
10486 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
10487 * expr.c (store_expr): Use size_int.
10488 (store_constructor): Use proper types for size_binop args.
10489 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
10490 (expand_expr_unaligned): Likewise.
10491 (string_contant): Return object of sizetype.
10492 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
10493 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
10494 (ARGS_SIZE_TREE): Pass proper types to size_binop.
10495 * fold-const.c (int_const_binop): Refine when size_int is called.
10496 (fold_convert): Likewise.
10497 (size_int_wide): Rework to take KIND as arg, only take low order
10498 bits, handle new sizetype_tab datatype, and chain entries in
10500 (size_int_type_wide): New function.
10501 (size_binop): Validate types of arguments.
10502 (ssize_binop): Deleted.
10503 (size_diffop): New function.
10504 (extract_muldiv): Only fold division into multiplication for sizetypes.
10505 * function.c (assign_parms): Use size_diffop and make sure
10506 VAR field is of ssizetype; also pass proper type to size_binop.
10507 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
10508 (round_down): Deleted from here.
10509 * store-layout.c (sizetype_tab): Now an array.
10510 (sizetype_set, early_root_list): New variables.
10511 (variable_size): Use size_one_node.
10512 (round_up): Pass proper type to size_binop.
10513 (round_down): Moved to here and corrected as above.
10514 (layout_record): Pass proper arg types to size_binop.
10515 (layout_type): Likewise.
10516 If sizetype_set is zero, record the type just laid out.
10517 (make_unsigned_type): Don't call set_sizetype;
10518 (make_signed_type): Likewise; also, call fixup_signed_type.
10519 (initialize_sizetypes): New function.
10520 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
10521 set name of bitsizetype to "bit_size_type".
10522 Fix up type of sizes of all types made before call.
10523 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
10524 * tree.c (fix_sizetype): Deleted.
10525 (build_common_tree_nodes): Call initialize_sizetypes.
10526 (build_common_tree_nodes_2): Don't call fix_sizetype.
10527 * tree.h (TYPE_IS_SIZETYPE): New macro.
10528 (initialize_sizetype): New declaration.
10529 (enum size_type_kind): New type.
10530 (struct sizetype_tab): Deleted.
10531 (sizetype_tab): Now array; adjust sizetype macros.
10532 (size_diffop, size_int_type_wide): New functions.
10533 (size_int_wide): Change number of args and type; access macros changed.
10534 (ssize_int, sbitsize_int): New macros.
10535 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
10536 (ROUND_TYPE_SIZE_UNIT): New macro.
10538 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
10540 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
10542 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10544 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
10545 Mark as possibly unused.
10547 * cse.c (cse_insn): Delete dead code involving tablejump.
10548 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
10550 * Makefile.in (libcpp.a): Start by deleting it.
10552 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10554 * cpplib.h (enum file_change_code): Added rename_file.
10555 * cpplib.c (do_line): If a filename is given, set file_change to
10557 (output_line_command): If file_change is rename_file, always
10558 output a # directive with the file name.
10560 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
10562 2000-02-26 Mark Mitchell <mark@codesourcery.com>
10564 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
10565 when copying a PARM_DECL or RESULT_DECL.
10567 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10569 * fix-header.c (recognized_function): Also fix prototypes for
10570 functions taking "void".
10572 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10574 * reload1.c (do_output_reload): Check reg_reloaded_valid before
10575 looking at reg_reloaded_contents.
10577 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
10579 * Makefile.in (STMP_FIXINC): New toggle.
10580 (LIBGCC2_DEPS): Delete all references.
10581 (stmp-headers): Delete target. All references either deleted
10582 or changed to stmp-int-headers.
10583 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
10584 (LIBCPP_OBJS): Take out cppalloc.o.
10585 (cppalloc.o): Delete target.
10586 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
10587 (gen-protos, fix-header): Link with libiberty.a.
10588 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
10591 * configure.in: Remove refs to strerror.
10592 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
10593 * system.h: Take out strerror stanza.
10595 * cpperror.c (my_strerror): Delete function.
10596 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
10597 * cppmain.c (main): Call xmalloc_set_program_name first thing.
10598 * cppalloc.c: Delete file.
10599 * gen-protos.c: Don't provide xrealloc.
10601 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
10602 xstrerror throughout.
10604 2000-02-26 Bruce Korb <bkorb@gnu.org>
10606 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
10607 match for DOS headers, too.
10608 * fixinc/inclhack.sh,fixincl.x: Regenerate.
10610 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10612 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
10613 is right for most ELF targets.
10614 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
10615 Let the default file use %U properly.
10616 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
10619 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
10622 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10624 * toplev.c (documented_lang_options): Correct spelling error.
10625 (decode_d_option, decode_f_option, main): Likewise.
10627 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
10629 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
10630 to tell assembler it is permitted to expand large constants.
10632 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
10634 * protoize.c: (AUX_INFO_SUFFIX): New macro.
10635 (aux_info_suffix): Use.
10636 (SAVE_SUFFIX): New macro.
10637 (save_suffix): Use.
10638 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
10639 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
10640 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
10642 * invoke.texi (Running Protoize): Update documentation.
10644 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
10646 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
10648 2000-02-25 John Wehle (john@feith.com)
10650 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
10652 2000-02-25 Anthony Green <green@cygnus.com>
10654 * toplev.c (rest_of_compilation): Rebuild jump labels if
10655 combine_instructions has created a new direct jump.
10656 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
10658 (combine_instructions): Call try_combine with new argument.
10659 Return non-null value when new direct jump instruction is created.
10660 * rtl.h: combine_instructions returns an int.
10662 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
10664 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
10665 jump when changing a computed jump into a jump to a known
10668 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
10670 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
10671 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
10673 * i386.md (define_expand "clrstrsi"): Fix typo.
10675 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
10677 * rtl.texi: Fix typo.
10679 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10681 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
10682 UNITS_PER_WORD. Change caller initial_elimination_offset.
10683 (rounded_frame_size): Take into account that argument pushed has
10684 changed. Fix TARGET_ALIGN_DOUBLE problem.
10686 2000-02-25 Geoff Keating <geoffk@cygnus.com>
10688 * haifa-sched.c (schedule_block): Explain the real reason
10689 we delete REG_SAVE_NOTEs on the first insn of a block.
10690 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
10692 2000-02-24 Mark Mitchell <mark@codesourcery.com>
10694 * input.h (push_srcloc): New function.
10695 (pop_srcloc): Likewise.
10696 * toplev.c (push_srcloc): Define it.
10697 (pop_srcloc): Likewise.
10699 2000-02-24 Richard Henderson <rth@cygnus.com>
10701 * flow.c (life_analysis): When collecting reg info, clear
10704 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10706 Fix bug exposed by reload.c no longer rounding the frame
10707 size to BIGGEST_ALIGNMENT:
10708 * sh.c (rounded_frame_size): New function.
10709 (sh_expand_prologue, sh_expand_epilogue): Use it.
10710 (initial_elimination_offset): Likewise.
10712 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10714 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
10715 * sh-protos.h (sh_need_epilogue): Declare.
10716 * sh.c (sh_need_epilogue_known): New static variable.
10717 (sh_need_epilogue): New function.
10718 (function_epilogue): Clear need_epilogue_known.
10719 * sh.md (return): Split into expander / insn pattern.
10720 Make the expander conditional on ! sh_need_epilogue ().
10722 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
10724 * machmode.h (get_mode_alignment): Declare.
10725 (GET_MODE_ALIGNMENT): Call it.
10726 * stor-layout.c (get_mode_alignment): New function. Make
10727 sure alignment is always power of 2.
10729 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10731 * i386.h: Remove useless definition of "I386" and misleading
10734 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10736 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
10737 under which TREE_PERMANENT will be set.
10738 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
10739 build1): Use TREE_SET_PERMANENT.
10740 * print-tree.c (print_node): Don't report value of
10741 TREE_PERMANENT if ggc_p is true.
10743 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
10744 decide whether to give a type a new alias set.
10745 * objc/objc-act.c (build_objc_string_object): Never copy the string.
10746 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
10747 of value of 'obstack'.
10750 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10752 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
10754 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10756 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
10757 * cpplib.c (cpp_get_token): Produce them.
10758 * cppexp.c (cpp_lex): Handle them.
10760 2000-02-23 Nick Clifton <nickc@cygnus.com>
10762 * config/arm/arm.c (arm_comp_type_attributes): Simply and
10763 comment tests on type attributes.
10765 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10767 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
10768 conform to documentation.
10769 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
10770 to check for special cases.
10771 * sh-protos.h (sh_loop_align): Declare.
10772 * sh.c (sh_loop_align): Define.
10774 2000-02-22 Andrew Haley <aph@cygnus.com>
10776 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
10777 (SIZE_TYPE): Is 32 bits when using -mgp32.
10778 (PTRDIFF_TYPE): Ditto.
10780 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10782 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
10784 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10786 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
10787 BIGGEST_FIELD_ALIGNMENT a constant.
10789 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
10791 * dwarf2out.c (output_line_info): Put the marker for the end of
10792 the line number info at the actual end.
10793 (gen_struct_or_union_type_die): Use decl_function_context
10794 to check for local classes.
10795 * dwarfout.c (output_type): Likewise.
10797 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
10799 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
10800 for arguments with a mode, but no type.
10801 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
10802 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
10803 * pa/long_double.h: New file.
10804 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
10805 both have 128bit wide long doubles.
10806 * configure: Rebuilt.
10808 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10810 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
10812 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
10813 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
10814 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
10816 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
10818 * integrate.c (compare_blocks, find_block): Likewise.
10820 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
10822 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
10824 * stmt.c (stmt_status, set_file_and_line_for_stmt,
10825 expand_asm_operands): Likewise.
10827 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
10829 * predict.c (estimate_probability): Added the pointer heuristic to
10830 the collection of static branch predictors.
10832 2000-02-21 Catherine Moore <clm@cygnus.com>
10834 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
10835 * invoke.texi (-mfix7000): Document.
10837 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
10839 * diagnostic.c (init_output_buffer): Make it possible to output at
10840 least 32 characters if we're given a too long prefix.
10842 2000-02-20 Mark Mitchell <mark@codesourcery.com>
10844 * varasm.c (initializer_constant_valid_p): Call
10845 lang_expand_constant to simplify the constant.
10847 2000-02-20 Bruce Korb <bkorb@gnu.org>
10849 * fixinc/inclhack.def(stdio_va_list):
10850 typedef needs to be disabled.
10851 * fixinc/inclhack.sh: regen
10852 * fixinc/fixincl.x: regen
10854 2000-02-20 Geoff Keating <geoffk@cygnus.com>
10856 * print-rtl.c (print_rtx): Don't print addresses when
10857 flag_dump_unnumbered.
10859 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10861 * sparc.c (sparc_output_scratch_registers): Mark parameter with
10863 (sparc_va_arg, sparc_flat_output_function_prologue,
10864 sparc_flat_output_function_epilogue): Cast value to unsigned in
10866 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
10868 * sparc.md: Add default case in switch.
10870 2000-02-19 Richard Henderson <rth@cygnus.com>
10872 * c-typeck.c (add_pending_init): Don't abort for multiple
10873 fields at the same offset.
10874 (pending_init_member): Test the correct member.
10876 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10878 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
10880 (start_catch_handler) : Same.
10882 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
10884 * Makefile.in: Have flow.o depend on $(EXPR_H)
10886 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10888 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
10889 * c-decl.c (duplicate_decls, finish_enum): Likewise.
10890 (finish_decl): Remove -Wlarger-than code from here.
10891 * flags.h (id_clash_len): Now int.
10892 (larger_than_size): Now HOST_WIDE_INT.
10893 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
10894 Clean up checking to see if in table.
10895 (make_bit_field_ref): Remove extra parm to bitsize_int.
10896 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
10897 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
10898 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
10899 and for computing size of decl.
10900 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
10901 Move -Wlarger-than code to here.
10902 (layout_record): Remove extra arg to bitsize_int.
10903 Set TYPE_BINFO_SIZE_UNIT.
10904 (layout_union): Remove extra arg to bitsize_int.
10905 Use proper type for size of QUAL_UNION.
10906 (layout_type): Remove extra arg to bitsize_int.
10907 * toplev.c (id_clash_len): Now int.
10908 (larger_than_size): Now HOST_WIDE_INT.
10909 (decode_W_option): Clean up id-clash and larger-than- cases.
10910 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10911 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10912 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10913 (struct tree_decl): New field size_unit.
10914 (size_int_wide): No HIGH operand; NUMBER is now signed.
10915 (size_int_2): Deleted.
10916 (size_int, bitsize_int): Don't use it and rework args.
10917 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10919 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
10921 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10923 2000-02-18 Geoff Keating <geoffk@cygnus.com>
10925 * invoke.texi (Warning Options): Add an explanation of why
10926 you might want the -Wfloat-equal flag.
10928 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10930 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10931 * cppinit.c (new_pending_define): Add cast to avoid warning.
10932 * expmed.c (extract_bit_field): Likewise.
10933 * flow.c (enum reorder_skip_type): New type.
10934 (skip_insns_between_blcok): New it.
10935 Rework to avoid warning about possibly undefined variable.
10936 * function.c (assign_parms): Make thisparm_boundary unsigned.
10937 * genrecog.c (write_switch): Cast XWINT result to int.
10938 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
10939 * mips-tfile.c (init_file): Make two versions of FDR intializer:
10940 one for MIPS and one for Alpha.
10941 (get_tag, copy_object): Add casts to avoid warnings.
10942 * optabs.c (init_one_libfunc): Cast NAME to (char *).
10943 * reload.c (find_reloads): Make TYPE enum reload_type.
10944 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
10945 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
10946 * varasm.c (compare_constant_1): Add cast to avoid warning.
10947 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
10949 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
10950 Cast switch operand of size to int.
10951 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
10952 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
10955 2000-02-18 Nick Clifton <nickc@cygnus.com>
10957 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
10958 anything for an alignment of zero.
10960 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
10961 anything for an alignment of zero.
10963 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
10965 * gcc.texi (Bug Reporting): Refer to bugs.html.
10966 (Bug Lists): Likewise.
10967 * system.h (GCCBUGURL): New preprocessor define.
10968 * rtl.c (fancy_abort): Use it.
10969 * gcc.c (main): Likewise.
10971 2000-02-18 Richard Henderson <rth@cygnus.com>
10973 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
10974 (life_analysis_1): Subsume into ...
10975 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
10976 Use update_life_info for the relaxation.
10977 (update_life_info): Update REG_BASIC_BLOCK for registers live on
10978 entry and regs_live_at_setjmp.
10979 (set_noop_p): Simplify.
10980 (notice_stack_pointer_modification_1): Renamed from s/_1//.
10981 (record_volatile_insns): Split into ...
10982 (delete_noop_moves): ... here,
10983 (notice_stack_pointer_modification): ... here,
10984 (insn_dead_p): ... and here.
10985 (propagate_block): Don't query INSN_VOLATILE.
10986 (mark_used_regs): Mind !PROP_REG_INFO.
10987 * toplev.c (rest_of_compilation): Call mark_constant_function here,
10988 not in life_analysis.
10990 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
10992 * loop.c (canonicalize_condition): New function,
10993 broken out of get_condition.
10994 (get_condition): Use it.
10995 * expr.h (canonicalize_condition): Prototype it.
10997 * tree.h (tree_int_cst_msb): Declare.
10998 * tree.c (tree_int_cst_msb): New function.
11000 2000-02-17 Mark Mitchell <mark@codesourcery.com>
11002 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
11005 * invoke.texi (-fmessage-length=n): Document.
11007 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
11009 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
11011 2000-02-17 Mark Mitchell <mark@codesourcery.com>
11013 * function.c (thread_prologue_and_epilogue_insns): Put a line note
11014 after the prologue.
11016 2000-02-17 Nick Clifton <nickc@cygnus.com>
11018 * config/arm/thumb.c: Replace includes of system headers with
11019 #include "system.h".
11021 2000-02-16 Richard Henderson <rth@cygnus.com>
11023 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
11024 Add crtbeginS.o and crtendS.o.
11025 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
11026 (ENDFILE_SPEC): Use crtendS.o.
11027 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
11029 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
11030 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
11031 shared and present.
11032 (__dso_handle): New variable.
11033 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
11034 bias to __CTOR_END__.
11036 2000-02-16 Richard Henderson <rth@cygnus.com>
11038 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
11040 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
11042 * longlong.h (__clz_tab): Declare as static to match definition.
11044 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
11046 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
11047 (XREF_FILE_NAME): Define.
11049 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
11050 (EH_FRAME_SECTION_ASM_OP): Define.
11051 (IDENT_ASM_OP): Define.
11052 (TEXT_SECTION_ASM_OP): Define.
11053 (CPP_SPEC): Define.
11054 (CTORS_SECTION_ASM_OP): Define.
11055 (CTOR_SECTION_FUNCTION): Use it.
11056 (DTORS_SECTION_ASM_OP): Define.
11057 (DTOR_SECTION_FUNCTION): Use it.
11059 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
11061 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
11064 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
11065 debug_bb_n): New functions.
11066 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
11067 * basic-block.h: Prototype new functions.
11069 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
11071 * configure.in: Add support for avr target.
11072 * configure: Rebuilt.
11074 * invoke.texi: Add AVR invocation docs.
11075 * install.texi: Add information about AVR.
11076 * md.texi: Add AVR constraint letters description.
11077 * extend.texi: Add description for AVR specific attributes.
11079 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
11081 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
11083 2000-02-16 Nick Clifton <nickc@cygnus.com>
11085 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
11086 (make_insn_raw): Move RTL check here.
11088 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11090 * version.c: Include gansidecl.h and version.h.
11092 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
11094 * configure.in (gcc_version): When setting, narrow search to
11095 lines containing `version_string'.
11097 * Makefile.in (mainversion): Likewise.
11098 (GCC_H): New variable.
11099 (gcc.h): Delete target.
11100 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
11101 (version.o): Depend on version.h.
11102 (dbxout.o): Don't depend on gcc.h.
11104 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
11105 Michael Meissner <meissner@cygnus.com>
11107 * md.texi (Simple Constraints): Add item about whitespace.
11108 * genoutput.c (strip_whitespace): New.
11109 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
11110 strip_whitespace for constraints.
11111 Test pointer using NULL, not 0.
11113 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11115 * cpplib.c (do_line): Pedwarn for #line > 32767.
11117 * c-lex.c (readescape): Warn about '\x', but do not reject it.
11119 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
11121 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
11122 to default cpp spec.
11123 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
11124 * cpp.texi: Document __GNUC_PATCHLEVEL__.
11127 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
11130 2000-02-15 Denis Chertykov <denisc@overta.ru>
11132 * configure.in: Add support for avr target.
11134 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11136 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
11137 (sh_addr_diff_vec_mode): Don't declare.
11138 * sh.c (sh_addr_diff_vec_mode): Delete.
11140 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11142 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
11144 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11146 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
11147 (smulsi3_highpart_i): Name.
11148 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
11149 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
11150 (smulsi3_highpart, umulsi3_highpart): Likewise.
11152 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
11153 correctly independent of endianness.
11154 (mulsidi3, umulsidi3): Now define_insn. Hide details that
11155 confuse the optimizers.
11156 (mulsidi3+1, umulsidi3+1): New define_split.
11158 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
11160 * config/sh/sh.md: Guard insn splits against illegal registers.
11161 * config/sh/sh.h: Correct comment about macros.
11163 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11164 Andrew MacLeod <amacleod@cygnus.com>
11166 * Makefile.in (lcm.o): Depend on insn-attr.h.
11167 * basic-block.h (optimize_mode_switching): Declare.
11168 * lcm.c (tm_p.h, insn-attr.h): #include.
11169 (seginfo, bb_info): New structs.
11170 (antic, transp, comp, delete, insert) : New file-scope static variables.
11171 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
11172 (reg_becomes_live, optimize_mode_switching): Likewise.
11173 * tm.texi: Add description of mode switching macros.
11174 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
11176 * sh-protos.h (remove_dead_before_cse): Remove prototype.
11177 (fldi_ok, fpscr_set_from_mem): New prototypes.
11178 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
11179 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
11180 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11181 (sh_flag_remove_dead_before_cse): Remove declaration.
11182 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
11183 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
11184 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
11185 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11186 (barrier_align): Allow for JUMP_INSNS containing a parallel.
11187 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
11188 (fldi_ok): New function.
11189 (get_fpscr_rtx): Add fpscr_rtx as GC root.
11190 (emit_sf_insn): Only generate fpu switches when optimize < 1.
11191 (emit_df_insn): Likewise.
11192 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
11193 (sh_flag_remove_dead_before_cse): Delete.
11194 (get_free_reg, fpscr_set_from_mem): New functions.
11195 * sh.md (movdf, movsf): Remove no_new_pseudos code.
11196 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
11198 2000-02-15 Loren Rittle <ljrittle@acm.org>
11200 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
11202 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11204 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
11205 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
11207 * cccp.c: Include version.h and/or don't declare `version_string'.
11208 * collect2.c: Likewise.
11209 * alpha.c: Likewise.
11210 * arm/aof.h: Likewise.
11211 * arm/coff.h: Likewise.
11212 * arm/elf.h: Likewise.
11213 * arm/pe.h: Likewise.
11214 * arm/tcoff.h: Likewise.
11215 * arm/telf.h: Likewise.
11216 * arm/tpe.h: Likewise.
11217 * arm/vxarm.h: Likewise.
11218 * convex/convex.c: Likewise.
11219 * i386/dgux.c: Likewise.
11220 * i386/sun386.h: Likewise.
11221 * m88k/m88k.c: Likewise.
11222 * mcore/mcore-pe.h: Likewise.
11223 * mips/mips.h: Likewise.
11224 * romp/romp.h: Likewise.
11225 * sh/sh.c: Likewise.
11226 * cpphash.c: Likewise.
11227 * cppinit.c: Likewise.
11228 * dwarf2out.c: Likewise.
11229 * dwarfout.c: Likewise.
11232 * mips-tfile.c: Likewise.
11233 * protoize.c: Likewise.
11234 * toplev.c: Likewise.
11235 * tree.h: Likewise.
11237 * version.c (version_string): Constify a char*.
11239 * version.h: New file.
11241 2000-02-14 Nick Clifton <nickc@cygnus.com>
11243 * configure.in: Add mcore-elf and mcore-pe targets.
11244 * configure: Regenerate.
11246 * NEWS: Add note that MCore port has been contributed.
11248 * invoke.texi: Document command line switches for MCore port.
11249 * install.texi: Add MCore to list of supported targets.
11251 2000-02-14 Geoff Keating <geoffk@cygnus.com>
11253 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
11254 then we will need to import the frame handling functions.
11255 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
11256 to import the frames themselves.
11258 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
11259 Jason Eckhardt <jle@cygnus.com>
11261 * basic_block.h: Added prototype for reorder_basic_blocks.
11262 * toplev.c: Changes to add -freorder-blocks and graph dump after
11263 block reordering is done.
11264 * flow.c (reorder_block_def): New structure for use during block
11266 (REORDER_BLOCK_*): New macros to access members of above structure.
11267 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
11268 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
11269 functions for block reordering.
11271 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
11273 * gcc.texi (Passes): Fix typo.
11274 * md.texi (Standard Names): Ditto.
11275 * tm.texi (Storage Layout): Ditto.
11277 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11279 * cpplib.c (do_define): Only free the old definition if it
11282 2000-02-13 Neil Booth <NeilB@earthling.net>
11284 * cppfiles.c (read_and_prescan): When emitting deferred
11285 newlines, test speccase[] again instead of checking each
11286 possible whitespace character in turn. When we encounter \r,
11287 look behind for \n first, then ahead.
11289 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11291 * cse.c (cse_altered): New internal flag.
11292 (cse_insn): Set it if we changed an insn.
11293 (cse_main): Clear cse_altered before each basic block.
11294 Only garbage collect if cse_altered is true afterward.
11296 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11298 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
11300 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
11302 * combine.c (simplify_comparison): Fix typo.
11304 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
11306 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
11309 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11311 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
11312 previously inserted node instead of root node. Caller changed.
11314 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11316 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
11318 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11320 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
11321 __dereg_frame_dtor): Add prototype argument.
11323 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
11325 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
11327 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
11329 * gthr-vxworks.h (__gthread_once): Likewise.
11331 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
11333 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
11335 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
11336 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
11337 stack pointer in functions w/o saved registers, output LEAVE more often
11338 on TARGET_USE_LEAVE machines.
11340 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
11342 * config/arm/arm.c (arm_init_cumulative_args); New function:
11343 Initlaise the CUMULATIE_ARGS strcuture for a function
11345 (arm_function_arg): New function: Determine where to place a
11346 function's argument. Also handles deciding the function's
11348 (current_file_function_operand): New function: Return true if
11349 the symbol is a function which has already been compiled.
11350 (arm_is_long_call_p): New function: Return true if the
11351 indicated function should be called via a long call.
11352 (arm_valid_type_attribute_p): New function: Return true if the
11353 attribute is a valid, arm specific, attribute.
11354 (arm_comp_type_attribute): New function: Return true if the
11355 two types have compatable, arm specific, attributes.
11357 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
11359 (FUNCTION_ARG): Redefine to call arm_function_arg.
11360 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
11362 (INIT_CUMULATIVE_ARGS): Redefine to call
11363 arm_init_cumulative_args.
11364 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
11366 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
11368 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
11370 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
11371 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
11372 (COMP_TYPE_ATTRIBUTES): Define.
11374 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
11375 if a long call is needed.
11376 (call_value): Call arm_is_long_call_p to decide if a long call
11378 (call_symbol): Call arm_is_long_call_p to decide if a long call
11381 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
11383 2000-02-11 Denis Chertykov <denisc@overta.ru>
11385 * README.AVR: New file with information about the avr ports.
11386 * config/avr: New directory with avr port files.
11388 2000-02-11 Andreas Jaeger <aj@suse.de>
11390 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
11392 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
11394 * cpphash.c: Fix formatting, update commentary.
11395 (dump_definition): Take three separate arguments instead of a
11396 MACRODEF structure argument.
11397 * cpphash.h: Update prototype of dump_definition.
11398 * cppinit.c (cpp_finish): Update call of dump_definition.
11400 * cpplib.c (do_define): Always create new hash entry with
11401 T_MACRO type. Remove redundant check for redefinition of
11402 poisoned identifier. Update call of dump_definition.
11403 (do_undef): Don't call check_macro_name. Rename sym_length to
11405 (do_error, do_warning): Don't use copy_rest_of_line or
11407 (do_warning): Don't use pedwarn for the actual warning,
11408 only the notice about its not being in the standard. (Fixes
11409 bug with #warning in system headers.)
11410 (do_ident): Stricter argument checking - accept only a single
11411 string after #ident. Also, macro-expand the line.
11412 (do_xifdef): Use cpp_defined. De-obfuscate.
11414 (do_pragma): Split out specific pragma handling to separate
11415 functions. Use get_directive_token. Update commentary. Do
11416 not pass on #pragma once or #pragma poison to the front end.
11417 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
11418 do_pragma_default): New.
11420 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
11422 * jump.c (jump_optimize_1): The first operand in a relational
11423 can be a CONST_INT.
11424 * optabs.c (emit_conditional_move): Handle relationals which
11425 have a known true/false result.
11427 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11429 * function.c (thread_prologue_and_epilogue_insns): Don't insert
11430 a RETURN insn into a block which already ends with a jump.
11432 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11434 * haifa-sched.c (BUF_LEN): Increase a lot.
11436 2000-02-11 Nick Clifton <nickc@cygnus.com>
11438 * configure.in: Add tm_p_file specification for thumb targets.
11439 * configure: Regenerate.
11441 * config/arm/thumb-protos.h: New file: Prototypes for exported
11442 functions defined in thumb.c.
11444 2000-02-11 Robert Lipe <robertl@sco.com>
11446 * Makefile.in (bootstrap-lean): Remove additional files.
11447 (bootstrap2-lean): Likewise.
11448 (VOL_FILES): List of files for above.
11450 2000-02-11 Nathan Sidwell <nathan@acm.org>
11452 * cpphash.c (special_symbol): Remove spurious argument to
11455 2000-02-11 Joel Sherrill (joel@OARcorp.com>
11457 * configure.in: (i*86-*-rtems*): Swapped elf and coff
11459 * configure: Rebuilt.
11461 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
11463 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
11465 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
11467 * pa.c, pa.h: Remove trigraph sequences within comments.
11469 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
11471 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
11473 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
11475 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
11477 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11479 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
11481 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11483 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
11484 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
11485 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
11486 (ASM_FILE_END): Use c4x_file_end.
11487 * config/c4x/c4x.c (c4x_global_label): New function.
11488 (c4x_external_ref, c4x_file_end): Likewise.
11490 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
11491 (c4x_external_ref, c4x_end_file): Likewise.
11493 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
11495 * cppexp.c: Don't include cpphash.h.
11496 (parse_charconst, cpp_lex): Use cpp_defined.
11497 (cpp_lex): Use get_directive_token throughout. Remove
11498 unnecessary cases from switch. Move assertion-handling code
11499 down to OTHER case.
11500 (cpp_parse_expr): If we see '+' or '-', check the context to
11501 determine if they are unary or binary operators. Streamline
11502 the jumps a bit. Do not call skip_rest_of_line.
11504 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
11505 static. Export get_directive_token. Update commentary.
11506 (cpp_defined): New function.
11507 (do_define): Remove reference to T_PCSTRING. Call
11508 free_definition to release memory for old definition, when
11509 redefining a macro.
11510 (eval_if_expression): Set only_seen_white to 0 before calling
11511 cpp_parse_expr. Call skip_rest_of_line after it returns.
11512 (cpp_read_check_assertion): Don't preserve a pointer into the
11513 token buffer across a call to cpp_get_token.
11515 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
11516 * cppfiles.c (redundant_include_p): Use cpp_defined.
11517 * cpphash.c (free_definition): New function.
11518 (delete_macro): Use it. Update commentary.
11519 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
11521 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
11522 from enum node_type. Prototype cpp_defined and get_directive_token.
11523 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
11525 * fix-header.c (check_macro_names): Use cpp_defined.
11526 (read_scan_file): Set inhibit_warnings and inhibit_errors in
11527 the options structure.
11529 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11531 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
11533 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
11535 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
11536 rather than die->die_tag.
11538 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11540 * combine.c (make_extraction, force_to_mode): Avoid warning on
11541 mixed-signedness conditionals.
11542 (make_field_assignment, nonzero_bits): Likewise.
11543 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
11544 (store_split_bit_field, extract_split_bit_field): Likewise.
11545 (extract_fixed_bit_field, store_bit_field,
11546 * expr.c: Change alignment to be unsigned everywhere.
11547 (move_by_pieces, store_constructor_field, store_constructor):
11548 Alignment parm is unsigned.
11549 (emit_block_move, emit_group_load, emit_group_store): Likewise.
11550 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11551 (do_compare_rtx_and_jump): Likewise.
11552 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
11553 Compare align with GET_MODE_ALIGNMENT.
11554 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
11555 (get_inner_reference): Likewise.
11556 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
11557 (expand_assignment): Local vars for alignment now unsigned.
11558 (store_constructor, store_field, expand_expr, do_jump): Likewise.
11559 (do_compare_and_jump): Likewise.
11560 (store_field): Call new function expr_align.
11561 * expr.h (emit_block_move, emit_group_load, emit_group_store):
11562 Alignment arg now unsigned.
11563 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11564 (do_compare_rtx_and_jump, store_bit_field): Likewise.
11565 (extract_bit_field): Likewise.
11566 * fold-const.c (add_double): Add cast to eliminate signedness warning.
11567 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
11568 (get_best_mode): Alignment arg is unsigned.
11569 * rtl.h (move_by_pieces): Likewise.
11570 * store-layout.c (maximum_field_alignment, set_alignment):
11572 (layout_decl): Alignment arg is now unsigned.
11573 Remove unneeded casts.
11574 (layout_record, layout_union, layout_type): Remove unneeded casts.
11575 Local alignment variables now unsigned.
11576 (get_best_mode): Alignment arg now unsigned.
11577 * tree.c (expr_align): New function.
11578 * tree.h (expr_align): Likewise.
11579 (maximum_field_alignment, set_alignment): Now unsigned.
11580 (get_inner_reference): Alignment argument is now pointer to unsigned.
11581 * varasm.c (assemble_variable): Add cast to eliminate warning.
11583 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
11585 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
11586 then store directly into op0.
11588 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
11589 the CALL_INSN, and emit the note immediately after it.
11591 2000-02-10 Nick Clifton <nickc@cygnus.com>
11593 * config/arm/thumb.md (epilogue): Include a (return) in the
11594 generated insn, and emit it using emit_jump_insn not
11597 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
11599 * function.c (assign_temp): Change zero-sized arrays to size 1.
11600 * integrate.c (expand_inline_function): Do not update
11601 stack_alignment_needed
11602 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
11603 add some sanity checking, remove optimization for function with
11606 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11608 * flow.c (mark_regs_live_at_end): Delete unused variables.
11610 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
11612 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
11613 in macro FRAME_GROWS_DOWNWARD.
11615 * stmt.c (expand_end_bindings): Delete unused variable.
11617 * unroll.c (iteration_info): Mark parameter `loop' with
11620 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11622 * fixinc/server.c (load_data): Return NULL if the marker line is
11624 (run_shell): If load_data returns NULL, retry the command once, in
11627 * configure: Rebuilt.
11629 2000-02-09 Bruce Korb <bkorb@gnu.org>
11631 * gcc/fixincludes: ** DELETED **
11632 * gcc/fixcpp: ** DELETED **
11633 * gcc/fixinc-nt.sed: ** DELETED **
11634 * gcc/just-fixinc: ** DELETED **
11635 * gcc/Makefile.in: Removed out-dated commentary
11636 * gcc/configure.in: Removed fast-fixincludes disablement.
11637 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
11639 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11640 * function.c (thread_prologue_and_epilogue_insns): Uncomment
11643 2000-02-09 Richard Henderson <rth@cygnus.com>
11645 * jump.c (delete_insn): Don't delete user labels at -O0.
11647 2000-02-09 Robert Lipe <robertl@sco.com>
11649 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
11650 Don't link with HOST_LIBS.
11652 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11654 * configure.in: Correct --help text for --with-dwarf2.
11655 Put tm-dwarf2.h after other tm files, if it's requested.
11656 * configure: Regenerate.
11657 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
11660 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11662 * cpplib.h: Provide HASHNODE typedef and forward decl of
11663 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
11664 DEFINITION, struct hashnode, struct macrodef, struct
11665 definition, scan_decls prototype, default defn of
11666 INCLUDE_LEN_FUDGE moved elsewhere.
11668 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
11669 definition, and struct hashnode moved here. Remove the unused
11670 'predefined' field from struct definition. Replace the 'args'
11671 union with its sole member. All users updated (cpphash.c).
11672 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
11673 multiple include guard.
11675 * cpphash.c (hashf): Make static; use better algorithm; drop
11676 HASHSIZE parameter; return an unsigned int.
11677 (cpp_lookup): Drop HASH parameter. PFILE parameter is
11678 used. Calculate HASHSIZE modulus here.
11679 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
11681 (create_definition): Drop PREDEFINITION parameter.
11682 * cpplib.c (do_define): Don't calculate a hash value here.
11683 Don't pass (keyword == NULL) to create_definition.
11685 * scan.h: Prototype scan_decls here.
11686 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
11687 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
11688 callers of cpp_lookup and cpp_install updated.
11690 * cpphash.c (macarg): Hoist all the flag diddling out of the
11692 (macroexpand): ... and out of the loop that calls macarg.
11693 Skip over the initial paren before macro arguments with
11694 cpp_get_non_space_token; point may be some distance before
11695 that paren. Abort if it's not there.
11697 * cpplib.c (parse_clear_mark): Delete function.
11698 (parse_set_mark, parse_goto_mark): Make static.
11699 (ACTIVE_MARK_P): New macro.
11700 (skip_block_comment, skip_line_comment): Do not bump the line
11701 if ACTIVE_MARK_P is true.
11702 (cpp_pop_buffer): The buffer to be popped may not have an
11704 (cpp_get_token): When looking for the initial paren before
11705 macro arguments, only set a mark in a file buffer, Always
11706 return to that mark before proceeding to call macroexpand or
11707 return a NAME token.
11709 * cpplib.h: Remove prototypes of parse_set_mark,
11710 parse_clear_mark, parse_goto_mark.
11711 (struct cpp_options): Rename 'put_out_comments' to
11712 'discard_comments' and invert its sense.
11713 * cppinit.c, cpphash.c, cpplib.c: All users of
11714 put_out_comments changed to use discard_comments, with
11717 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11719 * function.c (thread_prologue_and_epilogue_insns): Don't delete
11720 the edge from a block that both jumps and falls through to the
11723 2000-02-09 Scott Bambrough <scottb@netwinder.org>
11725 * config/arm/arm.md (movsi): In PIC mode, make sure that a
11726 constant source address is legitimate.
11728 2000-02-09 Philip Blundell <pb@futuretv.com>
11730 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
11733 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
11735 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
11737 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11739 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
11740 ends with a newline and a NUL. Don't be so clever manipulating
11743 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
11745 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
11746 not to BIGGEST_ALIGNMENT.
11748 2000-02-08 Geoff Keating <geoffk@cygnus.com>
11750 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
11751 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
11752 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
11753 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
11754 * frame.c (execute_cfa_insn): Handle
11755 DW_CFA_GNU_negative_offset_extended.
11757 2000-02-08 Richard Henderson <rth@cygnus.com>
11759 * flow.c (tidy_fallthru_edges): Split out from ...
11760 (delete_unreachable_blocks): ... here.
11761 (find_basic_blocks): Use it.
11763 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11765 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
11767 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
11769 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
11770 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
11771 (fix-header.o): Don't depend on cpphash.h.
11773 * scan.c (hashstr): New function.
11774 * scan.h: Prototype it.
11775 * fix-header.c: Don't include cpphash.h. Use hashstr.
11776 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
11777 hashstr. Report hash table statistics. Add private
11778 definition of xrealloc.
11780 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11782 * i386.h (TARGET_SWITCHES): Fix typo in option name.
11784 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
11786 * function.c (thread_prologue_and_epilogue_insns): Don't replace
11787 jumps with returns unless they are jumps to the fallthru block.
11789 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
11791 * i386.md (addqi3_cc): Fix contraints.
11793 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11795 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
11797 2000-02-07 Mark Mitchell <mark@codesourcery.com>
11799 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
11800 carriage return after a macro name.
11802 2000-02-07 Fred Fish <fnf@be.com>
11804 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
11805 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
11807 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
11809 * cppfiles.c (deps_output): Count spacers in deps_column.
11811 2000-02-07 Neil Booth <NeilB@earthling.net>
11813 * cppinit.c (initialize_dependency_output): If there is no
11814 suffix, don't try to look for known suffixes. Use strrchr.
11815 (cpp_start_read): Remove duplicate initialization.
11817 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
11819 * calls.c (compute_argument_block_size): New argument
11820 preferred_stack_boundary.
11821 (expand_call): update cfun->preferred_stack_boundary, update call of
11822 compute_argument_block_size
11823 (emit_library_call): Increate cfun->preferred_stack_boundary
11824 to PREFERRED_STACK_BOUNDARY
11825 (emit_library_call_value): Likewise.
11826 * explow.c (allocate_dynamic_stack_spave): Likewise.
11827 * function.c (prepare_function_start): Set
11828 cfun->preferred_stack_boundary
11829 * function.h (struct function): Add preferred_stack_boundary field.
11830 * integrate.c (expand_inline_function): Update
11831 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
11832 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
11833 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
11835 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
11837 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
11838 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
11839 cpp_pedwarn, cpp_pedwarn_with_line,
11840 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
11841 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
11842 v_cpp_error_with_line, v_cpp_warning_with_line,
11843 cpp_message_from_errno, cpp_perror_with_name): Delete.
11845 * cpperror.c (cpp_print_containing_files): Take starting
11846 buffer as argument.
11847 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
11848 (v_cpp_message): Now called directly by all entry points.
11850 (cpp_pfatal_with_name, cpp_message): Delete.
11851 (cpp_notice_from_errno, cpp_ice): New functions.
11852 (cpp_notice): Is now for reporting error conditions, just
11853 without an associated file.
11854 (cpp_error, cpp_error_with_line): Don't do anything if
11855 opts->inhibit_errors is on.
11856 (cpp_pedwarn_with_file_and_line): Take column argument also.
11858 * cpplib.h: Update prototypes of exported functions.
11859 (struct cpp_options): Add inhibit_errors.
11861 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
11862 non-error messages. Include intl.h.
11864 * cppinit.c, cppmain.c: Likewise. Also, use
11865 cpp_notice_from_errno instead of cpp_perror_with_name or
11866 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
11868 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
11869 report internal errors.
11871 * cpplib.c (do_define): Switch bcopy to memcpy.
11872 Give cpp_pedwarn_with_file_and_line a dummy column argument.
11874 * cpplib.c (copy_rest_of_line): Revert previous change: don't
11875 bail out early if we hit a line comment.
11877 2000-02-06 Richard Henderson <rth@cygnus.com>
11879 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
11880 * basic-block.h: Declare them.
11881 * emit-rtl.h (active_insn_p): New.
11882 (next_active_insn, prev_active_insn): Use it.
11883 * rtl.h: Declare it.
11884 * function.c (emit_return_into_block): New.
11885 (thread_prologue_and_epilogue_insns): Insert return insns instead
11886 of epilogues when possible.
11887 * jump.c (jump_optimize_1): Remove code to insert a return insn
11888 on the fallthru to the exit block.
11890 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
11891 and for non-empty stack frames.
11892 * i386.md (return): Expand to return-pop as needed.
11894 2000-02-06 Richard Henderson <rth@cygnus.com>
11896 * simplify-rtx.c (simplify_relational_operation): Canonicalize
11897 constant to op1 for testing.
11899 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11901 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
11902 (fixuns_truncqfqi2): Use it.
11904 2000-02-06 Richard Henderson <rth@cygnus.com>
11906 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11907 as a TYPE_LEA insn.
11909 * i386.md (widening and peepholes): Mask the constant instead of
11912 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11914 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11915 input pointer before possibly branching off to the backslash
11917 * cpphash.c (macroexpand): Correctly delete \r escapes when
11918 stringifying parameters.
11919 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11920 if we can; bail out early if we hit a line comment.
11921 (handle_directive): Treat '# 123' in an .S file just like
11922 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
11923 Return 1 for '# not_a_directive'.
11924 (get_directive_token): Pop macro buffers here, so that
11925 cpp_get_token can't sneakily move past a newline.
11927 (cpp_get_token): goto randomchar if handle_directive returns 0.
11929 * cppalloc.c: Update copyright.
11930 * cpplib.c: Merge all the static function prototypes into one
11932 * cpplib.h: Remove #if 0 block.
11934 * cpperror.c: Remove #ifdef EMACS block.
11935 * cppmain.c: Likewise.
11936 * cpphash.c: Remove #if 0 blocks.
11937 * cppinit.c: Remove #if 0 blocks, and the -lint option.
11938 * cpplib.c: Remove #if 0 blocks and code referencing
11939 pcp_inside_if or for_lint. Remove duplicate error message.
11940 Fix error messages for #else after #else or #elif. Reformat.
11941 Remove archaic TODO list.
11942 * cpplib.h: Remove pcp_inside_if and for_lint flags.
11944 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11946 * i386/osf1elf.h: Add missing backslash to multiline string.
11948 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11950 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
11952 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11954 * Makefile.in (c-common.o): Depend on $(EXPR_H).
11956 * c-common.c: Include expr.h.
11958 * c-pragma.c (mark_align_stack): Add prototype.
11960 * caller-save.c (add_stored_regs): Likewise.
11962 * combine.c (record_promoted_value): Likewise.
11964 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
11967 * cppinit.c (new_pending_define): Likewise.
11969 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
11971 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
11972 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11973 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
11974 class_scope_p): Likewise.
11976 * dwarf2out.h (dwarf2out_set_demangle_name_func,
11977 dwarf2out_add_library_unit_info): Likewise.
11979 * ggc.h (ggc_page_print_statistics): Likewise.
11981 * haifa-sched.c (propagate_deps): Likewise.
11983 * reg-stack.c (next_flags_user, record_label_references): Likewise.
11985 * rtl.h (set_stack_check_libfunc): Likewise.
11987 * toplev.h (set_fatal_function): Likewise.
11989 * toplev.c (set_fatal_function): Delete prototype.
11991 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
11993 2000-02-05 Geoff Keating <geoffk@cygnus.com>
11995 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
11996 (FUNC_END): Likewise.
11998 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12000 * caller-save.c: Include tm_p.h.
12002 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12004 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
12006 2000-02-04 Neil Booth <NeilB@earthling.net>
12008 * cccp.c (main): Check 'dir' for a NULL pointer before passing
12011 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
12013 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
12014 * genflags.c: Use the max_operand_1 logic from genemit.c to
12015 calculate how many arguments gen_insn prototypes have. Remove
12016 NO_MD_PROTOTYPES ifdefs from the generated file.
12017 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
12018 file. Cast gen_insn initializers to insn_gen_fn.
12019 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
12020 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
12022 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12024 * fixinc/Makefile.in (HDR): Add machname.h.
12027 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12029 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
12030 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
12031 (c4x_cpu_version): Ditto.
12032 * config/c4x/c4x-protos.h: ... here.
12034 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
12036 * dwarf2out.c (add_abstract_origin_attribute): Don't call
12037 gen_abstract_function on our context if we're a nested function.
12039 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12041 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
12042 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
12044 2000-02-04 Bruce Korb <bkorb@gnu.org>
12046 * fixinc/genfixes(machname.h):
12047 Move the functionality from gen-machine.h into this file.
12048 UNdef MN_NAME_PAT if there are no names to change.
12049 Also, be a little kinder when AutoGen is not present.
12051 * fixinc/Makefile.in(machname.h):
12052 Change the generation rule to use genfixes.
12054 * fixinc/fixfixes.c(machine_name):
12055 machine_name_fix's functionality now dependent upon whether
12056 MN_NAME_PAT is defined.
12058 * fixinc/fixtests.c(machine_name):
12061 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
12064 * fixinc/fixlib.h(mn_get_regexps):
12067 * fixinc/gen-machine.h: DELETED
12069 2000-02-04 Jan Hubicka <jh@suse.cz>
12070 Richard Henderson <rth@cygnus.com>
12072 * i386.c (SAVE_REGS_FIRST): Remove.
12073 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
12074 (ix86_compute_frame_size): Likewise.
12075 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
12076 (ix86_emit_restore_regs): Remove.
12077 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
12078 when a frame pointer is in use.
12079 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
12080 instead of pop to restore a register when profitable; emit leave
12082 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
12083 as a TYPE_LEA insn.
12084 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
12085 * i386.md (prologue_allocate_stack): Remove.
12086 (epilogue_deallocate_stack): Remove.
12087 (pro_epilogue_adjust_stack): New.
12089 2000-02-04 Richard Henderson <rth@cygnus.com>
12091 * function.c (diddle_return_value): Rework to use a callback function.
12092 Use current_function_return_rtx if it's been set up.
12093 (do_clobber_return_reg, clobber_return_register): New.
12094 (do_use_return_reg, use_return_register): New.
12095 (expand_function_end): Use them.
12096 * stmt.c (expand_null_return): Likewise.
12097 * function.h: Declare them.
12098 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
12099 (mark_reg): Change arguments as appropriate for callback.
12100 * integrate.c (expand_inline_function): Revert 19 Jan change.
12102 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
12104 * tm.texi (Values in Registers): Fix typo: "fo" "for".
12105 (Misc): Say the scheduler, not the Haifa scheduler.
12107 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
12109 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
12110 when in_mem is set. Update all callers.
12112 2000-02-04 Richard Henderson <rth@cygnus.com>
12114 * i386/openbsd.h (INT_ASM_OP): Define.
12116 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
12118 * tm.texi: Fix various typos.
12120 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
12122 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
12123 (MD_STARTFILE_PREFIX_1): New macro.
12125 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
12127 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
12128 destination when needed.
12129 (strmovsi, strsetsi): New expander.
12130 (strmovsi_1, strsetsi_1): New pattern.
12131 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
12132 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
12133 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
12134 * invoke.texi (align-stringops, inline-all-stringops): Document.
12136 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
12138 * i386/netbsd.h (INT_ASM_OP): Define.
12140 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
12142 * cpplib.h (cpp_reader): Add new flag, no_directives.
12143 * cpphash.c (macarg): Set it.
12144 * cpplib.c (handle_directive): If no_directives is on and we
12145 find a directive, issue an error and discard the line.
12147 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
12149 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
12150 FP constants. Add ! TARGET_FPU check for FP constants.
12152 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
12154 * flow.c (find_basic_blocks): Don't kill label_value_list
12156 (cleanup_cfg): Kill it here.
12158 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12160 * expr.c (store_field): Ensure ALIGN is no stricter than the
12163 2000-02-02 Richard Henderson <rth@cygnus.com>
12165 * jump.c (delete_insn): Partially revert 19 Jan change;
12166 don't convert unused code labels to notes at -O0.
12168 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12170 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
12171 split_all_insns to recreate REG_LABEL notes for flow2 pass.
12173 2000-02-01 Richard Henderson <rth@cygnus.com>
12175 * i386.c (general_no_elim_operand): New.
12176 (nonmemory_no_elim_operand): New.
12177 (ix86_expand_move): Copy eliminable operands before a push.
12178 * i386-protos.h: Declare new functions.
12179 * i386.h (CAN_ELIMINATE): Simplify.
12180 (PREDICATE_CODES): Update.
12181 * i386.md (push insns): Don't allow eliminable register operands.
12183 2000-02-01 Richard Henderson <rth@cygnus.com>
12185 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
12186 replace BLKmode with DECL_RTL's mode.
12188 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
12190 * frame.c (find_fde): Convert for loop to do-while so compiler
12191 sees it's always executed at least once.
12192 * libgcc2.c (BBINBUFSIZE): Kill.
12193 (__bb_init_prg): Use fgets.
12194 (__bb_exit_trace_func): Don't paste strings.
12195 * unroll.c (unroll_loop): Initialize unroll_type, not
12196 unroll_number, and tweak logic to match.
12198 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
12200 (ix86_flags_dependant): Likewise. Disentangle control flow.
12201 (ix86_sched_reorder): Break guts out to
12202 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
12203 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
12206 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
12207 use string concatenation. Don't save and restore esi.
12209 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
12210 (machname.h): Remove script to separate file. Use two-step
12211 sequence so target is not created if script fails.
12212 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
12213 identifiers are defined.
12214 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
12215 an empty string, machine_name doesn't need to do anything at
12217 (is_cxx_header): Add more cases to regexp.
12218 * fixinc/fixlib.h: Update prototype.
12219 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
12221 * fixinc/fixincl.c: Define NO_BOGOSITY.
12223 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
12224 (hp_sysfile): Add missing comma.
12225 (math_exception): Put the wrapper ifdefs at the beginning and
12226 the end of the file.
12227 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
12229 2000-02-01 Richard Henderson <rth@cygnus.com>
12231 * sparc.c (fp_zero_operand): Turn into a normal predicate.
12232 Use CONST0_RTX. Update all callers.
12233 * sparc.h, sparc-protos.h: Update accordingly.
12234 * sparc.md (fp mov insns): Use fp_zero_operand directly
12237 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
12239 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
12242 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12244 * Makefile.in (specs.ready): New target.
12245 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
12247 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12249 * fixinc.irix: Use unique filenames for writing into /tmp,
12250 * fixinc.ptx: Likewise.
12251 * fixinc.sco: Likewise.
12252 * fixinc.svr4: Likewise.
12253 * fixinc.winnt: Likewise.
12255 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12257 * tsystem.h: New file.
12259 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
12260 s-crtS): Depend on tsystem.h.
12262 * crtstuff.c: Include tsystem.h.
12263 * frame.c: Likewise.
12264 * libgcc2.c: Likewise.
12266 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
12268 * builtins.c (expand_builtin_memset): Expand for variable sized
12271 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
12273 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
12276 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
12278 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
12280 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
12282 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
12284 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
12285 case 3->2 combining (combining with splitting) in which 2 is CC0
12286 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
12287 checked at the begining of the function with the aid of calling
12288 function 'can_combine_p'.
12290 2000-01-31 Dave Brolley <brolley@redhat.com>
12292 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
12294 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
12296 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
12299 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12301 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
12303 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
12306 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12308 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
12309 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
12310 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
12311 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
12312 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
12313 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
12314 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
12315 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
12316 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
12317 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
12319 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
12320 Add %(cpp_cpu) to CPP_SPEC.
12322 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
12323 Add %(cc1_cpu) to CC1_SPEC.
12325 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12327 * c-decl.c (c_decode_option): Accept optional numeric argument to
12328 -Wformat and set warn_format.
12329 * c-common.c: Don't emit warning about non-constant printf format
12330 string unless warn_format > 1.
12332 2000-01-30 Richard Henderson <rth@cygnus.com>
12334 * alpha.md (return_internal): Allow after reload only.
12336 2000-01-30 Richard Henderson <rth@cygnus.com>
12338 * i386.c (ix86_compute_frame_size): Omit padding1 if the
12339 local frame size is zero.
12341 2000-01-30 Richard Henderson <rth@cygnus.com>
12343 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
12344 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
12345 * alpha.md (return): Turn into an expander.
12346 (return_internal): Don't use $26.
12347 (epilogue): Emit the return insn.
12349 2000-01-30 Richard Henderson <rth@cygnus.com>
12351 * alpha.md (negtf2, abstf2): Fix word order thinko.
12352 (extendsftf2): New.
12353 (trunctfsf2): Avoid intermediate rounding errors.
12355 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12357 * cppfiles.c (find_position): Drop 'colp' argument, return the
12359 (read_and_prescan): Adjust to match. Don't ever manipulate
12360 line or line_base except via find_position.
12362 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12364 * c-parse.in: Apply Ulrich's changes from c-parse.y.
12365 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
12368 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12370 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
12371 just print "<command line>". If 'filename' is null or an
12372 empty string, print "<stdin>" for the filename.
12373 * cpplib.c (do_define): Don't print the 'location of the
12374 previous definition' message if we're still parsing the
12376 (cpp_pedwarn_with_file_and_line): Always call
12377 cpp_file_line_for_message.
12379 2000-01-29 Mark Mitchell <mark@codesourcery.com>
12381 * flow.c (mark_regs_live_at_end): Fix typo.
12383 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12385 * c-common.c: Adjust variable names, comments, help strings to c99.
12386 * c-lex.c: Likewise.
12387 * c-parse.y: Likewise.
12388 * c-tree.h: Likewise.
12389 * cccp.c: Likewise.
12390 * cpplib.h: Likewise.
12391 * c-decl.c: Likewise. Recognize options with names "*99" as well.
12392 * cppinit.c: Likewise.
12394 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12396 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
12397 * c4x.c: Define the optab rtx values.
12398 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
12399 (c4x_emit_libcall): Use new optab rtx values.
12400 (c4x_emit_libcall3): Likewise.
12401 (c4x_emit_libcall_mulhi): Likewise.
12402 * c4x-protos.h: Add prototypes for optab rtx values and change
12403 prototypes for above c4x_emit_libcall functions.
12405 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12407 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
12409 (c4x_function_prologue): Use regnames intead of float_reg_names when
12411 (c4x_function_epilogue): Likewise.
12412 (c4x_print_operand): Likewise.
12413 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
12414 * c4x.md (set_high): Disable for TARGET_TI.
12416 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12418 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
12419 of framepointer + constant to ADDR_REGS class.
12420 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
12421 * c4x.c (std_or_reg_operand): New function.
12422 * c4x-protos.h (std_or_reg_operand): Prototype it.
12424 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12426 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
12427 object names as libgcc2.c.
12428 * libgcc.S: Use newly defined names.
12430 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
12431 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
12433 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
12434 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
12435 (FLOW_LOOP_LAST_BLOCK): Likewise.
12437 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12439 * basic-block.h (struct loop): New fields 'first' and 'last'.
12440 * flow.c (flow_loops_find): Compute loop->first and loop->last.
12441 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
12442 and loop->last to check for NOTE_INSN_LOOP_END.
12444 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
12446 * predict.c (estimate_probability): Use the new FIRST and LAST fields
12447 of the loop descriptor rather than HEADER and LATCH. Also added
12448 missing break statements as well making some coding style modifications
12449 as suggested by Michael Hayes.
12451 2000-01-28 Richard Henderson <rth@cygnus.com>
12453 * flow.c (find_basic_blocks): Remove do_cleanup argument.
12454 Break out that code ...
12455 (cleanup_cfg): ... here.
12456 (commit_one_edge_insertion): Detect a return instruction being
12457 emitted to an edge. Emit a barrier following; clear fallthru.
12458 (commit_edge_insertions): Verify CFG consistency.
12459 * function.c (expand_function_start): Kill unused variable.
12460 (expand_function_end): Likewise.
12461 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
12462 to insert the epilogue.
12464 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
12465 (delete_null_pointer_checks): Likewise.
12466 * output.h: Likewise.
12467 * reg-stack.c (reg_to_stack): Likewise.
12468 * toplev.c (rest_of_compilation): Likewise. Run
12469 thread_prologue_and_epilogue_insns after rebuilding the CFG.
12471 2000-01-28 Richard Henderson <rth@cygnus.com>
12473 * Makefile.in (flow.o): Revert 24 Jan change.
12474 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
12475 FUNCTION_VALUE result to DECL_RESULT's mode.
12477 * haifa-sched.c (schedule_insns): Don't recompute reg info
12480 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
12482 * configure.in: Make --enable-cpplib the default.
12483 * configure: Regenerate.
12484 * gcc.dg/990119-1.c: No longer expected to fail.
12486 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
12488 * jump.c (jump_optimize_1): Delete an optimization that is also done
12489 by merge_blocks in flow.
12491 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12493 * diagnostic.c (build_message_string, output_printf,
12494 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
12495 (build_location_prefix): Fix non-literal format string.
12497 2000-01-27 Richard Henderson <rth@cygnus.com>
12499 * alpha.md (trunctfsf2): New.
12501 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
12503 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
12505 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12507 * cppinit.c (cpp_handle_option): Recognize C++ comments under
12509 * cpplib.c (skip_block_comment, skip_line_comment): Split code
12511 (skip_comment) ... here. Permit C++ comments in system
12512 headers always. Warn about C++ comments in user code under
12513 -std=gnu89 -pedantic.
12514 (copy_comment): Use skip_comment.
12515 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
12517 (consider_directive_while_skipping, do_else, do_endif): Call
12518 validate_else unconditionally.
12519 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
12520 text after the conditional in a system header.
12521 * cpplib.h (struct cpp_buffer): Add flag
12522 warned_cplusplus_comments.
12524 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12526 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
12527 Use unshare_all_rtl_1.
12528 (unshare_all_rtl_again): New function.
12529 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
12531 * function.c (purge_addressof_1): Use unshare_all_rtl_again
12532 rather than resetting the 'used' flags ourself.
12534 * toplev.c (rest_of_compilation): Add current_function_decl
12535 to the unshare_all_rtl call.
12536 * tree.h: Prototype unshare_all_rtl.
12537 * rtl.h: Prototype unshare_all_rtl_again here.
12539 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12541 * genoutput.c (output_prologue): Include ggc.h in generated
12543 * Makefile.in (insn-output.o): Depends on ggc.h.
12545 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
12546 Hans-Peter Nilsson <hp@bitrange.com>
12548 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
12549 Remove redundant include of xm-ns32k.h.
12550 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
12551 Remove redundant include of xm-ns32k.h.
12552 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
12553 Remove redundant include of xm-ns32k.h.
12554 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
12556 * ns32k/ns32k.h: Update comment on multiply-add instructions.
12557 (TARGET_SWITCHES): Add documentation strings.
12558 (DWARF_FRAME_REGNUM): Override default definition.
12559 (REG_CLASS_CONTENTS): Add comments.
12560 (SUBSET_P): Format to reduce line length.
12561 (SMALL_REGISTER_CLASSES): Make a run time option.
12562 (GO_IF_NONINDEXED_ADDRESS): Reformat.
12563 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
12564 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
12565 (regclass_map): fix typo in comment.
12566 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
12567 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
12568 (trace, reg_or_mem_operand): Delete, unused function.
12569 (calc_address_cost): Small offsets are cheaper than large ones.
12570 (expand_block_move): Generate more efficient code when bytes is a
12571 known at compile time.
12572 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
12573 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
12574 instead of reg_or_mem_operand.
12576 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
12577 not general_operand. Similarly use "=rm" or stricter, not "=g".
12578 For input operands, use stricter constraints than "g" if not
12579 general_operand. Similarly use stricter predicate than
12580 "general_operand" when stricter constraints than "g" are present,
12581 except for matching constraints.
12582 (movstrsi): Use "memory_operand" for operands 0 and 1.
12583 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
12584 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
12585 not reg_or_mem_operand.
12586 (udivmoddisi4): Ditto.
12587 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
12588 Use nonimmediate_operand for operand 3, not register_operand.
12589 (udivmoddiqi4_internal): Use register_operand for operand 1, not
12590 reg_or_mem_operand.
12592 2000-01-27 Fred Fish <fnf@be.com>
12594 * gthr-posix.h: Fix typo; compatibily -> compatibility.
12595 * gthr-single.h: Likewise.
12596 * gthr-solaris.h: Likewise.
12597 * gthr-vxworks.h: Likewise.
12598 * gthr-win32.h: Likewise.
12599 * gthr.h: Likewise.
12601 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12603 * cppinit.c: Add " (cpplib)" to end of string printed by
12606 2000-01-27 Richard Henderson <rth@cygnus.com>
12608 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
12609 testing for a signed comparison.
12610 (alpha_emit_floatuns): New.
12611 * alpha-protos.h: Declare it.
12612 * alpha.md (floatunsdisf2, floatunsdidf2): New.
12613 (extendsfdf2): Tidy.
12615 2000-01-27 Jakub Jelinek <jakub@redhat.com>
12617 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
12618 no -g option specifying debugging format, default to -gstabs+.
12620 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12622 * calls.c (special_function_p): New argument fork_or_exec.
12623 (expand_call): When profile_arc_flag is set and the function
12624 is in the fork_or_exec group, call __bb_fork_func first.
12625 * libgcc2.c, _bb module (__bb_fork_func): New function.
12626 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
12628 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
12629 * tree.h (special_function_p): Update prototype.
12631 2000-01-26 Richard Henderson <rth@cygnus.com>
12633 * alpha.c (alpha_split_tfmode_pair): New.
12634 * alpha-protos.h: Declare it.
12635 * alpha.md (abstf2, negtf2): New.
12636 (movtf insn): Add input G constraint.
12637 (movtf splitter): Use alpha_split_tfmode_pair.
12639 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12641 * i386/cygwin.h: PROTO -> PARAMS.
12643 2000-01-26 Jakub Jelinek <jakub@redhat.com>
12645 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
12646 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
12647 using _Qp_cmp/_Q_cmp and testing the return value.
12648 (print_operand): Call reverse_condition_maybe_unordered if
12649 we are handling CCFPmode or CCFPEmode.
12650 Handle ORDERED, UN* and LTGT comparisons.
12651 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
12652 if not TARGET_HARD_QUAD.
12653 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
12654 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
12655 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
12656 Adjust gen_b* calls so that they reflect return comparison of
12657 sparc_emit_float_lib_cmp.
12659 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12661 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
12662 incoming operands array is large enough for one more operand.
12663 (alpha_emit_xfloating_arith): Likewise.
12665 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12667 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
12668 file with one line and no trailing newline.
12669 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
12670 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
12671 checking if the match is on the line.
12672 * fixinc/gnu-regex.c: Provide regerror not __regerror.
12674 2000-01-25 Richard Henderson <rth@cygnus.com>
12676 * sparc.c (output_cbranch): Fix accidental squashing of the
12677 fp branch pre-delay nop.
12679 2000-01-25 Richard Henderson <rth@cygnus.com>
12681 * tree.def (UNNE_EXPR): Remove.
12682 * c-typeck.c (build_binary_op): Don't handle it.
12683 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
12685 * rtl.def (UNNE): Remove.
12687 * jump.c (reverse_condition): Update accordingly.
12688 (swap_condition): Likewise.
12689 (comparison_dominates_p): Handle unordered comparisons.
12690 (reverse_condition_maybe_unordered): New.
12691 * rtl.h (reverse_condition_maybe_unordered): Declare.
12693 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
12694 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
12695 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
12696 * sparc.md (bltgt): New.
12698 2000-01-25 Nick Clifton <nickc@redhat.com>
12700 * emit-rtl.c (emit_insn): Only check machine class insns for
12701 improper emission of a RETURN.
12703 2000-01-25 Richard Henderson <rth@cygnus.com>
12705 * Makefile.in (flow.o): Depend on $(EXPR_H).
12706 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
12707 duplicate the structure of diddle_return_value for keeping regs live.
12709 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12711 * loop.c (current_loop_info): Delete.
12712 (consec_sets_invariant_p): Add loop argument, update callers.
12713 (get_condition_for_loop): Likewise.
12714 (count_nonfixed_reads, update_giv_derive): Likewise.
12715 (simplify_giv_expr, general_induction_var): Likewise.
12716 (consec_sets_giv, recombine_givs): Likewise.
12717 (move_movables): Delete loop_start and loop_end arguments,
12718 add loop argument, and update callers.
12719 (find_mem_givs, check_final_value): Likewise.
12720 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
12721 (loop_invariant_p): Rename from invariant_p, add loop argument, and
12723 (basic_induction_var): Add loop argument, delete loop_level argument,
12724 and update callers.
12725 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
12726 add loop argument, and update callers.
12727 (find_splittable_regs, find_splittable_givs): Likewise.
12728 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
12729 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
12730 (biv_total_increment): Delete loop_start and loop_end arguments;
12732 (precondition_loop_p): Delete loop_start and loop_info arguments;
12734 * loop.h (get_condition_for_loop): Add loop argument.
12735 (biv_total_increment): Delete loop_start and loop_end arguments.
12736 (precondition_loop_p): Delete loop_start and loop_info arguments;
12738 (final_biv_value): Delete loop_start and loop_end arguments;
12740 (final_giv_value, back_branch_in_range_p): Likewise.
12742 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12744 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
12746 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12748 * Makefile.in (c-gperf.h) : Change the "See" pointer to
12749 point to the new "generated_files" doc.
12751 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12753 * config/fp-bit.c (_unord_f2): Fix typo.
12755 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12757 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
12758 c-typeck.c, objc/objc-act.c: Remove all references to obstack
12759 functions obsoleted by GC, such as push_obstacks_nochange,
12760 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
12761 and code which existed only to decide whether or not to call
12762 them. Remove now-unused NESTED argument from start_function;
12763 all callers changed. Do not change behavior based on ggc_p.
12764 The use of the ixp_obstack in c-iterate.c and the util_obstack
12765 in objc/objc-act.c remain; these are not obsoleted by garbage
12767 * c-tree.h: Update prototype for start_function.
12769 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
12771 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12773 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
12776 2000-01-25 Richard Henderson <rth@cygnus.com>
12778 * sparc-protos.h (select_cc_mode): Declare.
12779 * sparc.c (select_cc_mode): New. Handle unordered compares.
12780 (output_cbranch): Always reverse via code change. Handle
12781 unordered compares. Factor tests and string updates.
12782 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
12783 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
12784 * sparc.md (bunordered, bordered): New.
12785 (bungt, bunlt, buneq, bunge, bunle): New.
12787 2000-01-25 Richard Henderson <rth@cygnus.com>
12789 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
12790 * ggc-common.c (ggc_add_rtx_varray_root): New.
12791 (ggc_mark_rtx_varray): New.
12792 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
12793 functions down below ggc_mark_foo.
12794 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
12796 2000-01-25 Richard Henderson <rth@cygnus.com>
12798 * alpha.c (secondary_reload_class): Don't allocate a secondary
12799 for integral mode memories into FLOAT_REGS. Rearrange the more
12800 complicated memory expression inward.
12802 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12804 * inclhack.def: Fixes to play nicer with FreeBSD, and
12805 corrections to comments.
12806 (cxx_unready): Add select expression.
12807 (irix_sockaddr): Add bypass expression.
12808 (machine_ansi_h_va_list): New fix.
12809 (stdio_va_list): No need to edit _BSD_VA_LIST_.
12810 Split out addition of "#include <stdarg.h>" to...
12811 (stdio_stdarg_h): ... here.
12812 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
12813 to stdlib.h also. Do not munge _BSD_SIZE_T_.
12814 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
12816 (ultrix_ifdef): Tighten up select expression.
12818 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
12819 re_ct and max_mach to avoid use of shell. Make printed names
12820 match names in inclhack.def. Use static copyright date.
12821 Don't count c_test and test expressions as requiring regex_t
12822 slots. Add some commentary.
12823 * inclhack.tpl: Do not include the 'This script contains N
12824 fixup scripts' line if PROGRAM is defined. Use static
12827 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
12829 * dwarf2out.c: include "varray.h", not dyn-string.h.
12830 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
12831 (addr_const_to_string, addr_to_string): Lose.
12832 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
12833 (struct dw_val_struct): val_addr is now an rtx.
12834 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
12835 (used_rtx_varray): New varray.
12836 (dwarf2out_init): Initialize it.
12837 (save_rtx): New fn.
12838 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
12840 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
12841 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
12842 * Makefile.in (dwarf2out.o): Update dependencies.
12844 2000-01-24 Richard Henderson <rth@cygnus.com>
12846 * i386.c (i386_dwarf_output_addr_const): New.
12847 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
12849 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
12851 * dwarfout.c (output_mem_loc_descriptor): Likewise.
12852 * i386.c (i386_simplify_dwarf_addr): New.
12853 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
12855 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
12857 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
12858 TYPE_STUB_DECL is NULL.
12860 2000-01-24 Richard Henderson <rth@cygnus.com>
12862 * builtins.c (expand_tree_builtin): Move ...
12863 * c-common.c (expand_tree_builtin): ... here.
12865 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12867 * loop.h (LOOP_INFO): New accessor macro.
12868 * basic-block.h (struct loop): Rename field `info' to `aux'.
12869 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
12870 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
12871 * unroll.c (loop_iterations, unroll_loop): Likewise.
12873 2000-01-24 Christopher Faylor <cgf@cygnus.com>
12875 * config/i386/t-cygwin: Accomodate new winsup directory layout
12876 when searching for include files.
12878 2000-01-24 Richard Henderson <rth@cygnus.com>
12880 * rtl.def: Add unordered fp comparisions.
12881 * tree.def: Likewise.
12882 * tree.h: Add ISO C 9x unordered fp comparision builtins.
12884 * builtins.c (expand_tree_builtin): New function.
12885 * c-typeck.c (build_function_call): Use it.
12886 (build_binary_op): Support unordered compares.
12887 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
12889 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
12890 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
12891 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
12892 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
12893 * jump.c (reverse_condition): Don't abort for UNLE etc, but
12895 (swap_condition): Handle unordered compares.
12896 (thread_jumps): Check can_reverse before reversing.
12897 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
12900 * optabs.c (can_compare_p): New argument CODE. Verify branch or
12901 setcc is present before acking for cmp_optab. Update all callers.
12902 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
12903 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12904 * expr.c (expand_expr): Likewise. Support unordered compares.
12905 (do_jump, do_store_flag): Likewise.
12906 * expr.h (enum libfunc_index): Add unordered compares.
12908 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12909 (DPBIT_FUNCS): Add _unord_df.
12910 * config/fp-bit.c (_unord_f2): New.
12911 * fp-test.c (main): Try unordered compare builtins.
12913 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12914 * alpha.c (alpha_comparison_operator): Check mode properly.
12915 (alpha_swapped_comparison_operator): Likewise.
12916 (signed_comparison_operator): Likewise.
12917 (alpha_fp_comparison_operator): New.
12918 (alpha_emit_conditional_branch): Handle unordered compares.
12919 * alpha.h (PREDICATE_CODES): Update.
12920 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12921 (bunordered, bordered): New.
12923 2000-01-24 Richard Henderson <rth@cygnus.com>
12925 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12926 * alpha.md (movtf): New expander, insn, and splitter.
12928 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
12930 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12933 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
12935 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
12936 (FIXED_REGISTERS, CALL_USED_REGISTERS,
12937 REG_ALLOC_ORDER): Add frame pointer
12938 (FRAME_POINTER_REGNUM): Set to 20
12939 (HARD_FRAME_POINTER_REGNUM): New macro.
12940 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
12941 to HARD_FRAME_POINTER.
12942 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
12943 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12944 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
12945 (HI_REGISTER_NAMES): Add "frame".
12946 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
12947 (debug_reg): Handle FRAME_POINTER_REGNUM.
12948 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
12949 GENERAL_REGS and INDEX_REGS.
12950 * i386.c (SAVED_REGS_FIRST): new macro.
12951 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
12952 (ix86_decompose_address, memory_address_length): Likewise.
12953 (regclass_map): Add frame pointer.
12954 (call_insn_operand): Handle frame_pointer_rtx.
12955 (reg_no_sp_operand): Likewise.
12956 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
12957 (print_operand, legitimize_pic_address): Fix formating.
12958 (ix86_compute_frame_size): Make static, update prototype, new
12959 parameters padding1, padding2, use ix86_nsaved_regs, use
12960 stack_alignment_needed.
12961 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
12962 to HARD_FRAME_POINTER_REGNUM conversions.
12963 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
12964 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
12965 (print_reg): Abort on FRAME_POINTER_REGNUM
12967 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
12969 * i386.h (PREDICATE_CODES): Add aligned_operand.
12970 * i386.c (aligned_operand): New function.
12971 (ix86_aligned_p): Kill.
12972 * i386.md (movhi_1): Emit mov for aligned operands.
12973 (promoting peep2s): Use aligned_operand.
12975 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
12977 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
12978 expression to allow underscores in macro names.
12979 (fix_char_macro_defines): Increment scanning pointer.
12981 2000-01-23 Richard Henderson <rth@cygnus.com>
12983 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
12984 * alpha/osf5.h: New file.
12985 * configure.in (alpha-*-osf5): Add it to tm_file.
12987 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
12989 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
12990 (alpha_emit_xfloating_cvt, function_arg): Declare.
12991 * alpha.c (alpha_emit_conditional_branch): Call
12992 alpha_emit_xfloating_compare for TFmode compares.
12993 (alpha_lookup_xfloating_lib_func): New.
12994 (alpha_compute_xfloating_mode_arg): New.
12995 (alpha_emit_xfloating_libcall): New.
12996 (alpha_emit_xfloating_arith): New.
12997 (alpha_emit_xfloating_compare): New.
12998 (alpha_emit_xfloating_cvt): New.
12999 (print_operand): Add default abort case.
13000 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
13001 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
13002 (BIGGEST_ALIGNMENT): Increase to 128 bits.
13003 (RETURN_IN_MEMORY): True for TF/TCmode.
13004 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
13005 (FUNCTION_ARG): Move to function_arg.
13006 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
13007 (ASM_OUTPUT_LONG_DOUBLE): New.
13008 (ASM_OUTPUT_DOUBLE): Always output bits.
13009 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
13010 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
13011 (extenddftf2, trunctfdf2): New.
13013 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13015 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
13016 * config/sparc/sol2.h: ... here.
13018 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13020 * basic-block.h (struct loops): New field `levels'.
13021 * flow.c (flow_loops_level_compute): Traverse all outer loops.
13022 (flow_loop_level_compute): Initialise level to 1.
13023 (flow_loops_find): Set loops->levels.
13024 (flow_loops_dump): Print loops->levels.
13026 2000-01-23 Richard Henderson <rth@cygnus.com>
13028 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
13029 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
13031 2000-01-23 Richard Henderson <rth@cygnus.com>
13033 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
13034 * i386.h (DBX_REGISTER_NUMBER): Use them.
13035 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
13036 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
13037 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
13038 * i386/sequent.h: Kill incorrect comment.
13040 2000-01-23 Mark Mitchell <mark@codesourcery.com>
13042 * ggc-page.c (struct page_entry): Make `context_depth' an
13044 (struct globals): Likewise.
13046 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
13048 * loop.c (check_dbra_loop): When checking a loop for
13049 reversability, check the source of any stores to ensure
13050 they don't depend on an initial value.
13052 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13054 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
13056 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
13058 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
13059 'pz_scan' into scope of entire function. Only affects
13060 compiles with -DDEBUG.
13062 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
13064 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
13065 section naming to that prior to 2000-01-07 patch.
13066 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
13067 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
13068 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
13069 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
13070 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
13072 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
13074 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
13077 2000-01-21 Jim Wilson <wilson@cygnus.com>
13079 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
13080 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
13082 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
13084 * cpphash.c (change_newlines): Delete function.
13085 (struct argdata): Delete 'newlines' and 'use_count' fields.
13086 (macroexpand): Remove code referencing those fields.
13088 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13090 * loop.c (loops_info): New variable.
13091 (loop_optimize): Allocate loops->array and free it on exit.
13092 Allocate memory for loops_info and assign to each loop,
13094 (find_and_verify_loops): Do not allocate loops->array.
13096 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
13098 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
13100 2000-01-21 Jakub Jelinek <jakub@redhat.com>
13102 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
13103 pseudos if expanded after first flow.
13104 (movdi_pic_label_ref): Likewise.
13106 2000-01-20 Richard Henderson <rth@cygnus.com>
13108 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
13110 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
13112 * Makefile.in (fixinc.sh): Depend on specs.
13113 * fixinc/Makefile.in: Add rule to create machname.h.
13114 (fixlib.o): Depend on machname.h.
13115 * fixinc/fixtests.c (machine_name): New test.
13116 * fixinc/fixfixes.c (machine_name): New fix.
13117 * fixinc/fixlib.c (mn_get_regexps): New helper function for
13118 the machine_name test and fix.
13119 * fixinc/fixlib.h: Prototype it.
13120 * fixinc/inclhack.def (machine_name): Use the C test and fix.
13121 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
13123 * gcc.c (do_spec_1) [case P]: Take care not to create
13124 identifiers with three leading or trailing underscores.
13126 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
13127 (fixincl): Don't specify libraries twice on link line.
13128 (gnu-regex.o): Remove special rule.
13129 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
13130 defined by config.h. Do not define _REGEX_RE_COMP.
13131 (regcomp): Allocate and initialize a fastmap.
13132 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
13134 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
13136 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
13138 2000-01-19 Richard Henderson <rth@cygnus.com>
13140 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
13141 arguments with BB. Update all callers. Tidy line wrapping.
13143 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
13145 * emit-rtl.c (try_split): Return last_insn if we split the
13148 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
13150 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
13151 (ix86_initial_elimination_offset): Declare.
13152 * i386.c (ix86_nsaved_regs): Break out from ...
13153 (ix86_can_use_return_insn_p): ... here.
13154 (ix86_emit_save_regs): Break out from ...
13155 (ix86_expand_prologue): ... here.
13156 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
13158 (ix86_expand_epilogue): ... here.
13159 (ix86_compute_frame_size): Make static, add prototype.
13160 (ix86_initial_elimination_offset): Break out from ...
13161 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
13163 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13165 * recog.h (OUT_FCN): Delete.
13167 * vax.md: Call `get_insn_template' instead of OUT_FCN.
13169 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13171 * cppalloc.c: PROTO -> PARAMS.
13172 * cpperror.c: Likewise.
13173 * cppfiles.c: Likewise.
13174 * cpplib.c: Likewise.
13175 * cpplib.h: Likewise.
13177 * config/arm/arm-protos.h: PROTO -> PARAMS.
13178 * config/arm/arm.c: Likewise.
13179 * config/c4x/c4x.c: Likewise.
13180 * config/fr30/fr30-protos.h: Likewise.
13181 * config/nextstep.c: Likewise.
13182 * config/pa/pa.c: Likewise.
13183 * config/pj/pj.c: Likewise.
13184 * config/rs6000/rs6000.c: Likewise.
13185 * config/v850/v850-protos.h: Likewise.
13186 * config/v850/v850.c: Likewise.
13188 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13190 * i370-protos.h: New file.
13192 * i370.c: Include tm_p.h. Fix compile time warnings.
13194 * i370.h: Move prototypes to i370-protos.h. Fix compile time
13197 * i370.md: Likewise.
13199 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13201 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
13202 (target_isinf, target_isnan, eisnan): Mark parameter with
13204 (eiisinf): Wrap in INFINITY.
13205 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
13206 (ibmtoe): Remove unused variable `rndsav'.
13208 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13210 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
13211 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
13213 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
13215 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
13216 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
13217 (fix_char_macro_defines, fix_char_macro_uses): New functions.
13219 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
13220 Recognize Emacs mode markers also.
13221 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
13222 C++ comments in C++ headers. Call is_cxx_header only if
13225 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
13226 bypass for ncurses.
13227 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
13228 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
13229 ... these, which use the new C fixes.
13230 (math_exception): Escape literal '+' in bypass expression.
13232 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
13235 2000-01-19 Geoff Keating <geoffk@cygnus.com>
13237 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
13240 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13242 * loop.c (loop_optimize): Allocate loop_info structure for each loop
13243 prior to calling scan_loop.
13245 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13247 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
13248 (split_branches, calc_live_regs): Likewise.
13250 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13252 * sh.md (fpu_single, fp_mode): New attributes.
13254 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13256 * loop.c (current_loop_info): Renamed from loop_info_data
13257 and changed to a pointer.
13258 (loop_optimize): Allocate loop_info structure for each loop
13259 and initialise to zero.
13260 (scan_loop): Set current_loop_info.
13262 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
13265 2000-01-19 Richard Henderson <rth@cygnus.com>
13267 * stupid.c: Die die die.
13268 * Makefile.in (OBJS): Remove stupid.o.
13269 (stupid.o): Likewise.
13271 * except.c (emit_eh_context): Don't emit USEs for stupid.
13272 * explow.c (probe_stack_range): Likewise.
13273 * flags.h (obey_regdecls): Remove.
13274 * flow.c (find_basic_blocks): Don't run try_merge_blocks
13275 when not optimizing.
13276 (life_analysis): Limit data collection when not optimizing.
13277 (mark_regs_live_at_end): Always mark the return value registers.
13278 (mark_used_regs): Remove dummy RETURN case.
13279 (print_rtl_with_bb): Don't consult obey_regdecls.
13280 * function.c (use_variable, use_variable_after): Remove.
13281 (assign_parms): Consult optimize not obey_regdecls.
13282 (expand_function_start): Don't emit USEs for stupid.
13283 (expand_function_end): Likewise.
13284 * global.c (build_insn_chain): Export.
13285 * integrate.c (expand_inline_function): Kill return-value USE
13287 * jump.c (jump_optimize_1): Do simple jump optimizations and
13288 dead code elimination.
13289 (calculate_can_reach_end): Remove check_deleted argument.
13290 (delete_insn): Patch out insns even when not optimizing.
13291 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
13292 * rtl.h (use_variable, use_variable_after): Remove declarations.
13293 (build_insn_chain): Declare.
13294 * stmt.c (expand_value_return): Don't emit USEs for stupid.
13295 (expand_end_bindings): Likewise.
13296 (expand_decl): Likewise. Consult optimize not obey_regdecls.
13297 * toplev.c (obey_regdecls): Remove.
13298 (rest_of_compilation): Don't set it. Kill stupid in favour of
13299 flow1, local-alloc, and reload.
13300 (main): Don't set obey_regdecls.
13302 * config/nextstep.c (handle_pragma): Likewise.
13304 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
13306 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
13308 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13310 * alpha-protos.h: PROTO -> PARAMS.
13311 * alpha.c: Likewise.
13313 * h8300.c: Likewise.
13314 * i386-protos.h: Likewise.
13315 * i386.c: Likewise.
13316 * m32r-protos.h: Likewise.
13317 * m32r.c: Likewise.
13318 * mips.c: Likewise.
13319 * mips.md: Likewise.
13320 * gmon-sol2.c: Likewise.
13321 * sparc.c: Likewise.
13323 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13325 * ns32k-protos.h: New file.
13327 * ns32k.c: Fix compile time warnings.
13329 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
13332 * ns32k.md: Likewise.
13334 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13336 * vax-protos.h: New file.
13338 * vax.c: Fix compile time warnings.
13340 * vax.h: Move prototypes to vax-protos.h. Fix compile time
13343 * vax.md: Likewise.
13345 * vaxv.md: Likewise.
13347 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13349 * romp-protos.h: New file.
13351 * romp.c: Fix compile time warnings.
13353 * romp.h: Move prototypes to romp-protos.h. Fix compile time
13356 * romp.md: Likewise.
13358 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13360 * we32k-protos.h: New file.
13362 * we32k.c: Fix compile time warnings.
13364 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
13367 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13369 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
13371 * except.c (eh_regs): Likewise.
13373 * final.c (output_operand): Likewise.
13375 * fold-const.c (target_isinf, target_isnan): Likewise.
13377 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13379 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
13380 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
13382 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
13383 when optimize_size.
13384 (clrstrsi): Rewrite.
13385 (strsethi, strsetqi): New expanders.
13386 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
13387 (cmpstrsi): Emit compare insn before cmpstrsi_1
13388 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
13389 (strlensi_1): Likewise.
13390 (cmpstrsi_1): Likewise; do not output compare.
13391 (strlen expander): Do not unroll when optimizing for size.
13392 (*subsi3_carry): Rename to subsi3_carry
13393 (addqi3_cc): New pattern.
13394 * i386.h (processor_costs): Add move_ratio field.
13395 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
13396 * i386.c (*_cost): Set move_ratio.
13397 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
13398 (x86_expand_strlensi_1): Rewrite the main loop.
13400 2000-01-17 Richard Henderson <rth@cygnus.com>
13402 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
13403 * cse.c (find_comparison_args, fold_rtx): Likewise.
13404 * integrate.c (subst_constants): Likewise.
13405 * loop.c (get_condition): Likewise.
13407 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
13409 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
13411 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13413 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
13414 (RESTORE_WARN_FLAGS): Unpack it.
13415 Change semantic type of extension to ttype.
13416 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
13417 * c-parse.y, c-parse.c, objc/objc-parse.y,
13418 objc/objc-parse.c: Regenerate.
13420 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
13422 * fixinc/fixlib.c: Add copyright notice.
13423 (compile_re): New function.
13424 * fixinc/fixlib.h: Prototype compile_re.
13426 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
13427 Use compile_re to compile regular expressions.
13429 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
13430 where the pattern matched.
13432 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
13434 (ultrix_ansi_compat): Likewise.
13435 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
13437 (interactv_add2, interactv_add3): Delete.
13438 (x11_sprintf): Don't use filename glob.
13439 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
13442 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13444 * print-rtl.c: PROTO -> PARAMS.
13445 * real.c: Likewise.
13446 * reg-stack.c: Likewise.
13447 * resource.c: Likewise.
13448 * sdbout.h: Likewise.
13449 * simplify-rtx.c: Likewise.
13450 * stor-layout.c: Likewise.
13451 * stupid.c: Likewise.
13452 * xcoffout.c: Likewise.
13453 * xcoffout.h: Likewise.
13455 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13457 * toplev.c: PROTO -> PARAMS.
13458 * toplev.h: Likewise.
13459 * tree.c: Likewise.
13460 * tree.h: Likewise.
13461 * unroll.c: Likewise.
13462 * varasm.c: Likewise.
13463 * varray.c: Likewise.
13464 * varray.h: Likewise.
13466 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13468 * reload.c: PROTO -> PARAMS.
13469 * reload.h: Likewise.
13470 * reload1.c: Likewise.
13471 * reorg.c: Likewise.
13472 * resource.h: Likewise.
13475 * rtlanal.c: Likewise.
13476 * sbitmap.h: Likewise.
13477 * sdbout.c: Likewise.
13478 * stack.h: Likewise.
13479 * stmt.c: Likewise.
13480 * system.h: Likewise.
13482 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13484 * machmode.h: PROTO -> PARAMS.
13485 * mbchar.h: Likewise.
13486 * mips-tdump.c: Likewise.
13487 * mips-tfile.c: Likewise.
13488 * optabs.c: Likewise.
13489 * output.h: Likewise.
13490 * prefix.c: Likewise.
13491 * profile.c: Likewise.
13492 * protoize.c: Likewise.
13493 * real.h: Likewise.
13494 * recog.c: Likewise.
13495 * recog.h: Likewise.
13496 * regclass.c: Likewise.
13497 * regmove.c: Likewise.
13498 * regs.h: Likewise.
13500 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13502 * ggc-common.c: PROTO -> PARAMS.
13503 * ggc-page.c: Likewise.
13504 * ggc-simple.c: Likewise.
13506 * global.c: Likewise.
13507 * graph.c: Likewise.
13508 * gthr-win32.h: Likewise.
13509 * haifa-sched.c: Likewise.
13510 * halfpic.h: Likewise.
13511 * integrate.c: Likewise.
13512 * integrate.h: Likewise.
13513 * jump.c: Likewise.
13515 * local-alloc.c: Likewise.
13516 * loop.c: Likewise.
13517 * loop.h: Likewise.
13519 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13521 * genattr.c: PROTO -> PARAMS.
13522 * genattrtab.c: Likewise.
13523 * gencheck.c: Likewise.
13524 * gencodes.c: Likewise.
13525 * genconfig.c: Likewise.
13526 * genemit.c: Likewise.
13527 * genextract.c: Likewise.
13528 * genflags.c: Likewise.
13529 * gengenrtl.c: Likewise.
13530 * genopinit.c: Likewise.
13531 * genoutput.c: Likewise.
13532 * genpeep.c: Likewise.
13533 * genrecog.c: Likewise.
13535 2000-01-16 Mark Mitchell <mark@codesourcery.com>
13537 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
13539 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13541 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
13542 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
13543 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
13544 * configure, config.in: Rebuilt.
13546 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
13548 * config/i386/i386.md: Add peephole to merge successive stack
13551 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
13553 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
13554 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
13555 when walking backwards to find all the parameter loads when
13556 the basic block ends in a call.
13558 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13560 * loop.c (this_loop_info): Delete.
13561 (uid_loop): Add in place of uid_loop_num. All uses updated.
13562 (loop_number_exit_count): Delete and replace with entry in loop
13563 structure. All uses updated.
13564 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13565 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13566 (loop_outer_loop): Likewise.
13567 (loop_invalid, loop_number_exit_labels): Likewise.
13568 (loop_used_count_register): Delete and replace with entry in
13569 loop_info structure.
13570 (find_and_verify_loops): Add loops argument.
13571 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
13572 loop_end, etc. arguments with loop structure pointer. All callers
13574 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
13575 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
13576 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
13577 (insert_bct): Likewise.
13578 (basic_induction_var): New argument level.
13579 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
13580 vtop, and cont. Add used_count_register.
13581 (uid_loop): Delete declaration.
13582 (loop_number_exit_count): Likewise.
13583 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13584 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13585 (loop_outer_loop, loop_used_count_register): Likewise.
13586 (loop_invalid, loop_number_exit_labels): Likewise.
13587 (unroll_loop): Replace loop_start and loop_end arguments
13588 with loop structure pointer.
13589 (loop_precondition_p, loop_iterations): Likewise.
13590 Include basic-block.h.
13591 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
13592 with loop structure pointer.
13593 (loop_precondition_p, loop_iterations): Likewise.
13594 * basic-block.h (struct loop): New entries vtop, cont,
13595 cont_dominator, start, end, top, scan_start, exit_labels,
13597 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
13599 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13601 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
13603 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
13605 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
13607 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13609 * pdp11-protos.h: New file.
13611 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
13614 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
13617 * pdp11.md: Likewise.
13619 * 2bsd.h: Likewise.
13621 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13623 * mn10300-protos.h: New file.
13625 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
13628 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
13631 * mn10300.md: Likewise.
13633 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13635 * mn10200-protos.h: New file.
13637 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
13640 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
13643 * mn10200.md: Likewise.
13645 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13647 * h8300-protos.h: New file.
13649 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
13652 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
13655 * h8300.md: Likewise.
13657 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13659 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
13660 (asm_emit_uninitialised): Likewise.
13662 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
13664 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
13665 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
13667 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13669 * config/mips/mips.c (override_options): Don't turn on extra
13670 alignment for mips16.
13672 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13674 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
13675 eabi, and make sure queued POSTINCREMENT rtl is emitted at
13678 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13680 * builtins.c (PAD_VARARGS_DOWN): Define.
13681 (std_expand_builtin_va_arg): Use the above macro.
13682 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
13683 * tm.texi (Register Arguments): Document the above macro.
13685 2000-01-14 Nick Clifton <nickc@cygnus.com>
13687 * emit-rtl.c (emit_insn): If checking is enabled, make sure
13688 that this function has not been used to emit a jump
13691 * jump.c (return_jump_1): Cope with being passed a null rtx.
13693 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13695 * eh-common.h: PROTO -> PARAMS.
13696 * emit-rtl.c: Likewise.
13697 * errors.c: Likewise.
13698 * errors.h: Likewise.
13699 * except.c: Likewise.
13700 * except.h: Likewise.
13701 * explow.c: Likewise.
13702 * expmed.c: Likewise.
13703 * expr.c: Likewise.
13704 * expr.h: Likewise.
13705 * final.c: Likewise.
13706 * fix-header.c: Likewise.
13707 * flow.c: Likewise.
13708 * fold-const.c: Likewise.
13709 * function.c: Likewise.
13710 * function.h: Likewise.
13712 * gcov-io.h: Likewise.
13713 * gcov.c: Likewise.
13714 * gcse.c: Likewise.
13716 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13718 * sh-protos.h: New file.
13720 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
13721 Add static prototypes. Fix compile time warnings.
13723 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
13727 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13729 * arc-protos.h: New file.
13731 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
13734 * arc.h: Move prototypes to arc-protos.h. Fix compile time
13737 * arc.md: Likewise.
13739 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13741 * dsp16xx-protos.h: New file.
13743 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
13746 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
13749 * dsp16xx.md: Likewise.
13751 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13753 * convex-protos.h: New file.
13755 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
13758 * convex.h: Move prototypes to convex-protos.h. Fix compile time
13761 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13763 * elxsi-protos.h: New file.
13765 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
13768 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
13771 * elxsi.md: Likewise.
13773 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13775 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
13776 case for moving from HI/LO/HI_LO_REG. This makes the behavior
13777 match the comment for MIPS16.
13779 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
13781 * flow.c (split_edge): Do not call set_block_for_insn if we
13782 do not have a basic_block_for_insn structure.
13784 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
13785 and destination functions are 32bit aligned within the trampoline.
13786 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
13787 (TRAMPOLINE_ALIGNMENT): Define.
13789 * cse.c (cse_insn): When changing (set (pc) (reg)) to
13790 (set (pc) (label_ref)), verify the change creates a valid insn.
13792 * fr30.c (call_operand): Tighten and rework to match rules for
13793 call RTL expressions.
13794 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
13795 * fr30.md (call patterns): Improve constraints.
13797 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
13799 * fr30.c (fr30_expand_epilogue): Revert last change.
13800 Use emit_jump_insn for the return insn.
13802 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
13803 Stan Cox <scox@cygnus.com>
13805 * predict.c: New file. Preliminary infrastructure work for static
13806 branch prediction and basic block reordering.
13807 * basic-block.h: Add prototype for estimate_probability.
13808 * Makefile.in: Add rules for predict.o.
13810 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
13812 * fixincludes (va_list): Use __not_va_list__ for the dummy.
13813 * fixinc/*: Likewise.
13815 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13817 * cccp.c: PROTO -> PARAMS.
13818 * cexp.y: Likewise.
13819 * collect2.c: Likewise.
13820 * combine.c: Likewise.
13821 * convert.h: Likewise.
13823 * dbxout.c: Likewise.
13824 * dbxout.h: Likewise.
13825 * diagnostic.c: Likewise.
13826 * doprint.c: Likewise.
13827 * dwarf2out.c: Likewise.
13828 * dwarf2out.h: Likewise.
13829 * dwarfout.c: Likewise.
13830 * dwarfout.h: Likewise.
13831 * dyn-string.h: Likewise.
13833 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13835 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
13836 macro conditionals guarding use.
13838 * dwarf2out.c: Include "tm_p.h".
13840 * function.c (locate_and_pad_parm): Mark parameter with
13842 (expand_function_end): Likewise for variable `context'.
13844 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
13846 2000-01-13 Nick Clifton <nickc@cygnus.com>
13848 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
13849 register to prevent compile time warnings.
13851 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
13853 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
13854 to avoid -Wtraditional warning.
13856 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13858 * 1750a-protos.h: New file.
13860 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
13863 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
13866 * 1750a.md: Likewise.
13868 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13870 * a29k-protos.h: New file.
13872 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
13875 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
13878 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13880 * clipper-protos.h: New file.
13882 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
13885 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
13888 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13890 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
13892 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
13894 * configure.in (--enable-new-gxx-abi): New option.
13895 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
13896 * Makefile.in (GXX_ABI_FLAG): New variable.
13897 * configure: Regenerate.
13899 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13901 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
13902 * tm.texi (FORCE_STRUCT_BLK): Document.
13903 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13905 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
13907 * config/ns32k/ns32k.md: Revert Jan 9 change.
13909 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13910 to a mode-test, if the predicate is address_operand.
13912 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
13914 * combine.c (if_then_else_cond): Be careful about what kinds
13915 of RTL expressions are passed to operand_subword.
13917 * flow.c (split_edge): If we have to insert a new jump, make
13918 sure to associate it with a basic block.
13920 * flow.c (commit_one_edge_insertion): A block with one successor
13921 can end in a JUMP_INSN that is not a simplejump.
13923 2000-01-12 Robert Lipe <robertl@sco.com>
13925 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13926 (BUILD_VA_LIST_TYPE): Define.
13927 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13930 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
13932 * cccp.c (do_pragma): Add cast to (char *).
13934 2000-01-12 Richard Henderson <rth@cygnus.com>
13935 Fred Fish <fnf@be.com>
13936 Jason Merrill <jason@cygnus.com>
13938 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
13939 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
13940 * i386/beos-elf.h, i386/beos-pe.h: New files.
13942 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
13943 * cross-make (SYSTEM_HEADER_DIR): Define using
13944 CROSS_SYSTEM_HEADER_DIR.
13946 * gcc.c (LIBRARY_PATH_ENV): Provide default.
13947 (process_command): Use it.
13948 (main): Likewise. Kill trailing = from env vars.
13949 (build_search_list): Put it back.
13950 * collect2.c (main): Use LIBRARY_PATH_ENV.
13952 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
13953 * toplev.c: Use NEED_DECLARATION_ENVIRON.
13955 * tm.texi (Frame Layout): Document SMALL_STACK.
13956 * c-common.c (c_common_nodes_and_builtins): Check it.
13958 * system.h: Undef alloca after including glibc's <stdlib.h>,
13959 if USE_C_ALLOCA is defined.
13961 * gcc.c (set_input): New fn.
13962 (main): After all input files are compiled, reset the input file
13965 * aclocal.m4 (rindex, index): If already defined, don't attempt
13968 * ginclude/varargs.h: (__va_list__): Define ifndef.
13969 * ginclude/stdarg.h: Likewise.
13971 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
13972 instead of unsigned char.
13974 * hash.h (true, false, boolean): Undef before enum.
13976 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
13977 proper type of "HOST_WIDE_INT *", rather than their natural type of
13978 "unsigned HOST_WIDE_INT *".
13980 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13982 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
13984 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
13986 * regclass.c (choose_hard_reg_mode): Likewise.
13988 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
13990 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
13992 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13994 * c-common.c: PROTO -> PARAMS.
13995 * c-common.h: Likewise.
13996 * c-decl.c: Likewise.
13997 * c-iterate.c: Likewise.
13998 * c-lang.c: Likewise.
13999 * c-lex.c: Likewise.
14000 * c-lex.h: Likewise.
14001 * c-parse.in: Likewise.
14002 * c-pragma.c: Likewise.
14003 * c-pragma.h: Likewise.
14004 * c-tree.h: Likewise.
14005 * c-typeck.c: Likewise.
14006 * objc/objc-act.c: Likewise.
14007 * objc/objc-act.h: Likewise.
14009 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14011 * m88k-protos.h: New file.
14013 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
14016 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
14018 * m88k.md: Likewise.
14020 * tekXD88.h: Likewise.
14022 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14024 * m68k-protos.h: New file.
14026 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
14029 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
14031 * mot3300.h: Likewise.
14033 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
14035 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
14037 (extract_bitlist): Declare bitlen.
14039 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
14041 * cccp.c: Accept and ignore -lang-fortran.
14043 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
14044 qualifiers don't match at any level of pointerness.
14046 2000-01-12 Robert Lipe <robertl@sco.com>
14048 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
14050 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
14052 * reload1.c (reload_reg_unavailable): New static variable.
14053 (reload_reg_free_p): Test it.
14054 (reload_reg_free_for_value_p): Test it instead of
14056 (choose_reload_regs_init): Compute it.
14058 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
14060 * reorg.c (fill_slots_from_thread): Check modified_in_p
14063 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
14065 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
14066 these nodes even if INTERNALS is not set.
14068 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
14070 * gcse.c (delete_null_pointer_checks_1): Cope when
14071 get_condition cannot determine the condition.
14073 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
14075 * toplev.h (set_message_length): Declare.
14077 * diagnostic.c (obstack_chunk_alloc): Define macro.
14078 (obstack_chunk_free): Likewise.
14079 (struct output_buffer): New data structure.
14080 (vmessage): Remove.
14081 (output_maximum_width): New variable.
14082 (doing_line_wrapping, set_message_length, init_output_buffer,
14083 get_output_prefix, output_space_left, emit_output_prefix,
14084 output_newline, output_append, output_puts, dump_output,
14085 vbuild_message_string, build_message_string, build_location_prefix,
14086 voutput_notice, output_printf, line_wrapper_printf,
14087 vline_wrapper_message_with_location): New functions. Implement
14088 automatic line wrapping.
14089 (v_message_with_decl): Make it handle automatic line wrapping.
14090 (v_error_with_file_and_line): Likewise.
14091 (v_warning_with_file_and_line): Likewise.
14092 (announce_function): Likewise.
14093 (default_print_error_function): Likewise.
14095 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
14097 * cpplib.h (struct cpp_options): Change lang_asm to char.
14099 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
14100 done in cpp_handle_option now.
14101 (initialize_builtins): Take out special case code used only by
14103 (cpp_handle_option): Turn off trigraphs and trigraph warnings
14104 if -traditional. Recognize -lang-fortran and set
14105 lang_fortran, also turn off cplusplus_comments.
14106 (print_help): Document -lang-fortran.
14107 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
14108 lang_asm. Ignore all directives other than `# 123 "file"' if
14110 (cpp_get_token): If -traditional, don't recognize directives
14111 unless the # is in column 1.
14112 (parse_string): If lang_fortran or lang_asm, silently
14113 terminate strings ('' or "") at end of line.
14114 Remove unnecessary braces.
14116 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14117 Richard Henderson <rth@cygnus.com>
14119 * resource.c (mark_referenced_resources): Mark a set strict_low_part
14121 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
14122 strict_low_part when possible.
14124 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14126 * alias.c: PROTO -> PARAMS.
14127 * basic-block.h: Likewise.
14128 * bitmap.c: Likewise.
14129 * bitmap.h: Likewise.
14130 * builtins.c: Likewise.
14131 * c-aux-info.c: Likewise.
14132 * caller-save.c: Likewise.
14133 * calls.c: Likewise.
14135 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14137 * Makefile.in (toplev.o): Depend on regs.h.
14139 * output.h (tdesc_section): Prototype.
14141 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
14143 * sdbout.c: Include "tm_p.h".
14145 * toplev.c: Include "regs.h".
14147 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
14149 * unroll.c (unroll_loop): Add EH support.
14151 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14153 * pa-protos.h: New file.
14155 * pa.c: Include recog.h and tm_p.h.
14156 (compute_zdepwi_operands, compute_movstrsi_length,
14157 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
14158 find_addr_reg, import_milli): Add static prototypes.
14159 (pa_cpu_string, pa_arch_string): Constify a char*.
14160 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
14161 (read_only_operand): Add argument `mode'.
14162 (singlemove_string, output_move_double, output_fp_move_double,
14163 output_block_move, output_and, output_ior, output_ascii,
14164 remove_useless_addtr_insns, milli_names, output_mul_insn,
14165 output_div_insn, output_mod_insn, output_arg_descriptor,
14166 output_cbranch, output_bb, output_bvb, output_dbra, ,
14167 output_millicode_call, output_call, hppa_encode_label,
14168 output_parallel_movb, output_parallel_addb): Constify a char*.
14169 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
14170 (output_parallel_addb): Remove extra arg to `constrain_operands'
14172 * pa.h: Move all prototypes to pa-protos.h.
14173 (pa_cpu_string, pa_arch_string): Constify a char*.
14174 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
14176 * pa.md: Call `function_label_operand' with mode argument.
14177 Likewise for `read_only_operand'.
14178 Fix nesting of parens in call to `symbolic_operand'.
14180 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14182 * i860-protos.h: New file.
14184 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
14187 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
14189 * i860.md: Likewise.
14191 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
14193 * i386.md (movstrsi expander): Rewrite.
14194 (movstrsi_1 insn): Deleted.
14195 (strmovhi, strmovqi expander): New expanders.
14196 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
14197 * i386.c (x86_single_stringop): New global variable.
14198 * i386.h (x86_single_stringop): Declare.
14199 (TARGET_SINGLE_STRINGOP): New macro.
14201 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14203 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
14204 integer vararg POSTINCREMENT before the destination of the jump
14205 for the hard fp case.
14206 (function_arg_pass_by_reference): Pass a copy of CUM to
14209 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
14210 for CONSTANT_ADDRESS_P above while loop for subreg.
14212 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14214 * flow.c (propagate_block): When a prologue/epilogue insn
14215 is marked dead, unconditionally clear libcall_is_dead and
14216 insn_is_dead, and only dump rtl if warnings aren't being
14219 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
14221 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
14222 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
14223 (FIXED_REGISTERS): Set dirflag as fixed.
14224 (CALL_USED_REGISTERS): Set dirflag as used.
14225 (REG_ALLOC_ORDER): Set dirflag as last one.
14226 (DIRFLAG_REG): New macro.
14227 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
14228 (HI_REGISTER_NAMES): Add dirflag.
14229 (DEBUF_PRINT_REG): Handle dirflag.
14230 * i386.md (type attribute): New cld and str types.
14231 (length_opcode attribute): Set cld and str to 1.
14232 (memory attribute): Set str to unknown - it is not clear from the
14234 (pent_np function unit): Prefixed string operations takes 12 cycles
14235 minimally; cld takes 2 cycles.
14236 (ppro_uops attribute): Str is "many" and cld is "few".
14237 (ppro_p0 unit): Handle cld here.
14238 (k6_alux unit): Handle cld and str types.
14239 (k6_load unit): It is ocupied by str opcodes.
14240 (k6_store unit): It is ocupied by str opcodes.
14241 (athlon_decode): Str is vector decoded.
14242 (athlon_ieu): Handle str and cld.
14243 (cld pattern): New.
14244 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
14245 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
14246 cmpstrsi_nz_1 insn): Do not output cld instruction
14248 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
14250 * gcc.texi (G++ and GCC): Add Java and Chill.
14251 (Bug Critera): Don't list languages.
14253 * gcc.texi (Incompatibilities): No longer claim most C compilers
14256 * gcc.texi (G++ and GCC): Update other front-ends list.
14258 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
14260 * i386.c (ix86_expand_setcc): Fix typo.
14261 (ix86_expand_movcc): Similarly.
14263 * Band-aid until haifa's bitset implementation is nuked.
14264 * haifa-sched.c (extract_bitlst): New parameter for size of the
14265 bitset in bits. All callers changed. Avoid looking at undefined
14266 bits in the bitset.
14267 (edgeset_bitsize): New variable.
14268 (schedule_region): Initialize edgeset_bitsize.
14270 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14272 * Makefile.in (optabs.o): Depend on real.h
14273 (resource.o): Depend on insn-attr.h
14275 * builtins.c (result_vector): Wrap prototype in macro conditions
14276 governing definition and use.
14278 * c-common.c: Include tm_p.h.
14280 * c-lex.c: Likewise.
14282 * elfos.h: Constify a char*.
14284 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
14285 (get_attr_length, shorten_branches, profile_after_prologue): Mark
14286 parameter with ATTRIBUTE_UNUSED.
14288 * fold-const.c (exact_real_inverse): Wrap variable `i' in
14291 * haifa-sched.c (schedule_insns): Mark parameter with
14294 * optabs.c: Include real.h.
14296 * real.h (ereal_atof): Add prototype arguments.
14298 * resource.c: Include insn-attr.h.
14300 * sdbout.c (sdbout_queue_anonymous_type,
14301 sdbout_dequeue_anonymous_types): Wrap in macro
14302 SDB_ALLOW_FORWARD_REFERENCES.
14303 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
14306 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
14308 * stupid.c: Include tm_p.h.
14310 * tree.c (real_value_from_int_cst): Mark parameter with
14313 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14315 * i960-protos.h: New file.
14317 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
14320 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
14322 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14324 * combine.c (expand_field_assignment): Do not discard SUBREGs
14325 while computing nonzero_bits.
14327 2000-01-09 Nick Clifton <nickc@cygnus.com>
14329 * config/arm/arm.c: Fix compile time warnings about signed vs
14330 unsigned constants.
14331 * config/arm/arm.h: Fix compile time warnings about signed vs
14332 unsigned constants.
14334 2000-01-09 Philip Blundell <philb@gnu.org>
14336 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
14337 than `ldm' with only one register.
14338 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
14341 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
14344 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
14346 * config/ns32k/ns32k.md (load or push effective address): Operand 1
14349 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14351 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
14352 assignment used as truth value.
14354 * function.c (assign_temp): Mark parameter `dont_promote' with
14355 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
14356 PROMOTE_FOR_CALL_ONLY.
14358 * genrecog.c (write_subroutine): Mark variable `operands' with
14361 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
14364 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
14365 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
14367 * toplev.c (note_deferral_of_defined_inline_function): Likewise
14370 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14372 * config/c4x.h: Tidy up comments.
14373 * config/c4x.c: Likewise.
14375 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
14377 * fold-const.c (lshift_double, rshift_double): Handle
14378 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
14380 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14382 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
14383 in prepare_function_start().
14385 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
14387 * config/v850/v850.c (expand_epilogue): Interrupt functions no
14388 longer allocate extra stack for function calls.
14390 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14392 * config/c4x/c4x.md (*subqf3_set): Fix typo.
14394 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14396 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
14398 2000-01-07 David Edelsohn <edelsohn@gnu.org>
14400 * rs6000.c (processor_target_table): Add power3 as alias for 630.
14401 * aix43.h: Revert Aug 2 change.
14402 (HAS_INIT_SECTION): Define, not visible yet.
14403 (LD_INIT_SWITCH): Define, not visible yet.
14404 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
14406 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
14408 * collect2.c (main): Expand ld2 size further.
14409 (export_object_lst): Cast assignment to avoid warning.
14410 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
14411 (scan_prog_file, COFF): Do not collect initialization or
14412 finalization functions generated for entire shared object if
14413 init/fini support present.
14415 2000-01-07 Nick Clifton <nickc@cygnus.com>
14417 * config/elfos.h: Tidy up formatting of marcos. Make sure
14418 that .section directives are always prefixed by a tab.
14420 * config/svr4.h: Add #include "elfos.h" and remove duplicate
14423 2000-01-07 Matt Austern <austern@sgi.com>
14425 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
14428 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
14430 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
14432 (crtbegin.o, s-crtS): Likewise.
14434 2000-01-06 Richard Henderson <rth@cygnus.com>
14436 * alpha.md (adddi_2+1): Limit offset such that it will be
14437 loadable with a single ldah+lda pair.
14438 (adddi_2+2): Explicitly fail split if we can't make it work.
14440 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
14442 * protoize.c: Conditionally include unistd.h.
14443 (IS_SAME_PATH_CHAR): New macro.
14444 (IS_SAME_PATH): New macro.
14445 (CPLUS_FILE_SUFFIX): New macro.
14446 (cplus_suffix): New static variable.
14447 (is_abspath): New static function.
14448 (in_system_include_dir): Handle DOS style pathnames.
14449 (file_could_be_converted): Likewise.
14450 (file_normally_convertible): Likewise.
14451 (directory_specified_p): Likewise.
14452 (file_excluded_p): Likewise.
14453 (abspath): Likewise.
14454 (shortpath): Likewise.
14455 (referenced_file_is_newer): Likewise.
14456 (save_def_or_dec): Likewise.
14457 (do_processing): Likewise.
14459 (edit_file): Likewise. Use rename instead of link.
14460 (rename_c_file): Likewise. Don't rename syscalls file.
14461 (munge_compile_params): Define null device for DOS based systems.
14462 (process_aux_info_file): Use binary mode if appliable.
14463 (edit_file): Likewise.
14464 * invoke.texi (Running Protoize): Document C++ suffixes used.
14466 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
14467 IS_DIR_SEPARATOR macros.
14468 * collect2.c: Likewise.
14469 * cppinit.c: Likewise.
14470 * dwarf2out.c: Likewise.
14472 * gcov.c: Likewise.
14473 * prefix.c: Likewise.
14475 * toplev.c: Likewise.
14476 * system.h: And move to here.
14478 * prefix.c (update_path): Fix typo in variable name.
14480 2000-01-06 Richard Henderson <rth@cygnus.com>
14482 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
14483 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
14484 (count_reg_sets_1, count_reg_references): Likewise.
14485 (flow_loops_level_compute): Start counting actual loop depth at 1.
14486 (flow_loops_find): Likewise.
14487 * local-alloc.c (update_equiv_regs): Likewise.
14488 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
14490 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14492 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
14493 FIRST_PSEUDO_REGISTER
14494 * dwarf2out.c: Don't include frame.h
14495 * dwarfout.c: Likewise
14496 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
14499 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
14501 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
14504 * i386.c (movsf splitter): Fix typo in my last checkin.
14506 2000-01-05 Nick Clifton <nickc@cygnus.com>
14508 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
14509 own definition of this macro.
14510 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
14511 flag_data_sections or UNIQUE_SECTION_P are true.
14513 * tm.texi (UNIQUE_SECTION): Document that it can be called for
14514 unitialised data decls.
14516 * config/i386/winnt.c (i386_pe_unique_section): Cope with
14517 being called for uninitialised data.
14519 * config/i386/interix.c (i386_pe_unique_section): Cope with
14520 being called for uninitialised data.
14522 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
14523 for uninitialised data.
14525 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
14526 for uninitialised data.
14528 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
14529 for uninitialised data.
14531 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
14532 (UNIQUE_SECTION_P): Always generate a unique section if
14533 flag_data_sections is true.
14534 (UNIQUE_SECTION): Also generate unique sections for
14535 uninitialised data.
14536 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
14537 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
14540 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14542 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
14545 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14547 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
14548 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
14549 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
14550 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
14551 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
14553 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
14555 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14557 * c-decl.c (finish_enum): Simplify code to determine minimum and
14558 maximum values of the enum, and calculate the type. Remove check
14559 for FUNCTION_DECLs in the values list, which cannot happen. Replace
14560 the DECL_INITIAL of each enumeration constant with a copy converted
14561 to the enumeration type. When updating variant types, don't bother
14562 updating the type itself.
14564 * c-typeck.c (build_binary_op): Simplify conditional expressions
14565 when weeding out spurious signed-unsigned warnings. Add new
14566 spurious warning category: if the unsigned quantity is an enum
14567 and its maximum value fits in signed_type(result_type). Update
14569 (build_conditional_expr): Warn here if one alternative is signed
14570 and the other is unsigned.
14572 2000-01-05 Nick Clifton <nickc@cygnus.com>
14574 * config/fr30/fr30.h: Remove extraneous comments.
14576 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
14578 * reload1.c (choose_reload_regs): When disabling a reload, also
14579 set reload_spill_index to -1.
14581 2000-01-04 Joel Sherrill (joel@OARcorp.com>
14583 * configure.in (m68*-*-rtemscoff*): New target, formal name for
14585 (m68*-*-rtemself*): New target.
14586 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
14587 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
14588 (sparc*-*-rtemself*): New target.
14589 (sparc*-*-rtems*): Now elf not a.out.
14590 * config/i386/rtems.h: Include config/rtems.h.
14591 * config/i386/rtemself.h: Include config/rtems.h.
14592 * config/i960/rtems.h: Include config/rtems.h.
14593 * config/m68k/rtems.h: Include config/rtems.h.
14594 * config/m68k/rtemself.h: Include config/rtems.h.
14595 * config/mips/rtems64.h: Include config/rtems.h.
14596 * config/pa/rtems.h: Include config/rtems.h.
14597 * config/rs6000/rtems.h: Include config/rtems.h.
14598 * config/sh/rtems.h: Include config/rtems.h.
14599 * config/sh/rtemself.h: Include config/rtems.h.
14600 * config/sparc/rtems.h: Include config/rtems.h.
14601 * config/sparc/rtemself.h: Include config/rtems.h
14603 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
14605 * final.c (shorten_branches): Correctly compute length of
14606 asms without operands.
14608 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
14610 * configure.in: Add pj target.
14611 * configure: Regenerate.
14612 * config/pj: New directory.
14613 * config/pj/lib1funcs.S: New file.
14614 * config/pj/linux.h: New file.
14615 * config/pj/pj.c: New file.
14616 * config/pj/pj.md: New file.
14617 * config/pj/pjl.h: New file.
14618 * config/pj/t-pj: New file.
14619 * config/pj/xm-pj.h: New file
14621 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
14623 * toplev.c (rest_of_compilation): Run shorten-branches before
14626 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14628 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
14629 macros so that they're consistent with their names.
14630 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14631 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14633 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14635 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
14636 modified inadvertently.
14638 2000-01-04 Joel Sherrill <joel@OARcorp.com>
14640 * configure.in (v850*-*-rtems*): New target.
14641 * configure: Regenerate.
14642 * config/v850/rtems.h: New file.
14644 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
14646 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
14647 (__gthread_key_create): Likewise.
14648 (__gthread_key_dtor): Likewise.
14649 (__gthread_once): Fix logic.
14650 (__gthread_key_delete): Cast away constness.
14652 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
14653 * invoke.texi: Document.
14654 * i386/mingw32.h (CPP_SPEC): Use.
14655 (LIBGCC_SPEC): Likewise.
14656 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
14658 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14660 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
14661 (HANDLE_PRAGMA_PACK): Undefine.
14662 (SLOW_UNALIGNED_ACCESS): Define.
14664 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14666 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14667 to default definition.
14668 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
14669 (store_fixed_bit_field): Call macro with word_mode and alignment.
14670 (extract_bit_field): Call macro with relevant mode and alignment.
14671 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14672 to default definition.
14673 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
14675 (move_by_pieces_ninsns): Likewise.
14676 (clear_by_pieces): Likewise.
14677 (emit_push_insn): Likewise.
14678 (store_field): Call macro with relevant mode and alignment.
14679 (expand_expr): Likewise.
14680 (expand_expr_unaligned): Likewise.
14682 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
14683 (SLOW_UNALIGNED_ACCESS): Define.
14684 (CASE_VECTOR_MODE): Always use 32-bit offsets.
14685 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
14686 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
14687 (toc_section): Likewise and .toc pseudo-op.
14688 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
14690 (TEXT_SECTION_ASM_OP): Likewise.
14691 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
14694 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
14695 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
14696 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
14697 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
14698 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
14700 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
14702 * regclass.c: Revert my Jan 4 change to loop cost computation.
14704 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14706 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
14709 2000-01-04 Stan Cox <scox@cygnus.com>
14711 * haifa-sched.c (build_control_flow): Change unreachable simple
14712 loop test to check if current block has only one predecessor.
14713 (find_rgns): Initialize degree. Use dest as degree index, not src.
14715 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14717 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
14719 * calls.c (expand_call): Likewise for
14720 `old_stack_arg_under_construction'.
14722 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
14724 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
14727 * gcc.c (execute): Likewise for `ut' and `st'.
14729 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
14731 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
14733 * jump.c (jump_optimize_1): Likewise for `temp2'.
14735 * local-alloc.c (block_alloc): Likewise for `r1'.
14737 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
14739 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
14740 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
14742 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
14745 * reload.c (find_reloads): Likewise for `goal_alternative_number'
14746 and `goal_earlyclobber'.
14748 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
14750 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
14752 * stupid.c (stupid_life_analysis): Likewise for `chain'.
14754 * unroll.c (copy_loop_body): Likewise for `copy'.
14756 * varasm.c (output_constructor): Likewise for `byte'.
14758 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14760 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
14761 all FP constants for constant->reg moves.
14762 (ix86_split_to_parts): Try to convert memory address into immediate
14763 when available in the constant pool.
14764 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
14766 (LEGITIMATE_CONSTANT_P): Return 1.
14767 * i386.md (pushsf): New splitter to convert constant pool memory
14768 reference to immediate.
14769 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
14772 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
14774 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
14775 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
14776 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
14777 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
14778 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
14780 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
14782 * ginclude/stdbool.h: Support compilation as C++.
14784 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14786 * fold-const.c (make_range): Don't try to reverse an unbounded range.
14788 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
14790 * regclass.c (regclass): Properly compute loop_cost. Adjust
14793 * regclass.c: Fix minor whitespace problems.
14795 2000-01-03 Anthony Green <green@cygnus.com>
14797 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
14798 Restore the pic register if required.
14800 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
14802 * c-common.c (format_char_info): Update comment.
14803 (check_format_info): Recognize 'z' modifier in the same way 'Z'
14804 was recognized. Emit warning for formats new in ISO C99 only
14805 if flag_isoc9x is not set.
14807 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
14809 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
14811 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14813 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
14814 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
14815 (make_compound_operation): Choose cheaper alternative between
14816 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
14818 * regclass.c (op_costs): Remove global variable.
14819 (record_reg_classes): New parameter "op_costs" and "reg_pref".
14820 (record_operand_costs): Break out from ...
14821 (scan_one_insn): ... here.
14822 (dump_regclass): Make dumps nicer.
14823 (regclass): Dump preferrences choosed and changes done during passes.
14825 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14827 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
14829 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14831 * config/sparc/sparc.c (gen_df_reg): New function.
14832 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
14833 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
14834 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
14835 movtf_cc_reg_sp64+1): Use it.
14837 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14839 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
14840 copied LABEL_DECLs.
14842 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
14844 * config/i386/i386.c (ix86_expand_unary_operator): Function
14845 definition made void.
14846 (ix86_expand_binary_operator): Update outdated preceding comment.
14847 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
14850 * config/i386/i386.c (override_options): Fix option-name typo.
14852 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14854 * system.h (CEIL): Define.
14855 * builtins.c (CEIL): Remove.
14856 * expmed.c (CEIL): Likewise.
14857 * expr.c (CEIL): Likewise.
14858 * stor-layout.c (CEIL): Likewise.
14860 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14862 * expr.c (store_constructor_field): Fix typo introduced with last
14865 2000-01-01 Mark Mitchell <mark@codesourcery.com>
14867 * tree.h (BINFO_N_BASETYPES): New macro.
14869 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
14871 * expmed.c (emit_store_flag): Prevent losing a pending stack
14872 adjust the same way we prevent losing queued increments.
14874 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14876 * function.c (update_temp_slot_address): Handle case where sum of
14877 temporary address plus offset in register is a valid address.
14879 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14881 * genrecog.c (change_state) Corrected typo.
14883 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14885 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
14886 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
14887 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
14889 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
14891 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
14892 case, expand GT comparisons correctly. Fix a comment before this
14895 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14897 * dwarfout.c: Include "frame.h"
14898 * dwarf2out.c: Likewise.
14899 * Makefile.in (dwarfout.o): Depend on frame.h
14900 (dwarf2out.o): Likewise.
14902 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
14904 Restore i386 binary compatibility in Dwarf EH info.
14905 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14906 value of FIRST_PSEUDO_REGISTER.
14907 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14908 (struct frame_state): Use DWARF_FRAME_REGISTERS.
14909 * dwarfout.c (output_reg_number): Ditto.
14910 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14911 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14913 1999-12-29 Bruce Korb <autogen@linuxbox.com>
14915 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14916 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14917 (<hack>_RE_CT): not needed
14918 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14919 rewritten to scan the file text once only
14920 "template<..." test added
14921 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14922 (is_cxx_header): declaration added
14923 * fixinc/fixtests.c(is_cxx_header): removed
14924 (apply_fix_p_t): removed
14925 (double_slash_test): is_cxx_header is only called once now
14926 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14927 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14928 within the templates.
14929 The borken spelling of "broken" was fixed.
14930 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14931 The default level depends on FIXINC_DEBUG.
14933 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14935 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
14936 Otherwise provide a declaration for atexit.
14937 (init_dummy): Make sure dummy call to atexit is nevertheless
14938 called with correct number of args.
14940 * frame.c: Update comments referring to other files.
14942 * libgcc2.c: Likewise.
14944 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14946 * cse.c (free_element, get_element): Remove unused prototypes.
14948 * fold-const.c (extract_muldiv): Initialize variables `op0' and
14951 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
14954 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
14956 * configure.in,configure: case arm for mn10200-*-* now sets
14957 float_format=i32 so that float.h will correctly claim "double"
14958 to be 32 bits. Ran autoconf to generate configure from .in file.
14960 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
14962 * pa.md (conditional zero): If op1 is a register, force it into
14963 the same register as op0.
14965 1999-12-28 Mark Mitchell <mark@codesourcery.com>
14967 * tree.h (BINFO_BASETYPES): Improve documentation.
14969 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14971 * configure.in (--enable-checking): Use a more portable `for'
14974 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14976 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
14977 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
14979 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
14982 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
14983 Delete descriptions.
14985 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
14986 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
14987 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
14988 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
14989 xm-svr4.h: Remove all instances of sys_siglist handling.
14991 1999-12-27 Jakub Jelinek <jakub@redhat.com>
14993 * config/sparc/sparc.md (cmp_zero_qi,
14994 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
14995 cmp_zero_extendqidi2_andcc_set): New patterns.
14997 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
14999 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
15000 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
15001 (fpgnulib.c, xfgnulib.c): Add rules.
15002 * m68k/t-mot3300-gas: Likewise.
15004 1999-12-27 Ian Lance Taylor <ian@zembu.com>
15006 * configure.in: Avoid [[ by using test and changequote. Add
15007 changequote required by 1999-12-14 change.
15008 * configure: Rebuild.
15010 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
15012 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
15014 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
15016 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
15017 * flow.c (find_use_as_address): Likewise.
15018 * function.c (fixup_var_refs_1): Likewise.
15019 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
15020 * jump.c (invert_exp, redirect_exp): Likewise.
15021 * loop.c (replace_call_address): Likewise.
15022 (count_nonfixed_reads): Likewise.
15023 * rtlanal.c (modified_between_p): Likewise.
15024 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
15025 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
15026 * unroll.c (remap_split_bivs): Likewise.
15028 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15030 * diagnostic.c (v_message_with_decl): Use .* format specifier
15031 instead of building the format specifier width manually.
15033 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
15034 determining whether to provide a prototype. Remove the
15035 sys_siglist clause in the conditional.
15037 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15039 * fold-const.c (operand_equal_p): Use memcmp to compare string
15041 Suggested by D. J. Bernstein
15043 1999-12-17 Jakub Jelinek <jakub@redhat.com>
15045 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
15046 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
15048 * config/mips/mips.h (TARGET_64BIT): Likewise.
15049 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
15050 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
15051 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
15052 dsps. Give routines proper names if SI/DI modes are not used.
15053 * longlong.h: Use DWunion instead of DIunion.
15055 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
15057 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
15058 GC_CHECKING, GC_ALWAYS_COLLECT.
15059 * configure.in: Allow --enable-checking with an argument
15060 listing check modes to enable.
15061 * config.in, configure: Rebuilt.
15062 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
15063 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
15064 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
15065 ENABLE_GC_ALWAYS_COLLECT.
15066 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
15068 * tree.h, tree.c: Change ENABLE_CHECKING to
15069 ENABLE_TREE_CHECKING throughout.
15071 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15073 * fold-const.c (fold_truthop): Properly check for FP RHS.
15075 1999-12-24 Mark Mitchell <mark@codesourcery.com>
15077 * toplev.h (note_deferall_of_defined_inline_function): Declare.
15078 * toplev.c (note_deferral_of_defined_inline_function): New
15079 function, split out from ...
15080 (rest_of_compilation): ... here. Use it.
15082 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15084 * expr.c (store_constructor): Don't call clear_storage if size is
15087 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15089 * Makefile.in (toplev.o): Depend on loop.h.
15091 * dwarfout.c: Include tm_p.h.
15093 * emit-rtl.c (restore_emit_status): Mark parameter with
15096 * final.c (final_scan_insn): Likewise.
15098 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
15099 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
15100 flow_depth_first_order_compute, flow_loop_pre_header_find,
15101 flow_loop_tree_node_add, flow_loops_tree_build,
15102 flow_loop_level_compute, flow_loops_level_compute,
15103 flow_loop_outside_edge_p): Add prototypes.
15104 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
15106 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
15107 Mark with ATTRIBUTE_NORETURN.
15109 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
15111 * local-alloc.c (no_conflict_p): Likewise.
15113 * loop.c (insert_bct): Hide definitions of variables with hidden
15115 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
15117 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
15118 with ATTRIBUTE_UNUSED.
15119 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
15120 (reg_scan): Likewise.
15122 * reload.c (find_reloads): Remove unused variables `changed'.
15124 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
15126 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
15127 Remove unused variable `insn'.
15129 * toplev.c: Include loop.h.
15130 (report_file_and_line): Remove unnecessary prototype.
15132 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
15134 * unroll.c (biv_total_increment): Likewise.
15136 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15138 * reload1.c (emit_input_reload_insns): Restore old behaviour
15139 wrt. 'special' reloads.
15141 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
15143 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
15144 hash.h. (cse.c): Don't depend on hashtab.h.
15146 * cse.c: Don't include hashtab.h.
15147 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
15149 * ggc-simple.c: Don't include hash.h.
15151 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
15153 * dwarf2out.c (add_abstract_origin_attribute): Call
15154 gen_abstract_function on our function context.
15156 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
15158 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
15160 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15162 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
15165 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15167 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
15168 constraints to "a!r".
15170 1999-12-21 Mark Mitchell <mark@codesourcery.com>
15172 * Makefile.in (calls.o): Depend on function.h.
15173 (alias.o): Likewise.
15175 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
15177 * reload1.c (emit_reload_insns): Break out code and variables into...
15178 (input_reload_insns, other_input_address_reload_insns,
15179 other_input_reload_insns, input_address_reload_insns,
15180 inpaddr_address_reload_insns, output_reload_insns,
15181 output_address_reload_insns, outaddr_address_reload_insns,
15182 operand_reload_insns, other_operand_reload_insns,
15183 other_output_reload_insns): ... new static variables, and...
15184 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
15185 do_output_reload): ... new functions.
15187 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15189 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
15191 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15193 * md.texi: Add c4x constraints documentation.
15195 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15197 * config/i386/dgux.c (struct option): Rename to
15198 lang_independent_option.
15199 (struct m_options): Add description field.
15200 (output_options): Rename option type, add sep declaration, output
15201 ix86_cpu_string and ix86_arch_string only if set.
15202 (output_file_start): Rename option type.
15204 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
15206 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
15208 (libgcc2.a): Similarly.
15210 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
15212 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
15213 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
15214 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
15216 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
15218 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
15219 Remove redundant initialization of "frexpon" and "expon".
15221 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15223 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
15225 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
15226 (store_constructor_field, expand_expr): Pass new arg.
15228 1999-12-20 Mark Mitchell <mark@codesourcery.com>
15230 * Makefile.in (explow.o): Depend on function.h.
15232 * stor-layout.c (set_sizetype): Fix typo.
15234 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
15236 * function.c (cfun): Renamed from current_function. All users
15238 * function.h (cfun): Rename declaration as well.
15240 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
15241 to be of type regset_head, not regset. All users changed by adding
15243 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
15245 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15247 * config/c4x/rtems.h: New file.
15249 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
15251 * reload1.c (spill_failure): Take class of failed reload as argument
15252 and print it. Caller changed.
15254 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15256 * rs6000.h (SUBTARGET_DEFAULT): New macro.
15257 (TARGET_SWITCHES): Allow subtargets to default switches.
15258 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
15260 1999-12-18 Mark Mitchell <mark@codesourcery.com>
15262 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
15265 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
15267 * cccp.c (main): Define __STDC_VERSION__ as necessary.
15268 * cppinit.c (cpp_handle_option): Likewise.
15270 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
15271 determine when to define.
15273 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
15275 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
15276 cmove with mismatched test and data modes.
15278 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
15280 * c-typeck.c (c_expand_start_case): Don't warn for long switch
15283 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15285 * alias.c: Minor reformatting.
15286 * flow.c: Likewise.
15287 * regs.h: Likewise.
15288 * stor-layout.c: Likewise.
15289 * fold-const.c: Likewise.
15290 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
15291 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
15293 (size_int_wide): Cache nodes even if garbage collecting.
15294 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
15295 of SAVE_EXPR has no side effects.
15296 * cse.c: Move a comment.
15297 * tree.c: Minor reformatting.
15298 (int_size_in_bytes): Return -1 if constant overflows.
15300 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15302 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
15304 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
15306 * objc/objc-parse.c: Regenerate. This file must be rebuilt
15307 after any change to c-parse.in, even if objc-parse.y didn't
15310 1999-12-18 David S. Miller <davem@redhat.com>
15312 * toplev.c (rest_of_compilation): Restore BLOCK tree
15313 reconstruction and branch shortening changes lost in
15314 December 18th change.
15316 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
15318 * config/arm/linux-elf.h: Change all instances of
15319 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
15320 * config/arm/uclinux-elf.h: Likewise.
15322 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
15324 * toplev.c (notice, vmessage, v_message_with_file_and_line,
15325 v_message_with_decl, file_and_line_for_asm,
15326 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
15327 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
15328 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
15329 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
15330 pfatal_with_name, fatal_io_error, need_error_newline,
15331 last_error_function, last_error_tick, announce_function,
15332 default_print_error_function, print_error_function,
15333 report_error_function, fnotice, error_with_file_and_line,
15334 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
15335 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
15336 warning_with_decl, warning_for_asm, warning, pedwarn,
15337 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
15339 (compile_file): Use fnotice instead of notice. Adjust call.
15341 * diagnostic.c: New file.
15343 * Makefile.in (OBJS): Include diagnostic.o
15344 (diagnostic.o): Define dependence.
15346 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15348 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
15351 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15353 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
15355 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
15357 * fixtests.c (is_cxx_header): New fn, split out of
15359 (else_endif_label): Allow "#endif // comment" in C++ headers,
15360 as determined by is_cxx_header.
15361 * fixfixes.c (else_endif_label_fix): Update comment.
15362 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
15364 * genfixes: Correct double thinko in commandline parsing.
15365 * hackshell.tpl: Generate correct sh syntax for bypass
15368 * inclhack.def (all): Whenever an inserted preprocessor
15369 conditional is split over multiple lines, use double
15370 backslashes in this file so the fixed header will be readable.
15372 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
15373 and add bypass entry for correct version of this header.
15374 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
15375 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
15377 (hpux8_bogus_inlines): New fix, split from...
15378 (ultrix_atof_param) ... here.
15379 (math_expression): Add bypass entry keyed to glibc comment
15380 indicating the problem has been dealt with; disable
15381 unnecessary sed operations; update commentary.
15382 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
15383 add select and bypass entries, simplify shell operation.
15384 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
15386 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
15387 ultrix_atof_param): Add select entry.
15388 (stdio_va_list, sunos_mather_decl): Add bypass entry.
15389 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
15390 comments with the fixes they describe.
15392 * c-parse.in (string action): Do not warn about ANSI string
15393 concatenation in system headers. Affects C parser only.
15394 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
15396 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15398 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
15399 compiling libgcc2 the macro depends always on arch cpp defines.
15401 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
15403 * loop.c (insert_loop_mem): Don't record MEMs from inside
15406 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
15408 * regclass.c (regclass): Do not use flowgraph when not optimizing.
15410 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
15411 notes too, create one when replacement failed, attempt to simplify
15413 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
15414 or REG_EQUIV notes.
15416 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15418 * crtstuff.c (__dso_handle): Declare.
15419 (__cxa_finalize): Likewise.
15420 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
15423 * invoke.texi: Document -fuse-cxa-atexit.
15425 * tree.h (ptr_type_node): Document.
15426 (const_ptr_type_node): Likewise.
15428 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15430 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
15431 (optimize_reg_copy_2): Likewise.
15432 (optimize_reg_copy_3): Likewise.
15433 (fixup_match_2): Likewise.
15434 (regmove_optimize): Likewise.
15435 (fixup_match_1): Liekwise.
15437 * i386.md (HI to SImode promoting splitters): Rewrite.
15438 (pushsf mem peep2): New.
15439 (testhi to andhi peep2): Remove.
15440 * i386.h (x86_promote_QImode): New.
15441 (TARGET_PROMOTE_QImode): New.
15442 (PREDICATE_CODES): Add promotable_binary_operator.
15443 * i386.c (x86_promote_QImode0: New.
15444 (promotable_binary_operator): New.
15445 * i386-protos.h (promotable_binary_operator): New.
15447 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
15449 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
15451 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15453 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
15454 * function.c (insert_block_after_note): Remove.
15455 (retrofit_block): Likewise.
15456 (identify_blocks): Fix indentation.
15457 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
15458 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
15459 * function.h (insert_block_after_note): Remove prototype.
15460 (retrofit_block): Likewise.
15461 * integrate.c (expand_inline_function): Don't call
15462 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
15463 just expand_start_bindings. Use the block_map to remap old
15464 NOTE_BLOCKs to new ones.
15465 (integrate_decl_tree): Keep track of remapped blocks.
15466 * integrate.h (struct inline_remap): Add block_map.
15467 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
15468 NOTE_BLOCK on the notes.
15469 (expand_start_bindings): Rename to ...
15470 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
15471 (expand_end_bindings): Set NOTE_BLOCK.
15472 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
15473 reconstruct the BLOCK tree.
15474 * tree.h (expand_start_bindings): Macroize. Call ...
15475 (expand_start_bindings_and_block): New function.
15477 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15479 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
15480 to match the format.
15482 1999-12-16 David S. Miller <davem@redhat.com>
15484 * expr.c (emit_move_insn_1): Only emit clobbers if one of
15485 the outputs is a SUBREG.
15486 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
15489 * config/sparc/sparc.c (epilogue_renumber): Add default case
15492 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15494 * toplev.c (rest_of_compilation): Run branch shortening after
15497 * regclass.c (loop_depth): Remove
15498 (scan_one_insn): Do not handle LOOP_NOTE insns.
15499 (regclass): Go through basic blocks and set loop_cost
15501 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
15503 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
15505 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15507 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
15508 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
15509 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
15511 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
15513 * loop.c (insert_loop_mem): Ignore memory clobbers.
15515 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
15518 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
15520 * profile.c: Remove redundant #include "output.h".
15522 * h8300.md (HImode preinc peephole): Fix typo.
15524 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15526 * function.c (retrofit_block): Abort if we don't find a suitable insn.
15527 (insert_block_after_note): Abort if we don't have a previous block.
15528 Remove FN parameter.
15529 * function.h: Adjust.
15531 1999-12-15 Mark Mitchell <mark@codesourcery.com>
15533 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
15534 argument more than once.
15536 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15538 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
15540 1999-12-15 Jakub Jelinek <jakub@redhat.com>
15542 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
15544 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15546 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
15547 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
15548 update stack_alignment_needed.
15549 (prepare_function_start): Initialize stack_alignment_needed
15550 * function.h (struct function): Add field stack_alignment_needed.
15552 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15554 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
15555 Handle live_throughout / dead_or_set instead of live_before /
15557 (save_call_clobbered_regs): Get register livenessinformation from
15558 chain->live_throughout.
15559 (add_stored_regs): New function.
15560 (insert_restore, insert_save): Add restored / saved registers to
15562 * global.c (reg_dies): New parameter chain.
15563 (reg_becomes_live): Third parameter is regs_set now.
15564 Changed all callers.
15565 (reg_dies): New parameter chain. Changed all callers.
15566 (build_insn_chain): Set live_throughout instead of
15567 live_before / live_after.
15568 * reload.h (struct insn_chain): Replace members live_before /
15569 live_after with live_throughout / dead_or_set.
15570 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
15571 instead of live_before / live_after.
15572 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
15573 (order_regs_for_reload, find_reg, finish_spills): Likewise.
15574 (choose_reload_regs_init): Likewise.
15575 * stupid.c (current_chain, find_clobbered_regs): Delete.
15576 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
15577 instead of chain->live_before / chain->live_after.
15578 (mark_hard_ref): New function.
15579 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
15581 1999-12-15 David S. Miller <davem@redhat.com>
15583 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
15585 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15587 * flow.c (calculate_loop_depth): Make global, remove prototype,
15588 rewrite to use new loop infrastructure.
15589 (find_basic_block): Remove calculate_loop_depth call.
15590 * toplev.c (rest_of_compilation): Call find_basic_block.
15591 * output.h (calculate_loop_depth): Declare.
15593 * flow.c (dump_flow_info): Dump loop_depth.
15594 (flow_loops_nodes_find): Increase loop_depth for basic block in the
15596 (flow_loops_find): Initialize the loop_depth for each basic block.
15598 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15600 * tree.c (decl_function_context): Handle virtual functions.
15602 * tlink.c (scan_linker_output): Don't look in demangled name when
15603 looking for linker output keywords.
15605 * dwarfout.c (output_type): We can defer namespace-scope classes.
15607 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
15609 * regclass.c (record_reg_classes): Update comment for merging
15610 register class preferences in reg->reg copies. Tighten conditions
15611 for merging register class preferences in reg->reg copies.
15613 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
15615 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
15617 1999-12-14 Geoff Keating <geoffk@cygnus.com>
15619 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
15620 (INIT_SECTION_ASM_OP): Delete.
15621 (FINI_SECTION_ASM_OP): Delete.
15622 (STARTFILE_SPEC): Define to hold just crtbegin.o.
15624 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
15626 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
15627 the abstract origin wasn't emitted.
15629 * dwarf2out.c (class_scope_p): New fn.
15630 (gen_subprogram_die): Use it.
15631 (gen_variable_die): Use it. Tweak logic.
15632 (gen_struct_or_union_type_die): Check context_die to determine
15633 if we're function-local.
15634 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
15636 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15638 * loop.c (check_dbra_loop): Can't reverse a biv that has
15639 maybe_multiple set.
15641 1999-12-14 Nick Clifton <nickc@cygnus.com>
15643 * config/arm/arm.c: Add support for -mcpu=arm720 command line
15646 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15648 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
15649 for givs made from biv increments.
15651 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
15653 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
15654 * alpha.c (override_options): Recognize -mcpu=ev67.
15655 * alpha.h (CPP_CPU_EV67_SPEC): New.
15656 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
15657 (EXTRA_SPECS): Update.
15659 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
15661 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
15662 appropriate for -lang-c89 and -std=*.
15663 * cppinit.c (cpp_handle_option): Likewise.
15664 (new_pending_define): New, split out from cpp_handle_option.
15665 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
15666 or enable trigraphs for -ansi/-std=*.
15668 * ginclude/stdarg.h (__va_copy): New.
15669 (va_copy): Don't define for C89.
15671 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
15673 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
15674 for long long multiply-accumulate.
15676 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15678 * regclass.c (scan_one_insn): Set loop_cost to 1 when
15679 optimizing for size.
15681 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15683 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
15684 if something changed. Back out that part of yesterday's changes.
15686 * loop.c (loop_max_reg): New static variable.
15687 (loop_optimize): Initialize it. Eliminate one unnecessary call to
15689 (scan_loop): Call reg_scan_update whenever we may have added new
15690 registers, and update loop_max_reg.
15692 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15694 * regclass.c (record_reg_classes): Do not do the copying preferrencing
15695 when source does not die.
15697 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
15699 1999-12-14 Jakub Jelinek <jakub@redhat.com>
15701 * config/sparc/linux64.h (TARGET_LIVE_G0,
15702 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
15704 * config/sparc/linux.h (TARGET_LIVE_G0,
15705 TARGET_BROKEN_SAVERESTORE): Likewise.
15706 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
15707 TARGET_BROKEN_SAVERESTORE): Likewise.
15709 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
15710 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
15712 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
15713 as sparc64 block profiling register.
15714 * config/sparc/sparc.c (sparc_override_options): Allow block
15715 profiling with -m32.
15716 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
15717 profiling register.
15718 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
15719 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
15720 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
15722 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
15724 * config/sparc/sparc.h: Likewise.
15725 * config/sparc/xm-sysv4-64.h: Likewise.
15726 * config/float-sparc.h: Likewise.
15727 * glimits.h: Likewise.
15728 * longlong.h: Likewise.
15730 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
15731 (ASM_IDENTIFY_GCC): Remove.
15733 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15735 * combine.c (combine_simplify_rtx): Don't make shared rtl.
15736 (simplify_logical): Likewise.
15738 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15740 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
15741 * cppfiles.c (INO_T_EQ): Likewise.
15743 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15745 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
15746 * i386/mingw32.h (LIB_SPEC): Likewise.
15747 (STARTFILE_SPEC): Likewise.
15748 * i386/uwin.h (LIB_SPEC): Likewise.
15749 (STARTFILE_SPEC): Likewise.
15751 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
15752 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
15754 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
15756 * combine.c (combine_simplify_rtx): Fix order of checks for
15757 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
15759 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
15761 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
15762 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
15764 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15766 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
15768 * regclass.c (inv_reg_alloc_order): New array.
15769 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
15771 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
15772 counted_for_groups, counted_for_nongroups. Add fields rld and
15774 * reload.c (push_secondary_reload): Don't set nongroup field of
15776 (push_reload): Likewise.
15777 (find_reloads): Delete code to compute nongroup fields.
15778 * reload1.c (reload_insn_firstobj): New static variable.
15779 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
15781 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
15782 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
15783 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
15785 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
15787 (struct hard_reg_n_uses): Deleted.
15788 (potential_reload_regs): Deleted.
15789 (init_reload): Initialize spilled_pseudos and pseudos_counted.
15790 (reload): Don't try to allocate reload registers if we already know
15791 we have to make another pass. Call select_reload_regs. Free memory
15792 starting with reload_firstobj when starting another pass.
15793 Don't allocate spilled_pseudos.
15794 (calculate_needs_all_insns): Call copy_reloads for an insn that
15795 needs reloads; don't call calculate_needs.
15796 (spill_cost): New static array.
15797 (used_spill_regs_local): New static variable.
15798 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
15799 to compute potential_reload_regs.
15800 (find_reload_regs): Completely rewritten to use find_reg.
15801 (allocate_reload_reg): Don't test counted_for_groups or
15802 counted_for_nongroups. Lose NOERROR arg and code to give an error;
15803 all cllers changed.
15804 (choose_reload_regs): Add fallback code that uses the existing
15805 register allocation from find_reload_regs.
15807 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
15809 * flow.c (create_edge_list): Cast xmalloc return value.
15811 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
15813 * doprnt.c: Remove incorrect comment closure.
15815 * cse.c: Fix a few minor whitespace goofs.
15817 1999-12-13 Don Bowman <don@pixstream.com>
15819 * mips/vxworks.h: Fix problem with comment termination.
15820 (EXTRA_SECTIONS): Add in_sbss.
15821 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
15823 1999-12-12 David S. Miller <davem@redhat.com>
15825 * cse.c (struct cse_reg_info): Add hash_next member,
15826 reorder rest of struct for better packing on 64-bit
15828 (cse_reg_info_tree): Kill.
15829 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
15830 REGHASH_FN): New custom pow2 hash mechanism.
15832 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
15833 use a pow2 hash table.
15834 (get_cse_reg_info): Rework to use new REGHASH.
15835 (new_basic_block): Likewise, use HASH_SIZE, and inline
15837 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
15838 and inline free_element call.
15839 (lookup_as_function, insert, flush_hash_table, invalidate,
15840 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
15841 invalidate_for_call, use_related_value, find_comparison_args,
15842 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
15843 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
15844 get_element): Kill.
15846 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
15848 * cse.c (cse_basic_block): Free qty_table consistently.
15850 1999-12-12 David S. Miller <davem@redhat.com>
15851 Jakub Jelinek <jakub@redhat.com>
15853 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
15854 SUBREGs by hand, gen the appropriate hard reg directly.
15855 (movtf reg/mem split): Likewise and alter_subreg on destination
15857 (movtf mem/reg split): Similarly.
15858 (movdf_cc_sp64): Rename from hidden pattern.
15859 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
15860 (movtf_cc_sp64, following split): New pattern and splitter.
15861 (movdf_cc_reg_sp64): Rename from hidden pattern.
15862 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
15864 (movtf_cc_reg_sp64, following split): New pattern and splitter.
15866 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
15868 * loop.c (load_mems): Don't hoist written floating point mem
15871 1999-12-12 Mark Mitchell <mark@codesourcery.com>
15873 * except.h (struct eh_queue): Add `next' pointer.
15874 (struct eh_status): Make x_ehqueue a pointer.
15875 (push_ehqueue): Declare.
15876 (pop_ehqueue): Likewise.
15877 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
15879 (expand_fixup_region_end): Likewise.
15880 (expand_leftover_cleanups): Likewise.
15881 (push_ehqueue): Define.
15882 (pop_ehqueue): Likewise.
15883 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
15884 than doing it inline.
15885 (expand_start_all_catch): Adjust now that ehqueue is a
15887 (mark_eh_queue): Mark all level of the queue.
15888 (mark_eh_status): Adjust now that ehqueue is a
15890 (init_eh_for_function): Allocate ehqueue.
15891 (free_eh_status): Free it.
15892 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
15893 expansion for a fixup.
15895 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15897 * gthr-single.h (__gthread_active_p): Add prototype arguments.
15899 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
15900 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
15901 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
15902 function_ptr, getpagesize, __enable_execute_stack,
15903 __enable_execute_stack, __clear_insn_cache,
15904 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15905 _cleanup, _exit, __default_terminate, __terminate_func,
15906 __terminate, __empty, __throw, new_eh_context,
15907 eh_context_initialize, eh_context_static, eh_context_specific,
15908 get_eh_context, __get_eh_context, __get_eh_info,
15909 init_reg_size_table, eh_threads_initialize,
15910 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15911 __unwinding_cleanup, throw_helper, __throw, __rethrow,
15912 __pure_virtual): Add prototype arguments.
15913 (__bb_exit_func): Cast a sizeof to long when comparing against one.
15914 Cast a signed value to unsigned long when comparing against one.
15915 (new_eh_context): Wrap in _GTHREADS macro.
15916 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15918 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15919 (throw_helper): Initialize variables `handler_p' and `pc_p'.
15921 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15923 * combine.c (record_promoted_value): Remove unused variable
15926 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15928 * global.c (record_conflicts): Likewise for `j'.
15930 * genoutput.c (output_insn_data): Don't unnecessarily cast away
15933 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15935 * i386-protos.h (output_387_binary_op, output_fix_trunc,
15936 output_fp_compare): Constify a char*.
15938 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
15940 (override_options, ix86_comp_type_attributes, print_operand,
15941 output_387_binary_op, output_fix_trunc, output_fp_compare):
15943 (ix86_sched_reorder): Mark parameter `clock_var' with
15946 * i386.h (DEBUG_PRINT_REG): Constify a char*.
15948 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
15950 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
15951 operand, for use in the Java front-end.
15953 1999-12-10 Ben Collins <bcollins@debian.org>
15955 * configure.in: Fix typo for "-64" in 64bit as check.
15956 * configure: Rebuilt.
15958 1999-12-10 Jakub Jelinek <jakub@redhat.com>
15960 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
15963 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15965 * c-parse.in (string): With -Wtraditional, warn if ANSI string
15966 concatenation is utilized.
15968 * invoke.texi (-Wtraditional): Document it.
15970 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15972 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
15973 Cast a ptrdiff_t to long and pass it to printf with %ld.
15975 1999-12-10 Geoff Keating <geoffk@cygnus.com>
15977 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
15978 68881, we have no 68881 registers at all.
15979 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
15980 value in a 68881 register if it is available.
15982 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
15984 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
15985 for long long multiply-accumulate.
15987 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15989 * loop.c (insert_loop_mem): Undo last change.
15991 1999-12-10 David S. Miller <davem@redhat.com>
15993 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
15995 * config/sparc/sparc-protos.h: Add them.
15996 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
15997 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
15998 constraints which use those helpers.
15999 (EXTRA_CONSTRAINT): Use this new macro.
16000 * md.texi: Update sparc target constraints documentation.
16001 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
16002 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
16003 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
16004 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
16005 (movsf high/lo_sum split): Rework for new patterns.
16006 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
16008 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
16010 * c-common.c (c_common_nodes_and_builtins):
16011 Create __builtin_ptrdiff_t and __builtin_size_t.
16013 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
16015 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
16017 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16019 * regclass.c (globalize_reg): Re-instate test that allows
16020 fixed registers to be declared as a variable even after functions
16023 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16025 * i386.md (cpu attribute): Add "athlon".
16026 (athlon_decode): New attribute.
16027 (Athlon scheduling units definitions): New.
16028 (fcmp and shld patterns): Set athlon_decode to "vector".
16029 * i386.c (athlon_cost): New.
16031 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
16032 x86_use_sahf): Set for Athlon.
16033 (x86_use_fiop): Unset for Athlon.
16034 (override_options): Define Athlon alignments and "athlon" name.
16035 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
16036 * i386.h (TARGET_ATHLON): New.
16037 (enum processor_type): Add PROCESSOR_ATHLON.
16038 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
16040 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
16042 1999-12-09 Andreas Jaeger <aj@suse.de>
16044 * loop.c (record_biv): Declare parameter as int.
16046 * config/i386/i386-protos.h: Declare long_memory_operand.
16048 1999-12-09 Mark Mitchell <mark@codesourcery.com>
16050 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
16051 EXPR_WITH_FILE_LOCATION.
16053 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16055 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
16058 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
16060 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
16063 1999-12-09 Jakub Jelinek <jakub@redhat.com>
16065 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
16066 default on linux64 again.
16067 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
16068 models for multilibing.
16069 * genmultilib: Accept | as alternative separator within a set in
16072 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
16074 * calls.c (precompute_arguments): Make sure initial_value contains
16075 value pseudo which CSE expects.
16076 * cse.c (struct set): New entry orig_src.
16077 (cse_insn): Set it early on entry, use it for libcall EQUIV note
16080 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
16082 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
16084 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
16086 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
16088 1999-12-08 Jakub Jelinek <jakub@redhat.com>
16090 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
16091 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
16093 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
16096 * longlong.h: Merge in changes from glibc.
16097 Also don't clobber %g2 register in 32bit SPARC assembly, so that
16098 -mno-app-regs libgcc can be compiled.
16099 * libgcc2.c: Add defines so that the updated longlong.h
16100 can be used in libgcc2.a. Also, make sure on most architectures
16101 (at least on all which have optimized code in longlong.h defined
16102 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
16104 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16106 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
16107 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
16108 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
16110 * configure: Rebuilt.
16112 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
16114 * alpha.c (secondary_reload_class): For !BWX, sub-simode
16115 outputs require a register.
16117 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
16119 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
16120 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
16121 functions like dptoul will be resolved.
16122 (libgcc2.a): Make sure that the object files from DPBIT are named
16123 differently (prefix `_dp') from those that would be coming from
16126 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
16128 * configure.in: When target is sparc* and tm_file contains 64,
16129 test for 64bit support in assembler. If not supported, remove
16130 sparc/t-sol2-64 from target-dependent Makefile fragments.
16131 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
16132 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
16133 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
16134 * acconfig.h (AS_SPARC64_FLAG): Added.
16135 * configure, config.in: Rebuilt.
16136 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
16137 support. Use AS_SPARC64_FLAG.
16139 1999-12-07 Jakub Jelinek <jakub@redhat.com>
16141 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
16142 suitable for holding OFmode values so that gcc works with complex
16144 (hard_64bit_mode_classes): Likewise.
16146 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
16147 so that it is actually matched.
16148 (sethi_di_medlow): Likewise.
16150 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
16151 as legitimate constant if -mvis.
16152 * config/sparc/sparc.md (movtf): Likewise.
16153 (clear_sf): Use const_double_operand.
16154 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
16156 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
16157 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
16158 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
16159 routines, _Qp_* cannot be handled like that now.
16160 (INIT_TARGET_OPTABS): Likewise.
16161 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
16162 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
16163 sparc_emit_float_lib_cmp if ARCH64 and soft float.
16164 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
16165 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
16166 divtf3, sqrttf3): New expanders.
16167 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
16168 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
16169 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
16172 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
16173 * configure: Rebuilt.
16174 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
16175 -mcpu is given and we're doing 64bit compiles.
16177 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
16179 * loop.h (struct induction): Add multi_insn_incr.
16180 * loop.c (basic_induction_var): New multi_insn_incr argument.
16181 Set it if we search back through previous insns for the biv.
16182 (record_biv): New multi_insn_incr argument; fill in struct induction.
16183 (strength_reduce): Discard an iv with multiple bivs, any of
16184 which require multiple insns to increment.
16186 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16188 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
16191 1999-12-06 David S. Miller <davem@redhat.com>
16193 * combine.c (check_promoted_subreg): Do not conditionalize this upon
16194 PROMOTE_FUNCTION_RETURN.
16196 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
16198 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
16199 and handle REG_UNUSED note on insn.
16201 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
16202 inner_mask instead of mask.
16204 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
16206 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
16207 zero if there was an error.
16209 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16211 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
16214 * longlong.h: Fix clobbers in SPARC asm statements.
16216 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
16217 valid sethi operations when TARGET_ARCH64.
16219 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
16220 always use move_by_pieces to avoid infinite recursion.
16221 (restore_fixed_argument_area): Likewise.
16223 * combine.c (check_promoted_subreg, record_promoted_value): New
16225 (combine_instructions): Use them to retain nonzero and sign bit
16226 information after SUBREGs are eliminated by optimizations in
16227 this pass if PROMOTE_FUNCTION_RETURN.
16229 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
16230 .register declaration. Don't use variables with __ prefixes.
16232 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16234 * fold-const.c (optimize_bit_field_compare): Only use one mode
16235 for both RHS and LHS in non-constant case.
16237 1999-12-06 Nathan Sidwell <nathan@acm.org>
16239 * frame.c (start_fde_sort): Only allocate erratic array, if
16240 linear one was allocated. Return allocated flag.
16241 (fde_insert): Only insert, if there's a valid array.
16242 (fde_end_sort): Split, sort and merge if linear and erratic
16243 arrays exist, else just sort linear one.
16244 (search_fdes): New function. Linear search through original fde
16246 (frame_init): Permit multiple initializations. Cope with
16248 (find_fde): Fallback on linear search, if failed to sort array.
16249 (__deregister_frame_info): Only free sorted array, if we
16252 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16254 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
16256 1999-12-05 Jakub Jelinek <jakub@redhat.com>
16258 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
16260 1999-12-05 Mark Mitchell <mark@codesourcery.com>
16262 * tree.h (special_function_p): Declare.
16263 * calls.c (special_function_p): Make it global. Don't take `name'
16264 as a parameter. Fix typo in 1999-11-28 change.
16265 (expand_cal): Adjust.
16267 1999-12-04 Mark Mitchell <mark@codesourcery.com>
16269 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
16270 * tree.h (EXPR_WFL_FILENAME): Define in terms of
16271 EXPR_WFL_FILENAME_NODE.
16272 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
16274 * print-tree.c (print_note): Print TREE_PRIVATE and
16277 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
16278 the original die cannot be found.
16280 * varray.h (varray_head_tag): Add elements_used.
16281 (VARRAY_PUSH): New macro.
16282 (VARRAY_POP): Likewise.
16283 (VARRAY_TOP): Likewise.
16284 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
16286 * varray.c (varray_init): Initialize elements_used.
16287 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
16288 (INTEGRATE_H): New variable.
16289 (integrate.o): Depend on INTEGRATE_H.
16290 (unroll.o): Likewise.
16292 * function.h (insert_block_after_note): Declare.
16293 * function.c (insert_block_after_note): Split out from ...
16294 (retrofit_block): ... here.
16296 * stmt.c (expand_fixup): Fix typo in comment.
16298 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16300 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
16301 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
16302 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
16303 (regmove_optimize, fixup_match_1): Likewise.
16305 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16307 * flow.c (flow_loops_dump): Add missing argument when calling
16308 flow_loop_nested_p.
16310 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
16311 Greg McGary <gkm@gnu.org>
16313 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
16314 (init_attributes): Add A_NO_LIMIT_STACK.
16315 (decl_attributes): Handle A_NO_LIMIT_STACK.
16316 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
16317 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
16318 Handle stack bounds checking.
16319 * flags.h (flag_stack_check): Use the word 'probe' rather than
16320 'check', because the flag doesn't actually cause any checking to
16322 * function.c (expand_function_start): Set
16323 current_function_limit_stack.
16324 * function.h (struct function): Add limit_stack.
16325 (current_function_limit_stack): Define.
16326 * invoke.texi (Code Gen Options): Document new options.
16327 * rtl.h: Declare stack_limit_rtx.
16328 * toplev.c (stack_limit_rtx): New variable.
16329 (decode_f_option): Handle new options -fstack-limit-register=REG,
16330 -fstack-limit-symbol=IDENT, -fno-stack-limit.
16331 (main): Add stack_limit_rtx as GC root.
16332 * tree.h (DECL_NO_LIMIT_STACK): New macro.
16333 (struct tree_decl): New member no_limit_stack.
16335 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
16337 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
16338 (conditional_trap+1): Get new mnemonic correct.
16339 (conditional_trap+2): New pattern for DImode traps.
16341 * config/m68k/m68k.c (output_function_prologue): Handle
16343 * config/m68k/m68k.md (trap): New insn.
16344 (conditional_trap): New insn.
16345 * md.texi (Standard Names): Document `trap' and
16346 `conditional_trap'.
16347 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
16348 so a cc0 setter doesn't get emitted at some random place in the
16351 * config/i960/i960.md (trap): New insn.
16352 (conditional_trap): New expander.
16353 (conditional_trap+1, conditional_trap+2): New insns for signed
16354 and unsigned cases.
16355 * config/i960/i960.c (i960_function_prologue): Use
16356 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
16358 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
16359 Geoffrey Keating <geoffk@cygnus.com>
16361 * flags.h (warn_padded, warn_packed): Add global var decls.
16362 * toplev.c (warn_padded, warn_packed): Add global var defns.
16363 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
16364 * stor-layout.c (layout_record): Add local variable `type'
16365 to hold often-used TREE_TYPE (field). Add local variable
16366 `unpacked_align' to hold alignment that would be in force
16367 if no `packed' attribute were present. Warn if `packed' attribute
16368 is unnecessary, or even harmful. Warn when gcc inserts padding
16369 to satisfy alignment requirements of members. Use NULL_TREE
16370 when checking whether var_size is set.
16371 * invoke.texi: Document new flags.
16373 1999-12-03 Nathan Sidwell <nathan@acm.org>
16375 * frame.c (fde_split): Reimplement to avoid variable sized array.
16377 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16379 * combine.c (try_combine): Before fixing up LOG_LINKS for the
16380 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
16382 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
16384 * invoke.texi: Document the mips option -mno-crt0
16386 1999-12-02 Mike Karr <mkarr@mathworks.com>
16388 * cccp.c (argdata): Added free_ptr member.
16389 (macroexpand): Initialize free_ptr of each argument. When an
16390 argument's buffers are freed, if the argument's free_ptr corresponds
16391 to a buffer on the input stack, then return the free_ptr to that stack
16392 frame, otherwise, free it.
16393 (macarg): If an argument begins and ends on the same input stack level,
16394 then transfer the free_ptr of that buffer to the argument in case
16395 the stack is popped during the processing of a subsequent argument.
16397 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
16399 * loop.c (note_reg_stored): New function.
16400 (struct note_reg_stored_arg): New structure.
16401 (try_copy_prop): Change to be more conservative; only replace within
16402 one extended basic block and stop replacing if a store to the
16403 replacement reg is seen.
16405 1999-12-02 Nick Clifton <nickc@cygnus.com>
16407 * config/fp-bit.c: Initialise all fields of the NAN
16410 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
16413 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
16415 * i386.md (extend?f?f2): Force the input into a register, not
16418 1999-12-01 Jakub Jelinek <jakub@redhat.com>
16420 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
16422 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
16423 alternative because setting up 64bit constant is usually costly,
16424 especially when reload is in progress or completed.
16425 (movdf_const_intreg_sp64): Likewise.
16426 (movdf_const_intreg split): Fix building up constants when
16427 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
16429 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
16431 * combine.c (if_then_else_cond): Use const_true_rtx instead of
16432 const1_rtx for return values in EQ/NE comparison against (const_int 0)
16435 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
16436 (asm_file_start): Emit .am33 into assembly file when compiling for
16438 (print_operand_address): Handle POST_INC addresses.
16439 (can_use_return_insn, initial_offset): Check AM33 registers too.
16440 (expand_prologue): Check & save AM33 registers too.
16441 (expand_epilogue): Similarly.
16442 (secondary_reload_class): Handle AM33 specific secondary reloads.
16443 (output_tst): Emit efficient code for the AM33 too.
16444 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
16445 (TARGET_SWITCHES): Add -mam33 switch.
16446 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
16447 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
16448 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
16449 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
16450 (enum reg_class, REG_CLASS_NAMES): Likewise.
16451 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
16452 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
16453 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
16454 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
16455 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
16456 (HAVE_POST_INCREMENT): Define.
16457 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
16458 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
16459 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
16460 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
16461 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
16462 (zero_extend to SI from QI/HI): Likewise.
16463 (sign_extend to SI from QI/HI): Likewise.
16464 (mulsidi3, umulsidi3): New patterns for the AM33.
16465 (tstsi with zero extension from QI/HI): Add AM33 variants.
16466 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
16467 (return_internal_regs, store_movm): Handle new AM33 registers.
16468 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
16469 (LIBGCC, INSTALL_LIBGCC): Likewise.
16470 * invoke.texi: Document new flags.
16472 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16474 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
16475 (addsi3_carry): Likewise.
16476 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
16477 (sbbsi3_carry): Likewise.
16478 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
16479 (mulhi3): Likewise.
16480 (test?i_1): Ensure that only one operand is memory.
16481 (conditional move patterns): likewise.
16482 (shift and rotate patterns): Rewrite to expander, add
16483 "binary_operator_ok" to the condition.
16485 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
16486 * i386.h (procesor_costs): Add movzbl_load field.
16487 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
16488 non-Q registers, accept DImode registers anywhere.
16490 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
16491 * i386.c (*_cost): Set value for movxbl_load field.
16493 * (addsi): New add to lea splitter.
16494 (ashlsi): Likewise.
16495 (lea to add/shift peep2): New.
16497 1999-12-01 Mark Salter <msalter@cygnus.com>
16499 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
16500 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
16501 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
16503 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16505 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
16506 * i386.md (movsi_xor): New.
16508 (movsi_1, movhi_1, movqi_1): Remove.
16509 (movsi_2): Rename to movsi_1.
16510 (movhi_2): Rename to movhi_1.
16511 (movqi_2): Rename to movqi_1.
16512 (movdi_1): Remove; remove splitter.
16513 (movdi_2): Rename to movdi_1.
16514 (divmodsi4 splitter): Do not emit clobbers for move patterns.
16515 (long move peep2): Do not create QI or HI mode mov0s
16516 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
16518 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
16521 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
16522 (abs?f2_if): Likewise.
16524 1999-11-30 Alex Samuel <samuel@codesourcery.com>
16526 * ggc.h (ggc_test_and_set_mark): New macro.
16527 (ggc_mark_rtx): Use ggc_test_and_set_mark.
16528 (ggc_mark_tree): Likewise.
16529 (ggc_mark_rtvec): Likewise.
16530 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
16532 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
16534 * dwarf2out.c (scope_die_for): Only handle types. Only search for
16536 (decl_scope_table): Just an array of trees now.
16537 (push_decl_scope): Simplify.
16538 (dwarf2out_init): Adjust.
16539 (local_scope_p): New fn.
16540 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
16541 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
16542 (gen_typedef_die): Likewise.
16543 (gen_lexical_block_die): Don't call push/pop_decl_scope.
16544 (gen_inlined_subroutine_die): Likewise.
16545 (gen_abstract_function): Set current_function_decl temporarily.
16546 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
16547 Handle block extern declarations. Don't call push/pop_decl_scope.
16548 (gen_decl_die): Fix logic for block externs.
16550 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16552 * calls.c (special_function_p): Remove `realloc' and add `strdup'
16553 to the list of functions which have attribute malloc by default.
16555 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16557 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
16558 integer constant does not match the traditional type, limit the
16559 warnings to cases where the base of the type is ten.
16561 * invoke.texi (-Wtraditional): Document it.
16563 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16565 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
16566 * rs6000.md: Only access a CONST_INT with INTVAL
16568 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
16570 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
16571 (compute_nearerout): Likewise.
16572 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
16573 size_t to unsigned long for formatting.
16575 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16577 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
16578 Allow the user to override call-used/fixed state of %g2-5
16579 registers from the command line (with the exception of %g4 for
16581 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
16582 there is a higher chance of having a leaf function.
16583 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
16584 for ARCH64 which has %ccr register.
16585 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
16587 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
16588 insn accept into delay slot any insn which does not use %[ol]
16589 registers. Accept some LO_SUM and shift left by 1 for the normal
16591 (output_function_epilogue): Likewise.
16592 (epilogue_renumber): Added argument which inhibits any renumbering
16593 and just tests if the rtx does not use any %[ol] registers.
16594 (output_return): Reflect above change.
16596 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16598 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
16599 aggregate passing for sizes <= 16 bytes.
16601 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
16603 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
16604 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
16605 * reload.c (find_dummy_reload): Likewise.
16606 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
16607 * reload1.c (reload_as_needed): Likewise.
16608 * stupid.c (stupid_find_reg): Likewise.
16609 * tm.texi (Obsolete Register Macros): Delete section.
16610 * gmicro.h: Remove all traces of the two macros.
16611 * i386.h: Likewise.
16612 * m88k.h: Likewise.
16613 * mips.h: Likewise.
16615 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
16617 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
16618 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
16619 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
16620 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
16621 units for the sparclite86x chip.
16622 (flush): Revert October 14th change; add SImode specifically.
16623 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
16624 * invoke.texi: Document it.
16626 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
16628 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
16629 psimode_truncation_operand.
16631 * config/mn10200/mn10200.c (psimode_truncation_operand): New
16632 function. Return true if the operand is either a MEM valid
16633 for a PSImode address or not a MEM at all.
16635 * config/mn10200/mn10200.md (truncsipsi2): Use
16636 psimode_truncation_operand.
16638 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16640 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
16641 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
16642 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
16643 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
16644 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
16645 (flow_loop_level_compute, low_loops_level_compute): Likewise.
16646 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
16647 * basic-block.h: Protect from multiple inclusion.
16648 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
16649 (struct loops, struct loop): Define structures.
16650 * sbitmap.c (sbitmap_a_subset_b_p): New function.
16651 * sbitmap.h: Protect from multiple inclusion.
16652 (sbitmap_a_subset_b_p): Add prototype.
16653 * Makefile.in (LOOP_H): New macro.
16654 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
16656 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
16658 * cppinit.c (CAT): The argument list of this macro may not contain
16661 1999-11-29 David S. Miller <davem@redhat.com>
16663 Move quantity tables and register equivalence chains into
16664 per-qty and per-register structure arrays respectively.
16665 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
16666 qty_const_insn, qty_comparison_code, qty_comparison_const,
16667 qty_comparison_qty): Delete, replace with...
16668 (qty_table): this structure table.
16669 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
16670 (reg_eqv_table): this structure table.
16671 (make_new_qty): Add argument MODE. Caller updated.
16672 Update to use qty_table and reg_eqv_table.
16673 (make_regs_eqv, delete_reg_equiv, insert_regs,
16674 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
16675 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
16676 cse_process_notes, cse_main, cse_basic_block): Likewise.
16678 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16680 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
16681 operation if C is negative.
16682 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
16683 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
16684 law for some divisions if constant is negative and change other
16685 divisions to the opposite rounding.
16687 * expr.c (store_constructor_field): If bit position is not multiple
16688 of alignment of TARGET's mode, use BLKmode.
16690 * expr.c (expand_expr_unaligned): Add more code from full case
16691 that is needed when OP0 is in a register.
16693 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16695 * dwarfout.c (field_byte_offset): Size can be zero if there was
16698 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16700 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
16701 (associate_trees): Delete unused var TEM.
16702 (extract_muldiv): Delete unused var CANCEL_P.
16704 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
16705 (target_isinf, target_isnan, target_negative): Add return types to
16706 function definitions.
16708 1999-11-29 Bruce Korb <autogen@linuxbox.com>
16710 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
16711 * fixinc/hackshell.tpl: ditto
16712 * fixinc/fixtests.c(double_slash_test): more C++ header testing
16713 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
16715 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16717 * reload.c (push_reload): When looking for a register to put into
16718 reg_rtx, make sure all hard regs in a multi-reg register are in the
16719 right class and nonfixed.
16721 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
16722 pending_read_insns, pending_write_insns, pending_read_mems,
16723 pending_write_mems, pending_list_length, last_pending_memory_flush,
16724 last_function_call, sched_before_next_call): Move static variables
16726 (bb_ prefixed versions): Replace with single array bb_deps.
16727 (struct deps): New structure.
16728 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
16729 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
16730 argument of type "struct deps *"; use that instead of global
16731 variables. All callers changed.
16732 (init_rgn_data_dependencies): Delete function.
16733 (init_rtx_vector): Delete function.
16734 (init_deps): New function.
16736 (free_pending_lists): Simplify, we always use the bb_deps array even
16737 if only one basic block.
16738 (compute_block_backward_dependences): Likewise.
16739 (schedule_region): Likewise.
16741 (propagate_deps): New function, broken out of
16742 compute_block_backward_dependences.
16743 (compute_block_backward_dependences): Use it.
16745 * alpha.md: Delete useless patterns that tried to work around
16746 register elimination problems.
16748 * unroll.c (loop_iterations): Don't abort if iteration variable
16751 From Joern Rennecke:
16752 * reload1.c (reloads_conflict): Reverse test comparing operand
16753 numbers when testing for conflict between output/outaddr reloads.
16755 1999-11-29 David S. Miller <davem@redhat.com>
16757 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
16759 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
16761 1999-11-28 Robert Lipe <robertl@cygnus.com>
16763 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
16764 table from .fini into .dtor.
16766 1999-11-28 Anthony Green <green@cygnus.com>
16768 * tree.h (struct tree_decl): Add malloc_flag.
16769 (DECL_IS_MALLOC): Define.
16770 * c-common.c (attrs): Add A_MALLOC attribute.
16771 (init_attributes): Add this attribute to the table.
16772 (decl_attributes): Handle malloc attribute.
16773 * calls.c (special_function_p): Check for the malloc attribute.
16774 * extend.texi (Function Attributes): Document malloc attribute.
16776 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
16778 * pa.md (reload shift-add patterns): Remove.
16780 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16782 * reorg.c (dbr_schedule) Print more statistics. Corrected
16783 problem when printing info when 3 delay slots are filled.
16785 1999-11-28 Jakub Jelinek <jakub@redhat.com>
16787 * combine.c (setup_incoming_promotions): Pass an outgoing
16788 regno to FUNCTION_ARG_REGNO_P which it expects.
16790 1999-11-28 Andreas Jaeger <aj@suse.de>
16792 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
16794 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
16796 * cccp.c (do_include): Avoid initialization of automatic variable.
16798 * integrate.c (mark_stores): Function definition made void, to match
16799 previous declaration.
16800 * regclass.c (dump_regclass): Ditto.
16801 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
16803 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16805 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
16806 known to be multiple of divisor.
16808 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
16810 * combine.c (try_combine): Add code to try to merge a set of a
16811 two-word pseudo to a constant with a setting of one of those words
16814 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
16815 (split_tree): Completely rework to make more general.
16816 (make_range, fold): Call negate_expr.
16817 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
16818 (fold, associate): Call new split_tree and associate_trees.
16819 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
16821 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
16823 * loop.c (try_copy_prop): Avoid GNU C extension.
16825 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16827 * except.c (init_eh_for_function): Still zero eh_return_context,
16828 eh_return_stack_adjust, and eh_return_handler.
16830 * except.h (eh_status): Adjust documentation for x_protect_list.
16831 (begin_protect_partials): New function.
16832 * except.c (enqueue_eh_entry): Fix formatting.
16833 (get_first_handler): Add consistency check.
16834 (add_partial_entry): Adjust usage of protect_list.
16835 (emit_cleanup_handler): Save and restore ehqueue.
16836 (expand_start_all_catch): Add comment.
16837 (begin_protect_partials): New function.
16838 (end_protect_partials): Adjust usage of protect_list.
16839 (init_eh_for_function): Use xcalloc.
16841 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16843 * c-common.c (check_format_info): Don't call a variadic function
16844 with a non-literal format string.
16846 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
16848 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
16849 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
16852 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
16855 * collect2.c (collect_wait): Likewise.
16857 * dbxout.c (dbxout_type): Likewise.
16859 * gcc.c (do_spec_1): Likewise.
16861 * genemit.c (gen_insn, gen_expand): Likewise.
16863 * genrecog.c (write_switch, write_subroutine): Likewise.
16865 * mips-tfile.c (catch_signal, botch): Likewise.
16867 * print-rtl.c (print_rtx): Likewise.
16869 * toplev.c (default_print_error_function, report_error_function,
16870 _fatal_insn): Likewise.
16872 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16874 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
16876 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16878 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
16879 operations when needed.
16880 * i386.md (fop_?f_comm): New.
16881 (fop_?f_1): Do not accept commutative operands.
16883 1999-11-25 Andreas Jaeger <aj@suse.de>
16885 * config/mips/mips.md (casesi_internal): Add missing brace.
16887 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
16889 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
16890 (splice_child_die): Handle moving a child DIE from the declaration
16891 DIE of a class to its specification.
16892 (gen_struct_or_union_type_die): Use 'complete' consistently.
16893 (gen_decl_die): Generate the virtual context DIE first.
16894 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
16896 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
16898 * config/mips/mips.md (call_value_multiple_interanal1): New.
16900 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16902 * dwarf2out.c (free_AT, free_die): New fns.
16903 (remove_children): Call them.
16904 (output_line_info): Disable removal of duplicate notes.
16906 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16907 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16908 means pretend the type isn't defined.
16909 Don't defer emitting types.
16910 (gen_type_die_for_member): New fn.
16911 (gen_decl_die): Call it.
16912 (splice_child_die): New fn.
16913 (gen_member_die): Call it rather than generate duplicate dies.
16915 Defer emitting information for the abstract instance of an inline
16916 until we either inline it or emit an out-of-line copy.
16917 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16918 from output_inline_function if DECL_ABSTRACT is also set.
16919 (block_ultimate_origin): Likewise.
16920 (gen_abstract_function): New fn.
16921 (gen_decl_die, gen_inlined_subroutine_die): Call it.
16922 (gen_subprogram_die): An abstract instance is not a declaration
16923 just because it doesn't match current_function_decl. Don't abort
16924 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
16925 has an abstract origin.
16926 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16927 abstract instance here.
16929 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
16931 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16932 where we need to reload fpul from a system register.
16934 1999-11-24 Andreas Jaeger <aj@suse.de>
16936 * config/mips/linux.h (CPP_PREDEFINES): Added.
16937 (LINK_SPEC): Remove -Y since this is only needed on sparc.
16939 1999-11-24 Andreas Jaeger <aj@suse.de>
16941 * config/mips/linux.h (TARGET_VERSION): Added.
16942 (HANDLE_SYSV_PRAGMA): Added.
16943 (DEFAULT_VTABLE_THUNKS): Added.
16945 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16947 * local-alloc.c (qty): New structure and static variable.
16948 (qty_phys_reg): Remove, all references changed to qty.
16949 (qty_n_refs): Likewise.
16950 (qty_min_class): Likewise.
16951 (qty_birth): Likewise.
16952 (qty_death): Likewise.
16953 (qty_size): Likewise.
16954 (qty_mode): Likewise.
16955 (qty_n_calls_crossed): Likewise.
16956 (qty_alternate_class): Likewise.
16957 (qty_changes_size): Likewise.
16958 (qty_first_reg): Likewise.
16959 (alloc_qty): Rename variable QTY to QTYNO.
16960 (finf_free_reg): Likewise.
16961 (local_alloc): Allocate qty, do not allocate the removed variables.
16963 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
16965 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
16966 when -membedded-pic is passed.
16968 * config/mips/mips.md (casesi): Handle 64-bit case too.
16969 (casesi_internal_di): New insn.
16971 * config/mips/mips.c (embedded_pic_offset): Always make the
16972 embedded-pic subtractions relative to the name of the current
16973 function by use of the magic string "..CURRENT_FUNCTION".
16974 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
16976 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
16978 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
16979 of (const_int 0), when what we really care about is
16980 whether it's a zero constant anyway.
16981 (div_trap_mips16): Likewise.
16983 1999-11-23 Mark Mitchell <mark@codesourcery.com>
16985 * loop.c (loop_optimize): Always find_loop_tree_blocks and
16986 unroll_block_trees when generating debuggable code.
16988 * tree.h (unsave_expr_1): New function.
16989 (lang_unsave): New variable.
16990 (get_callee_fndecl): New function.
16991 * tree.c (unsave_expr_now_r): New function.
16992 (lang_unsave): Define.
16993 (unsave_expr_1): Likewise.
16994 (unsave_expr_now_r): Split out from unsave_expr_now.
16995 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
16996 call unsave_expr_now_r.
16997 (get_callee_fndecl): Define.
16999 * Makefile.in (gencheck): Don't depend on lang_tree_files.
17000 (gencheck.o): Do depend on lang_tree_files.
17002 * integrate.h (copy_decl_for_inlining): New declaration.
17003 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
17004 (copy_decl_for_inlining): New function.
17005 (integrate_parm_decls): Use it.
17006 (integrate_decl_tree): Likewise.
17008 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
17010 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
17011 the second two from the first.
17012 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
17013 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
17014 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
17016 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
17017 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
17020 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
17022 * pa.md (call_internal_symref, call_value_internal_symref): No mode
17023 needed on the address operand.
17024 * pa.c (call_operand_address): Check for the correct mode.
17026 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
17028 * loop.c: Include "basic-block.h".
17029 (try_copy_prop, replace_loop_reg): New functions.
17030 (load_mems): Detect registers that just hold copies of the hoisted
17031 mem, and call try_copy_prop to eliminate them.
17032 * Makefile.in (loop.o): Update dependencies.
17034 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
17036 * Makefile.in (gencheck.o): Depend on gencheck.h.
17037 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
17038 (insn-peep.o): Depend on except.h and function.h.
17039 (insn-attrtab.o): Depend on RECOG_H.
17040 (insn-output.o): Depend on toplev.h and flags.h.
17041 (gengenrtl.o): Depend on real.h.
17042 (gen-protos.o): Depend on cpplib.h and cpphash.h.
17043 Unify all dependencies to be on RECOG_H rather than recog.h.
17045 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17047 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
17048 * configure.in: Try building a bi-arch 32/64-bit compiler on
17049 sparc-*-solaris2.7 and higher.
17050 * configure: Rebuild.
17052 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
17054 * config/freebsd.h: New, FreeBSD architecture independent file.
17055 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
17056 independent pieces.
17057 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
17058 directly by i386/freebsd.h.
17059 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
17060 independent configuration file.
17061 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
17062 directly by i386/freebsd.h.
17063 * configure: Rebuilt.
17065 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
17066 which is in the user's namespace.
17067 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
17068 `i386' which is not in our namespace.
17070 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
17072 * invoke.texi (ARM Options): Add in -mno-alignment-traps
17074 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
17076 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
17077 (add_dwarf_attr, add_child_die): Just push onto the front.
17078 (reverse_die_lists): New fn.
17079 (add_sibling_attributes): Use it.
17080 (push_decl_scope): Reorganize.
17081 (add_name_and_src_coords_attributes): Don't set file and line for
17082 an artificial decl.
17083 (gen_subprogram_die): An artificial function doesn't need to match
17085 (gen_compile_unit_die): Return the generated die. Only add
17086 AT_comp_dir if the filename is relative.
17087 (remove_AT): Simplify loop. Also free string values.
17088 (output_die): A DIE ref can't be null.
17089 (output_value_format, value_format): Take a dw_attr_ref.
17090 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
17091 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
17092 AT_addr, AT_lbl): New fns.
17093 (various): Use them.
17094 (various): Constify.
17096 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17098 * combine.c (combine_simplify_rtx): When handling a SUBREG,
17099 take SUBREG_WORD into account.
17100 (if_then_else_cond): Likewise.
17102 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
17104 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
17105 clause from BSD license, pursuant with
17107 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
17109 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
17111 * loop.c (load_mems): Reformat slightly.
17112 * basic-block.h (regset_head): New typedef.
17113 (INIT_REG_SET): New macro.
17115 1999-11-22 Bruce Korb <autogen@linuxbox.com
17117 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
17118 (mips-dec-bsd*): non-functional code
17119 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
17121 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
17122 added three replacement fixes
17123 (no_double_slash): removed comments that are not (any longer) pertinent
17124 (bad_lval): this fix currently runs against many files.
17125 The comment seems to indicate that we should select for files
17126 containing 'pragma extern_prefix'.
17128 * fixinc/fixinc.x86-linux-gnu: deleted
17129 * fixinc/inclhack.sh: regen
17130 * fixinc/fixincl.x: regen
17131 * fixinc/fixincl.sh: regen
17133 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
17135 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
17136 its code is INSN and it has no notes.
17138 1999-11-22 Andrew Haley <aph@cygnus.com>
17140 * varasm.c (function_defined): Remove.
17141 (make_function_rtl): Don't set function_defined.
17142 (make_decl_rtl): Remove global register warning.
17143 * regclass.c (no_global_reg_vars): New variable.
17144 (globalize_reg): Warn if function has already been defined.
17145 (regclass_init): Set no_global_reg_vars.
17147 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
17149 * regclass.c (reg_pref): New structure and static variable
17150 (prefclass): Delete.
17151 (altclass): Delete.
17152 (all uses of prefclass and altclass): Use reg_pref instead.
17154 1999-11-21 Nick Clifton <nickc@cygnus.com>
17156 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
17158 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
17159 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17160 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17162 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
17164 * varasm.c (output_constructor): Solve problem with long long
17165 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
17167 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17169 * global.c (allocno): New structure and static variable.
17170 (allocno_reg): Remove, all references replaced by allocno.
17171 (allocno_size): Likewise.
17172 (hard_reg_conflicts): Likewise.
17173 (hard_reg_preferences): Likewise.
17174 (hard_reg_copy_preferences): Likewise.
17175 (hard_reg_full_preferences): Likewise.
17176 (regs_someone_prefers): Likewise.
17177 (allocno_calls_crossed): Likewise.
17178 (allocno_n_refs): Likewise.
17179 (allocno_live_length): Likewise.
17180 (find_reg): Rename ALLOCNO to NUM.
17182 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
17183 references updated.
17184 (may_move_out_cost): New variable.
17185 (init_reg_sets_1): Initialize may_move_out_cost.
17186 (record_reg_classes): Use may_move_out_cost.
17188 * regclass.c (dump_regclass): New function.
17189 (regclass): New parameter DUMP, call DUMP_REGCLASS.
17190 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
17191 pass rtl_dump_file to regclass.
17192 * rtl.h (regclass): Update prototype.
17194 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17196 * i386.md (neg, not and abs patterns): Revmap to use
17197 ix86_expand_unary_operator and ix86_unary_operator_ok.
17198 (add?f and sub?f expanders): Force operand 1 to register.
17199 * i386.c (ix86_expand_unary_operator): Rewrite.
17200 (ix86_unary_operator_ok): Ensure that memory operands
17202 (ix86_binary_operator_ok): Do not allow operand 1 to
17203 come into memory and operand 0 not.
17204 (ix86_expand_binary_operator): Ensure that
17205 src1 is not non-matching memory.
17207 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
17208 to support integer registers and memory.
17209 (abss?2_integer): Likewise.
17211 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
17212 (REG_CLASS_NAMES): Likewise.
17213 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
17215 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
17216 (movsf): Likewise; unify 4th and 5th alternative.
17217 (pushdf): Likewise.
17218 (movdf_1): Likewise; rename to movdf_integer.
17219 (pushxf): Likewise; rename to pushxf_integer; fix output template;
17220 remove redundant splitter.
17221 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
17222 (movdf_nointeger): New.
17223 (movxf_nointeger): New.
17224 (pushxf_nointeger): New.
17226 * i386.md (extend?f?f): Split to expander and pattern, refuse two
17227 memory operands in patterns.
17228 (fop*): Refuse two memory operands.
17230 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
17231 on !TARGET_USE_CLTD CPUs.
17233 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
17235 * extend.texi: Document C++ restricted pointers and references.
17237 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
17239 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
17240 (invalidate_skipped_set): Call it unconditionally.
17241 (cse_set_around_loop): Likewise.
17243 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17245 * rtl.texi (mem): Add documentation for alias-set argument
17248 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17250 * i386.h (struct_processor_costs): New fields int_load, int_store,
17251 fp_move, fp_load and fp_store
17252 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
17254 (MEMORY_MOVE_COST): New macro.
17255 * i386.c (386_cost): Define new fields.
17256 (i486_cost): Likewise.
17257 (pentium_cost): Likewise.
17258 (pentiumpro_cost): Likewise.
17259 (k6_cost): Likewise.
17261 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
17262 Geoffrey Keating <geoffk@cygnus.com>
17264 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
17266 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
17269 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
17270 (TARGET_STRICT_ALIGNMENT): New macro.
17271 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
17272 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
17273 * invoke.texi (M680x0 Options): Document -mstrict-align.
17275 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
17276 Richard Henderson <rth@cygnus.com>
17278 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
17279 (ix86_split_long_move): Declare.
17280 * i386.c (split_xf, ix86_split_movdi): Remove.
17281 (ix86_split_to_parts, ix86_split_long_move): New.
17282 * i386.md (dimode move splitters): Use ix86_split_long_move.
17283 (dfmode move splitters): Likewise.
17284 (xfmode move splitters): Likewise.
17285 (movsf_1): Allow F->r.
17286 (movdf_1, movxf_1): Allow F->ro.
17288 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17290 * except.h (struct eh_entry): Add goto_entry_p.
17291 (eh_region_from_symbol): Remove prototype.
17292 * except.c (find_func_region_from_symbol): New function.
17293 (emit_cleanup_handler): Likewise.
17294 (eh_region_from_symbol): Make it static.
17295 (add_new_handler): Verify the argument.
17296 (find_func_region): Update comment.
17297 (expand_eh_region_end): Expand handlers here, rater than waiting
17298 until expand_leftover_cleanups or start_all_catch.
17299 (expand_leftover_cleanups): Don't expand here.
17300 (expand_start_all_catch): Or here.
17301 (expand_rethrow): Check the return value from find_func_region.
17302 * function.c (expand_function_end): Emit the catch_clauses.
17304 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
17306 * integrate.c (expand_inline_function): Add necessary check for NULL.
17308 1999-11-18 Nick Clifton <nickc@cygnus.com>
17310 * toplev.c (main): Correctly detect an unrecognised option.
17312 * cppinit.c (cpp_handle_option): Do not claim to have consumed
17313 a -f option if it has not been recognised.
17315 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
17317 * basic-block.h (update_life_extent): Remove trailing comma on
17318 enumeration type list.
17320 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17322 * varasm.c (output_constructor) Solved problem with long long
17323 bitfields. Corrected calculating this_time and shift. Also
17324 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
17326 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
17328 * flow.c (split_edge): Take looping structure into account when
17329 determining where to put the new block note.
17331 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
17333 * Makefile.in (ggc-none.o): Provide host specific version if
17336 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
17338 * cse.c (delete_trivially_dead_insns): Identify no-op insns
17339 containing subregs too.
17341 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17343 * invoke.texi: Add documentation for -muninit-const-in-rodata.
17344 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
17345 (TARGET_UNINIT_CONST_IN_RODATA): Define.
17346 (text_section): Add switches -munint-const-in-rodata and
17347 -mno-uninit-const-in-rodata.
17348 (ASM_OUTPUT_COMMON): Remove.
17349 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
17350 const objects should be placed in read-only data. Otherwise declare
17353 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
17355 * jump.c (jump_optimize_1): Revert last change.
17357 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
17359 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
17360 test if optimizing for size.
17362 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17364 * Makefile.in (toplev.o): Depend on except.h.
17365 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
17367 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17369 * i386.md (divmodsi4): Rewrite to expander.
17370 (*divmodsi4_nocltd): New.
17371 (*divmodsi4_cltd): New.
17372 (divmodsi4 splitter): Handle the case when input comes in edx.
17373 (udivmodhi4): Do not use constraints in exander.
17374 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
17376 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
17378 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
17379 for the common case.
17381 1999-11-16 Jakub Jelinek <jakub@redhat.com>
17383 * explow.c (hard_function_value): Add outgoing argument.
17384 * expr.h (hard_function_value): Declare it.
17385 * calls.c (expand_call, emit_library_call_value): Update callers.
17386 * function.c (aggregate_value_p): Ditto.
17387 (diddle_return_value): Must look at the outgoing registers
17388 on archs with register windows.
17390 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
17392 * alpha.c (alpha_build_va_list): Use make_lang_type and
17393 initialize TYPE_NAME for the va_list record.
17395 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
17397 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
17399 * ggc.h (struct ggc_statistics): Rearrange elements for better
17400 packing on 64-bit hosts.
17401 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
17402 (compute_nearerout): Likewise.
17404 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
17406 * config/rs6000/rs6000.c (first_reg_to_save): Save
17407 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
17409 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
17411 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
17412 notion of nesting to find the DIE for a type or function.
17413 DIEs can go in limbo even if we got a context_die.
17414 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
17415 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
17417 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
17418 (gen_type_die): Writing out the context doesn't cause member class
17419 template instantiations to be written out as well.
17421 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
17423 * rs6000.h (ASM_OUTPUT_DEF): New.
17424 Based on proposed addition from David Edelsohn.
17426 1999-11-15 Robert Lipe <RobertLipe@usa.net>
17427 Bruce Korb <autogen@linuxbox.com>
17429 * fixinc/inclhack.def
17430 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
17431 (unixware7_byteorder_fix): added. Removes conflicts for new defs
17433 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
17434 (svr4_endian): enabled with SVR5
17435 (svr4_mkdev): simplified syntax and enabled with SVR5
17437 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
17439 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
17440 * configure: Rebuilt.
17441 * config/t-freebsd-thread: New file.
17443 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
17445 * i386.c (ix86_decompose_address): Verify the base is a REG
17446 before trying to examine its register number.
17448 * basic-block.h: Remove all #defines and prototypes related to
17450 (free_bb_mem, compute_preds_succs): Remove prototype.
17451 * rtl.h (free_bb_mem): Remove prototype.
17452 * flow.c (alloc_int_list_node); Remove function.
17453 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
17454 (compute_preds_succs, free_bb_mem): Likewise.
17455 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
17456 * toplev.c (rest_of_compilation): Likewise.
17457 * haifa-sched.c (build_control_flow): Use flow generated edge
17458 list to build the haifa specific edge list.
17459 (find_rgns): Use new CFG data structures instead of pred/succ lists.
17460 (schedule_insns): Do not build pred/succ lists anymore. Instead
17461 build the edge table.
17463 * basic-block.h (dump_bb_data): Remove declaration.
17464 * flow.c (dump_bb_data): Remove function.
17465 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
17466 (sbitmap_union_of_predsucc): Likewise.
17468 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
17469 argument. All callers changed.
17470 (delete_null_pointer_checks_1): No longer need to compute the
17473 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
17474 All callers changed.
17475 (pre_expr_reaches_here_p_work): Likewise.
17476 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
17477 * lcm.c (compute_laterin): Fix initialization of LATER.
17478 (compute_nearerout): Similarly for NEARER.
17480 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17482 * cse.c (set_nonvarying_address_components): Delete unused function.
17483 (refers_to_p): Likewise.
17485 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
17487 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
17490 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17492 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
17493 definition in do while (0).
17495 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
17497 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
17499 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
17501 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
17503 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
17505 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
17506 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
17507 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
17508 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
17510 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
17511 saved on the stack. Output more accurate stack frame statistics
17512 into assembler file.
17514 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
17516 * genextract.c (record_insn_name): New function.
17517 (get_insn_name): No longer a stub.
17518 (main): Call record_insn_name for each insn. After each label
17519 written, print the insn name in a comment.
17521 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17523 * output.h (const_section, init_section, fini_section): Add
17526 * alpha/elf.h (const_section): Delete declaration.
17528 * svr4.h (const_section): Likewise.
17530 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
17532 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
17533 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
17534 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
17536 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
17537 variable-sized array bounds.
17539 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
17541 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
17544 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17546 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
17547 addresses the same way GO_IF_LEGITIMATE_INDEX does.
17549 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17551 * cse.c (hash_arg_in_struct): Delete.
17552 (struct table_elt): Delete elt in_struct.
17553 (struct set): Delete elt src_in_struct.
17554 (merge_equiv_classes): Don't set either hash_arg_in_struct or
17555 the corresponding in_struct elts.
17556 (canon_hash): Likewise.
17557 (safe_hash): Likewise.
17558 (find_best_addr): Likewise.
17559 (record_jump_cond): Likewise.
17560 (cse_insn): Likewise.
17562 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
17564 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
17566 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
17569 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
17571 * function.c (diddle_return_value): Put back check that the DECL_RTL
17572 for the function is a register.
17574 * function.c (diddle_return_value): Use hard_function_value to
17575 get an rtx suitable for use in the USE/CLOBBER insn.
17577 * global.c (global_conflicts): Update comments.
17578 (record_conflicts): No need to record conflicts between pseudos here.
17580 1999-11-11 Bruce Korb <autogen@linuxbox.com>
17582 * fixinc/fixincl.c: Added verbose levels for status messages
17584 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17586 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
17587 operand as argument to expand_and or expand_binop.
17589 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
17591 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
17592 gcc_add_string_root.
17594 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
17596 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
17598 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
17600 * flow.c (compute_flow_dominators): Initially put all blocks on
17602 * lcm.c (compute_antinout_edge, compute_available): Similarly.
17603 * gcse.c (compute_cprop_avinout): Remove.
17604 (compute_cprop_data): Use compute_available.
17605 (delete_null_pointer_checks_1): Use compute_available.
17607 * basic-block.h (compute_available): Returns a void now.
17608 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
17609 to return a value anymore.
17610 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
17611 worklists. Fix boundary cases. Compute maximal solutions.
17612 (compute_laterin, compute_nearerout): Similarly.
17614 * dwarf2out.c (add_AT_location_description): Allow
17615 (mem (plus (pseudo) (...)) too.
17617 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
17619 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
17621 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
17622 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17624 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
17626 * gansidecl.h: Likewise.
17632 * toplev.h: Likewise.
17634 * tree.c: Likewise.
17636 * tree.h: Likewise.
17638 * varray.c: Likewise.
17640 * varray.h: Likewise.
17642 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
17644 * gcov.c (struct arcdata): Add hits and total, remove prob.
17645 (output_branch_counts): New.
17646 (process_args): Set output_branch_counts if -c.
17647 (calculate_branch_probs): Store hits and total instead of
17649 (output_data): Emit counts if output_branch_counts is true.
17650 * gcov.texi (Invoking Gcov): Document -c switch..
17652 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
17654 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
17655 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
17657 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
17659 * invoke.texi (C Dialect Options): Add missing builtins from
17660 c-common.c to list.
17661 * extend.texi (Other Builtins): Copy to this list.
17663 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17665 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
17666 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
17667 redundant bitmap.h.
17669 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
17671 * flow.c (compute_flow_dominators): No longer treat basic block 0
17672 or (n_basic_blocks - 1) specially. Clear the AUX field before
17673 starting computation of doms/pdoms. Fix initial state for pdoms.
17675 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17677 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
17678 match rtl.o's: added ggc.h and toplev.h
17679 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
17680 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
17681 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
17683 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
17685 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
17686 from HAVE_DOS_BASED_FILESYSTEM.
17687 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
17688 HAVE_DOS_BASED_FILESYSTEM.
17690 (split_directories): Only special-case DOS file names if
17691 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
17692 instead of explicit tests. Conditionalize on !VMS.
17693 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
17694 tests. Conditionalize on !VMS.
17695 (process_command): Only use make_relative_prefix if !VMS.
17696 (free_split_directories): Conditionalize on !VMS.
17697 (DIR_UP): Conditionalize on !VMS.
17699 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
17701 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
17703 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
17705 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
17708 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
17710 * invoke.texi (Environment Variables): Document relative path
17712 * gcc.c (DIR_UP): If not defined, define as "..".
17713 (standard_bindir_prefix): New static, holds target location to
17715 (split_directories): New function to split a filename into
17716 component directories.
17717 (free_split_directories): New function, release memory allocated
17718 by split_directories.
17719 (make_relative_prefix): New function, make a relative pathname if
17720 the compiler is not in the expected location.
17721 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
17722 can figure out an appropriate prefix from argv[0].
17723 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
17724 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
17725 STANDARD_BINDIR_PREFIX.
17727 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17729 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
17731 * config/c4x/c4x.h: Moved prototypes to c4x.h.
17732 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
17733 c4x_secondary_memory_needed) Delete.
17734 (fp_zero_operand): Add mode argument.
17736 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
17738 * reload1.c (reload_reg_free_for_value_p): Don't use a register
17739 that is in reload_reg_used.
17741 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
17743 * config/arm/arm-protos.h: New file: Prototypes for functions
17744 defined in arm.c and pe.c.
17745 * config/arm/arm.h: Fix compile time warnings.
17746 * config/arm/arm.c: Fix compile time warnings.
17747 * config/arm/pe.h: Fix compile time warnings.
17748 * config/arm/aout.h: Fix compile time warnings.
17750 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
17752 * config/m32r/m32r-protos.h: New file: Prototypes for functions
17755 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
17756 Add support for subtargets.
17757 Add prototypes for new predicates.
17758 Add scheduling macros.
17760 * config/m32r/m32r.c: Fix compile time warnings.
17761 (int8_operand): New predicate function.
17762 (reg_or_cmp_int16_operand): New predicate function.
17763 (extend_operand): New predicate function.
17764 (m32r_adjust_code): New scheduling function.
17765 (m32r_adjust_priorty): New scheduling function.
17766 (m32r_sched_init): New scheduling function.
17767 (m32r_sched_reorder): New scheduling function.
17768 (m32r_sched_variable_issue): New scheduling function.
17769 (direct_return): New codegen function.
17770 (m32r_not_same_reg): New rtl testsing function.
17772 * config/m32r/m32r.md: Fix compile time warnings.
17773 Add support for pre decrement and post increment memory
17775 Add S<cc> patterns.
17778 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17780 * global.c (EXECUTE_IF_CONFLICT): Don't define.
17781 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
17782 (find_reg): Likewise.
17784 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
17786 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
17787 to avoid assembler errors.
17789 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
17791 * config/v850/v850-protos.h: New file: Prototypes for functions
17793 * config/v850/v850.h: Move prototypes to v850-protos.h
17794 * config/v850/v850.c: Move prototypes to v850-protos.h
17795 * config/v850/v850.md: Fix compile time warnings.
17797 * config/fr30/fr30-protos.h: New file: Prototypes for functions
17799 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
17800 * config/fr30/fr30.c: Fix compile time warnings.
17801 * config/fr30/fr30.md: Fix compile time warnings.
17803 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
17805 * tree.h (get_containing_scope): Declare it.
17806 * tree.c (get_containing_scope): New fucntion.
17807 (decl_function_context): Use it.
17808 * toplev.c (rest_of_compilation): Use get_containing_scope.
17810 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17812 * Makefile.in (rtl.o): Depend on toplev.h.
17814 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
17816 * cse.c (delete_trivially_dead_insns): Replace alloca with
17818 * except.c (update_rethrow_references): Likewise.
17819 (init_eh_nesting_info): Likewise.
17820 * function.c (identify_blocks): Likewise.
17821 * gcse.c (dump_hash_table): Likewise.
17822 * graph.c (print_rtl_graph_with_bb): Likewise.
17823 * loop.c (combine_movables): Likewise.
17824 (move_movables): Likewise.
17825 (count_loop_regs_set): Likewise.
17826 (strength_reduce): Likewise.
17827 * profile.c (compute_branch_probabilities): New function, split
17829 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
17830 * regclass.c (regclass): Likewise.
17831 * regmove.c (regmove_optimize): Likewise.
17832 * toplev.c (compile_file): Likewise.
17833 (main): Don't mess with the stack rlimit.
17835 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
17837 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
17838 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
17840 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
17842 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
17844 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
17846 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
17847 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
17850 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
17852 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
17854 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
17856 * gcse.c (post_dominators): Kill.
17857 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
17858 (compute_code_hoist_data): Use compute_flow_dominators. Do not
17859 pass in a pdom array since we do not need pdoms.
17860 * haifa-sched.c (schedule_insns): Similarly.
17861 * flow.c (compute_dominators): Remove dead function.
17862 (compute_flow_dominators): Do not compute doms or pdoms if the
17863 caller does not request them. Split up loop to build doms and
17864 pdoms. Use a worklist to compute doms and pdoms.
17865 * basic-block.h (compute_dominators): Remove prototype.
17867 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
17869 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
17870 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
17871 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
17872 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
17873 (cant_move, fed_by_spec_load, is_load_insn): Remove.
17874 (schedule_region): Remove unused variable.
17875 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
17877 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
17879 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
17880 (update_equiv_regs): Likewise.
17881 (block_alloc): Likewise.
17882 * reg-stack.c (reg_to_stack): Likewise.
17883 (convert_regs_2): Likewise.
17884 * reload1.c (reload_as_needed): Likewise.
17886 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
17888 * Makefile.in (dbxout.o): Depend on ggc.h.
17889 (dwarf2out.o): Likewise.
17890 (xcoffout.o): Likewise.
17891 * dbxout.c: Include ggc.h.
17892 (dbxout_init): Register lastfile as a root.
17893 * dwarf2out.c: Include ggc.h.
17894 (dwarf2out_line): Register lastfile as a root.
17895 * xcoffout.c: Include ggc.h.
17896 (xcoffout_source_line): Register xcoff_lastfile as a root.
17898 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
17900 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
17902 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
17904 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17906 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17908 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17910 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17911 (EXECUTE_IF_CONFLICT): Likewise.
17912 (ALLOCNO_LIVE_P): Avoid signed division.
17913 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17914 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17915 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17917 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
17919 * haifa-sched.c (schedule_block): Don't crash if there's no
17920 next insn for an interblock movement.
17921 (add_branch_dependences): Don't allow clobber insns to move either.
17923 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
17925 * i386.c (split_xf): New.
17926 * i386-protos.h: Declare it.
17927 * i386.md (movxf_1): Add general regs alternatives.
17928 (movxf_1+1): New splitter for same.
17930 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
17932 * function.c (purge_addressof_1): Add missing return values.
17934 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
17936 * function.c (is_addressof): New function. Returns true if
17937 the given piece of RTL is an ADDRESSOF.
17938 (purge_addressof_1): Make boolean. Return false if the
17939 ADDRESSOFs could not be purged.
17940 (purge_addressof): If ADDRESSOFs could not be purged from the
17941 notes attached to an insn, remove the offending note(s),
17942 unless they are attached to a libcall.
17944 1999-11-05 Andreas Jaeger <aj@suse.de>
17946 * genoutput.c (null_operand =): Initialize all fields.
17948 * errors.h: Add extern to prototypes.
17950 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
17952 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
17953 * configure: Rebuilt.
17955 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17957 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
17958 (mirror_conflicts): New function.
17959 (global_alloc): Call it.
17960 (expand_preferences): Remove redundant CONFLICTP test.
17961 (find_reg, dump_conflicts): Likewise.
17962 (prune_preferences): Process conflicts one word at a time.
17964 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
17966 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
17967 instead of an explicit loop.
17969 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
17971 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
17972 if REG_RETVAL check succeeds, then put classp in src_elt.
17974 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
17976 * function.c (pad_to_arg_alignment): Only update argument_pad
17977 if the argument's alignment is greater than STACK_BOUNDARY.
17979 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
17981 * bitmap.h (BITMAP_XFREE): New.
17982 * flow.c (life_analysis): Use it.
17983 (life_analysis_1): Free blocks.
17985 * combine.c (undo_commit): New.
17986 (try_combine): Use it. Don't zap undobuf.undos.
17987 (combine_instructions): Don't zap undobuf.undos; free the
17988 undobuf.frees list.
17990 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
17992 * stmt.c (cost_table_): New.
17993 (estimate_case_costs): Use it instead of xmalloc.
17995 * toplev.c (compile_file): Reuse dumpname memory instead
17998 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
18000 * reg-stack.c (convert_regs_1): Initialize target_stack->top
18001 after verifying an EH edge.
18003 * haifa-sched.c (init_rgn_data_dependences): Correctly
18004 size bb_pending_lists_length when zeroing.
18006 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
18008 * function.c (diddle_return_value): New.
18009 (expand_function_end): Use it.
18010 * stmt.c (expand_null_return): Likewise.
18011 (expand_value_return): Likewise.
18013 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
18015 * reload1.c (reload): Don't remove return value clobbers.
18017 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
18019 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
18021 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
18023 * cse.c (cse_main): Use xmalloc, not alloca.
18024 (cse_basic_block): Likewise.
18025 * local-alloc.c (local_alloc): Likewise.
18027 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
18028 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18030 * rtl.c: Include toplev.h.
18031 (fatal): Remove declaration.
18033 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
18035 * haifa-sched.c (schedule_block): Fix thinko.
18037 1999-11-03 James McKelvey <mckelvey@fafnir.com>
18039 * fixinc/fixincl.c(create_file): Allow for systems that do not have
18040 S_IR* defined values
18042 1999-11-03 Philippe De Muyter <phdm@macqel.be>
18044 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
18045 call `malloc' instead.
18047 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
18049 * flags.h (flag_renumber_insns): Declare.
18050 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
18052 * rtl.h (renumber_insns): Change prototype.
18053 * toplev.c (flag_renumber_insns): Define.
18054 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
18056 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
18058 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
18059 and fpsqrtd. Use them and create fdiv function unit to more
18060 accurately represent fpu sqrt pipeline semantics on UltraSparc.
18061 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
18063 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
18065 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
18067 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
18068 insn into ready list, do not use just a raw swap.
18070 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
18072 * rtl.h (renumber_insns): New function.
18073 (remove_unnecessary_notes): Likewise.
18074 * emit-rtl.c (renumber_insns): Define.
18075 (remove_unncessary_notes): Likewise.
18076 * toplev.c (rest_of_compilation): Remove dead code.
18077 Use renumber_insns and remove_unncessary_notes.
18079 * gcse.c (struct null_pointer_info): New type.
18080 (get_bitmap_width): New function.
18081 (current_block): Remove.
18082 (nonnull_local): Likewise.
18083 (nonnull_killed): Likewise.
18084 (invalidate_nonnull_info): Take a null_pointer_info as input.
18085 (delete_null_pointer_checks_1): New function.
18086 (delete_null_pointer_checks): Use it.
18088 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
18089 (split_edges): Likewise.
18090 (schedule_block): Likewise.
18091 (compute_block_backward_dependencies): Likewise.
18092 (schedule_region): Likewise.
18093 (schedule_insns): Likewise.
18095 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
18097 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
18098 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
18099 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
18100 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
18101 * jump.c (delete_unreferenced_labels): Don't delete if
18102 LABEL_ALTERNATE_NAME is set.
18103 * print-rtl.c (print_rtx): Dump alternate name.
18104 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
18105 * rtl.h (LABEL_ALTERNATE_NAME): Define.
18106 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
18107 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
18109 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18111 * fix-header.c (recognized_extern, recognized_function): Constify
18114 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
18115 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
18116 (compute_available): Remove unused variable `last'.
18117 (compute_nearerout): Remove unused variable `temp_bitmap'.
18118 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
18119 Remove unused variable `x'.
18121 * scan.h (recognized_function, recognized_extern): Constify a
18124 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
18126 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18128 * varasm.c (decode_rtx_const): Use XSTR to access the string
18131 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
18133 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
18135 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18137 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
18139 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
18141 * pa.c (ireg_operand): New function.
18142 * pa.h (PREDICATE_CODES): Handle ireg_operand.
18143 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
18144 Fix out of date comment.
18146 * pa.md (negdi2): Turn into expander + anonymous pattern.
18148 * reload.c (find_reloads): Fix typos in recent change.
18150 * dwarf2out.c: Do not include ctype.h.
18152 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18154 * regclass.c (record_reg_classes): Always use may_move_cost when
18155 seeing how operand fits with various register classes.
18157 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
18159 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
18160 * toplev.c: Revert Nov 1 13:22 change.
18162 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
18164 * config/pa/pa.md (height reduction patterns): Add checks for
18165 overlapping operands to avoid semantic-destroying splits for
18166 height reduction patterns.
18168 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18170 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
18171 have been an hyphen, fixed.
18172 * configure: Rebuilt.
18174 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
18176 * config/arm/tpe.h: Add prototypes for exported functions.
18177 * config/arm/pe.c: Fix compile time warnings.
18178 * config/arm/semi.h: Fix compile time warnings.
18179 * config/arm/arm.c: Fix compile time warnings.
18180 * config/arm/arm.h: Fix compile time warnings.
18181 * config/arm/arm.md: Fix compile time warnings.
18182 * config/arm/thumb.c: Fix compile time warnings.
18183 * config/arm/thumb.h: Fix compile time warnings.
18184 * config/arm/thumb.md: Fix compile time warnings.
18186 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
18188 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
18191 * unroll.c (unroll_loop): Remove LOOP notes when loop is
18192 completely unrolled.
18194 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18196 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
18198 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
18200 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
18201 * rtl.h (rtx_equal_p): Move prototype.
18202 * rtl.c (rtx_equal_function_value_matters): Move from
18204 (rtx_equal_p): Likewise.
18205 * rtlanal.c (rtx_equal_function_value_matters): Delete.
18206 (rtx_equal_p): Likewise.
18208 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
18210 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
18211 ! HAS_INIT_SECTION.
18213 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
18215 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
18217 * pa.h (ADDR_VEC_ALIGN): Define.
18219 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
18220 notes when presented with "if (foo) break; end_of_loop" and
18221 the break sequence gets moved out of the loop.
18223 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
18224 Remove explicit zero initializations of entries within MAP.
18226 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
18228 * reg-stack.c (convert_regs_1): Handle EH edges specially.
18230 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
18232 * bitmap.h (BITMAP_XMALLOC): New macro.
18233 * flow.c (CLEAN_ALLOCA): Remove.
18234 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
18235 (life_analysis): Likewise.
18236 (update_life_info): Don't use CLEAN_ALLOCA.
18237 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
18238 (calculate_global_regs_live): Likewise.
18239 (print_rtl_with_bb): Likewise.
18240 (verify_flow_info): Likewise.
18241 * global.c (global_alloc): Likewise.
18242 (global_conflicts): Likewise.
18243 * integrate.c (save_for_inline_nocopy): Likewise.
18244 (expand_inline_function): Likewise.
18245 * jump.c (jump_optimize_1): Likewise.
18246 (duplicate_loop_exit_test): Likewise.
18247 (thread_jumps): Likewise.
18248 * loop.c (loop_optimize): Likewise.
18249 (combine_givs): Likewise.
18250 (recombine_givs): Likewise.
18251 * reorg.c (dbr_schedule): Likewise.
18252 * unroll.c (unroll_loop): Likewise.
18254 * combine.c (combine_instructions): Use xmalloc instead of alloca.
18256 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
18258 * toplev.c (rest_of_compilation): Don't optimize the CFG
18259 when rebuilding, just before dbr.
18261 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18263 * output.h (assemble_end_function, assemble_destructor,
18264 assemble_constructor, assemble_gc_entry, assemble_global,
18265 assemble_label, output_constant_pool) Constify a char*.
18267 * varasm.c (assemble_destructor, assemble_constructor,
18268 assemble_gc_entry, assemble_end_function, assemble_global,
18269 assemble_label, output_constant_pool): Likewise.
18271 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
18273 * config/arm/thumb.c (thumb_expand_prologue): Add comments
18274 explaining what is goin on in this function.
18276 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18278 * regclass.c (record_reg_classes): In matching case, recompute
18279 costs since the direction of movement is different.
18281 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
18283 * resource.c (mark_target_live_regs): For unconditional branches,
18284 the resources found at the branch target should be added to the
18285 resources found so far, not intersected.
18287 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
18289 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
18291 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
18292 (sys/mman.h): Include this file only if #HAVE_MMAP.
18293 (run_compiles): Initialize `esac_fmt' with one old KR string, not
18294 with automatically concatenated ANSI strings.
18296 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
18298 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
18299 (DIV_ROUND_UP): Robustify.
18300 (ggc_recalculate_in_use_p): New function.
18301 (release_pages): Don't inline it.
18302 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
18304 (ggc_pop_context): Use ggc_recalculate_in_use_p.
18305 (clear_marks): Always save in_use_p.
18306 (sweep_pages): Use ggc_recalculate_in_use_p.
18307 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
18308 Release pages before counting statistics.
18310 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
18312 * toplev.c (rest_of_compilation): Fix thinko in this change:
18314 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18316 (rest_of_compilation): If inside an inlined external function,
18317 pretend we are just being declared.
18319 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
18321 * flow.c (calculate_global_regs_live): Fix thinko.
18323 * integrate.c (expand_inline_function): Fix bugs in previous
18324 change from Oct 28, 1999.
18326 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
18328 * stmt.c (expand_value_return): Fix typo in this change:
18330 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18331 (expand_value_return): Correctly convert VAL when promoting function
18332 return; support RETURN_REG being a PARALLEL.
18334 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
18336 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
18338 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18340 * hard-reg-set.h (reg_names): Constify a char*.
18342 * regclass.c (reg_names): Likewise.
18344 * regs.h (reg_names): Likewise
18346 * a29k/a29k.c (reg_names): Delete declaration.
18348 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
18350 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
18351 arc_output_function_epilogue): Likewise.
18353 * elxsi/elxsi.c (reg_names): Likewise.
18355 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
18357 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
18360 * m88k/m88k.c (output_function_profiler): Likewise.
18362 * sparc/sparc.c (sparc_flat_output_function_prologue,
18363 sparc_flat_output_function_epilogue): Likewise.
18365 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
18367 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
18368 warning from -Wuninitialized and put it under -W.
18369 * function.c (uninitialized_vars_warning): Warn only when the
18370 corresponding flag is set.
18372 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
18374 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
18375 is nonzero and the single set does not have an elt, then assign
18378 * simplify-rtx.c: New file.
18379 * Makefile.in (OBJS): Add simplify-rtx.o
18380 (simplify-rtx.o): Add dependencies.
18381 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
18382 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
18383 (cse_gen_binary, simplify_unary_operation): Delete.
18384 (simplify_binary_operation, simplify_plus_minus): Likewise.
18385 (check_fold_consts, simplify_relation_operation): Likewise.
18386 (simplify_ternary_operation): Likewise.
18387 (delete_trivially_dead_insns): Simplify the contents of the
18388 REG_EQUAL note before trying to substitute it into the source
18389 of the reg-reg copy at the end of a libcall sequence.
18391 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
18392 references/callers changed.
18394 * mn10200.c (mn10200_va_arg): Force the return value into a
18397 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
18399 * cccp.c (macroexpand): Avoid out of range accesses for omitted
18402 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
18404 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
18406 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
18408 * fold-const.c (fold): Fix thinko when optimizing comparisons
18411 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
18413 * gcc.texi (Passes): Update front-end files to their current
18416 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
18418 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
18419 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
18420 (PREDICATE_CODES): Add addition_operation.
18421 * alpha-protos.h (addition_operation): Declare.
18422 (secondary_reload_class): Likewise.
18423 * alpha.c (addition_operation): New.
18424 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
18425 * alpha.md (adddi3): Turn into expander.
18426 (*lda, *adddi_2): New.
18427 (movsf, movdf patterns): Don't preference integer regs.
18428 (movsi, movdi patterns): Don't preference fp regs.
18430 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
18432 * genrecog.c (write_switch): Check for duplicate CODE cases.
18434 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
18436 * ggc-common.c: Update pre-function commentary.
18437 * ggc-page.c: Likewise.
18439 (poison_pages): Use memset directly.
18440 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
18441 (ggc_collect): Poison before sweeping.
18442 * ggc-simple.c: Update pre-function commentary.
18443 (ggc_alloc_obj): Poison non-zeroed memory.
18445 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
18447 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
18448 match format string, even on 64-bit hosts.
18449 * gcc-page.c (ggc_page_print_statistics): Likewise.
18451 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
18453 * config/i386/i386.c (ix86_cpu): Revert last patch.
18454 * config/i386/i386.h (ix86_cpu): Ditto.
18456 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
18458 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
18459 TYPE_SIZE, convert type of result to sizetype.
18461 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
18463 * flow.c (count_or_remove_death_notes): Equate NULL with the
18466 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
18467 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
18470 * i386.c (pic_label_no): Delete.
18471 (ix86_attr_length_default): Don't use single_set to peek
18474 * recog.c (peephole2_optimize): Allow recog_next_insn to index
18475 the first insn after bb->end.
18476 * i386.md (push mem peeps): Scratch is live after evaluation
18478 (cmp mem peep): Similarly.
18480 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
18482 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
18483 * function.c (pad_to_arg_alignment): Add missing braces.
18485 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18487 * alpha/alpha-protos.h (literal_section): Add prototype.
18488 (alpha_need_linkage, alpha_start_function,alpha_end_function):
18491 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
18493 (alpha_start_function, alpha_end_function, float_strings,
18494 alpha_need_linkage): Constify a char*
18496 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
18498 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
18500 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
18502 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
18504 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18506 * flow.c (debug_flow_info): Add prototype.
18508 * gcc.c (main): Likewise.
18510 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
18513 * reload1.c (failed_reload, set_reload_reg): Likewise.
18515 * mips-tfile.c (main): Likewise.
18516 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
18517 with ATTRIBUTE_NORETURN.
18519 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
18521 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
18522 DECL is not a memory ref.
18524 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
18526 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
18527 * config/i386/i386.c (ix86_cpu): Add extern attribute.
18529 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
18531 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
18532 * config/mips/elf64.h: ditto.
18534 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
18536 * expr.c (emit_push_insn): New argument alignment_pad.
18537 Update all callers. Adjust stack pointer based on alignment pad.
18538 * function.c (pad_to_arg_alignment): New argument alignment_pad.
18539 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
18540 (locate_and_pad_parm): New argument alignment_pad. Update all
18542 * expr.h (emit_push_insn): Update prototype.
18543 (locate_and_pad_parm): Update prototype.
18544 * calls.c (arg_data): Add new field alignment_pad.
18545 (initialize_argument_information): Initialize alignment_pad.
18547 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
18549 * except.c (free_eh_nesting_info): Free the info itself.
18550 * function.c (free_after_compilation): Don't free NULL.
18551 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
18552 (pre_edge_insert): Free inserted.
18553 * stmt.c (free_stmt_status): Don't free NULL.
18555 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18557 * gcov.c (DIR_SEPARATOR): Provide default.
18558 (output_data): Add test for MS-DOS format absolute filename.
18559 (fancy_abort): Correct program name.
18560 (open_files): Open all files in binary mode.
18561 * libgcc2.c (__bb_exit_func): Likewise.
18563 * profile.c (init_branch_prob): Specify binary when opening files.
18565 * flags.h (flag_unwind_tables): New decl.
18566 * toplev.c (flag_unwind_table): New definition.
18567 (f_options): Add -funwind-tables.
18568 (decode_g_option): Clarify warning when unknown -g option is given.
18569 (rest_of_compilation): If inside an inlined external function,
18570 pretend we are just being declared.
18572 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
18573 (dwarf2out_frame_finish): Likewise.
18575 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
18577 * fold-const.c (merge_ranges): If not in0, but in1, handle
18578 upper bounds equal like subset case.
18580 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
18582 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
18583 passed in a register but moved to the stack.
18585 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
18587 * gcc.c (pass_exit_codes, greatest_status): New variables.
18588 (struct option_map): Add entry for "--pass-exit-codes".
18589 (execute): Update greatest_status if error.
18590 (display_help): Add documentation for -pass-exit-codes.
18591 (process_command): Handle -pass-exit-codes.
18592 (main): Look at pass_exit_codes and greatest_status on call to exit.
18594 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18596 * reload.c (find_reloads): Refine test for no input reload
18597 case to not includes reloads emitted after insn.
18599 * function.c (find_temp_slots_from_address): Handle sum involving
18600 a register that points to a temp slot.
18601 (update_temp_slot_address): Make recursive call if both old and
18602 new are PLUS with a common operand.
18603 * calls.c (expand_call): Mark temp slot for result as having
18606 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
18608 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
18609 component as well as "BINUTILS".
18611 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
18612 * integrate.c (copy_rtx_and_substitute): Likewise.
18613 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
18614 All callers changed.
18615 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
18617 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
18618 gdb extensions, write size of type; also be more consistent
18619 in using references when this is a subtype.
18621 * pa.md (extv, extzv, insv): Use define_expand to reject constant
18622 that is out of range.
18624 * loop.c (unknown_constant_address_altered): New variable.
18625 (prescan_loop): Initialize it.
18626 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
18627 (invariant_p, case MEM): Remove handling for volatile and readonly;
18628 check new variable if readonly.
18629 (check_dbra_loop): Chdeck unknown_constant_address_altered.
18631 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
18632 (addr_affects_sp_p): Removed from note_mem_written and only
18633 define #ifdef AUTO_INC_DEC.
18635 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
18637 * regclass.c (record_reg_classes): Properly handle register move
18640 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
18641 Don't think valid if both operands are invalid.
18642 (struct constant_descriptor): New field RTL.
18643 (mark_const_hash_entry): Mark it.
18644 (record_constant{,_rtx}): Initialize it.
18645 (output_constant_def): Allocate RTL in permanent obstack and
18647 ({record,compare}_constant_1): Modes must match for
18648 CONSTRUCTOR of ARRAY_TYPE.
18650 * c-common.h (initializer_constant_valid_p): Delete decl from here.
18651 * output.h (initializer_constant_valid_p): Move decl to here.
18652 * c-common.c (initializer_constant_valid_p): Delete function from here.
18653 * varasm.c (initializer_constant_valid_p): Move function to here.
18655 * tree.h (STRIP_SIGN_NOPS): New macro.
18656 * fold-const.c (optimize_minmax_comparison): New function.
18657 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
18658 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
18659 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
18660 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
18661 widening conversions.
18662 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
18663 to look at size of mode, not precision of type; also add missing cases.
18664 (optimize_bit_field_compare, decode_field_reference): Don't try to
18665 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
18667 * dwarf2out.c (ctype.h): Include.
18668 (dwarf2out_set_demangle_name_func): New function.
18669 (size_of_line_info): Deleted.
18670 (output_line_info): Compute size of line info table from difference
18672 (base_type_die, add_name_attribute): Call demangle function, if any.
18673 (field_byte_offset): Use bits per word for variable length fields.
18674 (gen_array_type_die): Add array name.
18675 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
18676 (dwarf2out_add_library_unit_info): New function.
18678 * explow.c (set_stack_check_libfunc): New function.
18679 (stack_check_libfunc): New static variable.
18680 (probe_stack_range): Allow front-end to set up a libfunc to call.
18682 * combine.c (simplify_comparison): When making comparison in wider
18683 mode, check for having commuted an AND and a SUBREG.
18684 (contains_muldiv): New function.
18685 (try_combine): Call it when dividing a PARALLEL.
18686 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
18687 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
18689 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
18690 use one of the CLOBBERs instead.
18691 (if_then_else_cond): If comparing against zero, just return thing
18694 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
18695 Don't generate shifts and subtract if have conditional arithmetic.
18697 * rtl.h (delete_barrier): New declaration.
18698 * jump.c (jump_optimize): Set up to handle conditional call.
18699 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
18700 (delete_barrier): New function.
18702 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
18704 * recog.c (nonmemory_operand): Accept ADDRESSOF.
18706 * tree.c (build_type_attribute_variant): Push to obstack of
18707 ttype around type_hash_canon call.
18709 * expr.c (placeholder_list): Move decl to file scope.
18710 (expand_expr): Don't force access to volatile just because its
18712 If ignoring reference operations, just expand the operands.
18713 (expand_expr, case COMPONENT_REF): Propagate
18714 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
18715 Refine test for using bitfield operations vs pointer punning.
18716 (expand_expr, case CONVERT_EXPR): If converting to
18717 BLKmode UNION_TYPE from BLKmode, just return inner object.
18718 Use proper mode in store_field call.
18719 Properly set sizes of object to store and total size in store_field
18720 call for convert to union.
18721 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
18722 memory (like for ADDR_EXPR). Also, don't put constant in register if
18723 we'll want it in memory.
18724 (readonly_fields_p): New function.
18725 (expand_expr, case INDIRECT_REF): Call it if LHS.
18726 (expand_assignment): Handle a RESULT_DECL where
18727 DECL_RTL is a PARALLEL.
18728 (do_jump, case WITH_RECORD_EXPR): New case.
18729 (get_inner_reference): Always go inside a CONVERT_EXPR
18730 and NOP_EXPR if both modes are the same.
18731 (store_field): Use bitfield operations if size of bitsize is not same
18732 as size of RHS's type.
18733 Check for bitpos not a multiple of alignment in BLKmode case.
18734 Do block move in largest possible alignment.
18735 (store_constructor): Set BITSIZE to -1 for variable size and properly
18736 in case of array of BLKmode.
18737 (expand_expr_unaligned): New function.
18738 (do_compare_and_jump): Call it.
18740 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
18741 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
18742 does not include 'o'.
18744 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
18745 both SET_DEST and SET_SRC reference a virtual register.
18746 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
18748 * integrate.c (expand_inline_function): Handle case of setting
18749 virtual stack vars register (from built in setjmp); when parameter
18750 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
18751 (subst_constant): Add new parm, MEMONLY.
18752 (expand_inline_function, integrate_parm_decls): Pass new parm.
18753 (integrate_decl_tree): Likewise.
18754 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
18755 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
18756 (copy_rtx_and_substitute, case SET): Add explicit calls to
18757 copy_rtx_and_substitute for both sides.
18759 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
18761 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
18762 within INDEX_TYPE, instead of before.
18763 (fixup_gotos): Use f->target_rtl, not the next insn,
18764 since latter may be from a later fixup.
18765 (expand_value_return): Correctly convert VAL when promoting function
18766 return; support RETURN_REG being a PARALLEL.
18767 (expand_return): When checking for result in regs and having
18768 cleanup, consider PARALLEL in DECL_RTL as being in regs.
18770 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
18772 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
18773 last_nominal_fname): Mark const.
18774 (struct include_hash: name, nshort, control_macro): Mark
18776 (struct macrodef: symnam): Mark const.
18777 (struct if_stack: fname): Mark const.
18778 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
18779 (IStable): New character-syntax array which encompasses all
18780 the old is_foo arrays.
18781 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
18782 is_space): New macros for interrogating IStable.
18783 (check_macro_name): Kill last argument. All callers changed.
18785 * cppinit.c (initialize_char_syntax): Delete.
18786 (is_idchar, is_idstart, is_hor_space, is_space,
18787 trigraph_table): Delete.
18788 (IStable): New. Initialize with clever macros to avoid
18789 information duplication.
18790 (builtin_array): Table of builtins to get rid of explicit list
18791 in initialize_builtins.
18792 (initialize_builtins): Use builtins_array.
18793 (cpp_start_read): Call init_IStable, and set IStable['$'] if
18794 opts->dollars_in_ident.
18796 * cppexp.c: Change all refs to is_xyz[] arrays to use new
18798 (cpp_parse_expr): Avoid 'format string is not constant'
18799 warning. Use ISGRAPH to identify printable chars.
18800 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
18802 (read_and_prescan): Map trigraphs to chars with open-coded
18803 if-else-if-... sequence, not a lookup table.
18804 * cpphash.c: Change all refs to is_xyz[] arrays to use new
18806 * cpplib.c: Change all refs to is_xyz[] arrays to use new
18807 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
18808 (check_macro_name): Remove ability to report an invalid
18809 assertion name, which is never used.
18810 (do_line): Constify a couple of char *'s.
18811 * cppmain.c (main): Call cpp_cleanup before returning.
18813 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
18815 * ggc.h (struct ggc_statistics): New type.
18816 (ggc_get_size): New function.
18817 (ggc_print_statistics): Likewise.
18818 * ggc-common.c (ggc_stats): New variable.
18819 (ggc_mark_rtx_children): Keep statistics.
18820 (ggc_mark_tree_children): Likewise.
18821 (ggc_print_statistics): New function.
18822 * ggc-page.c (struct globals): Add bytes_mapped field.
18823 (alloc_anon): Update it.
18824 (release_pages): Likewise.
18825 (ggc_get_size): New function.
18826 (ggc_page_print_statistics): New function.
18827 * ggc-simple.c (ggc_get_size): New function.
18829 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
18831 * flow.c (propagate_block): When the last reference to a label
18832 before an ADDR_VEC is deleted because the reference is a dead
18833 store, delete the ADDR_VEC.
18835 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
18837 * resource.c (find_free_register): Don't use the frame pointer
18838 if frame_pointer_needed.
18840 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
18842 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
18843 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
18845 * config/i960/i960.c (i960_va_start): New locals base, num.
18846 Use INDIRECT_REF instead of ARRAY_REF on valist.
18847 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
18849 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
18851 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
18853 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
18855 * tree.def (PLACEHOLDER_EXPR): Update comments.
18857 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18859 * c-common.c (check_format_info): Avoid non-literal format string
18860 warnings when `first_arg_num' is zero.
18862 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18864 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
18866 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
18868 * arm.md (casesi_insn): Add a clobber of the condition code
18871 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
18873 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
18874 used by both cc1 and cc1plus.
18876 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
18878 * config/arm/arm.c: Initialise arm_structure_size_boundary to
18879 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
18880 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
18881 to the value 32 if it has not already been defined.
18882 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
18883 Override definition in arm.h with a value of 8.
18885 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
18887 * c-pragma.c (push_alignment): Don't check the return value
18890 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
18892 * sparc.h (ADJUST_COST): Fix thinko.
18894 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
18896 * cccp.c (rescan): Fixed obp pointer handling around call to
18897 check_expand subroutine.
18899 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
18901 * gcse.c (delete_null_pointer_checks): Only record non-null info
18902 for pseudos when examining stores.
18904 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18905 splitters for these patterns. Use "#" for output templates.
18906 (addsi3_carryin_shift): New pattern.
18908 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
18910 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18911 of the function return register into a plain REG until
18912 after function inlining is done.
18914 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18916 * jump.c (jump_optimize_1): If we did cross-jumping, and
18917 the data will matter, rebuild the CFG.
18918 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18919 not optimizing. Don't run shorten_branches.
18920 * toplev.c (rest_of_compilation): Run shorten_branches after
18923 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
18925 * rtl.h (note_stores): Add additional paramter.
18926 * rtlanal.c (reg_set_p_1): Take additional paramter.
18927 (reg_set_last_1): Likewise.
18928 (reg_set_p): Adjust call to note_stores.
18929 (reg_set_last): Likewise.
18930 (note_stores): Pass data parameter to worker function.
18931 * alias.c (record_set): Take additional parameter.
18932 (init_alias_analysis): Pass it.
18933 * caller-save.c (mark_set_regs): Take additional parameter.
18934 (save_call_clobbered_regs): Pass NULL to note_stores.
18935 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
18937 (record_dead_and_set_regs_1): Likewise.
18938 (reg_dead_at_p_1): Likewise.
18939 (combine_instructions): Adjust calls to note_stores.
18940 (try_combine): Likewise.
18941 (record_dead_insn): Remove.
18942 (record_dead_and_set_regs): Adjust calls to note_stores.
18943 (reg_dead_at_p): Likewise.
18944 * cse.c (invalidate_skipped_set): Take additional parameter.
18945 (cse_check_loop_start): Likewise.
18946 (cse_check_loop_start_value): Remove.
18947 (cse_set_around_loop): Adjust calls to note_stores.
18948 * flow.c (notice_stack_pointer_modification): Take additional
18949 parameter. Remove duplicate declaration.
18950 (record_volatile_insns): Adjust calls to note_stores.
18951 * gcse.c (record_set_info): Take additional parameter.
18952 (record_last_set_info): Likewise.
18953 (invalidate_nonnull_info): Likewise.
18954 (record_set_insn): Remove.
18955 (compute_sets): Adjust calls to note_stores.
18956 (last_set_insn): Remove.
18957 (compute_hash_table): Adjust calls to note_stores.
18958 (insert_insn_end_bb): Likewise.
18959 (delete_null_pointer_checks): Likewise.
18960 * global.c (mark_reg_store): Take additional parameter.
18961 (mark_reg_clobber): Likewise.
18962 (reg_becomes_live): Likewise.
18963 (global_conflicts): Adjust calls to note_stores.
18964 (build_insn_chain): Likewise.
18965 * integrate.c (note_modified_parmregs): Take additional parameter.
18966 (mark_stores): Likewise. Make it static.
18967 (save_for_inline_nocopy): Adjust calls to note_stores.
18968 (try_constants): Likewise.
18969 * integrate.h (mark_stores): Remove declaration.
18970 * jump.c (mark_modified_reg): Take additional parameter.
18971 (thread_jumps): Adjust calls to note_stores.
18972 * local-alloc.c (validate_equiv_mem_from_store): Take additional
18974 (no_equiv): Likewise.
18975 (reg_is_set): Likewise.
18976 (validate_equiv_mem): Adjust calls to note_stores.
18977 (update_equiv_regs): Likewise.
18978 (block_alloc): Likewise.
18979 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
18980 (note_addr_stored): Take additional parameter.
18981 (note_set_pseudo_multiple_uses): Likewise.
18982 (record_initial): Likewise.
18983 (prescan_loop): Adjust calls to note_stores.
18984 (strength_reduce): Likewise.
18985 (check_dbra_loop): Likewise.
18986 * regmove.c (flags_set_1): Take additional paramter.
18987 (mark_flags_life_zones): Adjust calls to note_stores.
18988 * reload1.c (mark_not_eliminable): Take additional parameter.
18989 (forget_old_reloads_1): Likewise.
18990 (reload_cse_invalidate_rtx): Likewise.
18991 (reload_cse_check_clobber): Likewise.
18992 (reload_combine_note_store): Likewise.
18993 (move2add_note_store): Likewise.
18994 (reload): Adjust calls to note_stores.
18995 (reload_as_needed): Likewise.
18996 (emit_reload_insns): Likewise.
18997 (reload_cse_regs_1): Likewise.
18998 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
18999 (reload_combine): Adjust calls to note_stores.
19000 * resource.c (update_live_status): Take additional paramter.
19001 (mark_target_live_regs): Adjust calls to note_stores.
19002 * stupid.c (find_clobbered_regs): Take additional parameter.
19003 (stupid_life_analysis): Adjust calls to note_stores.
19005 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
19007 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
19010 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
19013 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
19014 of the variable arm_structure_size_boundary.
19016 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
19018 * alias.c (init_alias_analysis): Allocate reg_known_value and
19019 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
19021 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
19022 * cse.c (cse_main): Call end_alias_analysis.
19023 * haifa-sched.c (schedule_insns): Likewise.
19024 * local-alloc. (update_equiv_regs): Likewise.
19025 * reload1.c (reload_cse_regs): Likewise.
19027 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19029 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
19030 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
19031 mapping from MASK_FPU.
19033 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
19035 * sparc.md (call): Don't bound structure return size to 0xfff.
19037 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
19039 * resource.c (mark_target_live_regs): Check that the target
19040 insn wasn't created after compute_bb_for_insn.
19042 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
19044 * ggc-page.c (poison_pages): Don't be overzealous.
19046 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
19048 * alias.c: Update comments for ADDRESS.
19049 (nonlocal_reference_p): Look inside the ADDRESS to determine if
19050 it is a local memory reference.
19052 * c-typeck.c (build_function_call): Check that the built-in
19053 function is of class BUILT_IN_NORMAL before trying to recongize
19054 it as BUILT_IN_ABS.
19055 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
19056 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
19058 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
19060 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
19062 (pre_gcse): Likewise.
19063 (hoist_expr_reaches_here_p): Likewise.
19064 (hoist_code): Likewise.
19065 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
19067 (pre_expr_reaches_here_p_work): ... here.
19068 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
19070 (expr_reaches_here_p_work): ... here.
19072 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
19074 * resource.c (find_basic_block): Delete.
19075 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
19076 (init_resource_info): Call compute_bb_for_insn.
19078 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
19080 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
19081 with already adjacent blocks, but no fallthru.
19082 (merge_blocks_move_successor_nojumps): Simplify.
19083 (debug_flow_info): New.
19085 * toplev.c (rest_of_compilation): Open jump1 dump file before
19086 jump and close after, as opposed to just using dump_rtl.
19088 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19090 * reload.h (earlyclobber_operand_p): Declare.
19091 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
19092 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
19093 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
19094 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
19096 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
19097 Richard Henderson <rth@cygnus.com>
19099 * emit-rtl.c (emit_block_insn_before): New.
19100 (emit_block_insn_after): New.
19101 * basic-block.h: Declare them.
19103 * bitmap.h: Protect from multiple inclusion.
19105 * recog.c (scratch_operand): Handle VOIDmode correctly.
19107 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
19109 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
19110 * function.c (assign_parms): Likewise.
19111 * global.c (global_conflicts): Clarify STACK_REGS commentary.
19113 * reg-stack.c (max_uid): Remove.
19114 (blocks, block_begin, block_end, block_drops_in): Remove.
19115 (block_stack_in, block_out_reg_set, block_number): Remove.
19116 (struct block_info_def, BLOCK_INFO): New.
19117 (enum emit_where): New.
19118 (current_block): New.
19119 (BLOCK_NUM): Remove.
19120 (mark_regs_pat, record_label_references): Remove.
19121 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
19123 (goto_block_pat, print_blocks, dump_stack_info): Remove.
19124 (reg_to_stack): Simplified test for existance of fp code. Use
19125 flow.c code. Call shorten_branches after cross-jump opt.
19126 (check_asm_stack_operands): Renamed from record_asm_reg_life.
19127 Return false if the asm doesn't use stack regs. Don't do life
19128 analysis on the asm.
19129 (emit_pop_insn): Replace function pointer arg `when' with
19130 enum `where'. Update all callers.
19131 (change_stack): Likewise. Update basic block end.
19132 (emit_swap_insn): Use current_block->head to limit reverse search
19133 for start of block. Use emit_block_insn_after.
19134 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
19135 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
19136 structure assignment instead of bcopy.
19137 (print_stack): New.
19138 (convert_regs_entry, convert_regs_exit): New.
19139 (convert_regs_1, convert_regs_2): Split out from convert_regs.
19140 Work on basic blocks and the CFG.
19141 (convert_regs): Use them.
19143 * i386.c (output_fix_trunc): Remove code for DImode input operand
19144 not at top-of-stack.
19145 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
19147 (fix_truncdi_1): Allow any mode scratch.
19149 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
19151 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
19152 * linux.h, netbsd.h, vms.h: Not here.
19154 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
19156 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
19157 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
19158 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
19159 CONDITIONAL_REGISTER_USEAGE): Use them.
19160 * config/mips/mips.c (mips_move_1word,mips_move_2words,
19161 gen_conditional_branch,override_options) : Use them.
19162 * config/mips/mips.md : Use them.
19164 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
19166 * i386.md (zero_extendqihi2): Use SImode register name with andl.
19168 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
19170 * integrate.c (function_cannot_inline_p): Don't allow inlining
19173 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19175 * c-parse.in (cast_expr): Constify.
19177 * cccp.c (special_symbol): Likewise.
19179 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
19181 * dwarf2out.c (base_type_die): Likewise.
19183 * global.c (allocno_compare): Likewise.
19185 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
19187 * regclass.c (fix_register): Likewise.
19189 * rtl.h (fix_register): Likewise.
19191 * stupid.c (stupid_reg_compare): Likewise.
19193 * toplev.c (decode_f_option): Likewise.
19195 * tree.c (build_complex_type): Likewise.
19197 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
19199 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
19201 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19203 * reload.c (find_reloads): Compute mode and nregs fields of all
19205 * reload1.c (calculate_needs_all_insns): Simplify a bit.
19206 (calculate_needs): Use precomputed mode/nregs values.
19207 (allocate_reload_reg): Likewise.
19209 (failed_reload, set_reload_reg): ... new functions.
19210 (choose_reload_regs_init): New function, mostly broken out from...
19211 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
19212 Also lose one #if 0 block.
19214 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
19216 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
19219 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
19221 * tree.h (BLOCK_TYPE_TAGS): Remove.
19222 (BLOCK_END_NOTE): Likewise.
19223 (BLOCK_LIVE_RANGE_FLAG): Likewise.
19224 (BLOCK_LIVE_RANGE_START): Likewise.
19225 (BLOCK_LIVE_RANGE_END): Likewise.
19226 (tree_block): Remove live_range_flag, live_range_var_flag, and
19227 type_tags. Remove end_note, live_range_start, and live_range_end.
19228 (remember_end_note): Remove prototype.
19229 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
19230 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
19232 * ggc-common.c (ggc_mark_tree_children): Don't mark
19233 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
19234 * integrate.c (adjust_copied_decl_tree): Remove.
19235 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
19236 * stmt.c (last_block_end_note): Remove.
19237 (init_stmt): Don't add a GC root for it.
19238 (expand_fixup): Don't set it.
19239 (remember_end_note): Remove.
19240 (expand_end_bindings): Don't set last_block_end_note.
19242 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19244 * reload1.c (reload_reg_free_for_value_p): Show
19245 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
19248 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
19250 * expmed.c (extract_bit_field): Allow for the case of non-integer
19251 objects that are smaller than a word (like SFmode on a 64-bit
19254 * loop.c (basic_induction_var): A non-integer variable which is
19255 being set by a paradoxical subreg is probably not a biv.
19257 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19259 * prefix.c (translate_name) Check for empty prefix string.
19261 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
19263 * Makefile.in (CPP_CROSS_NAME): New variable.
19264 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
19266 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
19267 names of the files to be uninstalled.
19269 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
19271 * collect2.c (IS_DIR_SEPARATOR): Define.
19272 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
19274 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
19277 * haifa-sched.c (add_dependence): Update the true dependency
19278 cache the first time we add a true dependence to the LOG_LINKS chain.
19280 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
19282 * fold-const.c (fold): Fix comment.
19284 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19286 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
19287 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
19288 dbxout_start_new_source_file, dbxout_source_file,
19289 dbxout_source_line, dbxout_finish, dbxout_type_fields,
19290 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
19292 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
19293 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
19294 (dbxout_block): Initialize variable `blocknum'.
19296 * dbxout.h (dbxout_init, dbxout_finish,
19297 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
19298 dbxout_args, dbxout_source_line): Constify a char*.
19300 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
19301 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
19302 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
19303 low_pc_attribute, high_pc_attribute, body_begin_attribute,
19304 body_end_attribute, comp_dir_attribute, sf_names_attribute,
19305 src_info_attribute, mac_info_attribute, producer_attribute,
19306 lookup_filename, generate_macinfo_entry, fundamental_type_code,
19307 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
19308 dwarfout_undef): Constify a char*.
19309 (add_incomplete_type, retry_incomplete_types): Add prototypes.
19311 * dwarfout.h (dwarfout_define, dwarfout_undef,
19312 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
19314 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
19316 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
19317 (MULTILIB_ISA_DEFAULT): New.
19318 (MULTILIB_DEFAULTS): Use it.
19319 * config/mips/mips.c (): Remove the now unnecessary definition
19320 of MIPS_ISA_DEFAULT.
19321 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
19322 unnecessary definition.
19324 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
19326 * arm.md (pic_load_addr): Add constraints to operand 1.
19328 1999-10-25 Bruce Korb <autogen@linuxbox.com>
19330 * fixinc/genfixes: Provide a means for specifying -D options to
19333 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
19335 * arm.c (arm_override_options): Correct initialization of
19336 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
19337 arm_is_strong, and arm_is_6_or_7.
19339 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
19340 (note_set_pseudo_multiple_uses): New function.
19341 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
19342 if a pseudo set in the loop exit is used elsewhere.
19344 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
19346 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
19348 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
19350 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
19351 a single load-address pattern.
19353 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
19355 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
19356 depending on whether or not line-number notes are present.
19358 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19360 * cccp.c (progname, file_buf, default_include, include_file,
19361 macrodef, definition, hashval, wchar_type, user_label_prefix,
19362 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
19363 expand_to_temp_buffer, is_system_include, base_name,
19364 absolute_filename, read_name_map, open_include_file,
19365 record_control_macro, check_precompiled, check_preconditions,
19366 pcfinclude, pass_thru_directive, create_definition,
19367 check_macro_name, comp_def_part, collect_expansion,
19368 check_assertion, read_token_list, assertion_install,
19369 assertion_lookup, eval_if_expression, conditional_skip,
19370 validate_else, skip_quoted_string, quote_string, macarg1,
19371 error_from_errno, install, lookup, hashf, dump_defn_1,
19372 perror_with_name, pfatal_with_name, main, trigraph_pcp,
19373 check_white_space, rescan, handle_directive, monthnames,
19374 special_symbol, do_include, remap_include_file, write_output,
19375 arglist, do_assert, do_unassert, do_line, do_error, do_once,
19376 do_ident, do_sccs, do_xifdef, skip_if_group,
19377 output_line_directive, macroexpand, macarg, change_newlines,
19378 initialize_builtins, make_definition): Constify a char*.
19380 * pcp.h (stringdef): Likewise.
19382 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
19384 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
19387 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
19388 Richard Henderson <rth@cygnus.com>
19390 * alias.c: Include ggc.h.
19391 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
19392 (record_set): Verify enough room in reg_base_value.
19393 (init_alias_analysis): Allocate reg_base_value with xcalloc.
19394 Register it as a GC root.
19395 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
19396 * Makefile.in (alias.o): Depend on ggc.h.
19398 * unroll.c (unroll_loop): Verify the insn before a barrier
19399 is a JUMP_INSN before checking JUMP_LABEL.
19401 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19403 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
19404 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
19405 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
19406 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
19407 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
19408 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
19410 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19412 * output.h (ctors_section, dtors_section, bss_section): Prototype.
19414 * alpha/alpha-interix.h (text_section): Delete prototype.
19415 * alpha/elf.h (text_section): Likewise.
19416 * arm/linux-elf.h (text_section): Likewise.
19417 * arm/linux-telf.h (text_section): Likewise.
19418 * c4x/c4x.h (text_section): Likewise.
19419 * dsp16xx/dsp16xx.h (bss_section): Likewise.
19420 * elfos.h (text_section): Likewise.
19421 * i386/aix386ng.h (text_section): Likewise.
19422 * i386/i386-interix.h (text_section): Likewise.
19423 * i386/sco5.h (text_section): Likewise.
19424 * i386/svr3gas.h (text_section): Likewise.
19425 * nextstep.h (text_section): Likewise.
19426 * psos.h (text_section): Likewise.
19427 * ptx4.h (text_section): Likewise.
19428 * svr3.h (text_section): Likewise.
19429 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
19431 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19433 * final.c (peephole): Delete prototype.
19435 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
19436 (pre_insert_copies): Remove unused variable `bb'.
19438 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
19441 * output.h (peephole): Add prototype.
19443 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
19445 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
19448 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
19450 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
19451 for inlined declarations.
19453 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
19455 * arm.c (logical_binary_operator): New fucntion.
19456 * arm.h (logical_binary_operator): Declare it.
19457 (PREDICATE_CODES): Handle logical_binary_operator.
19458 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
19459 output constraints. Add appropriate splitters.
19460 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
19461 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
19462 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
19464 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19466 * genoutput.c (struct operand_data): New elt eliminable.
19467 (output_operand_data): Write it.
19468 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
19469 (compare_operands): Take it into account.
19470 * recog.h (struct insn_operand_data): New elt eliminable.
19471 * reload1.c (check_eliminable_occurrences, elimination_effects): New
19473 (old_asm_operands_vec, new_asm_operands_vec): Delete.
19474 (eliminate_regs): Move code that detects changes to elimination
19475 target regs into new function elimination_effects.
19476 Delete one #if 0 block.
19477 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
19478 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
19479 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
19480 Only call eliminate_regs for real operands of the insn, not for parts
19481 of its structure or parts matched by things like match_operator.
19482 Use elimination_effects and check_eliminable_occurrences. Use
19483 copy_insn to duplicate the pattern when not in the final pass.
19485 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
19487 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
19490 1999-10-22 Bruce Korb <autogen@linuxbox.com>
19492 * fixinc/README: document the "mach" machine matching test
19493 * fixinc/fixfixes.c: Implement the #else/#endif label fix
19494 * fixinc/fixtests.c: Implement the #else/#endif label test
19495 * fixinc/inclhack.def: utilize these tests and fixes
19496 * fixinc/inclhack.sh: regen
19497 * fixinc/fixincl.x: regen
19498 * fixinc/fixincl.sh: regen
19500 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
19502 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
19505 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
19507 * gcc.1: Document exit codes.
19509 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19511 * calls.c: Include tm_p.h later, so everything we need is defined.
19512 * expr.c: Likewise.
19513 * function.c: Likewise.
19515 * except.c: Include tm_p.h.
19517 * sparc.c: Likewise.
19518 (dwarf2out_cfi_label): Don't prototype.
19519 (check_return_regs, epilogue_renumber,
19520 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
19521 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
19522 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
19523 ultra_schedule_insn): Add static prototype.
19524 (data_segment_operand, text_segment_operand): Call itself with the
19525 proper number of arguments.
19526 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
19528 * sparc.h: Move all declarations to sparc-protos.h.
19529 (SELECT_RTX_SECTION): Pass a missing MODE argument to
19532 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
19534 * config/svr4.h (text_section, ctors_section, dtors_section): Add
19536 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
19537 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
19538 ASM_OUTPUT_ASCII): Constify a char*.
19540 * sparc-protos.h: New file for sparc prototypes.
19542 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19544 * function.c (record_insns, contains): Always declare and define.
19545 (record_insns): Mark with ATTRIBUTE_UNUSED.
19547 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19549 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
19550 to .section when outputting a .bss section to deal with multiple
19551 .bss input sections (as happens with -fdata-sections)
19552 Also output %progbits, not @progbits so the assembler doesn't treat as
19554 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
19556 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
19557 thumb parts even when building with non-thumb CPUs, by forcing
19560 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
19562 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
19563 (movdf_const_intreg_sp64): Similarly.
19565 * local-alloc.c (update_equiv_regs): Check the correct insn
19566 for pre-existing REG_EQUIV notes.
19568 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
19570 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
19571 block reached by a branch if we're not going to actually process
19574 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
19576 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
19577 a local extern function declaration.
19579 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
19581 * i386.c (ix86_expand_prologue): Properly wrap USE around
19582 reg for CALL_INSN_FUNCTION_USAGE.
19584 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
19586 * config/mips/mips.md (movdf_internal1a): Allow floating-point
19587 move between GP_REGs.
19589 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
19591 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
19592 the mode size when finding out if an offset is legal.
19594 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
19596 * basic-block.h (PROP_*): Move constants from ...
19597 * flow.c: ... here.
19598 (compute_bb_for_insn): Free the array before reallocating.
19599 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
19600 (allocate_reg_life_data): Reset all reg variables collected by
19602 (get_block_head_tail): Don't convert from bb to block.
19603 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
19604 (find_insn_reg_weight): Take block not bb.
19605 (schedule_block): Don't set block num for moved insns.
19606 (schedule_region): Don't update_life_info or find_insn_reg_weight.
19607 (schedule_insns): Do it here instead.
19608 * combine.c (combine_instructions): Invoke compute_bb_for_insn
19609 before update_life_info.
19610 * recog.c (split_all_insns, peephole2_optimize): Update for
19611 new arg to update_life_info.
19612 * rtlanal.c (remove_note): Cope with NULL note.
19613 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
19616 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
19618 * jump.c (jump_optimize_1): More accurately detect casesi insns.
19620 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
19621 block records so that merge_blocks_nomove will clean up correctly.
19622 (split_edge): Handle casesi insns.
19624 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
19626 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
19628 * pa.md (call, call_value): Do not emit a blockage after restoring
19631 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
19633 * c-typeck.c (c_expand_asm_operands): Fix typo.
19635 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19637 * arm.c (fpu_rhs_operand): Verify modes.
19638 (fpu_add_operand): Likewise.
19639 (di_operand): Likewise.
19640 (soft_df_operand): Likewise.
19642 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
19644 * arm.c (arm_return_in_memory): APCS rules state that the elements
19645 of a structure returned in a register must be 'integer-like'.
19647 1999-10-19 Bruce Korb <autogen@linuxbox.com>
19649 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
19650 in the source tree when the generated targets are out of date
19651 * fixinc/genfixes: Alter it to run individual fixes for make.
19652 * fixinc/README: rewrite
19653 * fixinc/inclhack.def: moved initial comments to README
19655 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
19657 * toplev.c (main): Do not generate an error message if an
19658 unrecognised command line switch is recognisable by another
19659 language. If extra_warnings are enabled, then generate a
19660 warning message instead.
19662 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
19664 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
19665 (insert_pack_attributes): Delete prototype.
19667 * c-pragma.c (default_alignment): New static variable.
19668 (push_alignment): Initialize to current effective alignment.
19669 (pop_alignment): Use to set new alignment.
19670 (insert_pack_attributes): Delete function.
19671 (handle_pragma_token): Set default_alignment as well each time
19672 a #pragma pack(<n>) is encountered.
19674 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
19676 * reg-stack.c (stack_result): Aggregates are not returned in
19679 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19681 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
19683 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
19685 * basic-block.h (set_block_num): Declare.
19686 * flow.c (update_life_info): Don't call compute_bb_for_insn
19687 or free_basic_block_vars.
19688 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
19689 (insn_orig_block): Remove.
19690 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
19691 (schedule_block): Keep BLOCK_NUM up-to-date.
19692 (schedule_insns): Use compute_bb_for_insn.
19693 * recog.c (split_all_insns): Likewise.
19694 (peephole2_optimize): Likewise.
19696 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
19698 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
19699 if the pic register is used.
19701 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19703 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
19704 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
19705 if that tests TREE_PERMANENT.
19707 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
19709 * cse.c (invalidate_for_call): Do not remove memory references from
19710 the table here. It's handled elsewhere.
19712 * haifa-sched.c (add_dependence): Protect references to the
19713 true dependency cache with #ifdef INSN_SCHEDULING.
19714 (remove_dependence): Similarly.
19716 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
19717 to the cfg code that this is a return instruction.
19718 * mn10300.md (return_internal): Similarly.
19720 * combine.c (get_last_value): If the last set of a register
19721 is after subst_low_cuid, then we can not use it to determine
19722 the register's last value.
19724 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19726 * Makefile.in: Back out previous change.
19728 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
19730 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
19732 * haifa-sched.c (add_dependence): Only check/update the cache
19734 (remove_dependence): Likewise.
19735 (schedule_insns): Only create the true_dependency_cache if the
19736 average number of instructions in a basic block is very large.
19738 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19740 * Makefile.in (ggc-common.o): Depend on genrtl.h.
19741 (ggc-simple.o): Likewise.
19742 (ggc-page.o): Likewise.
19744 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
19746 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
19747 Prototype for exported functions.
19748 (pre_lcm, pre_rev_lcm): Remove prototypes.
19749 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
19750 (compute_available): Move to lcm.c, and change parameter order.
19751 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
19752 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
19753 (gcse_main): No longer call compute_preds_succs. Rebuild the
19754 set table after reach pre pass.
19755 (pre_insert_map, pre_delete_map, edge_list): New.
19756 (alloc_pre_mem): Allocate edge vectors.
19757 (free_pre_mem): Delete edge vectors.
19758 (compute_pre_data): Call new edge based lcm routines.
19759 (process_insert_insn): New function.
19760 (insert_insn_end_bb): Use it.
19761 (pre_edge_insert): New function.
19762 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
19764 (pre_insert_copies): Revamp using new edge based lcm outputs.
19765 (pre_delete): Likewise.
19766 (one_pre_gcse_pass): Insert & remove fake edges to the exit
19768 (compute_code_hoist_vbeinout): New new edge based routines.
19769 * lcm.c: Remove all the old LCM functions. Replace with new ones
19770 that work with the new cfg datastructures and work with edges
19773 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19775 * reload.h (struct reload): Add new fields "mode" and "nregs".
19776 * reload1.c: Change all occurrences of reload_mode and reload_nregs
19777 to reference the "mode" and "nregs" field within struct reload.
19779 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
19781 * haifa-sched.c (true_dependency_cache): New.
19782 (add_dependence): Use the true dependency cache to avoid expensive
19783 walks down the LOG_LINKS dependency list. Add entries to the
19784 cache as necessary.
19785 (remove_dependence): Remove entries from the true dependency cache
19787 (schedule_insns): Allocate and initialize and free the true
19790 * haifa-sched.c (schedule_insns): Do not remove inter-block
19791 dependencies anymore.
19793 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19795 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
19796 * i386/t-winnt: Likewise.
19798 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
19800 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
19802 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
19804 * Makefile.in (LANGUAGES): Omit "proto".
19805 (clean): Remove stale comment about removing unprotoize.c.
19807 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19809 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
19810 using arithmetic on void pointers.
19812 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
19814 * haifa-sched.c (compute_block_forward_dependencies): Only check
19815 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
19817 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
19819 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
19820 (expr_equiv_p): Reject memories with different alias sets.
19822 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
19824 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
19825 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
19826 (f_options): Add "bounded-pointers" and "bounds-check" entries.
19827 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
19828 (lang_init): Set default for flag_bounds_check if still "unspecified".
19830 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19832 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
19834 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19836 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
19839 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19841 * config/c4x/c4x.md (*db_noclobber,
19842 *decrement_and_branch_until_zero_noclobber): New patterns and
19843 associated splitters.
19845 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19847 * config/c4x/c4x.md (parallel instruction patterns): Rework
19848 constraints to keep reload happy.
19850 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19852 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
19853 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
19854 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
19855 Add new patterns and associated post-reload splitters.
19857 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19859 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
19861 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19863 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
19865 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
19867 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19869 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
19872 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
19874 * pa.c (move_operand): Rely on memory_address_p to determine the
19875 validity of non-indexed memory addresses.
19876 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
19877 operand in DFmode and SFmode when generating PA2.0 code.
19879 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
19881 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
19883 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
19885 * mips.c (function_prologue): Fix argument types.
19886 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
19887 (casesi_internal): Write to the scratch register.
19889 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
19891 * cppexp.c (cpp_parse_escape): Make static. Change second arg
19893 (parse_charconst): Delete unnecessary cast when calling
19895 (cpplib.h): Kill prototype of cpp_parse_escape.
19897 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
19899 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
19900 * unroll.c (unroll_loop): Cast return value of alloca.
19901 * i370/i370.c: Include function.h and toplev.h.
19902 (i370_label_scan): Remove c++ commented abort.
19903 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19904 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19905 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19906 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19908 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
19910 * config/t-freebsd: Do not override USER_H.
19911 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19913 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19914 Mumit Khan <khan@xraylith.wisc.edu>
19916 * c-parse.in (component_decl): Support anonymous struct/union.
19918 * c-parse.y: Regenerate.
19919 * c-parse.c: Likewise.
19920 * objc/objc-parse.y: Likewise.
19921 * objc/objc-parse.c: Likewise.
19922 * c-decl.c (finish_struct): Don't sort the fields.
19923 (field_decl_cmp): Delete unused function.
19925 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
19927 * sparc.md (movsf_const_intreg): Revert last constraint change.
19928 (movdf_const_intreg_sp32): Likewise.
19930 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
19932 * cse.c: Include hashtab.h instead of splay-tree.h
19933 (struct cse_reg_info): No longer use variant union. Add new
19934 field "regno". All references changed to avoid union.
19935 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
19936 (free_cse_reg_info): Remove.
19937 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
19938 (get_cse_reg_info): Revamp to use expandable hash tables instead
19939 of splay trees. Initialize new fields in cse_reg_info structure.
19940 (new_basic_block): Similarly.
19942 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
19944 * genrecog.c (message_with_line): Prototype.
19945 (validate_pattern): Pass along the set for the dest, not a flag.
19946 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
19947 Check for PC/CC0 as sources.
19948 (nodes_identical): Check for children position match before
19949 allowing the combination.
19951 * rtl.c (read_rtx): Track line number across \\\n.
19953 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
19955 * mips.h (SPECIAL_MODE_PREDICATES): New.
19956 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
19957 (movdi+1, movsi+1): Add output reload constraint.
19958 (casesi_internal): Likewise. Fix commentary.
19959 (return_internal): Use pmode_register_operand.
19961 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
19963 * 1750a.md (movstrqi): Add missing output reload constraint.
19964 (call_value): Likewise.
19965 * a29k.md (cpxxx patterns): Add missing match_operator mode.
19966 (jmpfdec): Add missing inout reload constraint.
19967 * elxsi.md (addsi patterns): Add missing output reload constraint.
19968 (move from sp): Use @ alternates.
19969 (call_value): No constraint on output.
19970 * fr30.md (movsi_pop): Add missing output reload constraint.
19971 (movsf_constant_store): Likewise.
19972 (splits): Remove constraints.
19973 (subsi3): Add missing mode.
19974 * i370.md (cmpstrsi+1): Add missing output reload constraint.
19975 (call_value): Likewise.
19976 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
19977 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
19978 * m32r.md (movsicc_internal): Add output reload constraint.
19979 (movstrsi_internal): Add inout reload constraints.
19980 * m88k.h (reg_names): Don't declare.
19981 (SPECIAL_MODE_PREDICATES): New.
19982 * m88k.md (*): Use register_operand not reg_or_0_operand
19984 * mn10200.h (PREDICATE_CODES): New.
19985 * ns32k.md (ffs pattern): Add output reload constraint.
19986 * pdp11.md (sob pattern): Add inout reload constraint.
19987 * sh.md (splits): Remove constraints.
19988 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
19989 * v850.md (pattern_is_ok_for_epilogue): Likewise.
19990 * vax.md (jgequ pattern): Add inout reload constraint.
19992 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
19994 * configure.in (djgpp): Revert previous patch.
19995 * configure: Rebuit.
19996 * config/i386/djgpp.h: Revert previous patch.
19998 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
20000 * fixinc/inclhack.def: Restore patch lost during last merge of
20001 "no_bogosity" branch.
20002 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20004 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20006 * fixincludes: Add a HPUX 11 fix for inttypes.h.
20007 * fixinc/inclhack.def: Same.
20008 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
20010 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
20012 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
20013 as the base of a PLUS.
20015 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20017 * config/c4x/c4x.md: Define mode for remaining unspec operators.
20018 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
20020 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
20022 * pa.md (post_stw+1): Use pmode_register_operand.
20023 (dcacheflush, icacheflush): Likewise.
20025 * i386.md (movstricthi_1): Allow r/r.
20027 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
20029 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
20030 to (not (and (arg0) (arg1))). Similary for and.
20032 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
20033 fallthrough to associate code.
20034 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
20037 * combine.c (simplify_logical): Convert XOR to IOR if operands have
20038 no bits in common; remove XOR to ROTATE conversion.
20040 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20042 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
20044 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20046 * config/c4x/c4x.c (dst_operand): New.
20047 (PREDICATE_CODES): Update.
20048 * config/c4x/c4x.h (dst_operand): Declare it.
20049 * config/c4x/c4x.md: Define mode for each unspec usage.
20050 (move patterns): Use dst_operand predicate instead of src_operand.
20051 (movqi_update, movqf_update): Delete.
20053 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
20055 * recog.c (pmode_register_operand): New.
20056 * recog.h: Declare it.
20057 * genrecog.c (pred_codes): Likewise.
20058 (special_mode_pred_table): Likewise.
20059 (validate_pattern): Don't warn no mode for address_operand.
20061 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
20062 if the operand is not insn-like.
20064 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
20065 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
20067 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
20069 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
20071 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
20072 instead of general_operand in a SET_DEST. Use const_double_operand
20073 instead of an explicit test against CONST_DOUBLE.
20074 (movsf_const_lo): Add missing register mode.
20075 (goto_handler_and_restore): Add auxiliary test for Pmode.
20076 (flush): Adjust to use address_operand.
20077 (return_sf_no_fpu): Add missing output constraint.
20079 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
20081 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
20082 for call return value.
20083 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
20085 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
20087 * toplev.c (main): Only warn about options for other languages.
20088 * collect2.c (main): Pass -w to sub-gcc.
20090 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
20092 * flow.c (propagate_block): Add call-clobbered registers to
20095 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
20096 zapping mem_set_list.
20097 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
20098 (mark_set_1, mark_used_regs): Likewise.
20100 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
20102 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
20104 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
20106 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
20107 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
20108 options. Also add a new item "C-only Warning Options" to the
20111 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
20113 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
20114 from multiple calls.
20116 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
20118 * i386.md (call value patterns): Move to the end of the file.
20119 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
20121 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
20123 * configure.in (djgpp configuration): Define extra_objects..
20124 * configure: Rebuilt.
20125 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
20126 (DTORS_SECTION_ASM_OP): Define.
20127 (INIT_SECTION_ASM_OP): Define.
20128 (FINI_SECTION_ASM_OP): Define.
20129 (DATA_SECTION_ASM_OP): Define.
20130 (TEXT_SECTION_ASM_OP): Define.
20131 (EH_FRAME_SECTION_ASM_OP): Define.
20132 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
20133 (STARTFILE_SPEC): Add crtbegin.o.
20134 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
20135 to here from LINK_COMMAND_SPEC.
20136 (DO_GLOBAL_CTORS_BODY): Define.
20137 (CRTSTUFF_USE_FINI_SECTION): Define
20138 (HAS_INIT_SECTION): Delete.
20140 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
20142 * Makefile.in (all.cross): Depend on xcpp$(exeext).
20144 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
20146 * pa.h (PREDICATE_CODES): New.
20148 * genrecog.c (validate_pattern): Condense the destination
20149 non-lvalue message.
20151 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
20153 * alpha.md (call-1): Supply missing mode for operator.
20154 (*): Add missing output reload constraints. Remove constraints
20155 from define_splits.
20157 * i386.h (SPECIAL_MODE_PREDICATES): New.
20158 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
20159 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
20160 (addsi_lea_3): Add missing mode for op 3.
20161 (prologue_set_got, prologue_get_pc): Add missing modes.
20162 (*) Add missing output reload constraints.
20164 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
20166 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
20167 check for member bit-size overflow and use var_size if it occurs.
20168 (layout_record): Use bitsize_int() to define the type size in bits.
20169 Likewise for computation and assignment to DECL_FIELD_BITPOS.
20170 (layout_decl): Likewise when assigning to DECL_SIZE.
20172 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
20174 * genrecog.c (validate_pattern): Typo last change. Verify
20175 that output operands have output reloads.
20177 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
20179 * genrecog.c (special_mode_pred_table): New.
20180 (NUM_SPECIAL_MODE_PREDS): New.
20181 (find_operand): New.
20182 (validate_pattern): New argument `insn'. Warn for assignment to
20183 any predicate accepting non-lvalues. Conditionaly warn for
20184 match_operand without a mode. Try much harder to match source
20185 and destination modes on a set.
20186 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
20188 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
20190 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
20192 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
20194 * combine.c (simplify_logical): Recognize xor pattern that encodes
20197 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20199 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
20202 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
20204 * ggc-page.c (MAP_FAILED): Provide default.
20206 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
20208 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
20209 * sparc.h (PREDICATE_CODES): Update.
20211 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
20213 * alpha.c (some_ni_operand): New.
20214 * alpha-protos.h: Declare it.
20215 * alpha.h (PREDICATE_CODES): Update.
20216 * alpha.md (sXaddq reload insns): Use some_ni_operand
20217 for SET_DEST instead of some_operand.
20219 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
20220 Jim Wilson <wilson@cygnus.com>
20222 * genrecog.c (maybe_both_true_2): Don't compare modes of
20224 (process_tree): Elide peephole2_insns. Invoke simplify_tests
20225 after find_afterward.
20226 (debug_decision_1): Dump next and afterward codes.
20228 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
20230 * rtl.c (dump_and_abort): Remove.
20231 (fatal_with_file_and_line): New.
20232 (fatal_expected_char): New.
20233 (read_rtx_lineno, read_rtx_filename): New.
20234 (read_skip_spaces): Track line number.
20235 (read_name): Use fatal_with_file_and_line.
20236 (read_rtx): Use fatal_expected_char. Track line number.
20237 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
20239 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
20240 if it isn't a CODE_LABEL.
20242 * genattr.c (main): Set read_rtx_filename.
20243 * genattrtab.c (main): Likewise.
20244 * gencodes.c (main): Likewise.
20245 * genconfig.c (main): Likewise.
20246 * genemit.c (main): Likewise.
20247 * genextract.c (main): Likewise.
20248 * genflags.c (main): Likewise.
20249 * genopinit.c (main): Likewise.
20250 * genoutput.c (main): Likewise.
20251 * genpeep.c (main): Likewise.
20253 * genrecog.c (decision_test.u.insn): Add `lineno'.
20254 (pattern_lineno, error_count): New variables.
20255 (message_with_line): New.
20256 (add_to_sequence): Break out checking code to ...
20257 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
20258 (merge_insn): Use message_with_line.
20259 (make_insn_sequence): Use validate_pattern. Record insn lineno.
20260 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
20262 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20264 * expr.c (store_constructor): Clear union if constructor is empty.
20266 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
20268 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
20269 Add !endian checks. Change %{...} to %(...).
20271 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
20273 * i386.md (*addsi3_cc): Renamed from addcsi3.
20274 (*addsi3_carry): Renamed from addxsi3.
20275 (*subsi3_cc): Renamed from subcsi3.
20276 (*subsi3_carry): Renamed from subxsi3.
20277 (*xorqi_cc_1): Renamed from xorcqi_1.
20278 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
20279 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
20281 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
20283 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
20284 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
20286 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
20288 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
20289 climb up the chain of insns.
20291 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
20293 * genrecog.c (write_subroutine): Careful for null trees.
20294 (process_tree): Don't elide empty functions.
20296 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
20298 * Makefile.in (genrtl.o): Depend on ggc.h.
20299 * configure.in (valloc): Probe for it.
20300 (with-gc): Use ggc-page if valloc present.
20301 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
20302 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
20303 (ggc_alloc_string): Moved from ggc-page.c.
20304 * ggc-none.c (ggc_alloc_obj): New.
20305 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
20306 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
20307 (struct globals): Likewise for dev_zero_fd.
20308 (init_ggc): Likewise for it's initialization.
20309 (ggc_allocated_p): Move careful dereference from ...
20310 (ggc_lookup_page_table): ... here. Delete.
20311 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
20312 (alloc_anon): Use valloc if no mmap.
20313 (release_pages): Use free if using valloc.
20314 (ggc_alloc_obj): Renamed from alloc_obj.
20315 (ggc_set_mark): Renamed from mark_obj.
20316 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
20317 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
20318 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
20319 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
20320 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
20321 (ggc_collect): Use fp printing instead of our own rounding.
20322 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
20323 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
20324 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
20325 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
20326 (struct ggc_string, struct ggc_any): Delete.
20327 (offsetof): Provide default definition.
20328 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
20330 (struct ggc_mem): New, from corpse of ggc_any.
20331 (struct ggc_status): Delete.
20332 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
20333 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
20334 (n_strings_collected, n_anys_collected): Delete.
20335 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
20336 (ggc_alloc_string, ggc_alloc): Delete.
20337 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
20338 (ggc_free_string, ggc_free_any): Delete.
20339 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
20340 (ggc_compare_addresses, ggc_mark_string): Delete.
20341 (ggc_mark_string_if_gcable, ggc_mark): Delete.
20342 (search_data): Delete.
20343 (struct globals): New.
20344 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
20345 (tree_insert, tree_lookup): New.
20346 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
20347 (clear_marks, sweep_objs): New.
20348 (ggc_collect): Gut. Use clear_marks, sweep_objs.
20349 (init_ggc): Set allocated_last_gc.
20350 (ggc_push_context): Gut. Use G.context.
20351 (ggc_pop_context): Likewise.
20352 (ggc_pop_context_1): New.
20353 (debug_ggc_tree): New.
20354 (debug_ggc_balance, tally_leaves): New.
20355 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
20356 (ggc_mark_string_if_gcable): Remove decl.
20357 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
20358 (ggc_mark_rtvec_children): New.
20359 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
20360 (ggc_mark_if_gcable): New decl.
20361 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
20362 (ggc_alloc_tree, ggc_alloc): Likewise.
20363 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
20364 (ggc_alloc_obj): New decl.
20365 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
20366 (ggc_alloc_tree, ggc_alloc): Likewise.
20367 (ggc_set_mark): New decl.
20368 * rtl.h (struct rtx_def): Remove gc_mark.
20369 (struct rtvec_def): Likewise.
20370 * tree.h (struct tree_common): Likewise.
20372 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
20374 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
20375 float_format and thread_file definitions.
20376 * configure: Rebuilt.
20378 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
20380 * extend.texi (Function Names): Document types of function names.
20382 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20384 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
20385 an earlyclobbered output conflict with RELOAD_INPUT reloads.
20387 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20389 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
20391 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20393 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
20395 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
20397 * collect2.c (main): Do prelimnary link on AIX if rflag.
20399 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20401 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
20402 __CTOR_LIST__ in opposite order, which is the correct order for sorted
20404 (__do_global_dtors): similarly for __DTOR_LIST__.
20406 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20407 Diego Novillo <dnovillo@cygnus.com>
20409 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
20412 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
20414 * fixincl/*: Merged "no_bogosity" branch
20415 * fixincl/fixlib.h: protect against doubly defining t_bool
20416 * fixincl/server.h: protect against doubly defining t_bool
20418 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
20420 * genoutput.c: Include toplev.h.
20422 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
20424 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
20426 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
20427 * configure: Regenerate.
20429 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
20431 * gcse.c (delete_null_pointer_checks): Returns void.
20433 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20435 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
20436 * emit-rtl.c (copy_insn_1): Likewise.
20438 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20440 * config/mips/mips.c (mips_build_va_list): Correct
20441 TREE_CHAIN setting when hard-float.
20442 (mips_va_start): Use corrected setting.
20443 (mips_va_arg): Likewise. Also pass a tree to build of
20444 POSTINCREMENT_EXPR rather than a naked 'int'.
20446 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
20448 * ggc.h (ggc_push_context): Fix comment.
20449 (ggc_pop_context): Likewise.
20450 (mark_string_if_gcable): Likewise.
20451 * ggc-common.c (ggc_mark_rtx_children): Use
20452 ggc_mark_string_if_gcable.
20453 * ggc-page.c (ggc_lookup_page_table): New function.
20454 (ggc_allocated_p): Likewise.
20455 (mark_obj): Fix formatting.
20456 (ggc_mark_string_if_gcable): New function.
20457 * ggc-simple.c (ggc_allocated_strings): New variable.
20458 (ggc_strings_used): Likewise.
20459 (ggc_compare_addresses): New function.
20460 (ggc_pop_context): Pop the `any' memory too.
20461 (ggc_mark_string_if_gcable): New function.
20462 (ggc_collect): Initialize and tear down ggc_allocated_strings.
20464 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
20466 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
20467 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
20468 * rs6000.c (expand_block_move): Match movstrsi_?reg register
20471 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
20473 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
20474 (sched_reg_live_length, sched_reg_basic_block): Delete.
20475 (current_block_num, bb_live_regs, old_live_regs): Delete.
20476 (dead_notes, struct sometimes): Delete.
20477 (sched_note_set, birthing_insn_p): Delete.
20478 (adjust_priority): Gut useless reg lifetime code.
20479 (create_reg_dead_note, attach_deaths): Delete.
20480 (attach_deaths_insn, new_sometimes_live): Delete.
20481 (finish_sometimes_live): Delete.
20482 (find_pre_sched_live, find_post_sched_live): Delete.
20483 (update_reg_usage): Delete.
20484 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
20485 (schedule_insns): Delete reg lifetime code.
20486 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
20487 (unlink_other_notes): Adjust REG_NOTE commentary.
20488 (reemit_notes): Use REG_SAVE_NOTE.
20489 (schedule_block): Likewise.
20490 (schedule_region): Allocate bitmap of blocks in region. Use
20491 count_or_remove_death_notes. Use update_life_info.
20493 * rtl.h (REG_SAVE_NOTE): New.
20494 * rtl.c (reg_note_name): Update.
20496 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
20498 * combine.c (refresh_blocks, need_refresh): New.
20499 (combine_instructions): Allocate refresh_blocks. Invoke
20500 update_life_info if needed.
20501 (distribute_notes): Mark refresh_blocks instead of installing
20503 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
20504 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
20506 * Makefile.in (recog.o): Depend on basic-block.h.
20508 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
20510 * genrecog.c (add_to_sequence): Thinko last change: delete
20511 shadowing allow_const_int variable.
20513 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20515 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
20516 __GNUC__ and __GNUC_MINOR__.
20518 * gansidecl.h: Likewise.
20524 * toplev.h: Likewise.
20526 * tree.c: Likewise.
20528 * tree.h: Likewise.
20530 * varray.c: Likewise.
20532 * varray.h: Likewise.
20534 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20536 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
20537 use one before a jump table.
20539 * rtl.def (ADDRESS): Change documentation to match reality.
20540 * md.texi: Don't document it.
20541 * gmicro.md (load address pattern): Use 'p' constraint, delete use
20544 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
20546 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
20548 * genrecog.c (add_to_sequence): Move allow_const_int test outside
20549 known predicate block; default allow_const_int true.
20550 (debug_decision_list): New.
20552 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
20554 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
20556 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
20558 * gcse.c (gcse_main): Avoid global optimizations if we have a
20559 large number of basic blocks and the ratio of edges to blocks
20561 (delete_null_pointer_checks): Likewise.
20563 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
20565 * c-common.c (check_format_info): Warn if format string isn't a
20568 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20570 * configure.in (arm*-*-*): Don't let autoconf remove brackets
20571 * configure: regenerate
20573 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
20575 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
20576 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
20577 (peepholes): Re-enable.
20579 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
20581 * Makefile.in (flow.o): Depend on TREE_H.
20582 * basic-block.h (REG_SET_EQUAL_P): New.
20583 (XOR_REG_SET): New.
20584 (n_edges): Declare.
20585 (free_regset_vector): Remove declaration.
20586 (flow_delete_insn_chain): Declare.
20587 (enum update_life_extent): New.
20588 (update_life_info, count_or_remove_death_notes): Declare.
20589 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
20590 Verify register live at bb->global_live_at_start before adding USE.
20591 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
20592 (CLEAN_ALLOCA): New.
20594 (PROP_*): New flags.
20595 (find_basic_blocks_1): Use alloc_EXPR_LIST.
20596 (clear_edges): Zero n_edges.
20597 (make_edge): Increment n_edges.
20598 (split_edge): Don't allocate bb->local_set. Increment n_edges.
20599 (flow_delete_insn_chain): Export.
20600 (delete_block): Decrement n_edges.
20601 (merge_blocks_nomove): Likewise.
20602 (life_analysis): Give life_analysis_1 PROP flags.
20603 (verify_wide_reg_1, verify_wide_reg): New.
20604 (verify_local_live_at_start): New.
20605 (update_life_info): Rewrite to call into propogate_block.
20607 (mark_regs_live_at_end): After reload, if epilogue as rtl,
20608 always mark stack pointer. Conditionally mark PIC register.
20609 After reload, mark call-saved registers, return regsiters.
20610 (life_analysis_1): Accept PROP flags not remove_dead_code.
20611 Call mark_regs_live_at_end before zeroing regs_ever_live.
20612 Use calculate_global_regs_live. Copy global_live_at_end before
20613 calling final propagate_block. Zero reg_next_use on exit.
20614 (calculate_global_regs_live): New.
20615 (allocate_bb_life_data): Don't allocate bb->local_set.
20616 (init_regset_vector, free_regset_vector): Remove.
20617 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
20618 Test flags before every operation. Warn if prologue/epilogue insn
20619 would have been deleted.
20620 (mark_set_regs, mark_set_1): Accept and use FLAGS.
20621 Use alloc_EXPR_LIST.
20622 (mark_used_regs): Accept and use FLAGS, not FINAL.
20623 Remove special handling for RETURN.
20624 (try_pre_increment): Use alloc_EXPR_LIST.
20625 (dump_flow_info): Dump n_edges.
20626 (unlink_insn_chain, split_hard_reg_notes): Remove.
20627 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
20628 (find_insn_with_note, new_insn_dead_notes): Remove.
20629 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
20630 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
20631 (replace_insns): Remove.
20632 (count_or_remove_death_notes): New.
20633 (verify_flow_info): Abort on error after all checks.
20634 (remove_edge): Decrement n_edges.
20635 (remove_fake_edges): Tweak format.
20636 * haifa-sched.c (schedule_insns): Use split_all_insns.
20637 * output.h (update_life_info): Remove declaration.
20638 * recog.c (split_all_insns): From the corpse of split_block_insns,
20639 do the whole function block by block. Use update_life_info.
20640 (recog_last_allowed_insn): New.
20641 (recog_next_insn): Mind it.
20642 (peephole2_optimize): Set it. Walk backwards through blocks.
20643 Use update_life_info.
20644 * rtl.h (update_flow_info, replace_insns): Remove declarations.
20645 (split_all_insns): Declare.
20646 * toplev.c (rest_of_compilation): Thread prologue before flow2.
20647 Use split_all_insns.
20649 * i386.md (or -1 peep2s): Disable.
20651 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
20653 * config/mips/mips.md (movstrsi+[123]) : Combine these into
20654 a single pattern. Scrap the 'd' versions as unnecessary.
20656 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
20657 tablejump_mips162,tablejump_internal4): The operands to a
20658 label_ref must be VOIDmode.
20660 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20662 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
20664 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20666 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
20668 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20670 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
20671 cache every function if ggc_p.
20673 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20675 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
20676 instead of copy_rtx. Accept sequences that contain asm statements.
20677 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
20678 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
20679 orig_asm_operands_vector, copy_asm_operands_vector,
20680 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
20682 * rtl.h (copy_insn, copy_insn_1): Declare.
20684 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20686 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
20688 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
20689 arguments to `current_file_function_operand'.
20691 * genrecog.c: Include hard-reg-set.h and resource.h in the
20692 generated output file.
20694 * real.c: Include tm_p.h.
20696 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20698 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
20701 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
20703 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
20704 before the fctiwz insn.
20706 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20707 Mark Mitchell <mark@codesourcery.com>
20709 * tree.c (make_lang_type_fn): New funtion pointer.
20710 (make_lang_type): Call it.
20711 * tree.h (make_lang_type): Declare.
20712 (make_lang_type_fn): Likewise.
20713 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
20715 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
20717 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
20718 make sure that HIGH instructions are copied into BASE_REGS.
20720 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
20722 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
20724 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
20726 * c-decl.c (finish_struct): Use simpler method of
20727 removing elements of a singly-linked list.
20729 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
20731 * alpha.md (peephole2's): Comment out peephole2's that generate
20734 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
20736 * genrecog.c (add_to_sequence): Disable mode check for
20739 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20741 * ggc-simple.c (init_ggc): Set empty_string.
20743 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
20745 * configure.in: Detect mmap. Add --with-gc=foo to select
20746 garbage collector; default to page if mmap available.
20747 * Makefile.in (GGC): Substitute.
20749 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
20751 * c-decl.c (ggc_p): Enable.
20753 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20755 * flow.c (verify_flow_info): Make it extern & unconditionally define.
20757 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
20759 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
20760 string for little-endian-data.
20762 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
20764 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
20765 case somebody tries to compile --enable-checking code with gcc
20768 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
20770 * genrecog.c (add_to_sequence): Verify operand to label_ref is
20773 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
20775 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
20776 * jump.c (jump_optimize_1): Document why.
20778 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20780 * collect2.c (scan_prog_file, scan_libraries): Prototype function
20781 pointers and casts for `int_handler' and `quit_handler'.
20783 * flow.c (verify_flow_info, split_hard_reg_notes,
20784 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
20785 remove_edge, remove_fake_successors): Add static prototypes.
20786 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
20787 (mark_set_1): Initialize variable `regno'.
20788 (unlink_insn_chain): Likewise for variable `curr'.
20789 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
20791 * loop.c (strength_reduce): Initialize variable
20792 `unrolled_insn_copies'.
20793 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
20794 prototypes. Change these functions to take const PTR parameters
20795 to avoid prototype conflict when used as the comparson argument
20797 (check_dbra_loop): Initialize variable `comparison_val'.
20799 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
20800 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
20801 (find_valid_class): Initialize variable `best_class'.
20802 (find_reloads): Call memcpy, not bcopy.
20804 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
20805 (hard_reg_use_compare): Don't needlessly cast away const.
20806 (reload_reg_class_lower): Likewise.
20807 (choose_reload_regs): Initialize variable `regno'.
20809 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
20811 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
20813 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
20815 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
20816 ({,d}discard): Add forward declarations. Declare parameter as
20818 (main_without_main): Explicitly declare return type to be int.
20819 (memcpy): Properly declare.
20821 * libgcc2.c (toplevel): If inhibit_libc is defined and not
20822 building the trampoline support, declare malloc, free, and
20824 (__clear_cache): Mark arguments as potentially unused.
20826 * frame.c (toplevel): If inhibit_libc is defined, declare
20829 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
20831 * flow.c (make_edge): Accept an optional 2D bitmap in which
20832 to cache edge existence. Update all callers.
20833 (make_label_edge, make_eh_edge): Pass through the edge cache.
20834 (make_edges): Provide the cache.
20836 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20838 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
20840 (local_mbtowc): Change the type of variable `i' from int to size_t.
20842 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
20843 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
20845 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
20847 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
20848 after other includes that define the appropriate types. Include
20849 tm_p.h for getting user prototypes.
20850 * ggc-callbacks.c (toplevel): Ditto.
20851 * ggc-none.c (toplevel): Ditto.
20852 * gcc-page.c (toplevel): Ditto.
20853 * ggc-simple.c (toplevel): Ditto.
20855 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
20856 Jonathan Larmour <jlarmour@cygnus.co.uk>
20858 * config/mips/mips.c (mips_move_2words): Split doubles if
20859 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
20861 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
20863 * genrecog.c (struct decision_test): New.
20864 (struct decision): Remove test-related members, sort the rest by size.
20865 (IS_SPLIT): Simplify.
20866 (new_decision, new_decision_test): New.
20867 (add_to_sequence): Use them. No special handling for args of
20869 (maybe_both_true): Renamed from not_both_true; return sense changed.
20870 (maybe_both_true_1, maybe_both_true_2): New. Broken out
20871 of maybe_both_true and adjusted for decision_test.
20872 (position_merit): Remove.
20873 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
20874 (merge_accept_insn): New, broken out of merge_trees.
20875 (merge_trees): Use them. No special case for c_test; no node
20876 splitting; use test type instead of position_merit.
20877 (factor_tests): New.
20878 (simplify_tests): New.
20879 (break_out_subroutines): Don't write code now.
20880 (find_afterward): New.
20881 (write_afterward, write_switch, write_cond): New.
20882 (write_action, is_unconditional): New.
20883 (write_node): New. Use them.
20884 (write_tree_1): Rewrite. Use the new functions above.
20885 (write_tree): Remove afterward processing.
20886 (write_subroutine): Simplify function variant emission.
20887 (write_subroutines): New.
20888 (same_codes, clear_codes): Remove.
20889 (same_modes, clear_modes): Remove.
20890 (write_header): New, broken out of main.
20891 (make_insn_sequence): Use new_decision and new_decision_test.
20892 (process_tree): New, broken out of main.
20893 (main): Adjust for merge_trees interface change.
20894 Don't #define operands in the output file.
20895 (record_insn_name): New, broken out of make_insn_sequence.
20896 (debug_decision_2, debug_decision_1, debug_decision_0): New.
20897 (debug_decision): New.
20899 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
20901 * resource.c (find_free_register): Mark class_str argument const.
20902 * resource.h: Update prototype to match.
20904 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20905 * i386.md: Give all anonymous insns names.
20907 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
20909 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20912 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
20914 * toplev.c (dbr_sched_time): Unconditional.
20915 (peephole2_time): New.
20916 (compile_file): Add pass numbers to all of the dump file suffixes.
20917 Dump peephole2_time. Don't dump times for non-applicable passes.
20918 (rest_of_compilation): Add pass numbers to dump file suffixes.
20919 Conditionalize calls to the scheduler.
20920 * invoke.texi: Update.
20922 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
20924 * flow.c (make_edges): Fix insn iteration.
20925 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20926 (find_basic_blocks_1): Fix spelling mistake.
20928 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
20930 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20931 always have side-effects. Use memset not bzero.
20932 (make_node): Likewise.
20934 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
20936 * stmt.c (expand_anon_union_decl): When any of the elements of the
20937 union is addressable, so is the entire union.
20939 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
20941 * sbitmap.c (sbitmap_ones): Don't set too many bits.
20943 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
20944 * bitmap.c (bitmap_operation): Return true iff TO changed.
20945 (bitmap_equal_p): New.
20946 (bitmap_bit_p): Tidy arithmetic.
20947 (debug_bitmap_file): Likewise.
20949 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
20951 * toplev.c (rest_of_compilation): Turn on cse_not_expected
20952 before cse2 instead of after.
20954 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
20956 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
20959 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20961 * cppinit.c (is_idchar initializer): Loosen tests to accept
20964 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
20966 * mips.md: Define conditional move patterns for floating point
20967 operands and DI mode conditions.
20969 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
20971 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
20972 always have side-effects.
20974 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
20976 * mn10200.c (asm_file_start): Fix typo.
20978 * cppinit.c (is_idchar initializer): Tighten tests for when
20979 to put the table into initialized memory.
20981 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
20982 not an array of rtunion.
20983 * gcc-page.c (ggc_alloc_rtvec): Similarly.
20984 * gcc-simple (ggc_free_rtvec): Similarly.
20986 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
20989 * mbchar.h: Add missing #endif.
20991 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
20992 (FPBIT, DPBIT): Define.
20994 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20996 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
20998 * profile.c (instrument_arcs, output_gcov_string,
20999 tablejump_entry_p): Add static prototypes.
21000 (output_gcov_string): Constify a char*.
21002 * regmove.c (replacement_quality, fixup_match_2): Add static
21005 * resource.h (reg_dead_p): Add extern prototype.
21007 * rtl.c (trim_filename): Add static prototype.
21009 * scan-decls.c (skip_to_closing_brace): Likewise.
21011 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
21012 (expand_end_case): Initialize variable `range'.
21013 (emit_case_nodes): Remove unused prototype `rtx_fn'.
21015 * varasm.c (asm_emit_uninitialised): Add static prototype.
21016 (asm_emit_uninitialised, assemble_variable): Mark parameter with
21019 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21021 * cpplib.c (if_directive_nameo): Add static prototype.
21023 * cse.c (cse_insn): Remove unused variable `p'.
21025 * except.c (create_rethrow_ref, push_entry,
21026 receive_exception_label, new_eh_region_entry, find_func_region,
21027 clear_function_eh_region, process_nestinfo): Add static prototypes.
21028 (get_reg_for_handler): Hide definition.
21029 (process_nestinfo): Initialize variable `extra_handlers'.
21031 * expr.h (expand_builtin_longjmp): Add extern prototype.
21033 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
21035 * function.c (prepare_function_start): Likewise.
21036 (pop_function_context_from): Mark parameter `context' with
21038 (push_temp_slots_for_block, flush_addressof): Hide definition.
21040 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
21041 solve_program_flow_graph, calculate_branch_probs,
21042 function_summary, main, fancy_abort): Add prototypes.
21044 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
21045 (add_hash): Constify a char*.
21047 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
21048 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
21049 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
21051 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
21053 * lists.c (free_list, zap_lists): Likewise.
21055 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21057 * alias.c (nonlocal_reference_p): Add static prototype.
21059 * bitmap.c (bitmap_element_allocate): Prototype args in function
21062 * builtins.c (stabilize_va_list): Add static prototype.
21063 (expand_builtin_va_arg): Constify a char*.
21065 * c-lex.c (getch, put_back, extend_token_buffer_to,
21066 read_line_number, token_getch, token_put_back): Add static
21069 * c-parse.gperf (hash, is_reserved_word): Likewise.
21071 * cccp.c (is_dir_separator): Likewise.
21073 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21075 * graph.h: New file to prototype functions exported by graph.c.
21077 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
21079 * graph.c: Include graph.h.
21081 * toplev.c: Likewise. Remove redundant prototypes.
21083 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
21085 * invoke.texi: Removed duplicated description for -Q.
21087 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
21089 * extend.texi: Grammar fix in __extension__ text.
21091 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
21093 * md.texi (define_peephole2): New section.
21095 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
21097 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
21098 (mov $-1 to or peepholer): Enable for pentium when optimizing for
21101 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
21103 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
21105 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
21107 * i386.md (ffs expander): Emit Pentium friendly code for
21110 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
21112 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
21114 (build1): Likewise.
21116 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21118 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
21120 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
21122 * config/m68k/m68k.c (use_return_insn): Return false if the pic
21123 register is in use.
21125 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21127 * md.texi (No Constraints): Delete section.
21128 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
21129 * final.c (final_scan_insn): We always have register constraints.
21130 * genattrtab.c: Don't include "insn-config.h".
21131 (write_attr_case): We always have register constraints.
21132 * genconfig.c (register_constraint_flag): Delete.
21133 (walk_insn_part): Don't check whether we have register constraints.
21134 (main): Don't write out "#define REGISTER_CONSTRAINTS".
21135 * genoutput.c (have_constraints): Delete.
21136 (main): Don't set it.
21137 (output_operand_data): We always have constraints.
21138 (scan_operands): Likewise.
21139 (compare_operands): Likewise.
21140 * local-alloc.c (block_alloc): We always have constraints.
21141 (requires_inout): Always compile this function.
21142 * recog.c (extract_insn): We always have constraints.
21143 (constrain_operands, reg_fits_class_p): Always compile these
21145 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
21147 (struct insn_operand_data): Likewise.
21148 * regclass.c (regclass): We always have constraints.
21149 (record_reg_classes, copy_cost, record_address_regs,
21150 auto_inc_dec_reg_p): Always compile these functions.
21151 * regmove.c (regmove_optimize): We always have constraints.
21152 * reload.c (find_reloads): Likewise.
21153 * reload1.c (reload): Likewise.
21154 (reload_cse_simplify_operands): Likewise.
21155 * i860.c (output_delay_insn): Likewise.
21157 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
21159 * iris6.h (BUILD_VA_LIST_TYPE): Define.
21161 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21163 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
21164 for the va_list record.
21166 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
21168 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
21171 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
21173 * alias.c: Include insn-flags.h.
21174 * Makefile.in (alias.o): Update.
21176 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
21178 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
21179 to LTU and GEU. Handle more cases using sbb.
21181 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
21183 * i386.md (truncatexfdf splitters): Do not use subreg.
21184 (fop XFmode patterns): Fix mode in operand testing.
21186 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
21188 * jump.c (jump_optimize_1): Amend last change to test only the
21189 form of the operand, not the insn.
21191 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
21192 not register_operand to determine when B may need preloading.
21194 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
21196 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
21197 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
21198 (call-value patterns): Move to end of file.
21199 (*): Remove mode from label_ref in (pc) context.
21200 (movstrqi): Use memory not general_operand for BLKmode operands.
21201 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
21202 to register_operand operands.
21203 (peep2 patterns): Convert from commented-out peephole patterns.
21205 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21207 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
21208 to BUILT_IN_INIT_DWARF_REG_SIZES.
21209 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
21210 Renamed from BUILT_IN_DWARF_REG_SIZE; call
21211 expand_builtin_init_dwarf_reg_sizes.
21212 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
21213 with __builtin_init_dwarf_reg_size_table.
21214 * dwarf2out.c (struct reg_size_range): Delete.
21215 (expand_builtin_init_dwarf_reg_sizes): New function.
21216 (expand_builtin_dwarf_reg_size): Delete.
21217 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
21218 (expand_builtin_dwarf_reg_size): Don't declare.
21219 * libgcc2.c (dwarf_reg_size_table_initialized): New.
21220 (dwarf_reg_size_table): New.
21221 (init_reg_size_table): New function.
21222 (copy_reg): Use dwarf_reg_size_table.
21223 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
21226 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
21228 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
21229 Correctly build argument list to constructor and destructor functions.
21231 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
21233 * c-tree.h (warn_float_equal): Declare.
21234 * c-decl.c (warn_float_equal): Define.
21235 (c_decode_option): Recognize -W[no-]float-equal.
21236 * c-typeck.c (build_binary_op): Conditionally warn
21237 about equality tests of floating point types.
21238 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
21239 * invoke.texi: Add docs for -Wfloat-equal warning.
21241 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
21243 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
21244 generating RTL directly.
21245 * mips.h (INIT_TARGET_OPTABS): Likewise.
21246 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
21248 * expr.h (init_mov_optab): Delete declaration
21250 * h8300.c (WORD_REG_USED): Update to avoid useless register
21251 saves in interrupt functions and functions which never return.
21253 * cse.c (struct set): Delete inner_dest_loc field.
21254 (cse_insn): Remove assignments to inner_dest_loc field.
21256 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
21258 * ggc-page.c: Don't include <unistd.h> etc taken care of
21259 by "system.h". Include <sys/mman.h> afterward.
21261 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
21263 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
21266 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
21268 * xcoffout.c (xcoffout_declare_function): Add documentation.
21269 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
21270 TARGET_64BIT. Compare constant to -1, not bit pattern.
21271 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
21272 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
21275 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
21277 * dwarf2out.c (add_abstract_origin_attribute): Abort if
21278 origin_die is NULL.
21279 (gen_inlined_enumeration_type_die): Do not abort if the type has
21280 not been writeen out.
21281 (gen_inlined_structure_type_die): Do not abort if the type has
21282 not been writeen out.
21283 (gen_inlined_union_type_die): Do not abort if the type has
21284 not been writeen out.
21285 (gen_tagged_type_instantiation_die): Do not abort if the type
21286 has not been written out.
21288 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21290 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
21292 * reg-stack.c (straighten_stack): Copy hard reg set with
21295 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
21297 * builtins.c (stabilize_va_list): Stabilize array type va_list
21298 to a pointer type, not the base record type.
21299 (expand_builtin_va_copy): Dereference the pointers explicitly;
21300 use the correct size for the copy.
21302 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
21303 (rs6000_va_arg): Likewise.
21305 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
21307 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
21309 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
21311 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
21313 (DECL_BUILT_IN_CLASS): Adjust accordingly.
21315 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
21317 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
21318 (init_ggc): Use it instead of a constant.
21319 (ggc_collect): Bound allocated_last_gc by it.
21321 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
21323 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
21326 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
21328 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
21329 (mips*-*-openbsd*): Let big endian configuration be a fragment.
21330 * configure: Regen.
21331 * config/mips/openbsd.h: New, OpenBSD little endian target.
21332 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
21333 * config/mips/xm-openbsd.h: New, OpenBSD host.
21335 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
21337 * config/m68k/m68k.c (output_function_prologue,
21338 output_function_epilogue): Use
21339 current_function_uses_pic_offset_table instead of regs_ever_live
21340 to decide whether to save/restore pic register.
21341 (legitimize_pic_address): Don't modify regs_ever_live any more.
21343 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
21345 * function.h (struct function): Add x_dont_save_pending_sizes_p.
21346 * stor-layout.c (variable_size): Don't add sizes to the pending
21347 sizes list if x_dont_save_pending_sizes_p is set.
21349 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
21351 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
21352 for symbolic_operand().
21353 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
21355 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21357 * combine.c (gen_rtx_combine): Add missing call to va_end().
21359 * final.c (asm_fprintf): Likewise.
21361 * genattrtab.c (attr_rtx): Likewise.
21363 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
21365 * cse.c: Update comments.
21366 (cse_insn): When converting a conditional/computed jump into
21367 an unconditional jump, always make sure a BARRIER immediately
21368 follows the converted jump. Do not delete unreachable code.
21369 (cse_basic_block): Do not delete unreachable code.
21370 * toplev.c (rest_of_compilation): Move call to
21371 delete_trivially_dead_insns after the conditional call to
21374 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21376 * collect2.c (make_temp_file): Don't prototype.
21378 * gcc.c (make_temp_file): Likewise.
21380 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
21382 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
21384 * varasm.c (asm_emit_uninitialised): New function: Generate
21385 the assembler statements necessary to declare an uninitialised
21387 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
21389 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
21390 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
21392 (assemble_variable): Use asm_emit_uninitialised to emit an
21393 uninitialised variable.
21395 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
21397 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
21398 constant on a 64 bit host. Patch supplied by Geoffrey Keating
21399 <geoffk@cygnus.com>.
21401 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21403 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
21404 * c-common.h (builtin_function): Don't declare.
21406 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
21408 (pushdecl): Likewise.
21409 (finish_decl): Likewise.
21410 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
21411 int. All callers changed.
21412 Set the builtin's DECL_BUILT_IN_CLASS.
21413 * tree.h (enum built_in_class): New.
21414 (enum built_in_function): Delete NOT_BUILT_IN.
21415 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
21417 (DECL_SET_FUNCTION_CODE): Likewise.
21418 (DECL_BUILT_IN_CLASS): New macro.
21419 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
21420 (struct tree_decl): Split builtin function code field into a
21422 (builtin_function): Declare.
21424 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
21426 * optabs.c (init_traps): Fix typo in last change.
21428 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
21430 * toplev.c (rest_of_decl_compilation): Update comment.
21432 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
21434 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
21435 in .sbss if appropriate.
21436 (EXTRA_SECTION_FUNCTIONS): Add sbss.
21437 (SBSS_SECTION_ASM_OP): New macro.
21438 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
21439 (EXTRA_SECTIONS): Add in_sbss.
21440 * config/mips/mips.h: Prototype sbss_section.
21442 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
21444 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
21447 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
21449 * optabs.c (init_traps): Register trap_rtx as a GC root.
21451 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21453 * config/mips/mips.c (function_arg_pass_by_reference): Define
21454 unconditionally, since it's called unconditionally.
21456 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21458 * toplev.c (documented_lang_options): Add -fshort-wchar.
21459 * c-decl.c (c_decode_option): Likewise.
21460 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
21462 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
21463 * gcc.c (default_compilers): If -fshort-wchar,
21464 override __WCHAR_TYPE__.
21465 * tm.texi (C Dialect Options): Add -fshort-wchar.
21467 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
21468 symbol for a variable.
21470 * cpplib.h (CPP_PREPROCESSED): New macro.
21471 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
21472 we're seeing this input for a second time.
21474 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
21476 * emit-rtl.c (init_emit_once): Initialize modes first.
21478 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
21480 * config/i386/i386.c (pic_label_name): Change to char pointer.
21481 (global_offset_table): New variable.
21482 (load_pic_register): Fill global_offset_table if it hasn't
21483 already been done. Allocate pic_label_name dynamically.
21484 * ggc.h (empty_string): New variable.
21485 * ggc-simple.c (empty_string): Likewise.
21486 (init_ggc): Allocate empty_string and add as root.
21487 * stmt.c (digit_strings): New variable.
21488 (init_stmt): Add last_block_end_note as root. Allocate and
21489 initialize digit_strings.
21490 (expand_asm_operands): Use empty_string instead of string
21491 constant. Use digit_strings instead of string constants.
21492 * profile.c (init_arc_profiler): Allocate string with
21493 ggc_alloc_string instead of xmalloc.
21494 (output_func_start_profiler): Likewise.
21495 * c-typeck.c (digest_init): Check if init is error_mark_node.
21497 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
21498 Richard Henderson <rth@cygnus.com>
21500 * ggc-page.c: New file.
21501 * Makefile.in (ggc-page.o): New.
21503 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
21505 * invoke.texi: Document -fdelete-null-pointer-checks
21506 * toplev.c (flag_delete_null_pointer_checks): New.
21507 (f_options): Add entry for -fdelete-null-pointer-checks.
21508 (rest_of_compilation): Conditionalize null pointer check
21509 elimination on flag_delete_null_pointer_checks.
21510 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
21512 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
21514 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
21515 copyright notice and special exception to GPL.
21517 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21519 * abi64.h (mips_function_value): Add prototype arguments.
21521 * mips-protos.h: New file with mips prototypes.
21523 * mips.c: Include "tm_p.h".
21524 (mktemp, lookup_name): Add prototype arguments.
21525 (extern_list, string_constant, mips_fill_delay_slot,
21526 mips_output_external, mips_output_external_libcall,
21527 mips_output_filename, mips_declare_object, function_prologue,
21528 mips_expand_prologue, function_epilogue, mips16_constant,
21529 build_mips16_function_stub, mips_output_conditional_branch):
21531 (mips_va_start): Remove unused variable `u'.
21532 (mips_va_arg): Cast value to unsigned when comparing against one.
21534 (save_restore_insns, mips_expand_prologue): Add missing arg in
21535 call to `large_int'.
21537 * mips.h: Move prototypes to mips-protos.h.
21538 (data_section, memory_address_p, rdata_section,
21539 readonly_data_section, simple_epilogue_p, text_section): Delete
21540 prototypes delcared elsewhere.
21541 (mips_epilogue_delay_slots, print_options): Delete unused decls.
21543 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
21545 * mips.md: Delete extra args in call to `mips_move_2words'.
21547 * xm-iris6.h (alloca): Add prototype argument.
21549 * genpeep.c: Include "tm_p.h" in generated output file.
21551 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21553 * basic-block.h (find_edge_index): Change parameters.
21554 * flow.c (verify_edge_list): Pass basic_block parameters to
21555 find_edge_index instead of integers.
21557 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
21559 * combine.c (simplify_comparison): Use an unsigned shift to adjust
21562 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
21564 * gcc.1: Fix a formatting error.
21566 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21568 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
21569 i786, mn10200, mn10300, pdp11, v850.
21571 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
21573 * libgcc2.c (num_digits): Add prototype with
21574 __attribute__((const)).
21575 (__terminate): Add prototype.
21577 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
21579 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
21581 * alpha/alpha.c (print_operand): Fix type of `code'.
21582 (alpha_output_filename): Constify.
21583 * alpha/alpha.h: Move all function declarations ...
21584 * alpha/alpha-protos.h: ... here. New file.
21585 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
21586 (SECTION_FUNCTION_TEMPLATE): Likewise.
21588 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21590 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
21591 * expr.c (expand_expr): Likewise.
21592 (do_jump): Likewise.
21593 (do_store_flag): Pass ccp_store_flag to can_compare_p.
21594 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
21596 (enum can_compare_purpose): New.
21597 (can_compare_p): Adjust prototype.
21598 (prepare_cmp_insn, prepare_operand): Declare.
21599 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
21600 * optabs.c (cmp_available_p): Deleted.
21601 (expand_abs): Pass ccp_jump to can_compare_p.
21602 (can_compare_p): New arg PURPOSE. Check for combined optabs.
21603 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
21604 Call can_compare_p rather than cmp_available_p.
21605 (prepare_operand): No longer static.
21606 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
21607 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
21608 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
21609 sequence to use emit_cmp_and_jump_insns.
21610 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
21612 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
21614 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
21615 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
21616 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
21617 (plus (reg) (const_int 0))
21618 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
21620 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
21622 * rs6000.c (expand_block_move): DImode loads and stores require
21623 word-aligned displacements. Increment address registers with
21624 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
21626 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
21628 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
21629 is no name for the base type, rather than segfault. If we are
21630 writing out a complex integer type, use DW_ATE_lo_user.
21632 * expr.c (emit_move_insn_1): If we are copying a complex that fits
21633 in one word or less (complex char, complex short, or on 64 bit
21634 systems complex float) to/from a hard register, copy it through
21635 memory instead of dying in gen_{real,imag}part. If we have a
21636 short complex type, prevent inlining since it allocates stack
21639 * tree.c (build_complex_type): If we are writing dwarf2 output,
21640 generate a name for complex integer types.
21642 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21644 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
21645 * flow.c (remove_edge): Remove extra whitespace.
21646 (remove_fake_edges): Fix comment.
21647 (add_noreturn_fake_exit_edges): Use the correct name.
21649 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
21651 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
21652 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
21653 (clean): Depend on INTL_CLEAN.
21654 (maintainer-clean): Adjust.
21656 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21658 * configure.in (AC_PREREQ): Bump to 2.13.
21659 (AC_C_STRINGIZE): Call this instead of using a custom macro.
21661 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
21663 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
21665 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
21667 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
21668 (HAVE_STRINGIZE): Define.
21670 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
21672 * c-parse.in: save and restore warn_pointer_arith on __extension__
21673 along with pedantic.
21674 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
21675 Set the type of extension to itype rather than $<itype>1 kludge.
21676 * extend.texi (Alternate Keywords): Adjust documentation.
21677 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
21679 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
21681 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
21682 most assembler templates.
21684 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
21685 FP loads and stores.
21686 (following_call): Always return zero for the PA8000.
21687 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
21688 FP loads and stores.
21689 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
21691 * pa.h (BRANCH_COST): Define.
21693 * pa.md (return, return_internal): Use bve for PA2.0.
21695 * pa.md (fused multiply): Add variants which reduce height for the
21696 fused multiply, but which still generate 2 insns.
21697 (fnegabs): Similarly.
21699 * pa.md (subsi3): Turn into an expander. Create two anonymous
21700 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
21701 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
21703 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
21705 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
21707 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
21708 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
21710 * regclass.c (init_regs): Add "top_of_stack" as a garbage
21713 * flow.c (record_active_eh_regions): Terminate loop after finding
21714 the last insn in the last basic block.
21716 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21718 * config/c4x/c4x.md: Delete parallel instruction peepholes.
21720 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21722 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
21724 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21726 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
21727 splitting to not use output template.
21729 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21731 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
21732 * config/c4x/c4x.c (c4x_va_start): New function.
21734 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
21736 * genrecog.c (not_both_true): Handle correctly cases when called for
21737 tests with different positions in the insn.
21739 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21741 * machmode.h (HOST_PTR_PRINTF): Move from here ...
21743 * system.h (HOST_PTR_PRINTF): ... to here.
21745 * mips-tfile.c: Don't include machmode.h.
21747 * Makefile.in (MACHMODE_H): New variable. Update to use it.
21748 (mips-tfile.o): Don't depend on machmode.h.
21750 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21752 * haifa-sched.c (sched_analyze): Rename local variable `region' to
21753 avoid conflicts with typedef struct `region' at the top level scope.
21755 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
21757 * basic-block.h (basic_block): Add eh_beg, eh_end.
21758 * flow.c (entry_exit_blocks): Update.
21759 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
21760 Call new functions.
21761 (find_basic_blocks_1): Don't record eh_list at each bb. Use
21762 lists.c functions to allocate insn lists.
21763 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
21765 (make_eh_edge): ... here. New.
21766 (move_stray_eh_region_notes): New.
21767 (record_active_eh_regions): New.
21768 (delete_unreachable_blocks): Split out block merging ...
21769 (try_merge_blocks): ... here. New.
21770 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
21771 Dump debugging data.
21772 (merge_blocks_move_successor_nojumps): Likewise.
21773 (merge_blocks): Use eh_beg+eh_end to validate block movement.
21775 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21777 * extend.texi (Bound member functions): Document unbound pmf
21780 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21782 * flow.c (split_edge): Handle insertion on a fallthrough edge which
21783 has the EXIT_BLOCK as a dest.
21785 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21787 * flow.c (remove_edge): New function to remove an edge from the
21789 (remove_fake_successors): New function to remove fake successor edges.
21790 (remove_fake_edges): New function to remove all fake edges from the
21792 (add_fake_exit_edges): New function to add fake edges from all blocks
21793 with no successors to the exit block.
21794 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
21795 prototypes for new functions.
21797 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21799 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
21800 Use Pmode to determine whether to output .dword or .word.
21802 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
21804 * tree.c (built_in_filename): New variable.
21805 (BUILT_IN_FILENAME): New macro.
21806 (init_tree_codes): Allocate built_in_filename.
21807 (make_node): Use built_in_filename instead of string constant.
21809 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
21811 * configure.in: Add fr30 target.
21812 * configure: Regenerate.
21813 * config/fr30: New directory.
21814 * config/fr30/crti.asm: New file.
21815 * config/fr30/fr30.c: New file.
21816 * config/fr30/crtn.asm: New file.
21817 * config/fr30/fr30.h: New file.
21818 * config/fr30/fr30.md: New file.
21819 * config/fr30/lib1funcs.asm: New file.
21820 * config/fr30/t-fr30: New file.
21821 * config/fr30/xm-fr30.h: New file.
21823 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
21825 * flow.c (merge_blocks_move_successor_nojumps): Delete the
21826 BARRIER at the end of the successor, not the BARRIER before
21829 * pa.c (pa_add_gc_roots): Fix thinko in last change.
21831 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
21833 * stmt.c (any_pending_cleanups): Don't crash when
21834 current_function->stmt is unset.
21836 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21838 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
21839 other initializations that may use it for relative offsets.
21841 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21843 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
21844 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
21845 * config/i386/sol2dbg.h: Removed.
21846 * config/i386/sol2gas.h: New file, to enable gas work-around.
21847 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
21848 Don't use sol2dbg.h.
21849 * configure: Rebuilt.
21851 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
21853 * invoke.texi (-fthis-is-variable): Remove documentation.
21855 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
21857 * basic-block.h (compute_bb_for_insn): Declare.
21858 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
21859 to use; set size of basic_block_for_insn directly.
21860 (find_basic_blocks): Update.
21862 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21864 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
21866 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21868 * crtstuff.c (ON_EXIT): Delete empty macro definition.
21869 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
21871 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
21873 * c-decl.c (c_decode_option): Extend comment.
21875 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
21877 * toplev.c (progname): Make 'const char *'
21878 (flag_print_mem): Move out of main.
21879 (version_flag): Move out of main.
21880 (filename): Move out of main.
21881 (debug_args): Remove g prefix from options.
21882 (documented_lang_options): Remove cpplib specific options.
21883 (display_help): Add g prefix to debug options.
21884 (check_lang_option): Delete this function.
21885 (decode_d_option): New function: Decode -d... option.
21886 (decode_f_option): New function: Decode -f... option.
21887 (decode_W_option): New function: Decode -W... option.
21888 (decode_g_option): New function: Decode -g... option.
21889 (independent_decode_option): New function: Decode a language
21890 independent command line option.
21891 (main): Invoke lang_decode_option and then
21892 independent_decode_option on each command line option in
21895 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
21897 Revert this change. Gavin's patch to operand_equal_p is a better fix.
21898 * fold-const.c (fold_range_test): Do not try to fold the range
21899 test if the rhs or lhs has side effects.
21901 * basic-block.h (compute_flow_dominators): Declare.
21903 * gcse.c (alloc_code_hoist_mem): New function.
21904 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21905 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21906 (hoist_code, one_code_hoisting_pass): Likewise.
21907 (gcse_main): If optimizing for size, then hoist expressions
21908 computed in multiple dominated basic blocks.
21910 * gcse.c (invalid_nonnull_info): New function.
21911 (delete_null_pointer_checks): Likewise.
21912 * rtl.h (delete_null_pointer_checks): Declare.
21913 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21915 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21916 (merge-blocks_move_successor_nojumps): Likewise.
21917 (merge_blocks): Allow merging of some blocks, even if it requires
21918 physical movement of the blocks, but not if it requires new jumps.
21920 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21921 Callers and prototype changed.
21922 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21924 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21926 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21927 -YP when both -p and -pg are present. From i386/sol2.h.
21929 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21931 * Makefile.in (distclean): Delete tm_p.h.
21932 * configure.in: Create a new file, "tm_p.h", from a list in
21933 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
21934 "i386/i386-protos.h".
21936 * alias.c: Include "tm_p.h".
21937 * c-typeck.c: Likewise.
21938 * calls.c: Likewise.
21940 * emit-rtl.c: Likewise.
21941 * explow.c: Likewise.
21942 * expmed.c: Likewise.
21943 * expr.c: Likewise.
21944 * final.c: Likewise.
21945 * flow.c: Likewise.
21946 * fold-const.c: Likewise.
21947 * function.c: Likewise.
21948 * gcse.c: Likewise.
21949 * global.c: Likewise.
21950 * haifa-sched.c: Likewise.
21951 * integrate.c: Likewise.
21952 * jump.c: Likewise.
21953 * local-alloc.c: Likewise.
21954 * loop.c: Likewise.
21955 * optabs.c: Likewise.
21956 * recog.c: Likewise.
21957 * reg-stack.c: Likewise.
21958 * regclass.c: Likewise.
21959 * regmove.c: Likewise.
21960 * reload.c: Likewise.
21961 * reload1.c: Likewise.
21962 * reorg.c: Likewise.
21963 * resource.c: Likewise.
21964 * stmt.c: Likewise.
21965 * stor-layout.c: Likewise.
21966 * toplev.c: Likewise.
21967 * tree.c: Likewise.
21968 * unroll.c: Likewise.
21969 * genattrtab.c (main): Make generated file include "tm_p.h".
21970 * genemit.c (main): Likewise.
21971 * genoutput.c (main): Likewise.
21972 * genrecog.c (main): Likewise.
21974 * i386.h: Delete all prototypes.
21975 * i386.c: Include "tm_p.h".
21976 (ix86_attr_length_default): Call constant_call_address_operand
21977 with correct number of arguments.
21978 * i386-protos.h: New file.
21979 * i386.md (unnamed patterns): Call constant_call_address_operand
21980 with correct number of arguments.
21981 (exception_receiver): Call load_pic_register with correct number
21984 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
21986 * c-pragma.c (mark_align_stack): Dereference the void* properly.
21988 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
21990 * rtl.h (insns_safe_to_move_p): New function.
21991 * loop.c (find_and_verify_loops): Use it.
21992 * rtlanal.c (insns_safe_to_move_p): Define it.
21994 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
21996 * c-pragma.c: Include ggc.h.
21997 * Makefile.in (c-pragma.o): Update.
21999 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22001 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
22002 (LIB_SPEC): Likewise.
22003 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
22004 Reindent -YP/-p/-pg.
22005 Copied from config/sparc/sol2.h.
22007 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
22009 * c-pragma.c (mark_align_stack): New.
22010 (init_pragma): New.
22011 * c-pragma.h (init_pragma): Declare it.
22012 * c-lex.c (init_parse): Call it.
22014 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22016 * configure.in: Pick up thread library on Solaris/x86 just
22017 like on Solaris/sparc.
22018 * configure: Rebuilt.
22020 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
22022 * rtl.h (global_rtx_index): New enum.
22023 (global_rtl): Change to array of rtx.
22024 (pc_rtx, cc0_rtx): Redefine accordingly.
22025 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
22026 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
22027 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
22028 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
22029 (const_int_rtx): Change to array of rtx.
22030 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
22032 * emit-rtl.c (global_rtl): Change to array of rtx.
22033 (const_int_rtx): Change to aray of rtx.
22034 (gen_rtx_CONST_INT): Redefine accordingly.
22035 (init_emit_once): Allocate and initialize global_rtl. Likewise
22036 for const_int_rtx. Add both as GC roots.
22037 * genattrtab.c (global_rtl): Update declaration.
22039 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
22041 * Makefile (USER_H): Add iso646.h back.
22043 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
22045 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
22046 zapping the LOG_LINKS of sched_before_next_call.
22048 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
22049 * pa.c (insn_refs_are_delayed): Renamed from
22050 insn_sets_and_refs_are_delayed.
22052 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
22054 * functiion.h (struct function): Add x_whole_function_mode_p.
22055 (retrofit_block): Declare.
22056 * function.c (retrofit_block): New function.
22057 (identify_blocks): Add assertions. Allow an incomplete set of
22058 block notes if we're still generating code for the function.
22059 * integrate.c: Include loop.h.
22060 (expand_inline_function): Call find_loop_tree_blocks to map block
22061 notes to blocks when in whole-function mode. Use retrofit_block
22062 to insert new BLOCKs for the inlined function, rather than
22064 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
22065 * Makefile.in (integrate.o): Depend on loop.h.
22067 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
22069 * tree.h (warn_about_unused_variables): Declare.
22070 * stmt.c (warn_about_unused_variables): New function, split out
22072 (expand_end_bindings): Here.
22074 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
22076 * stmt.c (preserve_subexpressions_p): Don't crash when
22077 current_function->stmt is unset.
22079 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
22081 * stmt.c (expand_start_bindings): Allow callers to pass a flag
22082 indicating that no NOTE_INSN_BLOCK_BEG note is required.
22083 (expand_start_target_temps): Use it.
22084 * except.c (expand_eh_region_start_for_decl): Likewise.
22085 * expr.c (expand_expr): Likewise.
22087 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
22089 * fold-const.c (operand_equal_p): Pay attention to side effects.
22091 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
22093 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
22094 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
22096 * tlink.c (scan_linker_output): Look for keywords before accepting
22097 a mangled name in quotes.
22099 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
22101 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
22102 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
22104 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
22106 * alpha.md: Revert Thu Nov 26 change that came in through the
22107 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
22108 Avoid earlyclobber when possible.
22110 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22112 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
22114 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
22115 Define HAVE_ON_EXIT.
22117 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22119 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
22120 CTYPE_CONV in all ctype macros.
22122 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
22125 * cexp.y (initialize_random_junk): Likewise.
22127 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
22129 * i370.c (handle_pragma): Likewise.
22131 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
22133 * v850.c (override_options): Likewise.
22135 * doprint.c (_doprnt): Likewise.
22137 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
22140 * fixinc/server.c (load_data): Likewise.
22142 * fold-const.c (real_hex_to_f): Likewise.
22144 * genattr.c (write_upcase, gen_attr): Likewise.
22146 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
22147 write_upcase): Likewise.
22149 * genemit.c (print_code): Likewise.
22151 * genopinit.c (gen_insn): Likewise.
22153 * genpeep.c (print_code): Likewise.
22155 * genrecog.c (print_code): Likewise.
22157 * optabs.c (init_libfuncs): Likewise.
22159 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
22161 * haifa-sched.c (sched_analyze): Keep the list of notes organized
22163 (reemit_notes): Likewise.
22165 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
22167 * ggc.h (ggc_root): Move to ggc-common.c.
22169 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
22170 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
22171 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
22172 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
22173 * ggc-common.c (ggc_root): Move from ggc.h.
22174 (roots): Declare, static.
22175 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
22176 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
22177 null or check/set mark bit.
22178 (ggc_mark_roots): New.
22179 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
22181 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
22183 * m32r.c: Include toplev.h.
22184 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
22185 (gen_compare): Rename swap_p to must_swap to match uses.
22186 Add default abort case.
22187 (m32r_output_function_epilogue): Remove unused variables.
22188 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
22189 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
22190 define to empty parameter list. Update all uses.
22191 (predicate decls): Use enum machine_mode not int.
22192 * m32r.md (movsi): Call abort, not fatal_insn.
22193 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
22195 1999-09-14 Andrew Haley <aph@cygnus.com>
22197 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
22198 use $0 instead of 0.
22200 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22202 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
22203 computation out of loop over hard regs.
22205 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
22207 * function.c (identify_blocks): Don't shadow a variable in an
22209 * integrate.c (integrate_decl_tree): Don't use pushlevel,
22210 pushdecl, or poplevel to build up the new BLOCK tree.
22211 (expand_inline_function): Likewise.
22212 (integrate_parm_decls): Likewise.
22214 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
22216 * c-typeck.c (qualify_type): Merge qualifiers from both types.
22218 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
22220 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
22221 * invoke.texi: Document this change.
22223 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
22225 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
22227 (mark_emit_status): Renamed from mark_emit_state.
22228 * except.c (mark_eh_status): Renamed from mark_eh_state.
22229 Check not null before marking.
22230 (free_eh_status): New.
22231 * expr.c (mark_expr_status, free_expr_status): New.
22232 * function.c (free_machine_status): New.
22233 (free_after_parsing): New.
22234 (free_after_compilation): Move bits to free_after_parsing; call
22235 free_eh_status, free_expr_status; zero the marked members of the
22237 (prepare_function_start): No can_garbage_collect.
22238 Call init_eh_for_function.
22239 (expand_dummy_function_end): Free up current_function state.
22240 (mark_function_status): Renamed from mark_function_state.
22241 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
22242 * function.h (struct function): No can_garbage_collect.
22243 (free_machine_status, free_after_parsing): Declare.
22244 (free_eh_status, free_expr_status): Declare.
22245 * ggc.h (mark_expr_status): Declare.
22246 * stmt.c (free_stmt_status): Free the struct.
22247 (mark_stmt_status): Renamed from mark_stmt_state.
22248 (init_stmt): Don't call init_eh.
22249 (init_stmt_for_function): Don't call init_eh_for_function.
22250 * toplev.c (compile_file): Call init_eh.
22251 (rest_of_compilation): Free basic block info before ggc_collect.
22252 Call free_after_parsing; conditionally call free_after_compilation.
22253 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
22254 Check not null before marking.
22255 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
22257 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
22259 * c-lex.c (yylex): Initialize warn.
22261 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
22263 * pa.c (emit_move_sequence): Properly set the mode of the scratch
22264 register when performing secondary reloads for the SAR register.
22266 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
22268 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
22269 (NOTE_BLOCK): New macro.
22270 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
22271 * function.h (identify_blocks): Change prototype.
22272 * function.c (identify_blocks): Simplify.
22273 (reorder_blocks): Likewise.
22274 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
22275 NOTE_INSN_BLOCK_{BEG,END}.
22276 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
22277 the list of saved notes if the note isn't a
22278 NOTE_INSN_BLOCK_{BEG,END}.
22279 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
22281 (reemit_notes): Adjust recreation of notes to reflect new saved
22283 * print-rtl.c (print_rtx): Print the address of the BLOCK when
22284 printing a block note.
22285 * stmt.c (block_vector): Remove.
22286 (find_loop_tree_blocks): Simplify.
22287 (unroll_block_trees): Likewise.
22288 * tree.h (reorder_block): Change prototype.
22290 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
22292 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
22293 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
22294 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
22295 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
22296 (atexit, exit): Simplify.
22297 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
22298 * config/lots: Remove defns of HAVE_ATEXIT.
22300 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
22302 * calls.c (precompute_arguments): Fix typo in comment.
22303 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
22306 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
22308 * dsp16xx.c (override_options): Fix typos in GC root registration.
22310 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
22312 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
22313 from config/svr4.h.
22314 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
22315 (FUNCTION_PROFILER): Redefine appropriately for Linux.
22316 (CC1_SPEC): Likewise.
22318 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22320 * genattr.c (main): Add extern prototype. Call return, not exit.
22321 * genattrtab.c (main): Likewise.
22322 * gencheck.c (main): Likewise.
22323 * gencodes.c (main): Likewise.
22324 * genconfig.c (main): Likewise.
22325 * genemit.c (main): Likewise.
22326 * genextract.c (main): Likewise.
22327 * genflags.c (main): Likewise.
22328 * gengenrtl.c (main): Likewise.
22329 * genopinit.c (main): Likewise.
22330 * genoutput.c (main): Likewise.
22331 * genpeep.c (main): Likewise.
22332 * genrecog.c (main): Likewise.
22334 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
22335 * genattrtab.c (get_insn_name): Likewise.
22336 * gencodes.c (get_insn_name): Likewise.
22337 * genconfig.c (get_insn_name): Likewise.
22338 * genemit.c (get_insn_name): Likewise.
22339 * genextract.c (get_insn_name): Likewise.
22340 * genflags.c (get_insn_name): Likewise.
22341 * genopinit.c (get_insn_name): Likewise.
22342 * genpeep.c (get_insn_name): Likewise.
22344 * gencheck.c (usage): Add static prototype.
22345 * genextract.c (print_path): Constify a char*.
22346 * genopinit.c (optabs): Likewise.
22347 * genoutput.c (operand_data, data, output_predicate_decls,
22348 compare_operands): Likewise.
22349 * genrecog.c (write_tree): Add default case in switch.
22351 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22353 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
22355 * print-rtl.c (get_insn_name): Remove prototype.
22357 * toplev.h (progname): Declare const.
22359 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
22360 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
22361 dump_sched_info, dump_local_alloc, regset_release_memory,
22362 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
22363 error_with_file_and_line, error_with_decl, error_for_asm, error,
22364 fatal, warning_with_file_and_line, warning_with_decl, warning,
22365 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
22366 Remove redundant prototypes.
22368 (notice, check_lang_option, report_file_and_line, vnotice,
22369 mark_file_stack): Add static prototype.
22370 (set_fatal_function): Add prototype.
22371 (vnotice, report_file_and_line, set_fatal_function,
22372 check_lang_option): Constify a char*.
22373 (main): Prototype. Call return, not exit.
22375 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22377 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
22379 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
22381 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
22383 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
22385 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22387 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
22388 behave as if it's zero in all cases.
22389 (expand_function_start): Adjust call to assign_parms.
22390 * tree.h (assign_parms): Adjust prototype.
22391 * objc/objc-act.c (hack_method_prototype): Adjust call to
22394 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
22396 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
22397 arg_pointer_rtx fixed if the argument pointer register is
22399 (NONZERO_BASE_PLUS_P): Likewise.
22401 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
22403 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
22404 match_insn2 to match_insn.
22405 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
22407 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
22409 * Makefile.in (USER_H): Remove va-foo.h.
22411 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
22412 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
22413 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
22414 va-spur.h,va-v850.h}: Remove.
22416 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
22418 * sparc/sparc.md (eligible_for_return_delay): New attribute.
22419 (in_return_delay): Use it instead of match_insn.
22421 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22423 * config/alpha/va_list.h (va-alpha.h): Do not include.
22424 (__gnuc_va_list): Typedef as in varargs.h.
22426 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
22428 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
22429 DECL_LIVE_RANGE_RTL.
22431 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
22433 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
22434 not NOTE_BLOCK_NUMBER.
22435 (expand_eh_region_end): Likewise.
22436 (find_exception_handler_labels): Likewise.
22437 (scan_region): Likewise.
22438 (exception_optimize): Likewise.
22439 (update_rethrow_references): Likewise.
22440 (set_insn_eh_region): Likewise.
22441 * final.c (final_scan_insn): Likewise.
22442 * flow.c (make_edges): Likewise.
22443 * integrate.c (expand_inline_function): Likewise.
22444 * print-rtl.c (print_rtx): Likewise.
22446 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
22448 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
22449 terms of builtin functions and types.
22451 * mips.c (mips_build_va_list): New.
22452 (mips_va_start, mips_va_arg): New.
22453 * mips.h (BUILD_VA_LIST_TYPE): New.
22454 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22456 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
22457 (sh_build_va_list, sh_va_start, sh_va_arg): New.
22458 * sh.h (BUILD_VA_LIST_TYPE): New.
22459 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22461 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
22463 * recog.h (struct recog_data): Make dup_num, operand_address_p,
22464 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
22465 (struct insn_data): Likewise with n_operands, n_dups,
22466 n_alternatives, output_format.
22467 * regclass.c (scan_one_insn): Cast n_operands to int before
22468 arithmetic inside comparison.
22470 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
22472 * toplev.c (compile_function): Unconditionally emit nop.
22474 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22476 * haifa-sched.c (actual_hazard): Move declaration of variable
22477 `this_cost' into the scope where it is used.
22479 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22481 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
22482 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
22483 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
22485 * genrecog.c (make_insn_sequence): Call memset, not bzero.
22487 * jump.c (find_insert_position): Don't declare or define unless
22488 !HAVE_conditional_arithmetic.
22489 (returnjump_p_1, delete_prior_computation): Add static prototypes.
22491 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
22493 * recog.c (offsettable_address_p): Prototype function pointer.
22494 (preprocess_constraints): Call memset, not bzero.
22496 * tree.c (tree_node_kind_names): Constify a char*. Make static.
22497 (gcc_obstack_init): Don't declare.
22498 (fix_sizetype): Add static prototype.
22499 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
22500 (tree_cons): Call memset, not bzero.
22502 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
22503 definition in macro ASM_WEAKEN_LABEL.
22504 (mark_const_hash_entry): Add static prototype.
22506 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22508 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
22510 * unroll.c (find_common_reg_term, subtract_reg_term,
22511 loop_find_equiv_value): Add static prototypes.
22512 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
22513 (copy_loop_body): Remove unreachable break statement.
22515 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
22517 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
22519 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22521 Undo some changes from the gcc2 merge:
22522 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
22523 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
22527 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
22528 * emit-rtl.c (gen_lowpart_common): Disable optimization of
22529 initialized float-int union if the value is a NaN.
22531 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
22533 * gthr-win32.h: New file.
22535 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
22536 shared as a valid attribute.
22537 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
22538 * extend.texi: Document `shared' variable attribute.
22540 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
22542 * configure.in: Handle --enable-threads on FreeBSD.
22543 * configure: Rebuit.
22545 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22547 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
22549 * configure: Rebuilt.
22551 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
22552 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
22553 Rosimildo DaSilva <rdasilva@connecttel.com>
22555 * configure.in (m68k-*-rtemscoff*): Added.
22556 * configure.in (mips64orion-*-rtems*): Converted to ELF.
22557 * configure.in (sparc-*-rtemsaout*): Added as alias for old
22558 sparc-rtems configuration.
22559 * configure.in (sparc-*-rtemself*): Added.
22560 * configure.in (sparc-*-rtems*): Now ELF not a.out.
22561 * config/i386/rtems.h: Added comment.
22562 * config/sparc/rtemself.h: New file.
22564 * configure.in (m68k-rtemself): Added.
22565 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
22566 and DWARF_DEBUGGING_INFO.
22567 * config/m68k/crti.s: New file.
22568 * config/m68k/crtn.s: New file.
22569 * config/m68k/t-crtstuff: New file.
22570 * config/m68k/rtemself.h: New file.
22572 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
22573 global ctor/dtor and C++ exception handling.
22574 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
22575 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
22577 * config/i386/t-rtems-i386: New File.
22579 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
22581 * stmt.c (expand_end_case): Return right away if the case stack is
22584 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
22586 * Makefile.in (version.c): Remove rule incorrectly brought in from
22589 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
22591 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
22592 * msdos/top.sed: Take into account a prepended $(SHELL) to
22594 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
22596 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
22598 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22600 * regmove.c (fixup_match_1): Don't change an unchanging register.
22601 (stable_but_for_p): Renamed to:
22602 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
22603 Changed all callers.
22605 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
22607 * loop.c (strength_reduce): Don't call reg_used_between_p if the
22608 insn from BL2 is after the insn from BL.
22610 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
22612 * recog.h (INSN_OUTPUT_FORMAT_*): New.
22613 (struct insn_data): Merge `template' and `outfun' into `output'.
22614 Add `output_format'.
22615 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
22616 (struct data): Remove `outfun'; add `output_format'.
22617 (name_for_index): Remove declaration.
22618 (output_insn_data): Handle output formats.
22619 (process_template): Emit the bare array for @.
22620 (gen_expand, gen_split): Set output_format to NONE.
22621 * output.h (get_insn_template): Declare.
22622 * final.c (get_insn_template): New.
22623 (final_scan_insn): Use it.
22624 * toplev.c (compile_file): Likewise.
22626 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22627 * i860/i860.c (output_delayed_branch): Likewise.
22628 (output_delay_insn): Likewise.
22630 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22632 * rtl.c (obstack_alloc_rtx): Removed.
22634 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
22636 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
22638 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
22640 * i386.c (call_insn_operand): Reject const_int.
22641 (expander_call_insn_operand): Use call_insn_operand.
22643 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22645 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
22647 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
22649 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
22650 Use DImode operation.
22652 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
22654 * gcc.c: Include sys/resource.h.
22655 (report_times): New flag.
22656 (execute): If report_times is set, calculate and report the
22657 CPU time consumed by each subprocess.
22659 (rus, prus): New globals.
22660 (option_map): Add --time.
22661 (display_help): Document -time.
22662 (process_command): Set report_times if -time is given.
22663 Turn off -pipe if -time is given.
22665 * invoke.texi: Document new option -time.
22667 * configure.in: Check for getrusage. Check if we have to
22668 prototype getrusage.
22669 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
22670 * configure: Regenerate.
22671 * config.in: Regenerate.
22673 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
22675 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
22678 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
22680 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
22681 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
22682 (nan): Return _thenan_sf or _thenan_df as appropriate.
22683 (L_thenan_sf): Define _thenan_sf.
22684 (L_thenan_df): Define _thenan_df.
22686 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
22687 (DPBIT_FUNCS): Add _thenan_df.
22689 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
22691 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
22694 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22696 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
22699 (lang_specific_driver): Don't take a function pointer parameter.
22700 All callers changed.
22702 * gcc.c: Include gcc.h.
22703 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
22704 lang_specific_extra_outfiles, fatal): Don't declare.
22705 (multilib_defaults_raw): Constify.
22706 (read_specs): Call memset, rather than bzero.
22707 (main): Call return, not exit.
22708 (lookup_compiler): Call memcpy, not bcopy.
22709 (fatal): Make extern.
22711 * cppspec.c: Include gcc.h.
22712 (lang_specific_driver): Initialize variable `quote'. Constify a
22713 char*. All calls to the function pointer parameter now
22714 explicitly call `fatal'.
22716 * gccspec.c (lang_specific_driver): Include gcc.h.
22718 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
22720 * arm.c (note_invalid_constants): Use recog_data.operand_type
22723 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22725 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
22728 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
22729 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22730 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22731 reload_secondary_in_reload, reload_secondary_out_reload,
22732 reload_secondary_in_icode, reload_secondary_out_icode,
22733 reload_reg_rtx, reload_when_needed): Delete declarations.
22734 (struct reload): New structure.
22735 (rld): Declare new array.
22736 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
22737 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22738 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22739 reload_secondary_in_reload, reload_secondary_out_reload,
22740 reload_secondary_in_icode, reload_secondary_out_icode,
22741 reload_reg_rtx, reload_when_needed): Delete definitions.
22743 (whole file): Replace uses of the deleted arrays with uses of rld.
22744 * reload1.c (whole file): Replace uses of the deleted arrays with
22746 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
22747 explicit loops, not with bcopy.
22749 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
22751 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
22752 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
22753 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
22754 insn_name): Delete and consolidate into new structures.
22755 (insn_operand_predicate_fn): New.
22756 (insn_output_fn): New.
22757 (insn_gen_fn): New.
22758 (struct insn_operand_data): New.
22759 (struct insn_data): New.
22761 (OUT_FCN): Update for insn_data change.
22762 * builtins.c (expand_builtin_strlen): Likewise.
22763 (expand_builtin_memcmp): Likewise.
22764 * combine.c (make_extraction, simplify_comparison): Likewise.
22765 * cse.c (canon_reg, cse_insn): Likewise.
22766 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
22767 * expmed.c (store_bit_field, extract_bit_field): Likewise.
22768 (emit_store_flag): Likewise.
22769 * expr.c (convert_move, emit_block_move): Likewise.
22770 (clear_storage, emit_push_insn, expand_increment): Likewise.
22771 (do_store_flag): Likewise.
22772 * expr.h (GEN_FCN): Likewise.
22773 (insn_gen_function): Die.
22774 * final.c (final_scan_insn): Update for insn_data change.
22775 (output_asm_name): Likewise.
22776 * function.c (fixup_var_refs_1): Likewise.
22777 * loop.c (check_dbra_loop): Likewise.
22778 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
22779 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
22780 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
22781 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
22782 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
22783 * regmove.c (gen_add3_insn): Likewise.
22784 * reload.c (push_secondary_reload, combine_reloads): Likewise.
22785 (find_reloads, find_reloads_address_1): Likewise.
22786 (debug_reload_to_stream): Likewise.
22787 * reload1.c (emit_reload_insns, gen_reload): Likewise.
22788 * stmt.c (expand_end_case): Likewise.
22789 * toplev.c (compile_file): Likewise.
22791 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22792 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22794 * print-rtl.c (insn_name_ptr): Remove declaration.
22795 (get_insn_name): Declare.
22796 (print_rtx): Use it.
22797 * genoutput.c (insn_name_ptr): Remove.
22798 (next_operand_number): New.
22799 (struct operand_data): New.
22800 (null_operand, odata, odata_end): New.
22801 (struct data): Use struct operand_data.
22802 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
22803 (get_insn_name): Renamed from name_for_index.
22804 (output_prologue): Define NO_MD_PROTOTYPES.
22805 (output_predicate_decls): Break out from output_epilogue.
22806 Iterate over the operands list.
22807 (output_operand_data): Break out from output_epilogue. Emit
22808 just the operands list.
22809 (output_insn_data): Break out from output_epilogue. Emit just
22811 (output_epilogue): Remove.
22812 (output_get_insn_name): New.
22813 (constraints, op_n_alternatives, predicates, address_p): Die.
22814 (modes, strict_low, seen): Die.
22815 (scan_operands): Take new param `d' instead of writing to
22816 seven global variables.
22817 (compare_operands): New.
22818 (place_operands): New.
22819 (validate_insn_alternatives): Update for struct data change.
22820 (gen_insn): Don't zero or copy 7 global arrays. Update for
22821 scan_operands; call place_operands.
22822 (gen_peephole, gen_expand, gen_split): Likewise.
22823 (main): Update for new output routines.
22825 * genattr.c (insn_name_ptr): Remove.
22826 (get_insn_name): New function.
22827 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
22828 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
22829 * genrecog.c: Likewise.
22831 * alpha.md (adddi3): Make `pattern' array static.
22833 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22835 * config/c4x/c4x.h (c4x_rpts_cycles_string,
22836 c4x_cpu_version_string): Constify char *.
22837 * config/c4x/c4x.c (c4x_rpts_cycles_string,
22838 c4x_cpu_version_string): Likewise.
22840 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
22842 * tree.c (save_tree_status): Revert 10 Sep change.
22843 (restore_tree_status): Likewise. Call obstack_free with NULL
22844 before freeing the obstack proper.
22846 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
22848 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
22850 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
22851 surrounding context.
22853 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
22855 * tree.c (type_hash_canon): Put all types in the hash-table, when
22858 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
22860 * recog.h (struct recog_data, recog_data): New.
22861 (recog_foo variables): Kill.
22862 * recog.c (recog_operand, recog_operand_loc): Kill.
22863 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
22864 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
22865 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
22866 (recog_data): Define.
22867 (extract_insn): Update all recog_foo references to use recog_data.
22868 (preprocess_constraints, constrain_operands): Likewise.
22869 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
22870 * genattrtab.c (main): Likewise.
22871 * genextract.c (main): Likewise.
22872 * genoutput.c: Likewise.
22873 * genrecog.c (write_subroutine, main): Likewise.
22874 * local-alloc.c (block_alloc): Likewise.
22875 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
22876 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
22877 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
22878 * reload.c (find_reloads, find_reloads_toplev): Likewise.
22879 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
22880 (reload_cse_simplify_operands): Likewise.
22882 * arc/arc.c (arc_final_prescan_insn): Likewise.
22883 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
22884 * h8300/h8300.c (notice_update_cc): Likewise.
22885 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
22886 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22887 * mn10200/mn10200.c (notice_update_cc): Likewise.
22888 * mn10300/mn10300.c (notice_update_cc): Likewise.
22889 * romp/romp.c (update_cc): Likewise.
22890 * sparc/sparc.c (check_pic): Likewise.
22891 * v850/v850.c (notice_update_cc): Likewise.
22893 * genemit.c (main): Don't declare recog_operand.
22895 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
22897 * ggc.h (rtvec_def): Forward declare.
22898 (tree_node): Likewise.
22899 (ggc_root): Define.
22901 (ggc_set_mark_rtx): Add prototype.
22902 (ggc_set_mark_rtvec): Likewise.
22903 (ggc_set_mark_tree): Likewise.
22904 * ggc-simple.c (ggc_root): Don't define.
22905 (roots): Don't declare.
22906 (ggc_mark_rtx): Remove.
22907 (ggc_mark_rtvec): Likewise.
22908 (ggc_mark_tree): Likewise.
22909 (ggc_mark_varray): Likewise.
22910 (ggc_mark_tree_hash_table_entry): Likewise.
22911 (ggc_mark_tree_hash_table): Likewise.
22912 (ggc_set_mart_rtx): New function.
22913 (ggc_set_mark_rtvec): Likewise.
22914 (ggc_set_mark_tree): Likewise.
22915 (ggc_add_root): Remove.
22916 (ggc_add_rtx_root): Likewise.
22917 (ggc_remove_tree_root): Likewise.
22918 (ggc_add_string_root): Likewise.
22919 (ggc_add_tree_varray_root): Likewise.
22920 (ggc_add_tree_hash_table_root): Likewise.
22921 (ggc_del_root): Likewise.
22922 (ggc_mark_rtx_ptr): Likewise.
22923 (ggc_mark_tree_ptr): Likewise.
22924 (ggc_mark_string_ptr): Likewise.
22925 (ggc_mark_tree_varray_ptr): Likewise.
22926 (ggc_mark_tree_hash_table_ptr): Likewise.
22927 * ggc-common.c: New file.
22928 * Makefile.in (OBJS): Add ggc-common.o.
22929 (ggc-common.o): List dependencies.
22931 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
22933 * cppalloc.c (xstrdup): Use memcpy.
22934 * cpperror.c (cpp_print_containing_files): Don't use
22936 * cpplib.c (conditional_skip): Set temp->lineno.
22937 (do_endif): Make error message less obscure.
22938 (if_directive_name): New function.
22939 (cpp_get_token [case EOF]): Unwind the if stack and generate
22940 error messages for each unterminated conditional in this file.
22941 (parse_string): Do not behave differently if -traditional.
22943 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
22945 * builtins.c (expand_builtin_va_arg): Cope with an array-type
22946 va_list decomposing to pointer-type.
22947 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
22948 (rs6000_va_arg): Likewise.
22950 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
22952 * except.c (start_dynamic_handler): Compute size using
22953 STACK_SAVEAREA_MODE.
22955 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22957 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
22958 include directory headers. Don't define strrchr. Don't provide
22959 my_* replacement functions. Prefer PTR over `pointer_type'.
22960 Don't prototype system functions. Don't redefine getopt.
22962 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
22963 safe_read, safe_write, save_pointers, restore_pointers,
22964 is_id_char, in_system_include_dir, directory_specified_p,
22965 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
22966 find_corresponding_lparen, referenced_file_is_newer,
22967 save_def_or_dec, munge_compile_params, gen_aux_info_file,
22968 process_aux_info_file, identify_lineno, check_source,
22969 seek_to_line, forward_to_next_token_char, output_bytes,
22970 output_string, output_up_to, other_variable_style_function,
22971 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
22972 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
22973 find_static_definition, connect_defs_and_decs, add_local_decl,
22974 add_global_decls, needs_to_be_converted, visit_each_hash_node,
22975 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
22976 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
22977 scan_for_missed_items, edit_file, string_list_cons): Add static
22979 (standard_exec_prefix, target_machine, target_version,
22980 default_syscalls_dir, string_list, string_list_cons, find_file,
22981 do_cleaning): Constify a char*.
22982 (safe_read, safe_write): Use PTR, not a char*.
22983 (is_id_char): Take an int, not a char.
22984 (main): Add prototype. Call return, not exit.
22986 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
22988 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
22989 when comparing types.
22991 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
22993 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
22994 (strength_reduce): Release the varrays from the no-bivs early exit.
22996 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
22997 the loop over the registers.
22999 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
23001 (restore_tree_status): Check that instead when freeing the obstack.
23003 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
23005 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
23008 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23010 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
23011 operand size modifiers.
23013 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23015 * c-common.c (c_common_nodes_and_builtins): Don't build
23017 * c-common.h (enum c_tree_index and related accesor macros): Remove
23018 everything now declared in tree.h.
23019 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
23020 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
23021 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
23022 (error_mark_node, void_type_node, char_type_node, integer_type_node,
23023 unsigned_type_node, ptr_type_node, va_list_type_node,
23024 integer_zero_node, null_pointer_node, integer_one_node): Delete.
23025 (init_decl_processing): Call build_common_tree_nodes and
23026 build_common_tree_nodes_2 instead of building their nodes here.
23027 Don't add roots for these nodes.
23028 * stor-layout.c (size_zero_node, size_one_node): Delete.
23029 (set_sizetype): Make a new node for bitsizetype each time.
23030 * tree.c (global_trees): New variable.
23031 (init_obstacks): Add a gc root for it.
23032 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
23033 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
23034 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
23035 (build_common_tree_nodes): New function.
23036 (fix_sizetype): New function.
23037 (build_common_tree_nodes_2): New function.
23038 * tree.h (enum tree_index): New.
23039 (global_trees): Declare.
23040 Add accessor macros for all nodes now moved to global_trees.
23041 Delete their declarations.
23043 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
23045 * c-decl.c (finish_function): When processing a nested function,
23046 push and pop GC context around rest_of_compilation.
23048 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
23050 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
23051 Default ix86_arch to PROCESSOR_I386.
23052 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
23053 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
23054 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
23055 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
23056 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
23057 (EXTRA_SPECS): Remove deleted specs.
23059 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
23061 * function.c (assign_stack_local_1): Allocate from
23062 function->x_frame_offset, not frame_offset.
23064 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
23066 * ggc.h (lang_cleanup_tree): Remove.
23067 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
23068 * ggc-callbacks.c (lang_cleanup_tree): Remove.
23070 * c-decl.c (finish_struct): Use ggc_alloc to allocate
23071 TYPE_LANG_SPECIFIC when garbage collecting.
23072 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
23073 (lang_cleanup_tree): Remove.
23075 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23077 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
23078 * crtstuff.c: Not here.
23079 * dwarf2out.c: Or here.
23080 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
23083 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
23085 * function.h (free_after_compilation): Remove decl parameter.
23086 (free_varasm_status0: Likewise.
23087 (free_emit_status): Likewise.
23088 (free_stmt_status): Likewise.
23089 (free_after_compilation): Likewise.
23090 (init_lang_status): New variable.
23091 (free_lang_status): Likewise.
23092 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
23093 * function.c (init_lang_status): New variable.
23094 (free_lang_status): Likewise.
23095 (push_function_context_to): Don't set function::decl here.
23096 (free_after_copmilation): Make decl parameter implicit. Call
23097 free_lang_status if defined.
23098 (prepare_function_start): Call init_lang_status if defined.
23099 (init_function_start): Set function::decl here.
23100 * profile.c (output_func_start_profiler): Don't call pushdecl
23101 until we've actually started the function.
23102 * stmt.c (free_stmt_status): Make decl parameter implicit.
23103 * toplev.c (rest_of_compilation): Don't pass decl to
23104 free_after_compilation.
23105 * varasm.c (free_varasm_status): Likewise.
23107 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23109 * except.c (call_get_eh_context): Add root when allocating static
23112 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
23114 * arm.c: Include "ggc.h".
23115 (arm_add_gc_roots): New function.
23116 (arm_override_options): Call it.
23117 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
23119 * arm.md (define_asm_attributes): Add a pool_range attribute.
23121 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
23123 * extend.texi (Volatiles): New node.
23125 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
23127 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
23128 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
23129 (struct ggc_any): Replace `mark' with `magic_mark'.
23130 (ggc_alloc_string): Use memcpy, not bcopy.
23131 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
23132 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
23133 (ggc_free_any): New.
23134 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
23135 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
23136 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
23137 Use IS_MARKED. Use ggc_free_any.
23139 1999-09-09 Scott Bambrough <scottb@netwinder.org>
23141 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
23143 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
23145 * toplev.c (main): Always init_ggc.
23147 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
23149 * except.c (find_all_handler_type_matches): Free the list if
23150 we found no matches.
23152 * combine.c (SUBST): Break out to a real function do_SUBST.
23153 (SUBST_INT): Likewise.
23154 * gcse.c (free_pre_mem): Free `temp_bitmap'.
23155 (pre_insert): Free `inserted'.
23156 * loop.c (basic_induction_var): Always set `location'.
23158 * function.c (expand_function_end): Add initial_trampoline as a root.
23159 * rtl.h (init_varasm_once): Declare.
23160 * toplev.c (compile_file): Call it.
23161 * ggc-simple.c (ggc_mark_string_ptr): New.
23162 (ggc_add_string_root): New.
23163 (ggc_collect): Disable collection avoidance temporarily.
23164 * ggc.h (ggc_add_string_root): Declare.
23165 * except.c (create_rethrow_ref): Use ggc_alloc_string.
23166 * optabs.c (init_libfuncs): Likewise.
23167 * varasm.c (named_section): Use ggc_alloc_string.
23168 (make_function_rtl): Likewise.
23169 (make_decl_rtl): Likewise.
23170 (assemble_static_space): Likewise.
23171 (assemble_trampoline_template): Likewise.
23172 (output_constant_def): Likewise.
23173 (force_const_mem): Likewise.
23174 (mark_const_hash_entry): New.
23175 (mark_pool_sym_hash_table): New.
23176 (mark_varasm_state): Use it.
23177 (init_varasm_once): New.
23179 * expr.h (init_one_libfunc): Declare.
23180 * optabs.c (init_one_libfunc): New.
23181 (init_optabs): Use it.
23182 * config/gofast.h: Likewise.
23183 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
23184 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
23186 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
23188 * Makefile.in (cppexp.o): Depend on cpphash.h.
23189 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
23191 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
23192 * cpplib.c (do_define): Generalise to handle poisoned definitions,
23193 redefining poisoned identifiers, etc.
23194 (do_undef): Don't allow poisoned identifiers to be undefined.
23195 (do_pragma): Add #pragma poison.
23196 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23198 * cccp.c: Add T_POISON node type.
23199 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
23201 (do_define): Generalise to handle poisoned definitions,
23202 redefining poisoned identifiers, etc.
23203 (do_undef): Don't allow poisoned identifiers to be undefined.
23204 (do_pragma): Add #pragma poison.
23205 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23207 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
23208 * c-pragma.h: Add ps_poison state. We now always have generic
23211 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
23213 * ggc.h (ggc_alloc): New function.
23214 (ggc_mark): Likewise.
23215 * ggc-simple.c (ggc_any): New structure.
23216 (ggc_status): Add anys.
23217 (n_anys_collected): New variable.
23218 (ggc_alloc): Define.
23219 (ggc_mark): Likewise.
23220 (ggc_collect): Collect the anys.
23222 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23224 * c-decl.c (mark_binding_level): Make static to match prototype.
23226 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
23228 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
23230 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
23232 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
23233 will use into account. Expand the max width to 5.
23236 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
23238 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
23239 for the rtx length.
23241 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
23243 * alpha.md (call value patterns): Remove the result predicates.
23245 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
23247 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
23250 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23252 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
23253 changed from extern char *, to extern PTR. Also fix typo in
23254 NEED_DECLARATION_REALLOC test.
23256 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
23258 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23260 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
23261 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
23262 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
23263 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
23265 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
23267 * cccp.c (pcfinclude): Likewise.
23269 * global.c (allocno_compare): Likewise.
23271 * haifa-sched.c (rank_for_schedule): Likewise.
23273 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
23275 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
23277 * stupid.c (stupid_reg_compare): Likewise.
23279 * tree.c (_obstack_allocated_p): Likewise.
23281 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
23283 1999-09-08 Bruce Korb autogen@linuxbox.com
23285 * Makefile.in: Give the hapless gperf user a hint about
23286 why "gperf -F" fails.
23288 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
23290 * lists.c: Include ggc.h.
23292 (init_EXPR_INSN_LIST_cache): Install it.
23294 * ggc-simple.c (init_ggc): Absorb the old init.
23295 (ggc_push_context): Use xcalloc.
23296 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
23297 (ggc_collect): Add [rvts] tags to the collection stats.
23299 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
23301 * cccp.c (main): Fix handling of -include and -imacros options.
23303 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
23305 * cpplib.c (cpp_push_buffer): Fix order of arguments.
23307 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23309 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
23312 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23314 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
23315 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
23316 and SET_DEST. Update comment.
23318 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23320 * config/c4x/c4x.c: Include ggc.h.
23321 (c4x_add_gc_roots): New function.
23322 (c4x_override_options): Call c4x_add_gc_roots.
23324 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
23326 * defaults.h (TARGET_ESC): Move ...
23327 * system.h: ... here, where Linas had it in the first place. Silly me.
23329 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
23331 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
23332 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
23333 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
23334 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
23335 * defaults.h (TARGET_ESC): Add default.
23337 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
23339 * configure.in: add i370-*-openedition, i370-*-mvs and
23340 i370-*-linux targets
23342 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
23344 * dsp16xxx.c: Include ggc.h
23345 (override_options): Mark GC roots.
23346 * mn10200.c: Include ggc.h.
23347 (asm_file_start): Mark GC roots.
23348 * tahoe.c: Include ggc.h.
23349 (extensible_operand): Mark GC roots.
23351 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
23353 * README: Add section discussing status of ELF ABI.
23354 * i370.c: Fix misc spelling mistakes.
23355 (i370_label_scan): Updated notes, exception handling.
23356 (i370_function_prolog): Simplify ELF stack handling.
23357 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
23358 (STACK_GROWS_DOWNWARD): ELF stack grows down.
23359 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
23360 * i370.md: (movdi): Add notes.
23361 (floatsidf2): Use stack not rtca for scratch float area.
23362 (iorsi3): Correct operand constraints.
23363 * x-oe: Restore TAROUTOPTS which are used by pax.
23365 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
23367 * rs6000.c: Include ggc.h.
23368 (rs6000_add_gc_roots): New function.
23369 (override_options): Call it.
23371 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
23373 * alpha.h (alpha_compare): New.
23374 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
23375 * alpha.c: Likewise for the definitions.
23376 (alpha_emit_conditional_branch): Update for alpha_compare.
23377 (alpha_emit_conditional_move): Likewise.
23378 * alpha.md (cmpdf, cmpdi): Likewise.
23379 (setcc patterns): Likewise. Zero alpha_compare after use.
23380 (sne): Optimize (x != 0) into (0U < x).
23382 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
23384 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
23385 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
23386 (INIT_EXPANDERS): Remove.
23387 * alpha.c: Include ggc.h.
23388 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
23389 (alpha_init_machine_status, alpha_mark_machine_status): New.
23390 (override_options): Install them.
23391 (struct machine_function): Moved to alpha.h.
23392 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
23393 (alpha_init_expanders): Remove.
23394 (alpha_return_addr): Adjust to use current_function->machine.
23395 (alpha_ra_ever_killed): Likewise.
23396 (alpha_expand_epilogue): Likewise.
23397 * alpha.md (eh_epilogue): Likewise.
23399 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
23400 Melissa O'Neill <oneill@cs.sfu.ca>
23401 Geoffrey Keating <geoffk@cygnus.com>
23403 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
23404 call-used registers (call-saved registers must still be contiguous
23405 and end with r31, of course).
23407 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
23409 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
23410 (self_promoting_type_p): Delete.
23411 (self_promoting_args_p): Move ...
23412 * c-common.c: ... here.
23413 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
23414 (simple_type_promotes_to): New.
23415 * builtins.c (lang_type_promotes_to): New.
23416 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
23417 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
23418 * c-common.h: ... here.
23419 (self_promoting_args_p, simple_type_promotes_to): Declare.
23420 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
23421 (grokdeclarator): Likewise.
23422 * tree.h (lang_type_promotes_to): Declare.
23424 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
23426 Add some machine-dependent GC roots.
23427 * sparc.c: Include ggc.h.
23428 (sparc_add_gc_roots): New function.
23429 (mark_ultrasparc_pipeline_state): Likewise.
23430 (override_options): Call sparc_add_gc_roots.
23431 * pa.c: Include ggc.h.
23432 (pa_add_gc_roots): New function.
23433 (mark_deferred_plabels): Likewise.
23434 (override_options): Call pa_add_gc_roots.
23435 * mips.c: Include ggc.h.
23436 (mips_add_gc_roots): New function.
23437 (override_options): Use it.
23439 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23441 * cpperror.c (cpp_file_line_for_message): Constify a char*.
23443 * cppexp.c (parse_number, parse_charconst, cpp_lex,
23444 cpp_parse_expr): Add static prototypes.
23445 (parse_charconst): Don't cast away const-ness.
23446 (token): Constify a char*.
23448 * cppfiles.c (file_name_list, include_hash, find_include_file,
23449 finclude, initialize_input_buffer): Constify a char*.
23450 (file_cleanup, find_position): Add static prototypes.
23452 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
23453 collect_expansion): Add static prototypes.
23454 (cpp_install, create_definition, monthnames): Constify a char*.
23456 * cpphash.h (cpp_install): Likewise.
23458 * cppinit.c (known_suffixes, default_include,
23459 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
23460 (base_name, dump_special_to_buffer, initialize_dependency_output):
23461 Add static prototypes.
23463 * cpplib.c (my_strerror): Constify a char*.
23464 (null_underflow, null_cleanup, skip_comment, copy_comment,
23465 copy_rest_of_line, handle_directive, pass_thru_directive,
23466 get_directive_token, read_line_number, cpp_print_file_and_line,
23467 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
23468 v_cpp_warning_with_line, detect_if_not_defined,
23469 consider_directive_while_skipping): Add static prototypes.
23470 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
23471 cpp_pedwarn_with_file_and_line): Constify a char*.
23473 * cpplib.h (cpp_options, include_hash, progname, definition,
23474 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
23475 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
23476 find_include_file, deps_output, include_hash): Constify a char*.
23478 * cppmain.c (progname): Constify.
23479 (main): Add prototype. Use return, not exit.
23481 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
23482 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
23483 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
23484 check_protection): Add static prototype.
23486 (progname, recognized_macrom, recognized_extern): Constify a char*.
23487 (main): Add prototype.
23489 * gen-protos.c (progname): Constify a char*.
23491 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
23493 * emit-rtl.c (free_emit_status): Take decl as a parameter.
23494 (init_emit_once): Add more GC roots.
23495 * except.c (mark_func_eh_entry): New function.
23496 (mark_eh_node): Mark false_label and rethrow_label.
23497 (init_eh): Add more GC roots.
23498 * function.c (free_after_compilation): Take decl as a paramter.
23499 Call free_stmt_status.
23500 (mark_function_state): Don't assume x_parm_reg_stack_loc is
23502 * function.h (free_after_compilation): Change prototype.
23503 (free_varasm_status): Likewise.
23504 (free_emit_status): Likewise.
23505 (free_stmt_status): New function.
23506 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
23507 Remove, replacing with ...
23508 (ggc_status): New structure.
23509 (ggc_chain): New variable.
23510 (init_gcc): Define.
23511 (ggc_push_context): New function.
23512 (ggc_pop_context): Likewise.
23513 (ggc_alloc_rtx): Adjust for use of ggc_chain.
23514 (ggc_alloc_rtvec): Likewise.
23515 (ggc_alloc_tree): Likewise.
23516 (ggc_alloc_string): Likewise.
23517 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
23518 (ggc_mark_tree): Give language-dependent code a chance to mark
23520 (ggc_mark_tree_varray): Handle empty arrays.
23521 (ggc_collect): Adjust for use of ggc_chain. Clear
23522 bytes_alloced_since_last_gc.
23523 * ggc.h (ggc_pop_context): New function.
23524 (ggc_push_context): Likewise.
23525 * print-tree.c (print_node): Don't print obstacks when GC'ing.
23526 * stmt.c (free_stmt_status): New function.
23527 (init_stmt_for_function): Clear last_expr_value.
23528 * toplev.c (rest_of_compilation): Always call free_after_compilation.
23529 Conditionalize call to ggc_collect.
23530 (main): Call init_ggc.
23531 * tree.c (push_obstacks): Do the push, even when GC'ing.
23532 (push_obstacks_nochange): Likewise.
23533 (pop_obstacks): Liekwise.
23534 * varasm.c (free_varasm_status): Take decl as a parameter.
23536 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
23538 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
23539 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
23540 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
23541 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
23543 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
23545 * pa/x-pa-mpeix: New file for the MPE port.
23547 * pa/quadlib.asm: New file for long double support.
23549 * configure.in: Add hppa1.0-*-mpeix for MPE port.
23550 * configure: Rebuilt.
23552 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
23554 * final.c (shorten_branches): Fix last change.
23556 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
23558 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
23560 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
23562 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
23565 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23567 * c-aux-info.c (concat): Don't define.
23569 * cccp.c (my_strerror): Likewise. All callers changed to use
23571 (do_include): Call xstrdup, not xmalloc/strcpy.
23572 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
23573 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
23575 * collect2.c (my_strsignal): Likewise. All callers changed to use
23577 (locatelib): Call xstrdup, not xmalloc/strcpy.
23579 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
23581 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
23583 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
23585 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
23587 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
23589 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
23591 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
23593 (find_all_handler_type_matches): Likewise. Don't check return
23595 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
23596 xmalloc, not malloc.
23597 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
23599 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
23600 (init_spec): Call xcalloc, not xmalloc/bzero.
23601 (set_spec): Call xstrdup, not save_string.
23602 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
23603 (find_a_file): Call xstrdup, not xmalloc/strcpy.
23604 (process_command): Call xstrdup, not save_string.
23605 (main): Call xcalloc, not xmalloc/bzero.
23607 * gcov.c (xmalloc): Don't define.
23608 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
23609 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
23610 (output_data): Call xcalloc, not xmalloc/bzero.
23612 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
23614 * mips-tdump.c (xmalloc): Don't define.
23615 (print_symbol): Call xmalloc, not malloc.
23616 (read_tfile): Call xcalloc, not calloc.
23618 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
23619 Don't define. All callers of xfree/my_strsignal changed to use
23620 free/strsignal instead.
23621 (allocate_cluster): Call xcalloc, not calloc.
23623 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
23624 Fix memory leak, free allocated memory.
23626 * prefix.c (translate_name): Call xstrdup, not save_string.
23627 (update_path): Likewise.
23629 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
23631 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
23632 Don't define. Callers of xfree/savestring2 changed to use
23633 free/concat instead.
23635 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
23636 (init_elim_table): Likewise.
23638 * resource.c (init_resource_info): Likewise.
23640 * stupid.c (stupid_life_analysis): Likewise.
23642 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
23643 (open_dump_file): Call concat, not xmalloc/strcpy/...
23644 (clean_dump_file): Likewise.
23645 (compile_file): Call xstrdup, not xmalloc/strcpy.
23647 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
23649 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
23650 * v850.c (v850_va_arg): New.
23652 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23654 * haifa-sched.c: Tidy comments.
23656 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23658 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
23659 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
23660 $(out_object_file)): Depend on ggc.h.
23661 * c-common.c: Include "ggc.h".
23662 (combine_strings): If doing GC, use ggc_alloc_string.
23663 * c-decl.c: Include "ggc.h".
23664 (ggc_p): Define with value 0.
23665 (mark_binding_level): New function.
23666 (init_decl_processing): Add GC roots.
23667 (mark_c_function_context): New function.
23668 (lang_mark_false_label_stack): New function.
23669 (lang_mark_tree): New function.
23670 (lang_cleanup_tree): New function.
23671 * c-lang.c: Include "ggc.h".
23672 (lang_init): Call c_parse_init.
23673 * c-lex.c: Include "ggc.h".
23674 (check_linenum): If doing GC, don't copy filenames to permanent
23676 * c-parse.in: Include "ggc.h".
23677 (c_parse_init): New function.
23678 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
23679 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
23681 * except.c (mark_eh_state): Mark more state.
23682 * function.c (mark_function_state): Likewise.
23683 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
23684 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
23685 * toplev.c (mark_file_stack): New function.
23686 (compile_file): If doing GC, use ggc_alloc_string on input filename.
23687 (main): Add root for input_file_stack.
23689 * i386.c: Include "ggc.h".
23690 (ix86_mark_machine_status): New function.
23691 (override_options): Set mark_machine_status.
23693 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23695 * tree.c (copy_node): Copy node contents also if doing GC.
23697 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23699 * collect2.c (scan_libraries): Fix double-thinko :-).
23701 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
23703 * collect2.c (scan_libraries): Fix thinko.
23705 * cse.c (delete_trivially_dead_insns): Do not skip the last
23706 insn if it is a real insn.
23708 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
23710 * Makefile.in (ggc-simple.o): Depend on hash.h.
23711 * ggc.h (ggc_add_tree_hash_table_root): Declare.
23712 (ggc_mark_tree_varray): Likewise.
23713 (ggc_mark_tree_hash_table): Likewise.
23714 * ggc-simple.c: Include hash.h.
23715 (ggc_mark_tree_hash_table_ptr): New function.
23716 (ggc_mark_tree_hash_table_entry): Likewise.
23717 (ggc_mark_tree_hash_table): Likewise.
23718 (ggc_add_tree_hash_table_root): Likewise.
23719 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
23720 rtx, when defining fields.
23722 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23724 * profile.c (output_func_start_profiler): Remove apparently
23725 nonsensical call to start_sequence.
23727 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
23729 * clipper/clipper.c (clipper_va_start): Fix typos.
23731 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
23732 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
23733 (spur_va_arg): New stub.
23735 * configure.in: Comment out pyramid.
23737 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
23739 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
23740 don't conflict with the bits that win32, cygwin, and dgux
23743 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
23744 Bernd Schmidt <bernds@cygnus.co.uk>
23746 * integrate.c (function_cannot_inline_p): Do not inline
23747 functions with forced labels.
23749 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
23750 Bernd Schmidt <bernds@cygnus.co.uk>
23751 Mark Mitchell <mark@codesourcery.com>
23753 * Makefile.in (ggc-simple.o): Depend on varray.h.
23754 (rtl.o): Depend on ggc.h.
23755 (genattrtab.o): Depend on ggc.h.
23756 (print-tree.o): Likewise.
23757 (fold-const.o): Likewise.
23758 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23759 (make_insn_raw): Don't cache insns when GC'ing.
23760 (emit_insn_before): Likewise.
23761 (emit_insn_after): Likewise.
23762 (emit_insn): Likewise.
23763 (start_sequence): Use xmalloc to allocate the sequence_stack.
23764 (end_sequence): Add free to free it.
23765 (gen_sequence): Don't cache insns when GC'ing.
23766 (clear_emit_caches): Don't use sequence_element_free_list.
23767 (init_emit): Use xcalloc, not xmalloc+bzero.
23768 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
23769 * function.c (pop_function_context_from): Use free to free the
23770 fixup_var_refs_queue.
23771 (put_reg_into_stack): Allocate it with xmalloc.
23772 * genattrtab.c: Include ggc.h.
23773 (operate_exp): Don't use obstack_free when GC'ing.
23774 (simplify_cond): Likewise.
23775 (simplify_text_exp): Likewise.
23776 (optimize_attrs): Likewise.
23777 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
23779 (gencode): Generate a #include for ggc.h.
23780 * ggc-callbacks.c (ggc_p): Define it to zero.
23781 * ggc-none.c (ggc_p): Likewise.
23782 * ggc-simple.c: Include varray.h.
23783 (ggc_mark_tree_varray): New function.
23784 (ggc_add_tree_varray_root): Likewise.
23785 (ggc_mark_tree_varray_ptr): Likewise.
23786 * ggc.h (ggc_p): Declare.
23787 (varray_head_tag): Likewise.
23788 (ggc_add_tree_varray_root): Declare.
23789 * print-tree.c (print_node): Don't check for TREE_PERMANENT
23790 inconsistencies when GC'ing.
23791 * rtl.c: Include ggc.h.
23792 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
23793 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
23794 (rtx_free): Don't call obstack_free when GC'ing.
23795 * toplev.c (rest_of_compilation): Call ggc_collect after every
23797 * tree.c (push_obstacks): Do nothing, if GC'ing.
23798 (pop_obstacks_nochange): Likewise.
23799 (pop_obstacks): Likewise.
23800 (make_node): Use ggc_alloc_tree when GC'ing.
23801 (copy_node): Likewise.
23802 (get_identifier): Use ggc_alloc_string when GC'ing.
23803 (build_string): Likewise.
23804 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
23805 (tree_cons): Likewise.
23806 (build1): Likewise.
23807 (type_hash_canon): Don't call obstack_free when GC'ing.
23809 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
23811 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
23812 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
23814 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
23815 Bernd Schmidt <bernds@cygnus.co.uk>
23816 Mark Mitchell <mark@codesourcery.com>
23818 * Makefile.in (stor-layout.o): Depend on ggc.h.
23819 (expr.o): Depend on ggc.h.
23820 (profile.o): Depend on ggc.h.
23821 (stor-layout.o): Depend on ggc.h.
23822 * emit-rtl.c (init_emit_once): Add gc roots.
23823 * expr.c: Include ggc.h.
23824 (emit_block_move): Add gc roots.
23825 (clear_storage): Likewise.
23826 * expr.h (init_stor_layout_once): New function.
23827 * profile.c: Include ggc.h.
23828 (init_arc_profiler): profiler_label is a root.
23829 * scan.c (make_sstring_space): Trust xrealloc to function
23830 correctly with first parameter NULL.
23831 * stor-layout.c: Include ggc.h.
23832 (set_sizetype): Add gc root.
23833 (init_stor_layout_once): New function.
23834 * toplev.c (compile_file): Call it.
23836 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
23837 Bernd Schmidt <bernds@cygnus.co.uk>
23838 Mark Mitchell <mark@codesourcery.com>
23840 * Makefile.in (tree.o): Depend on ggc.h.
23841 (varasm.o): Likewise.
23842 (function.o): Likewise.
23843 (stmt.o): Likewise.
23844 (except.o): Likewise.
23845 (optabs.o): Likewise.
23846 (emit-rtl.o): Likewise.
23847 * emit-rtl.c: Include ggc.h.
23848 (sequence_element_free_list): Remove, and all references.
23849 (mark_sequence): New functions.
23850 (mark_emit_state): New function.
23851 * except.c: Include ggc.h.
23852 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
23853 (mark_tree_label_node): New functions.
23854 (mark_eh_state): New function.
23855 * function.c: Include ggc.h.
23856 (mark_temp_slot, mark_function_chain): New functions.
23857 (mark_function_state): New function.
23858 (init_function_once): New function.
23859 * function.h (init_function_once): New function.
23860 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
23861 * ggc.h (label_node): Declare.
23862 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
23863 (lang_mark_false_label_stack): New function.
23864 (mark_temp_slot): Remove declaration.
23865 (mark_function_chain): Likewise.
23866 (mark_eh_state): Adjust prototype.
23867 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
23869 * optabs.c: Include ggc.h.
23870 (mark_optab): New function.
23871 (init_optabs): Add gc roots.
23872 * stmt.c: Include ggc.h.
23873 (mark_cond_nesting, mark_loop_nesting): New functions.
23874 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
23875 (mark_stmt_state): New function.
23876 * toplev.c (compile_file): Call init_function_once.
23877 * tree.c: Include ggc.h.
23878 (type_hash): Move declaration earlier in file.
23879 (TYPE_HASH_SIZE, type_hash_table): Likewise.
23880 (init_obstacks): Add gc roots.
23881 (mark_type_hash): New function.
23882 * varasm.c: Include ggc.h.
23883 (mark_pool_constant): New function.
23884 (mark_varasm_state): New function.
23886 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23888 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
23890 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23892 * c-decl.c (struct language_function): Renamed from struct c_function.
23894 (c_function_chain): Delete.
23895 (push_c_function_context): New arg F. Don't warn about nested
23896 functions here. Fill LANGUAGE elt of F. Delete code to update
23897 c_function_chain. Don't call push_function_context.
23898 (pop_c_function_context): New arg F. Restore from there instead of
23899 from c_function_chain. Don't call pop_function_context. Clear out
23900 LANGUAGE field of F when done.
23901 * c-lang.c: Include "function.h"
23902 (lang_init): Initialize save_lang_status and restore_lang_status.
23903 * c-parse.in (nested_function, nested_function_notype): Warn about
23904 nested functions. Call push_function_context/pop_function_context
23905 instead of the _c_ variants.
23906 * c-tree.h (push_c_function_context, pop_c_function_context): Update
23908 * Makefile.in (c-lang.o): Update dependencies.
23910 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23911 regno_pointer_flag, regno_pointer_align.
23912 (gen_reg_rtx): Use xrealloc to enlarge them.
23913 (free_emit_status): New function.
23914 * function.c (mark_machine_status, mark_lang_status): New variables.
23915 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
23916 in some bits from assign_stack_local. All callers changed to use new
23918 (assign_stack_local): Just call assign_stack_local_1.
23919 (free_after_compilation): New function.
23920 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23921 (trampoline_address): Likewise.
23922 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23923 (prepare_function_start): Explicitly clear some more variables.
23924 * function.h (struct function): New elt can_garbage_collect.
23925 (mark_machine_status, mark_lang_status): Declare variables.
23926 (free_after_compilation, free_emit_status, free_varasm_status,
23927 init_varasm_status): Declare functions.
23928 * toplev.c (rest_of_compilation): Call free_after_compilation when
23929 done with the current function.
23930 * varasm.c (free_varasm_status): New function.
23932 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
23934 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
23935 (EXPAND_BUILTIN_VA_ARG): Define.
23936 * sparc.c (sparc_va_start): New.
23937 (sparc_va_arg): New.
23939 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23941 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
23943 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23945 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
23947 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
23949 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
23950 (OBJS): Add $(GGC).
23951 (ggc-callbacks.o): New target.
23952 * ggc-callbacks.c: New file.
23954 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23956 * expr.h: Collapse individual optab and libfunc vars to arrays.
23957 (optab_index, libfunc_index): New enumerations.
23958 (optab_table, libfunc_table): New arrays.
23959 Add accessor macros for both.
23961 * optabs.c (optab_table, libfunc_table): New.
23962 Delete declarations for individual optab and libfunc vars.
23964 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
23966 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
23968 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
23970 * Makefile.in (GGC, GGC_LIB): New.
23971 (HOST_RTL): Include ggc-none.o.
23972 (ggc-simple.o): New target.
23973 (ggc-none.o): Likewise.
23974 * tree.h (tree_common): Add gc_mark.
23975 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
23976 (struct rtvec_def): Add gc_mark.
23977 * emit-rtl.c (global_rtl): Update static initializers to contain
23978 enough initializers.
23979 * ggc.h, ggc-none.c, ggc-simple.c: New files.
23980 * toplev.c (gc_time): New variable.
23981 (all_time): New variable.
23982 (compile_file): Print gc time.
23983 (print_time): Calculate percentage of the whole.
23985 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23987 Change obstack memory management and varasm constant pool handling so
23988 that nested functions are treated like any other functions.
23989 * function.c (init_machine_status): New variable.
23990 (push_function_context_to): Set contains_functions for the outer
23991 function. Don't call save_varasm_status.
23992 (pop_function_context_from): Don't call restore_varasm_status. Don't
23993 set current_function_contains_functions.
23994 (prepare_function_start): Call init_varasm_status rather than
23995 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
23997 * function.h (struct function) Add field varasm. Delete fields
23998 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
23999 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
24000 (init_machine_status): Declare.
24001 (save_varasm_status, restore_varasm_status): Delete declarations.
24002 (save_tree_status, restore_tree_status): Delete last argument.
24003 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
24004 code. All callers changed.
24005 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
24006 save_constants_in_decl_trees, restore_constants, save_constants,
24007 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
24009 (inlining): New variable.
24010 (reg_map, label_map, insn_map, orig_asm_operands_vector,
24011 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
24013 (save_for_inline_nocopy): Don't save constants.
24014 Don't set inl_emit field in current_function.
24015 (expand_inline_function): Use emit field, not inl_emit, of the inlined
24016 function. Set new variable inlining before
24017 calling copy_rtx_and_substitute.
24018 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
24019 constant pool references if inlining is nonzero.
24020 Delete ADDRESS and (most of the) CONST cases.
24021 (output_inline_function): Save and restore current_function/
24022 current_function_decl. Delete restore_constants code. Don't call
24023 init_const_rtx_hash_table.
24024 * output.h (init_const_rtx_hash_table): Don't declare.
24025 * rtl.h (struct function): Declare.
24026 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
24027 * toplev.c (rest_of_compilation): Don't treat nested functions or
24028 functions containing them specially. Delete all code to deal with
24029 save_for_inline_copying.
24030 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
24031 inline_obstacks): Delete variables.
24032 (save_tree_status): Lose arg CONTEXT. All callers changed.
24033 Simply allocate a new function_maybepermanent_obstack for the new
24034 function, delete all the special cases.
24035 Don't save inline_obstacks.
24036 (restore_tree_status): Lose arg CONTEXT. All callers changed.
24037 Delete special handling for function_maybepermanent_obstack; simply
24039 Don't restore inline_obstacks.
24040 (permanent_allocation): Delete code that frees inline_obstacks.
24041 (print_inline_obstack_statistics): Delete function.
24042 (dump_tree_statistics): Don't call it.
24043 * varasm.c (struct varasm_status): New.
24044 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
24045 last_pool, pool_offset, const_double_chain): Delete global
24046 variables, replace with accessor macros.
24047 (immed_double_const): Don't walk const_double_chain outside a
24048 function, but don't treat nested functions specially anymore.
24049 (immed_real_const_1): Likewise.
24050 (clear_const_double_mem): Don't treat nested functions specially.
24051 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
24052 (save_varasm_status, restore_varasm_status): Delete functions.
24053 (init_varasm_status): New function.
24054 (force_const_mem): Don't treat nested functions specially.
24055 (find_pool_constant): Accept new arg F, search for constants in
24056 that function's pool rather than the current one. All callers
24058 (get_pool_constant_for_function, get_pool_mode_for_function): New
24061 * i386.c (init_386_machine_status): New function, mostly from
24062 clear_386_stack_locals.
24063 (struct machine_functions): Rename element names to avoid name
24065 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
24066 macros, replacing global variables.
24067 (clear_386_stack_locals, save_386_machine_status,
24068 restore_386_machine_status): Delete functions.
24069 (override_options): Initialize init_machine_status.
24070 * i386.h (INIT_EXPANDERS): Delete macro.
24071 (save_386_machine_status, restore_386_machine_status,
24072 clear_386_stack_locals): Delete declarations.
24074 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24076 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
24077 (doloop_begin): Simplify pattern and use emit_jump_insn.
24078 (doloop_end): Simplify pattern, switch operand order,
24079 and use emit_jump_insn.
24081 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
24083 * function.h (struct function): Add new element LANGUAGE.
24084 (save_lang_status): Declare new variable.
24085 (restore_lang_status): Likewise.
24086 * function.c (save_lang_status): Define.
24087 (restore_lang_status): Likewise.
24088 (push_function_context_to): Call language-specific save function.
24089 (pop_function_context_from): Call language-specific restore function.
24091 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
24093 * i386.md (movsf_1): Check REG_P before use of REGNO.
24094 (movdf_1): Likewise.
24095 (movxf_1): Likewise.
24096 (extendsfdf2): Likewise.
24097 (extendsfxf2): Likewise.
24098 (extenddfxf2): Likewise.
24100 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24102 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
24103 constants into memory.
24104 (c4x_shiftable_constant): New function.
24105 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
24106 (c4x_shiftable_constant): Declare.
24107 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
24108 ashlqi3_noclobber): Add new patterns and associated splitters.
24110 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
24112 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
24113 * dwarf2out.c (dwarf2out_frame_init): Likewise.
24114 * final.c (shorten_branches): Likewise.
24115 * global.c (global_alloc): Likewise.
24116 * haifa-sched.c (build_control_flow): Likewise.
24117 * stmt.c (check_for_full_enumeration_handling): Likewise.
24118 (estimate_case_costs): Likewise.
24120 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
24122 * rtl.h (RTL_CHECKC2): Fix typo in last change.
24124 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
24126 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
24127 (recompute_reg_usage): Likewise.
24128 * rtlanal.c (find_regno_fusage): Likewise.
24130 * rtl.c (rtl_check_failed_code1): New function.
24131 (rtl_check_failed_code2): New.
24132 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
24133 (RTL_CHECKC1, RTL_CHECKC2): New.
24134 (XC*): New accessor macros.
24135 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
24136 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
24137 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
24138 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
24139 (TRAP_*, RANGE_INFO_*): Likewise.
24141 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24143 * Makefile.in (tlink.o): Don't depend on toplev.h.
24145 * collect2.c (c_file, o_file, export_file, import_file, ldout,
24146 output_file, nm_file_name, ldd_file_name, strip_file_name,
24147 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
24148 add_prefix, prefix_from_env, prefix_from_string, do_wait,
24149 fork_execute, maybe_unlink, add_to_list,
24150 extract_init_priority, write_list, dump_list,
24151 dump_prefix_list, write_list_with_asm, write_c_file,
24152 write_c_file_stat, write_c_file_glob, scan_prog_file,
24153 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
24154 ignore_library, extract_string, notice, dump_file, target_machine,
24155 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
24156 read_file, print_load_command): Constify a char*.
24157 (fdopen, error, fatal, fatal_perror): Don't prototype.
24158 (my_strerror): Remove. All callers use xstrerror instead.
24159 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
24160 (main): Add prototype. Constify lots of char* ptrs. Change calls
24161 to xcalloc/strcpy/strcat/... to one call to concat.
24162 (main, scan_prog_file, scan_libraries): Use an intermediate
24163 `const char **' to build an argv array.
24164 (mapfile, libselect, libcompare, locatelib): Add prototypes.
24166 * collect2.h (collect_execute, collect_wait, dump_file,
24167 file_exists): Constify a char*.
24168 (ldout, c_file_name, temporary_obstack, permanent_obstack,
24169 temporary_firstobj, vflag, debug): Add extern declarations.
24170 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
24172 * tlink.c: Don't include toplev.h.
24173 (vflag, debug, ldout, c_file_name, temporary_obstack,
24174 permanent_obstack, temporary_firstobj): Don't declare.
24175 (tlink_execute, frob_extension, symbol_hash_lookup,
24176 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
24177 recompile_files, read_repo_files, demangle_new_symbols,
24178 scan_linker_output): Constify a char*.
24179 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
24180 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
24182 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
24184 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
24185 (relative) rather than jsr (absolute) subroutine call insns.
24186 * config/m68k/m68k-coff.h: Ditto.
24188 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
24190 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
24191 now rework these too.
24192 (arm_reorg): If an insn can't reach the end of the current pool,
24193 ensure that we emit that pool before the insn.
24195 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
24197 * tlink.c (scan_linker_output): Skip the initial underscore in
24198 a mangled name if appropriate.
24200 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24202 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
24203 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
24204 error_with_ivar, gen_declarator, create_builtin_decl,
24205 my_build_string, generate_descriptor_table, generate_ivars_list,
24206 generate_dispatch_table, check_protocols, TAG_GETCLASS,
24207 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
24208 dump_base_name, lang_decode_option, build_encode_expr,
24209 start_class, finish_class, encode_pointer, really_start_method,
24210 gen_declaration, dump_interface, handle_class_ref, handle_impent):
24212 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
24213 Add static prototypes.
24214 (build_objc_string_decl, build_selector_reference_decl,
24215 encode_bitfield, build_class_reference_decl): Remove unused
24216 parameter, all callers changed.
24217 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
24218 (objc_printable_name): Likewise. Change second parameter to type int.
24219 (init_objc): Use memcpy, not bcopy, to avoid casts.
24221 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
24223 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
24224 reg notes on a deleted insn.
24225 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
24227 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
24229 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
24231 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24233 * stmt.c (expand_asm_operands): Fix index into inout_mode when
24236 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
24238 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
24239 * tm.texi (MD_ASM_CLOBBERS): Document it.
24241 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
24243 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
24244 * except.c (expand_rethrow): Remove unused variable.
24245 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
24246 * flow.c (replace_insns): Likewise.
24247 (create_edge_list, verify_edge_list): Likewise.
24248 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
24250 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
24251 is special code to run.
24252 (main): Don't define operands to emit_operand.
24253 * genrecog.c (main): Don't emit an empty peephole2_insn function.
24255 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
24257 * alpha/alpha.h (normal_memory_operand): Declare.
24258 (reg_no_subreg_operand): Declare.
24259 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
24261 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
24263 * c-parse.in (compstmt_primary_start): New, broken out of first
24264 part of compstmt handling in primary.
24265 (primary): Use it. Add an error clause.
24266 (compstmt_nostart): Renamed from compstmt; remove all
24267 initial invocations of compstmt_start.
24270 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
24272 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
24275 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
24277 * combine.c (simplify_shift_const): Remove extra semicolon.
24278 * dwarf2out.c (remove_AT): Likewise.
24279 * expmed.c (expand_mult): Likewise.
24280 * gcov.c (create_program_flow_graph): Likewise.
24281 * reorg.c (mostly_true_jump): Likewise.
24283 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
24285 * fold-const.c (fold_range_test): Do not try to fold the range
24286 test if the rhs or lhs has side effects.
24288 * combine.c (simplify_rtx): Recognize another case of a synthesized
24291 * varasm.c (mark_constant_pool): When marking indirect references,
24292 only look at SYMBOL_REFs.
24294 * except.c (expand_fixup_region_end): Do not peek at
24295 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
24297 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
24299 * flags.h: New variables align_loops, align_loops_log,
24300 align_jumps, align_jumps_log, align_labels, align_labels_log,
24301 align_functions, align_functions_log.
24302 * toplev.c: Define them.
24303 (f_options): Handle -falign-* when they have no argument.
24304 (main): Add logic to set variables for -falign-functions,
24305 -falign-jumps, -falign-labels, -falign-loops.
24306 Make it -fsched-verbose=<n> and -finline-limit=<n>.
24307 (display_help): Change help to match options.
24308 * final.c (LABEL_ALIGN): Default to align_labels_log.
24309 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
24310 (LOOP_ALIGN): Default to align_loops_log.
24311 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
24312 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
24313 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
24314 * varasm.c (assemble_start_function): Handle align_functions.
24316 * config/sparc/sparc.h: Don't declare sparc_align_*.
24317 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
24318 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
24320 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
24322 * config/sparc/sparc.c: Delete sparc_align_loops,
24323 sparc_align_jumps, sparc_align_funcs and the corresponding string
24325 (sparc_override_options): Default align_functions on ultrasparc.
24326 Delete -malign-* handling.
24328 * config/mips/mips.c (override_options): On 64-bit targets,
24329 try to align code to 64-bit boundaries.
24330 (print_operand): New substitution, %~,
24331 which aligns labels to align_labels_log.
24332 * config/mips/mips.md (div_trap_normal): Use %~.
24333 (div_trap_mips16): Likewise.
24335 (absdi2): Likewise.
24336 (ffssi2): Likewise.
24337 (ffsdi2): Likewise.
24338 (ashldi3_internal): Likewise.
24339 (ashrdi3_internal): Likewise.
24340 (lshrdi3_internal): Likewise.
24341 (casesi_internal): Likewise.
24343 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
24345 Merge new ia32 backend from the branch!
24347 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
24348 See ChangeLog.P2 on new_ia32_branch for details.
24350 * rtl.h (stack_regs_mentioned_p): Delete prototype.
24351 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
24352 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
24353 * i386/gas.h (ASM_FILE_START): Define.
24354 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
24355 for name change of ix86_valid_decl_attribute_p.
24356 (i386_pe_valid_type_attribute_p): Similarly.
24358 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
24360 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
24361 to step through CC modes.
24363 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24365 * regmove.c (fixup_match_1): Don't move INSN in front of P if
24366 it would end up in the shadow of a live flags regsiter.
24368 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24370 * reload1.c: Fix many indentation problems.
24371 * reload.c: Likewise.
24373 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
24375 * alias.c (non_local_reference_p): Constify fmt.
24377 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
24379 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
24381 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
24383 * cse.c (delete_trivially_dead_insns): Do not delete stores to
24384 the internal_arg_pointer.
24386 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
24388 Merge peephole2 from new_ia32_branch:
24389 * Makefile.in (STAGESTUFF): Add *.peephole2.
24390 (mostlyclean): Likewise.
24391 (recog.o): Depend on resource.h.
24393 * final.c (peephole): Conditionalize decl on HAVE_peephole.
24394 (final_scan_insn): Likewise for the invocation of peephole.
24395 * genconfig.c (main): Look for peephole and peephole2 patterns.
24396 Emit HAVE_peephole* accordingly.
24397 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
24398 * flags.h (flag_peephole2): Declare.
24399 * toplev.c: New pass peephole2. New flag -fpeephole2.
24401 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
24402 * gencodes.c (main): Likewise.
24403 * genextract.c (main): Likewise.
24404 * genoutput.c (main): Likewise.
24405 * genemit.c (max_operand_1): Look for the max scratch operand.
24406 (gen_rtx_scratch): New.
24407 (gen_exp): Use it, and pass on new arg subroutine_type.
24408 (gen_expand): Take max scratch into account.
24409 (gen_split): Emit peephole2 functions.
24410 (output_peephole2_scratch): New.
24411 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
24412 * genrecog.c (routine_type): Add PEEPHOLE2.
24414 (make_insn_sequence): Match outer parallel for peep2. Discard
24415 top level scratches and dups.
24416 (add_to_sequence): New args insn_type and top. Update all callers.
24417 Handle toplevel peep2 matching insns.
24418 (write_subroutine): Handle peep2.
24419 (write_tree_1): Likewise.
24420 (write_tree): Likewise.
24422 (change_state): New arg afterward. Update all callers.
24423 Handle matching separate insns.
24424 * recog.c (recog_next_insn): New.
24425 (peephole2_optimize): New.
24426 * rtl.def (DEFINE_PEEPHOLE2): New.
24427 * resource.c (find_free_register): New argument last_insn. Use it
24428 to find a register available through the entire span.
24429 * resource.h (find_free_register): Update prototype.
24431 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
24433 * i386.c (output_strlen_unroll): Don't write xops[7]
24434 label if it wasn't set.
24436 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
24438 * cpplib.c (struct directive): Const-ify name pointer and
24439 function pointer prototype.
24440 (validate_else, do_define, do_line, do_include, do_undef,
24441 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
24442 do_elif, do_endif, do_sccs, do_assert, do_unassert,
24443 do_warning): Const-ify second arg.
24444 (directive_table): Mark const. Reorder entries by frequency
24445 of usage, record statistics.
24447 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
24449 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
24450 bounds- check RTL accesses if --enable-checking.
24451 (RTVEC_ELT): Bounds check if --enable-checking.
24452 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
24453 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
24454 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
24456 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
24457 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
24459 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
24460 (NOTE_SOURCE_FILE): Use X0STR.
24461 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
24462 MEM_ALIAS_SET): Use X0INT.
24463 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
24464 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
24466 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
24467 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
24468 (rtl_check_failed_bounds, rtl_check_failed_type1,
24469 rtl_check_failed_type2, rtvec_check_failed_bounds): New
24471 (fancy_abort): Fix comment.
24473 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
24474 (cse_insn): Decrement LABEL_NUSES for jump target before
24475 deleting jump insn.
24476 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
24477 * final.c (alter_subreg): Compute regno before changing x to
24478 REG; set REGNO(x) after changing it.
24479 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
24480 notes containing CONST_INTs.
24481 (delete_eh_regions): Use NOTE_EH_HANDLER.
24482 * function.c (put_reg_into_stack): Make reg a MEM before
24484 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
24486 (gen_mem_addressof): Make reg a MEM before initializing it.
24487 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
24489 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
24490 deleting an insn, not after.
24491 (block_alloc): Only look at PATTERN(insn) if we have to, and
24492 only if it's format class 'i'.
24493 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
24494 CONST_INT before using its INTVAL.
24495 * print-rtl.c (print_rtx): Use X0STR.
24496 * regmove.c (fixup_match_1): Don't look at PATTERN of
24497 non-class-'i' insn chain elements.
24498 * reload.c (loc_mentioned_in_p): Take address of
24499 in->fld[1].rtx directly.
24500 * reload1.c (reload): Change reg to a MEM before initializing
24502 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
24504 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
24506 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
24508 * config/mips/mips.c (machine_dependent_reorg): Force a
24509 barrier to output the local constant pool if a barrier hasn't
24510 been found at a natural point in the instruction stream.
24512 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24514 * c-parse.in (language_string): Constify.
24516 * dwarf2out.c (language_string): Remove declaration.
24518 * dwarfout.c (language_string): Likewise.
24520 * toplev.c (language_string, init_parse, finish_parse): Likewise.
24522 * tree.h (language_string, init_parse, finish_parse): Declare.
24524 * i386/sun386.h (language_string): Remove declaration.
24526 * mips.h (language_string): Likewise.
24528 * nextstep.h (language_string): Likewise.
24530 * nextstep21.h (language_string): Likewise.
24532 * rs6000.c (language_string): Likewise.
24534 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24536 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
24537 (getpwd.o): Remove target.
24539 * getpwd.c: Delete file. Its in libiberty now.
24541 * dbxout.c (getpwd): Don't prototype.
24542 * dwarf2out.c (getpwd): Likewise
24543 * dwarfout.c (getpwd): Likewise
24544 * final.c (getpwd): Likewise.
24545 * protoize.c (getpwd): Likewise.
24547 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24549 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
24551 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
24553 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
24554 mark_set_resources.
24556 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
24558 * fixinc/Makefile.in (subdir): New.
24559 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
24562 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
24564 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
24565 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
24568 * invoke.texi: Fix typo.
24570 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
24571 changed. Handle autoincrement addressing modes.
24573 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
24574 just like we would the virtual incoming args register when
24577 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
24579 * rs6000.h (ASM_FILE_START): Specify complete filename, including
24580 path, in .file directive.
24582 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
24584 * gcc.texi (External Bugs): Remove obsolete note about Perl on
24587 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
24589 * stdbool.h: Make the typedef name _Bool, with bool a #defined
24592 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24594 * tree.c (tree_code_name): Constify a char*.
24596 * tree.h (tree_code_name, decl_printable_name): Likewise.
24598 * function.h (struct function): Likewise.
24600 * toplev.c (decl_name, decl_printable_name): Likewise.
24602 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
24604 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
24605 (init_objc): Remove function pointer cast.
24607 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24609 * pa.md (interspace_jump): New pattern.
24610 (builtin_longjmp): New expander.
24612 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
24614 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
24615 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
24616 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
24618 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
24620 * jump.c (delete_prior_computation): Also check calls
24621 to constant functions. Don't bother checking for a
24622 REG_UNUSED note before adding it.
24623 (delete_computation): Handle multi-word hard registers
24624 when synthesizing missing REG_DEAD notes for a register
24625 which is both set and used by an insn.
24627 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24629 * loop.c (this_loop_info): New variable.
24630 (loop_has_call, loop_has_volatile, loop_has_tablejump,
24631 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
24633 (prescan_loop, strength_reduce): New argument loop_info. All callers
24635 (scan_loop): New variable loop_info, initialise to address of
24637 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
24638 Delete variable loop_has_multiple_exit targets and replace with
24639 field in this_loop_info.
24640 (find_and_verify_loops): Rename this_loop to this_loop_num.
24641 (strength_reduce): Delete loop_iteration_info. Replace variable
24642 loop_info with function argument of same name.
24643 (insert_bct): Rework test for loop being completely unrolled.
24645 * loop.h (struct loop_info): New fields num, loops_enclosed,
24646 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
24647 has_indirect_jump, and cont. Redefine use of unroll_number.
24648 (loop_unroll_number): Delete.
24650 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
24651 field of loop_info.
24652 (loop_iterations): Delete variable vtop and instead use
24653 loop_info->vtop computed in prescan_loop.
24655 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
24657 * fix-header.c (main): Do not pass a null pointer to strcmp.
24659 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
24661 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
24663 * configure: Rebuilt.
24665 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
24667 * jump.c (jump_optimize_1): Do not delete assignments to
24668 internal_arg_pointer.
24669 * cse.c (delete_trivially_dead_insns): Always consider a set of
24670 the internal_arg_pointer live.
24672 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
24674 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
24675 (update_life_info) [REG_WAS_0]: Search the original insns rather
24676 than the new insns for the note. Fix typos finding note_dest.
24677 If no dest found, discard the note rather than abort.
24678 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
24679 (replace_insns): Remove the old insn list after update_life_info
24682 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
24684 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
24685 sched_analyze_insn.
24686 (sched_analyze_1): Let add_dependence care for not adding dups.
24687 (sched_analyze_2): Likewise.
24688 (add_branch_dependences): Likewise.
24690 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
24692 * i386/winnt.c (export_list): New type.
24693 (exports_head): Rename to
24694 (export_head): this.
24695 (i386_pe_record_exported_symbol): Add is_data flag.
24696 (i386_pe_asm_file_end): Emit directive for exported variables.
24697 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
24699 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
24700 (ASM_DECLARE_OBJECT_NAME): Likewise.
24701 (ASM_DECLARE_FUNCTION_NAME): Likewise.
24702 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
24704 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
24706 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
24708 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
24711 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
24713 * config/openbsd.h: Define SET_ASM_OP.
24714 * tm.texi: cross-reference SET_ASM_OP in the index.
24716 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
24718 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
24719 for a CONST_DOUBLE, at compile time. Initialize rtx_length
24720 and class_narrowest_mode at compile time. Kill init_rtl.
24721 Mark rtx_length, mode_class, mode_size, mode_unit_size,
24722 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
24723 rtx_format as const. Kill all references to EXTRA_CC_MODES or
24725 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
24727 * rtl.h: Declare rtx_length and rtx_format as const.
24728 * machmode.def: Define CC(). Use CC() to define CCmode. If
24729 EXTRA_CC_MODES is defined, expand it here.
24730 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
24731 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
24732 const. Kill all references to EXTRA_CC_MODES.
24734 * toplev.c: Don't prototype or call init_rtl.
24735 * optabs.c: Don't call init_mov_optab.
24736 * genemit.c: Don't generate init_mov_optab. Don't call
24738 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
24740 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
24741 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
24742 genrecog.c: Don't call init_rtl.
24744 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
24745 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
24746 definition of EXTRA_CC_MODES.
24748 * md.texi: Kill ref to EXTRA_CC_NAMES.
24749 * tm.texi: Document new way to define EXTRA_CC_MODES.
24751 * genrecog.c: Do not look up the name of a define_split.
24752 (Unrelated bugfix.)
24754 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
24756 * config/v850/v850.md: Fix typo introduced by previous delta.
24758 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24760 * gcc.c (fatal): Make definition static to match prototype.
24762 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24764 * combine.c (get_last_value): Don't look for earlier sets if the last
24765 known set is somewhere in between the insns being combined.
24767 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
24769 * configure.in: Don't use shell ! to negate exit codes
24770 * configure: Regenerate
24772 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
24774 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
24775 the fact that ALIGN is measured in bits, not bytes.
24777 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
24779 * errors.c: New file; defines functions error, warning, and
24780 fatal, variables have_error and progname.
24781 * errors.h: New file; prototypes and decls for stuff in errors.c.
24783 * Makefile: Add rules to build errors.o and
24784 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
24785 genopinit, genrecog, genextract, genpeep, genattr, and
24786 genoutput with errors.o. Add errors.h to deps of genconfig.o,
24787 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
24788 genpeep.o, genattr.o, and genoutput.o.
24790 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
24791 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
24792 define or prototype fatal. Set progname at beginning of main.
24793 * genoutput.c: Likewise, and don't define or prototype error
24796 * c-typeck.c (c_expand_start_case): Return immediately if exp
24798 * fold-const.c (operand_equal_p): Return immediately if arg1
24799 or arg0 are ERROR_MARKs.
24800 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
24801 fields of type ERROR_MARK when calculating if the record can
24804 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
24805 with much help from Jeffrey A Law and Richard Henderson
24807 * i386.md: In the 6 insns which call output_fix_trunc,
24808 earlyclobber operands[0].
24810 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
24812 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
24813 creating new registers.
24815 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
24817 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
24818 i386_reg_alloc_order, i386_regparm_string,
24819 i386_align_loops_string, i386_align_jumps_string,
24820 i386_align_funcs_string, i386_preferred_stack_boundary_string,
24821 and i386_branch_cost_string as type "const char *".
24822 * i386.c: Define all above strings as type "const char *".
24824 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
24826 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
24827 when emitting alignment padding. Emit padding byte of 0 instead of 4.
24829 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
24831 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
24832 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
24834 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
24836 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
24837 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
24838 (dwarf2out_line, dwarf2out_finish): Likewise.
24839 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
24841 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
24843 * tree.c (lang_unsave_expr_now) : Correct return type.
24844 * tree.h (lang_unsave_expr_now) : Same.
24846 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
24848 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
24849 instead of duplicating code.
24851 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24853 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
24855 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
24857 * tree.h: fancy_abort always takes three args.
24858 * resource.c: Move include of system.h before toplev.h.
24860 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
24862 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
24865 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
24867 * system.h: Don't redefine abort or trim_filename.
24868 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
24869 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
24870 whether or not __FUNCTION__ is available.
24871 * tree.h: Duplicate rtl.h's definition of abort, for files
24872 that don't include rtl.h. Delete all code to perform type
24873 checking with a compiler other than GCC.
24874 * varray.h: Delete all code to perform type checking with a
24875 compiler other than GCC. Make VARRAY_CHECK() always evaluate
24876 its arguments exactly once, using a statement expression.
24877 Adjust the VARRAY_<type> accessor macros to match.
24878 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
24879 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
24880 caller's location. Define fatal_insn and fatal_insn_not_found
24881 as macros that use _fatal_insn and _fatal_insn_not_found.
24882 (fancy_abort, trim_filename): Kill prototypes.
24884 * rtl.c (trim_filename): Move here from toplev.c.
24885 (fancy_abort): New function.
24886 (DIR_SEPARATOR): Provide default definition.
24887 * tree.c (tree_check_failed, tree_class_check_failed): Go
24888 through fancy_abort.
24889 (tree_check, tree_class_check, cst_or_constructor_check,
24890 expr_check): Delete.
24891 * varray.c (varray_check_failed): New function.
24892 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
24893 _fatal_insn and _fatal_insn_not_found. Go through
24895 (trim_filename, fancy_abort): Delete.
24897 * builtins.c (expand_builtin_args_info): Report ICE with abort.
24898 * except.c (start_catch_handler): Report ICE with error/abort
24900 * final.c (output_operand_lossage): Likewise.
24901 * flow.c (verify_flow_info): Likewise.
24903 * gcc.c: Prototype fatal.
24904 * gengenrtl.c: Undef abort after including rtl.h not system.h.
24905 * genattr.c, genattrtab.c, genemit.c, genextract.c,
24906 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24907 Don't define fancy_abort.
24909 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
24911 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24914 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
24916 * m88k.h (VERSION_INFO2): Kill.
24917 (VERSION_STRING): Kill.
24919 (VERSION_INFO1): Tidy.
24920 (TARGET_VERSION): Update.
24921 * m88k/dgux.h (VERSION_INFO2): Kill.
24922 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24923 * m88k/luna.h (VERSION_INFO1): Tidy.
24924 * m88k/sysv4.h (VERSION_INFO1): Likewise.
24925 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24926 (output_file_start): Adjust for death of VERSION_STRING.
24928 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
24930 * cpplib.c (detect_if_not_defined): New function.
24931 (do_if): Use it to detect potential once-only headers.
24933 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
24935 * c-common.c (combine_strings): Always set TREE_CONSTANT.
24937 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24939 * combine.c (nonzero_bits) : Allow single-ly set registers to be
24940 anywere in the function only if they are pseudos and set before
24941 being used (not live at the start of the function).
24942 (num_sign_bit_copies) : Same.
24943 (get_last_value_validate) : Same.
24944 (get_last_value) : Same.
24946 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
24948 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
24949 where N and M are constant and N is an integer multiple of M.
24951 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24953 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
24954 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
24955 sbitmap_union_of_preds): Add prototypes.
24956 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
24957 the intersection of successors with the new flow graph structures.
24958 (sbitmap_intersection_of_preds): New function to compute the
24959 intersection of predecessors with the new flow graph structures.
24960 (sbitmap_union_of_succs): New function to compute the union of
24961 successors with the new flow graph structures.
24962 (sbitmap_union_of_preds): New function to compute the union of
24963 predecessors with the new flow graph structures.
24964 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
24965 (expr_reaches_here_p): Use edge and basic_block structures instead
24966 of s_preds and s_succs.
24967 (compute_cprop_avinout): Use new sbitmap routines.
24968 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
24969 of s_preds and s_succs.
24970 * flow.c (compute_flow_dominators): Compute dominators using
24971 edges and basic blocks instead of s_preds and s_succs.
24973 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24975 * lists.c (unused_insn_list, unused_expr_list): New file for
24976 maintaining various types of lists. New statics for maintaining a
24977 cache of available INSN_LIST and EXPR_LIST nodes.
24978 (free_list): Static function for freeing a list of INSN/EXPR nodes.
24979 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
24980 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
24981 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
24982 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
24983 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
24984 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
24985 (free_INSN_LIST_node): Free an individual INSN_LIST node.
24986 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
24987 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
24988 (remove_dependence, free_pending_lists): Use new global routines.
24989 (flush_pending_lists, sched_analyze_insn): Use new global routines.
24990 (sched_analyze, compute_block_backward_dependences): Use new routines.
24991 (sched_analyze_1, sched_analyze_2): Use new routines.
24992 (schedule_insns): Use new global routines.
24993 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
24995 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
24996 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
24998 * toplev.c (rest_of_compilation): Initialize node cache.
24999 * Makefile.in (OBJS): Add lists.o to list of object files.
25000 (lists.o): Add dependancies.
25002 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
25004 * config/v850/v850.md: Fix compile time warning messages.
25005 * config/v850/v850.c: Fix compile time warning messages.
25006 * config/v850/v850.h: Fix compile time warning messages.
25008 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25010 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
25011 Remove unused prototype for `init_lengths'.
25013 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25015 * calls.c (emit_call_1): Mark parameter `stack_size' with
25017 (expand_call): Initialize variable `insn'.
25018 (emit_library_call): Likewise for variable `high_to_save'.
25019 (emit_library_call_value): Likewise.
25020 (store_one_arg): Likewise for variables `lower_bound' and
25023 * combine.c (try_combine): Likewise for variables `i2_code_number'
25024 and `other_code_number'.
25025 (find_split_point): Likewise for variables `pos', `unsignedp' and
25027 (simplify_if_then_else): Likewise for variables `op' and `c1'.
25028 (simplify_and_const_int): Remove unused variable `width'.
25029 (merge_outer_ops): Likewise.
25031 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
25032 HOST_WIDE_INT' when comparing against one.
25033 (simplify_relational_operation): Likewise.
25034 (cse_insn): Initialize variables `src_eqv_volatile',
25035 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
25037 * final.c (init_final): Constify parameter `filename'.
25038 (final_start_function): Mark parameter `optimize' with
25040 (profile_function): Likewise for parameters `first' and `optimize'.
25041 (output_source_line): Likewise for parameter `file'.
25043 * integrate.c (subst_constants): Cast a value to `size_t' when
25044 comparing against one.
25045 (mark_stores): Initialize variable `mode'. Cast a value to
25046 `size_t' when comparing against one.
25048 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
25050 * loop.c (move_movables): Initialize variable `first'.
25051 (strength_reduce): Likewise for variable `increment'.
25052 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
25053 value to `size_t' when comparing against one.
25054 (load_mems): Initialize variable `end_label'.
25056 * output.h (init_final): Constify parameter.
25058 * reload.c (decompose): Initialize variable `base'.
25060 * reload1.c (reload): Likewise for variable `is_scalar'.
25061 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
25062 (choose_reload_regs): Initialize variable `mode'.
25063 (emit_reload_insns): Likewise for variable `store_insn'.
25064 (reload_cse_noop_set_p): Mark parameter `insn' with
25066 (reload_combine): Initialize variable `set'.
25068 * unroll.c (unroll_loop): Likewise for variable `local_label'.
25069 (copy_loop_body): Cast a value to `size_t' when comparing against
25072 * varasm.c (assemble_variable): Initialize variable `size_tree'.
25073 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
25074 (remove_from_pending_weak_list): Mark parameter `name' with
25077 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25079 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
25082 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
25084 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
25085 (ASM_DECLARE_FUNCTION_NAME): Define.
25086 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
25087 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
25088 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
25089 not already defined.
25091 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
25093 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
25094 of n_popped when call/call_value are not defined.
25096 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
25098 * tm.texi: GNU CC -> GCC conversion.
25099 (CC1_SPEC): Indicate it is used for all language front ends.
25101 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
25103 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
25104 NOTE_INSN_EH_REGION_END correctly.
25106 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25107 Jeff Law <law@cygnus.com>
25109 * loop.c (strength_reduce): Automatically unroll loops if the
25110 unrolled loop size is smaller than the rolled loop size.
25112 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
25113 and delete comment that code should be rewritten.
25115 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
25117 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
25120 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
25122 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25124 * fixinc/mkfixinc.sh: Don't fix uwin headers.
25125 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
25126 (LINK_SPEC): Add -u _main when building executables.
25127 (ASM_DECLARE_FUNCTION): Update from Cygwin.
25128 (ASM_FILE_END): Use the default for ix86-pe.
25129 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
25131 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
25133 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
25134 and ASM_CLOSE_PAREN are empty strings.
25136 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
25137 Geoffrey Keating <geoffk@cygnus.com>
25139 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
25140 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
25141 (unprotoize.o): Ditto.
25142 (test-protoize-simple): Don't define STD_PROTO_DIR.
25143 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
25144 changes to make 'test-protoize-simple' pass.
25145 (STD_PROTO_DIR): Remove define.
25146 (STANDARD_EXEC_PREFIX): Supply default define.
25147 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
25148 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
25149 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
25150 (GET_ENV_PATH_LIST): New macro.
25151 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
25152 (do_processing): Initialize default_syscalls_dir using new
25153 macros. Use it to initialize syscalls_absolute_filename.
25155 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
25157 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
25158 B into a register before emit_conditional_move.
25160 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
25162 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
25163 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
25164 multiplicand out of (+ (* a b) (* c d)).
25166 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
25167 Richard Henderson <rth@cygnus.com>
25169 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
25170 (new_insn_dead_notes): Likewise.
25171 (update_n_sets): Likewise.
25172 (update_flow_info): Move to flow.c, renamed to update_life_info;
25173 extend to handle multiple source insns.
25174 * flow.c: Include resource.h
25175 (unlink_insn_chain): New.
25176 (split_hard_reg_notes): New.
25177 (maybe_add_dead_note): New.
25178 (maybe_add_dead_note_use): New.
25179 (find_insn_with_note): New.
25180 (new_insn_dead_notes): New.
25181 (update_n_sets): New.
25182 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
25183 (maybe_remove_dead_notes): New.
25184 (update_life_info): New.
25185 (prepend_reg_notes): New.
25186 (replace_insns): New.
25187 * output.h (update_life_info): Declare.
25188 * recog.c (split_block_insns): Use update_life_info.
25189 * resource.c (find_free_register): Use reg_alloc_order, don't use
25190 fixed regs, make sure the mode is supported, don't use new regs.
25192 * rtl.h (replace_insns): Declare.
25194 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
25196 * expr.c (expand_expr): Cope with COND_EXPRs with one
25197 non-returning branch.
25199 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
25201 * expr.c (store_expr): Always pass down the target, even when not
25204 1999-08-24 Nick Clifton <nickc@cygnus.com>
25206 * configure.in: Define target_cpu_default for v850 targets.
25207 * configure: Regenerate
25209 * config/v850/v850.h (TARGET_CPU_generic): Define.
25210 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
25211 addresses are 4 byte aligned.
25213 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
25216 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25218 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
25219 (main): Add prototypes.
25221 * genattrtab.c (substitute_address, write_const_num_delay_slots,
25222 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
25223 (write_attr_get): Emit prototypes along with function definition.
25224 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
25225 (write_complex_function): Emit static prototype along with
25226 function definition.
25228 * genemit.c (gen_split): Emit prototypes along with function
25231 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
25232 Likewise for predicates and `insn_operand_predicate'.
25233 (process_template): Emit static prototype along with function
25236 * genrecog.c (make_insn_sequence): Constify a char*. Add
25237 prototypes for get_split_*().
25238 (write_subroutine): Emit prototypes along with function
25241 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25243 * gcse.c (find_avail_set): Follow chains of register-register copies.
25244 Use oprs_not_set_p to guarantee that the returned value can be
25246 (cprop_insn): Don't verify the return value of find_avail_set with
25249 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
25250 (cprop_cc0_jump): New function.
25251 (cprop_insn): Break out new function cprop_jump and use it.
25252 Also use cprop_cc0_jump for machines with CC0.
25253 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
25255 * tree.h (current_function_calls_setjmp,
25256 current_function_calls_longjmp): Delete declarations.
25257 * dsp16xx.c: Include "function.h".
25258 * elxsi.c: Likewise.
25259 * gmicro.c: Likewise.
25260 * h8300.c: Likewise.
25261 * i370.c: Likewise.
25262 * m32r.c: Likewise.
25263 * mn10200.c: Likewise.
25264 * mn10300.c: Likewise.
25265 * ns32k.c: Likewise.
25266 * spur.c: Likewise.
25267 * v850.c: Likewise.
25269 * rtl.h (rtx_equal_function_value_matters): Declare.
25270 * toplev.c (rtx_equal_function_value_matters): Don't declare.
25272 * function.c: Likewise.
25273 * emit-rtl.c: Likewise.
25275 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
25277 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
25280 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25282 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
25285 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
25287 * cpp.texi: Add a node documenting macro varargs (copied
25290 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
25292 * cppspec.c: Put a null pointer at the end of the new argv.
25294 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
25296 * configure.in: Remove code to select/de-select the haifa
25297 scheduler. Every scheduled port gets haifa now.
25298 * configure: Rebuilt.
25299 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
25301 * Makefile.in: Corresponding changes.
25303 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25305 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
25306 All callers changed.
25307 (prepare_float_lib_cmp): Likewise.
25308 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
25309 * expr.h (emit_float_lib_cmp): Delete declaration.
25310 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
25311 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
25312 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
25314 (cmptf): Now conditional on TARGET_HARD_QUAD.
25316 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
25318 * resource.c (mark_target_live_regs): Use
25319 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
25321 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25323 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
25325 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
25327 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
25329 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25331 * rtl.h (rtx_format): Constify a char*.
25333 * rtl.c (rtx_format): Likewise.
25334 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
25335 (init_rtl): Use accessor macro, not `rtx_format'.
25337 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
25340 * caller-save.c (mark_referenced_regs): Likewise.
25342 * combine.c (subst, make_compound_operation, known_cond,
25343 gen_rtx_combine, update_table_tick, get_last_value_validate,
25344 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
25346 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
25347 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
25348 count_reg_usage): Likewise.
25350 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
25353 * final.c (leaf_renumber_regs_insn): Likewise.
25355 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
25356 dump_edge_info, count_reg_references): Likewise.
25358 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
25359 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
25362 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
25363 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
25364 add_label_notes): Likewise.
25366 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
25367 clear_struct_flag, count_sub_rtxs, count_alternatives,
25368 compares_alternatives_p, contained_in_p, walk_attr_value,
25369 write_expr_attr_cache): Likewise.
25371 * genconfig.c (walk_insn_part): Likewise.
25373 * genemit.c (max_operand_1, gen_exp): Likewise.
25375 * genextract.c (walk_rtx): Likewise.
25377 * genflags.c (num_operands): Likewise.
25379 * genoutput.c (scan_operands): Likewise.
25381 * genpeep.c (match_rtx): Likewise.
25383 * genrecog.c (add_to_sequence): Likewise.
25385 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
25388 * integrate.c (save_constants, copy_for_inline,
25389 copy_rtx_and_substitute, subst_constants, restore_constants):
25392 * jump.c (mark_jump_label, invert_exp, redirect_exp,
25393 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
25395 * local-alloc.c (contains_replace_regs, memref_referenced_p):
25398 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
25399 add_label_notes, replace_call_address, count_nonfixed_reads,
25400 invariant_p, find_single_use_in_loop, find_mem_givs,
25401 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
25404 * print-rtl.c (reg_names, print_rtx): Likewise.
25406 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
25408 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
25409 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
25410 print_blocks): Likewise.
25412 * regclass.c (fix_register, record_address_regs,
25413 reg_scan_mark_refs): Likewise.
25415 * regmove.c (stable_but_for_p): Likewise.
25417 * reload.c (loc_mentioned_in_p, operands_match_p,
25418 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
25419 copy_replacements, refers_to_regno_for_reload_p,
25420 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
25421 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
25424 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
25425 delete_address_reloads_1, count_occurrences,
25426 reload_cse_mem_conflict_p, reload_combine_note_use,
25427 add_auto_inc_notes): Likewise.
25429 * resource.c (mark_referenced_resources, mark_set_resources):
25432 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
25433 reg_mentioned_p, regs_set_between_p, modified_between_p,
25434 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
25435 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
25436 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
25437 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
25439 * sched.c (sched_analyze_2, attach_deaths): Likewise.
25441 * stupid.c (stupid_mark_refs): Likewise.
25443 * unroll.c (remap_split_bivs): Likewise.
25445 * varasm.c (mark_constants): Likewise.
25447 * a29k/a29k.c (uses_local_reg_p): Likewise.
25449 * alpha/alpha.c (summarize_insn): Likewise.
25451 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
25452 eliminate_lr2ip): Likewise.
25454 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
25456 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
25457 reg_mentioned_in_mem): Likewise.
25459 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
25460 symbolic_reference_mentioned_p): Likewise.
25462 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
25464 * sh/sh.c (regs_used, mark_use): Likewise.
25466 * vax/vax.c (vax_rtx_cost): Likewise.
25468 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25470 * machmode.h (mode_name): Constify a char*.
25472 * rtl.c (mode_name): Likewise.
25474 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
25476 * optabs.c (init_libfuncs): Constify a char*.
25478 * print-tree.c (mode_name): Remove redundant declaration.
25479 (print_node): Use accessor macro, not `mode_name'.
25481 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
25483 (new_spill_reg): Constify a char*.
25485 * tree.c (mode_name): Remove redundant declaration.
25487 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25489 * rtl.c (rtx_name): Constify a char*.
25491 * rtl.h (rtx_name, fix_sched_param): Likewise.
25493 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
25494 (mypr): Use accessor macro, not `rtx_name'.
25496 * genemit.c (print_code): Constify a char*.
25498 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
25500 * genpeep.c (print_code): Constify a char*.
25502 * genrecog.c (print_code): Likewise.
25504 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
25505 end_bb): Add static prototype.
25506 (draw_edge): Constify a char*.
25507 (end_bb): Remove unused parameter.
25509 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
25510 print_block_visualization): Constify a char*.
25512 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
25514 * c-common.c (c_get_alias_set): Update comment.
25516 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25518 * linux.h (LIB_SPEC): Added.
25520 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25522 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
25524 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
25526 * tree.c (expr_check): Fix typo in last change.
25528 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
25530 * rtl.def (NOTE): Change format to "iuu0n".
25531 (ADDR_DIFF_VEC): Change format to "eEee0".
25532 (ADDRESSOF): Change format to "eit".
25534 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
25535 (RTVEC_ELT): Change to match.
25536 (XVECEXP): Use XVEC and RTVEC_ELT.
25537 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
25538 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
25539 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
25540 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
25541 TRAP_CONDITION, TRAP_CODE): Use XEXP.
25542 (INTVAL): Use XWINT.
25543 (ADDRESSOF_DECL): Use XTREE.
25544 (SET_ADDRESSOF_DECL): Delete.
25545 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
25546 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
25547 ifdefed out since 2.6 at least.
25548 (gen_rtvec_vv): Delete prototype.
25550 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
25552 (copy_most_rtx): Handle 't' format letter.
25553 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
25554 (gen_rtvec_vv): Delete function. All callers changed to use
25555 gen_rtvec_v instead.
25556 * print-rtl.c (print_rtx): Move special casing of NOTEs to
25557 the '0' format letter.
25559 * function.c (gen_mem_addressof): Don't use
25560 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
25562 * integrate.c (copy_rtx_and_substitute): Likewise.
25563 Copy 't' slots with XTREE.
25564 (subst_constants): Treat 't' slots like '[swi]' slots.
25565 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
25566 * jump.c (rtx_equal_for_thread_p): Likewise.
25567 * rtlanal.c (rtx_equal_p): Likewise.
25568 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
25569 only four arguments.
25570 * gengenrtl.c (type_from_format): Provide correct types for
25574 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
25575 If a recent gcc is in use (always in stage2 and beyond), use
25576 statement expressions, so we don't make a function call unless
25577 the check fails. Evaluate arguments exactly once.
25578 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
25579 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
25581 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
25582 they evaluate their arguments exactly once, irrespective of
25583 the compiler in use.
25585 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
25586 is used by the currently-enabled check macros. This is:
25587 (tree_check_failed, tree_class_check_failed): For gcc.
25588 (tree_check, tree_class_check, cst_or_constructor_check,
25589 expr_check): For other compilers.
25591 * gencheck.c: Do not define any *_CHECK1 macros.
25593 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
25594 Mark Mitchell <mark@codesourcery.com>
25596 * c-common.c (c_get_alias_set): Fix support for poitners and
25599 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
25601 * alias.c: Include tree.h.
25602 (nonlocal_reference_p, mark_constant_function): New functions.
25603 * flow.c (life_analysis): Call mark_constant_function.
25604 * rtl.h (mark_constant_function): Declare it.
25606 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
25608 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
25609 unrecognisable switches.
25611 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25613 * loop.c (recombine_givs): Set ix field after sorting.
25614 (recombine_givs): Remove bogus index / giv lockstep looping.
25616 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25618 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
25620 (emit_store_flag_force): Use do_compare_rtx_and_jump.
25621 (do_cmp_and_jump): Formatting fixes.
25622 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
25623 do_compare_rtx_and_jump instead of compare_from_rtx.
25624 (do_compare_rtx_and_jump): New function; mostly copied from
25626 (do_jump_for_compare): Delete.
25627 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
25629 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
25630 of compare/do_jump_for_compare pairs.
25631 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
25632 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
25633 compare_from_rtx/do_jump_for_compare pairs.
25634 (do_jump_by_parts_equality): Likewise.
25635 (do_jump_by_parts_equality_rtx): Likewise.
25636 * expr.h (do_compare_rtx_and_jump): Declare.
25637 * optabs.c (prepare_cmp_insn): New function, contains most of the code
25638 that used to be in emit_cmp_insn.
25639 (cmp_available_p): New function.
25640 (prepare_operand): New function.
25641 (emit_cmp_and_jump_insn_1): New function, contains some code that used
25642 to be in emit_cmp_insn.
25643 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
25644 parameters to be pointers; don't emit final compare but modify some of
25645 the values pointed to by the args so the caller can perform the
25646 correct comparison.
25647 (expand_binop): Call emit_store_flag_force with signed forms of
25649 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
25650 emit_jump_insn pair.
25651 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
25652 emit_cmp_and_jump_insn_1. Call emit_queue.
25653 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
25655 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
25656 jump sets cc0 before deleting it.
25657 * integrate.c (expand_inline_function): Likewise.
25658 * unroll.c (unroll_loop): Similar changes in several places.
25659 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
25660 before deleting it.
25662 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25664 * Makefile.in (insn-recog.o): Update dependencies.
25665 * genrecog.c (main): Make generated file include "function.h".
25667 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
25669 * cse.c (cse_insn): Call never_reached_warning when a jump is
25670 changed to be unconditional.
25671 * flags.h: Declare warn_notreached.
25672 * flow.c (delete_block): Call never_reached_warning when
25673 a block is deleted.
25674 * jump.c (delete_barrier_successors): Call never_reached_warning
25675 when we delete everything after a BARRIER.
25676 (never_reached_warning): New function.
25677 * rtl.h: Declare never_reached_warning.
25678 * toplev.c (warn_notreached): New variable.
25679 (lang_independent_options): Set warn_notreached
25680 when -Wunreachable-code.
25681 (compile_file): We need line numbers for -Wunreachable-code.
25683 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
25685 * haifa-sched.c (insn_unit): Fix typo on out of range test.
25686 * sched.c (insn_unit): Likewise.
25688 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
25690 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
25692 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25694 * flow.c (create_edge_list): Use xmalloc, not malloc.
25696 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
25698 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
25699 C-style comments. Do not lose the character before double slash.
25701 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25703 * basic-block.h (struct edge_list): Stucture to maintain a vector
25705 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
25706 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
25707 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
25708 New function prototypes.
25709 * flow.c (create_edge_list): Function to create an edge list.
25710 (free_edge_list): Discards memory used by an edge list.
25711 (print_edge_list): Debug output showing an edge list.
25712 (verify_edge_list): Internal consistency check for an edge list.
25713 (find_edge_index): Function to find an edge index for a pred and succ.
25715 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
25717 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
25720 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
25722 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
25724 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
25726 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25728 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
25730 * toplev.c (rest_of_compilation): Allow machine dependent
25731 reorganisation pass to place information into the RTL dump
25732 file if it so wishes.
25734 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
25736 * explow.c (hard_function_value): Use VOIDmode instead of
25738 * stmt.c (expand_return): Likewise.
25739 * stor-layout.c (get_best_mode): Likewise.
25741 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
25742 emit call instead of emit_insn call.
25744 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25746 * configure.in: Handle --disable/enable-win32-registry.
25747 * install.texi: Document --disable/enable-win32-registry.
25748 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
25749 (WIN32_REGISTRY_KEY): New macro.
25750 * prefix.c: Use to enable/disable win32-specific code.
25751 (lookup_key): Use versioned key.
25752 * configure: Regenerate.
25753 * config.in: Likewise.
25755 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
25757 * cpplib.c (read_line_number): New fn, split out of...
25760 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
25762 tree.c (lang_unsave_expr_now) : New.
25763 (unsave_expr_now): Call lang_unsave_expr_now.
25764 tree.h (lang_unsave_expr_now) : New.
25766 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
25768 * toplev.c (flag_new_exceptions): On by default.
25770 1999-08-13 Michael Meissner <meissner@cygnus.com>
25772 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
25774 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25776 * dwarfout.c (fundamental_type_code): Return FT_boolean for
25777 INTEGER_TYPE with precision==1, it's __java_boolean.
25779 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25781 * global.c (prune_preferences): Move some invariants out of the
25784 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
25786 * configure.in (alpha*-dec-osf*): Add osf5.
25788 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
25790 * configure.in: Rework handling of ARM GNU/Linux slightly.
25791 (arm*-*-linux-gnuoldld): New target.
25792 * configure: Regenerate.
25793 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
25794 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
25795 * config/arm/linux-oldld.h: New file.
25796 * config/arm/linux-elf26.h: Don't include linux-elf.h.
25797 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
25799 * config/arm/linux-elf.h (ASM_SPEC): Define.
25800 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
25801 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
25802 for 26-bit APCS and old linker.
25803 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
25805 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
25806 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
25807 don't define `arm' or `arm_elf'.
25808 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
25809 MULTILIB_DIRNAMES): Define. Fix typo in comment.
25811 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
25813 * rtl.texi: Fix typo.
25815 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
25817 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
25819 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
25821 * extend.texi (C++ Signatures): Remove node.
25822 * invoke.texi: Remove discussion of -fhandle-signatures,
25823 signature, sigof, __signature__, and __sigof__.
25825 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
25827 * Makefile.in (JAVAGC): Removed.
25829 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
25831 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25833 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
25835 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25837 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
25839 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
25840 a register that is already known to be a pointer.
25842 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
25844 * fixinc/inclhack.tpl: Only install assert.h conditionally.
25845 * fixinc/inclhack.sh: Regenerated.
25846 * fixinc/fixincl.sh: Regenerated.
25848 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
25850 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
25851 Fix documentation of -ansi flag to describe its C++ behavior.
25852 Remove bogus reference to GCC 2.9.
25854 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
25856 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
25857 note if it is non-NULL.
25859 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25861 * except.h (eh_nesting_info): Add new structure defintion.
25862 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
25863 (reachable_handlers, update_rethrow_references): Add function
25865 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
25866 a rethrow symbol instead of an integer exception region number.
25867 * flow.c (Make_edges): Use new exception nesting routines to determine
25868 which handlers are reachable from a CALL or asynchronous insn.
25869 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
25871 (delete_eh_regions): Update rethrow labels, and don't delete
25872 regions which are the target of a rethrow.
25873 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
25874 avoid overloading the SYMBOL_REF_USED flag.
25875 (rethrow_symbol_map): Use new rethrow_ref field.
25876 (rethrow_used): Use new rethrow_ref field.
25877 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
25878 of an integer. Fix formatting.
25879 (output_exception_table_entry): Use new rethrow_ref field.
25880 (can_throw): Check for EH_REGION_NOTE before deciding
25881 whether a CALL can throw or not.
25882 (scan_region): Call rethrow_used() instead of accessing data structure.
25883 (update_rethrow_references): New function to make sure only regions
25884 which are still targets of a rethrow are flagged as such.
25885 (process_nestinfo): New static function to initialize a handler
25886 list for a specific region.
25887 (init_eh_nesting_info): New function to allocate and initialize
25888 the list of all EH handlers reachable from all regions.
25889 (reachable_handlers): New function to retrieve the list of handlers
25890 reachable from a specific region and insn.
25891 (free_eh_nesting_info): New function to dispose of a list of
25892 reachable handlers.
25894 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25896 * flow.c (split_edge): Set JUMP_LABEL field.
25897 (commit_one_edge_insertion): Set head correctly for insert_before.
25898 When inserting insns, update insn block numbers if allocated.
25900 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25902 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
25903 retry_incomplete_types): Add static prototype.
25904 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25905 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25906 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25907 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25908 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25911 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25912 dwarf2out_start_source_file, dwarf2out_line): Likewise.
25914 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25916 * output.h (assemble_name): Constify a char*.
25918 * varasm.c (UNIQUE_SECTION, assemble_start_function,
25919 assemble_variable, assemble_name): Likewise.
25921 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25923 * arm/pe.c (arm_pe_unique_section): Likewise.
25925 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25927 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25929 * i386/interix.c (i386_pe_unique_section): Likewise.
25931 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25933 * i386/winnt.c (i386_pe_unique_section): Likewise.
25935 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
25937 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
25939 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
25941 * pa/pa.c (output_call): Likewise.
25943 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
25945 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
25947 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
25950 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
25953 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
25955 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
25956 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
25958 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
25960 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25962 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
25964 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25966 * tree.h (lang_identify): Constify a char*.
25967 (print_error_function): Add extern prototype. Constify a char*.
25969 * c-lang.c (lang_identify): Constify a char*.
25971 * objc/objc-act.c (lang_identify): Constify a char*.
25973 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25975 * genpeep.c (main): Make generated file include "function.h".
25976 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
25978 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25980 * Makefile.in: Update dependencies.
25981 * alias.c: Include "function.h"
25982 * c-decl.c: Likewise.
25983 * caller-save.c: Likewise.
25984 * calls.c: Likewise.
25985 * combine.c: Likewise.
25987 * explow.c: Likewise.
25988 * final.c: Likewise.
25989 * global.c: Likewise.
25990 * graph.c: Likewise.
25991 * local-alloc.c: Likewise.
25992 * loop.c: Likewise.
25993 * optabs.c: Likewise.
25994 * profile.c: Likewise.
25995 * recog.c: Likewise.
25996 * regclass.c: Likewise.
25997 * regmove.c: Likewise.
25998 * reload.c: Likewise.
25999 * reorg.c: Likewise.
26000 * resource.c: Likewise.
26001 * sched.c: Likewise.
26002 * stupid.c: Likewise.
26003 * config/1750a/1750a.c: Likewise.
26004 * config/a29k/a29k.c: Likewise.
26005 * config/arc/arc.c: Likewise.
26006 * config/arm/arm.c: Likewise.
26007 * config/arm/thumb.c: Likewise.
26008 * config/c4x/c4x.c: Likewise.
26009 * config/clipper/clipper.c: Likewise.
26010 * config/convex/convex.c: Likewise.
26011 * config/fx80/fx80.c: Likewise.
26012 * config/i860/i860.c: Likewise.
26013 * config/m68k/m68k.c: Likewise.
26014 * config/m88k/m88k.c: Likewise.
26015 * config/mips/mips.c: Likewise.
26016 * config/pdp11/pdp11.c: Likewise.
26017 * config/pyr/pyr.c: Likewise.
26018 * config/romp/romp.c: Likewise.
26019 * config/sh/sh.c: Likewise.
26020 * config/tahoe/tahoe.c: Likewise.
26021 * config/vax/vax.c: Likewise.
26022 * config/we32k/we32k.c: Likewise.
26023 * config/sparc/sparc.c: Include "function.h".
26024 (mem_min_alignment): Test current_function rather than
26025 regno_pointer_align.
26026 * config/pa/pa.c: Likewise.
26027 (compute_frame_size): Delete declaration of
26028 current_function_outgoing_args_size.
26029 * config/arc/arc.h (current_function_varargs): Delete declaration.
26030 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
26032 * config/i370/i370.h (current_function_outgoing_args_size): Delete
26034 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
26035 current_function_uses_pic_offset_table.
26036 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
26037 of current_function_returns_pointer.
26038 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26039 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26040 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26041 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26042 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26043 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26044 * config/m88k/m88k.c: Include "function.h"
26045 (call_used_regs, current_function_pretend_args_size,
26046 current_function_outgoing_args_size, frame_pointer_needed): Delete
26048 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
26050 * config/mips/mips.h (current_function_calls_alloca): Delete
26052 * config/mn10200/mn10200.h (current_function_needs_context,
26053 rtx_equal_function_value_matters): Delete declarations.
26054 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
26055 flag_pic): Delete declarations.
26056 * config/pa/pa.h (current_function_pretend_args_size,
26057 current_function_decl): Delete declarations.
26058 * config/pa/som.h (current_function_varargs): Delete declaration.
26059 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
26061 * config/pyr/pyr.h (current_function_pretend_args_size,
26062 current_function_args_size, current_function_calls_alloca): Delete
26064 * config/sh/sh.h (current_function_varargs): Delete declaration.
26065 * config/sparc/sparc.h (current_function_outgoing_args_size,
26066 current_function_calls_alloca, current_function_decl): Delete
26068 * config/spur/spur.h (current_function_pretend_args_size,
26069 current_function_calls_alloca): Delete declarations.
26070 * config/v850/v850.c (current_function_outgoing_args_size): Delete
26072 * config/vax/vms.h (current_function_name): Delete declaration.
26073 * gcse.c: Include "function.h".
26074 (current_function_name, current_function_calls_setjmp): Delete
26076 * haifa-sched.c: Include "function.h".
26077 (forced_labels): Delete declaration.
26078 * jump.c: Likewise.
26079 * reg-stack.c: Likewise.
26080 * reload1.c: Likewise.
26081 * genemit.c (main): Make generated file include function.h.
26082 * genoutput.c (output_prologue): Likewise.
26084 * builtins.c (saveregs_value, apply_args_value): Delete variables.
26085 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
26086 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
26087 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
26088 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
26089 macros for some of them.
26090 (emit_filename, emit_lineno): Delete declarations.
26091 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
26092 regno_pointer_* variables through current_function.
26093 (gen_inline_header_rtx): Delete function.
26094 (save_emit_status): Delete function.
26095 (set_new_last_label_num): New function.
26096 (clear_emit_caches): New function.
26097 (restore_emit_status): Just clear last_labelnum and call
26099 (get_last_insn_anywhere): Variable sequence_stack is now accessed
26100 through macro seq_stack.
26101 (add_insn_after): Likewise.
26102 (add_insn_before): Likewise.
26103 (remove_insn): Likewise.
26104 (pop_topmost_sequence): Likewise.
26105 (in_sequence_p): Likewise.
26106 (start_sequence_for_rtl_expr): Likewise.
26107 (start_sequence): Likewise, and likewise for
26108 sequence_rtl_expr/seq_rtl_expr.
26109 (push_topmost_sequence): Likewise.
26110 (end_sequence): Likewise.
26111 (init_virtual_regs): Now takes a "struct emit_status *" argument.
26112 All callers changed. Store into that pointer instead of globals.
26113 (init_emit): Allocate emit elt of current_function.
26114 Changes for sequence_rtl_expr/sequence_stack renaming.
26115 Call clear_emit_caches instead of doing it in-line.
26116 Access regno_pointer_* variables through current_function.
26117 (init_emit_once) Don't clear sequence_stack.
26119 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
26121 (arg_pointer_save_area): Delete declaration.
26122 (finish_expr_for_function): Renamed from init_queue; no longer static.
26123 (init_expr): Don't call init_queue.
26124 (save_expr_status, restore_expr_status): Delete functions.
26125 (expand_expr): Changes to reflect new layout of struct function.
26126 Don't access current_function_check_memory_usage when current_function
26128 * expr.h (forced_labels, save_expr_regs, saveregs_value,
26129 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
26130 current_function_outgoing_args_size, current_function_arg_offset_rtx,
26131 current_function_uses_const_pool, function_call_count,
26132 current_function_uses_pic_offset_table, nonlocal_labels,
26133 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
26134 current_function_check_memory_usage, nonlocal_goto_handler_slots,
26135 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
26137 (finish_expr_for_function): Declare.
26138 * flags.h (current_function_has_nonlocal_label,
26139 current_function_has_nonlocal_goto, current_function_is_thunk,
26140 current_function_has_computed_jump): Delete declarations.
26141 * flow.c (forced_labels): Delete declaration.
26142 * function.c (current_function_pops_args,
26143 current_function_returns_struct, current_function_returns_pcc_struct,
26144 current_function_needs_context, current_function_calls_setjmp,
26145 current_function_calls_longjmp, current_function_has_nonlocal_label,
26146 current_function_has_nonlocal_goto, current_function_is_thunk,
26147 current_function_has_computed_jump, current_function_calls_alloca,
26148 current_function_contains_functions, current_function_returns_pointer,
26149 current_function_epilogue_delay_list, current_function_args_size,
26150 current_function_pretend_args_size, current_function_arg_offset_rtx,
26151 current_function_outgoing_args_size, current_function_varargs,
26152 current_function_stdarg, current_function_args_info, cleanup_label,
26153 current_function_name, current_function_uses_const_pool,
26154 current_function_instrument_entry_exit, current_function_return_rtx,
26155 current_function_uses_pic_offset_table, nonlocal_labels,
26156 current_function_internal_arg_pointer, current_function_cannot_inline,
26157 current_function_check_memory_usage, function_call_count,
26158 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
26159 nonlocal_goto_stack_level, return_label, save_expr_regs,
26160 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
26161 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
26162 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
26163 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
26164 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
26166 (push_function_context_to): Don't save them. Don't call
26167 save_storage_status, save_emit_status or save_expr_status.
26168 (pop_function_context_from): Don't restore them. Don't call
26169 restore_storage_status or restore_expr_status.
26170 (get_func_frame_size): New function.
26171 (get_frame_size): Use it.
26172 (assign_outer_stack_local): Reflect some member name changes in struct
26174 (put_reg_into_stack): Likewise.
26175 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
26177 (fixup_var_refs): Likewise.
26178 (fix_lexical_addr): Likewise.
26179 (trampoline_address): Likewise.
26180 (prepare_function_start): Clear field inlinable of current_function.
26181 (init_function_for_compilation): New function.
26182 (expand_dummy_function_end): New function.
26183 (expand_function_end): Call finish_expr_for_function.
26184 * function.h (struct emit_status): New; fields moved here from struct
26185 function and from global variables. Add accessor macros for some of
26187 (struct expr_status): Likewise.
26188 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
26189 (struct function): Add fields expr and emit, inlinable, inl_emit,
26190 original_arg_vector, original_decl_initial, inl_last_parm_insn,
26191 inl_max_label_num. Add many comments.
26192 Add accessor macros for all elts of struct function that no longer
26193 have a global variable.
26194 (cleanup_label, return_label, frame_offset, tail_recursion_label,
26195 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
26196 stack_slot_list): Delete declarations.
26197 (get_func_frame_size): Declare.
26198 (save_expr_status, restore_expr_status, save_emit_status,
26199 save_storage_status, restore_storage_status): Delete declarations.
26200 (init_virtual_regs): Declare.
26201 * output.h (current_function_pops_args,
26202 current_function_returns_struct, current_function_returns_pcc_struct,
26203 current_function_needs_context, current_function_calls_setjmp,
26204 current_function_calls_longjmp, current_function_calls_alloca,
26205 current_function_has_nonlocal_label, current_function_varargs,
26206 current_function_has_computed_jump, current_function_returns_pointer,
26207 current_function_contains_functions, current_function_args_size,
26208 current_function_pretend_args_size, current_function_stdarg,
26209 current_function_outgoing_args_size, current_function_args_info,
26210 current_function_name, current_function_return_rtx,
26211 current_function_epilogue_delay_list,
26212 current_function_uses_const_pool, current_function_cannot_inline):
26213 Delete declarations.
26214 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
26215 regno_reg_rtx): Delete declaration.
26216 (REGNO_POINTER_FLAG): Delete macro.
26217 * stmt.c (expand_goto): Changes to reflect that some fields in struct
26218 function were renamed.
26219 * stor-layout.c (save_storage_status, restore_storage_status): Delete
26221 * toplev.c: Include "function.h".
26222 (current_function_decl): Delete declaration.
26223 (compile_file): Call init_dummy_function_start and
26224 expand_dummy_function_end around some initializations that need to
26226 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
26227 Call init_function_for_compilation.
26228 * unroll.c: Include "function.h"
26229 (unroll_loop): Access regno_pointer_* variables through
26232 * tree.h (struct tree_decl): Add elt f to saved_insns member.
26233 (DECL_SAVED_INSNS): use it.
26234 (expand_dummy_function_end): Declare.
26235 (init_function_for_compilation): Declare.
26236 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
26237 that it's no longer an INLINE_HEADER.
26238 (expand_call): Likewise.
26239 * integrate.c (finish_inline): Delete function.
26240 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
26241 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
26242 args. Don't generate an INLINE_HEADER rtx, just return the arg
26243 vector. All callers changed.
26244 (save_for_inline_copying): Create a duplicate struct emit_status to
26245 hold the emit state for compiling the current function. Use this and
26246 the other new fields in struct function that are for integration
26247 instead of an INLINE_HEADER.
26248 Use memcpy instead of bcopy.
26249 Store the current struct function in DECL_SAVED_INSNS of fndecl.
26250 (save_for_inline_nocopy): Similar changes, except no new emit_status
26252 (expand_inline_function): Get information from function structure,
26253 not from an inline header rtx.
26254 (output_inline_function): Lose code to extract the necessary
26255 information from an inline header; simply put back the function
26256 structure into current_function. Clear its inlinable elt.
26257 * rtl.def (INLINE_HEADER): Delete.
26258 * rtl.h: Delete all accessors for an INLINE_HEADER.
26259 (gen_inline_header_rtx): Delete declaration.
26260 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
26261 Delete declarations.
26262 (REGNO_POINTER_ALIGN): Delete.
26263 (clear_emit_caches): Declare.
26264 (set_new_last_label_num): Declare.
26266 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
26268 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
26270 * except.c (expand_eh_region_start_for_decl): Always start a new block.
26271 * stmt.c (is_eh_region): Make sure current_function is present, too.
26273 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
26275 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
26276 for 64bit PA targets.
26278 * pa.h (SELECT_SECTION): Define.
26279 * som.h (SELECT_SECTION): Delete.
26281 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26283 * alias.c (init_alias_analysis): Wrap call to
26284 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
26286 1999-08-07 Bruce Korb <autogen@linuxbox.com>
26288 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
26289 <sys/asm.h> contains an asm comment with an apostrophe
26290 * fixinc/inclhack.sh: regen
26291 * fixinc/fixincl.x: regen
26293 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
26295 * function.c (init_function_start): Clear prologue & epilogue.
26296 (prologue_epilogue_contains): New function.
26297 * alias.c (init_alias_analysis): Use it.
26298 * rtl.h (prologue_epilogue_contains): Declare it.
26300 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
26302 * jump.c (onlyjump_p): New function.
26303 * rtl.h: Declare it.
26304 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
26305 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
26307 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
26309 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
26310 to invert loops. Simplify block scanning.
26312 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26314 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
26315 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
26317 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
26319 * config/sparc/liteelf.h: New file to support sparclite-elf target
26320 * config/sparc/t-sp86x: New file to support sparc86x targets
26321 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
26322 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
26323 * configure.in: Support above target triplets
26324 * configure: Regenerated
26326 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
26328 * fixinc/server.c (server_setup): Do not prefix function used as
26329 parameter with `&'.
26331 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
26333 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
26334 Remove fp reg alternatives.
26336 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
26338 * Makefiin (TAROUTOPTS): Kill.
26339 (install-headers-tar): Use "xpf" for tar headerfile extraction
26340 * i370/x-oe (TAROUTOPTS): Delete.
26341 * m68k/x-apollo68 (TAROUTOPTS): Delete.
26342 * m68k/x-hp320 (TAROUTOPTS): Delete.
26343 * m68k/x-hp320g (TAROUTOPTS): Delete.
26344 * gcc.texi: Update bug reporting text.
26346 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
26348 * reg-stack.c (change_stack) Fixed problem with negative array index.
26350 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
26352 * extend.texi, install.texi: Fix spelling mistakes.
26354 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
26355 (s-attrtab); No longer try to use pre-made insn-attrtab file.
26356 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
26357 PREMADE_ATTRTAB_MD.
26358 * mips/t-ecoff: Likewise.
26359 * mips/t-elf: Likewise.
26360 * mips/t-mips: Likewise.
26361 * mips/t-osfrose: Likewise.
26362 * mips/t-r3900: Likewise.
26363 * mips/t-svr3: Likewise.
26364 * mips/t-svr4: Likewise.
26365 * mips/t-ultrix: Likewise.
26367 * gcc.texi: Document recommend means to provide software floating
26368 point libraries in libgcc.a
26370 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
26372 * c-lex.c (yylex): We can have a number with no digits.
26374 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
26376 * jump.c (delete_prior_computation): New function, broken
26377 out of delete_computation. Check for side effects with
26378 side_effects_p instead of FIND_REG_INC_NOTE. Handle
26379 multi-word hard registers.
26380 (delete_computation): Use it. Check for side effects with
26381 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
26382 missing REG_DEAD note for a register which is both set and
26385 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
26387 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
26388 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
26389 (ASM_FILE_START): Import _mcount with the right type.
26390 (ASM_DECLARE_FUNCTION_NAME): Define.
26391 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
26392 * pa.c (output_function_prologue): Always emit the function's label
26394 * pa.h (TEXT_SPACE_P): Define.
26395 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26396 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
26397 * som.h (TEXT_SPACE_P): Delete.
26398 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26399 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
26401 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
26403 * expr.c (emit_group_load): Allow src to be a CONCAT.
26405 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26407 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
26408 (___mulsi3): Use '!' comment character.
26410 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26412 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
26414 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
26416 * gcc.c: Update URLs and mail addresses.
26417 * gcc.texi: Likewise.
26419 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
26421 * rs6000.c (current_file_function_operand): Return zero for
26423 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
26425 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
26428 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
26430 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
26431 allocate space in the stack frame for the PIC register.
26433 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
26435 * m68k.md (xordi3, anddi3): These patterns are not available on
26438 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
26440 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
26441 (PUT_REAL): Likewise.
26443 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26445 * final.c (shorten_branches): Don't add an alignment for loops
26446 that have no label inside.
26448 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26450 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
26451 prototypes in macro HAVE_cmpstrsi.
26453 * cpplib.c (cpp_get_token): Remove unused label `op3'.
26455 * emit-rtl.c (operand_subword): Remove unused variable
26458 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
26460 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
26462 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
26464 * cpphash.c (macroexpand): Delete leading whitespace when arg
26465 is concatenated before.
26466 (unsafe_chars): Correct test for whether + and - can extend a
26469 * cppinit.c (cpp_start_read): Do dependencies for
26470 -include/-imacros files also.
26472 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
26473 tokenizing non-directive lines.
26474 (cpp_expand_to_buffer): Temporarily disable no-output mode.
26475 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
26478 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26480 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
26482 * c-lex.c: Sync with C++ frontend.
26483 (linemode): New variable.
26484 (parse_float): imag, conversion_errno, and type are output only.
26485 (yylex): Adjust. Move initial '.' case into main switch.
26487 (handle_generic_pragma): Just deal with tokens.
26488 (readescape): Use ISXDIGIT and ISGRAPH.
26489 * c-parse.in: Add END_OF_LINE token.
26491 * c-lex.c (lang_init): Generalize.
26492 (nextchar): Remove. Replace uses with UNGETC.
26493 (skip_white_space): Handle linemode here. Optimize for cpplib.
26494 (skip_white_space_on_line): Remove.
26495 (extend_token_buffer_to): New fn.
26496 (extend_token_buffer): Use it.
26497 (read_line_number, check_newline): Just deal with tokens.
26498 (token_getch, token_put_back): New fns.
26499 (yylex): Use them. More cpplib optimizations. Simplify.
26501 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26502 Jason Merrill <jason@yorick.cygnus.com>
26504 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
26505 (consume_string): Make this smart about USE_CPPLIB.
26506 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
26507 (yylex): Rewrite to be intelligent about USE_CPPLIB.
26508 Also, clean up cases where we redundantly set token_buffer[0].
26509 (read_line_number): New fn.
26510 (ignore_escape_flag): New variable.
26512 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
26514 * a29k/t-a29kbare: Fix some comments.
26515 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
26516 (FPBIT, DPBIT): Define.
26517 * a29k/t-vx29k: Likewise.
26518 * arc/t-arc: Likewise.
26519 * arm/t-arm-elf: Likewise.
26520 * arm/t-bare: Likewise.
26521 * arm/t-pe: Likewise.
26522 * arm/t-pe-thumb: Likewise.
26523 * arm/t-semi: Likewise.
26524 * arm/t-thumb: Likewise.
26525 * arm/t-thumb-elf: Likewise.
26526 * arm/t-thumb-linux: Likewise.
26527 * h8300/t-h8300: Likewise.
26528 * i960/t-i960: Likewise.
26529 * i960/t-vxworks960: Likewise.
26530 * m32r/t-m32r: Likewise.
26531 * mips/t-ecoff: Likewise.
26532 * mips/t-elf: Likewise.
26533 * mips/t-r3900: Likewise.
26534 * pa/t-pro: Likewise.
26535 * rs6000/t-aix43: Likewise.
26536 * rs6000/t-beos: Likewise.
26537 * rs6000/t-newas: Likewise.
26538 * rs6000/t-ppccomm: Likewise.
26539 * rs6000/t-rs6000: Likewise.
26540 * rs6000/t-winnt: Likewise.
26541 * rs6000/t-xnewas: Likewise.
26542 * rs6000/t-xrs6000: Likewise.
26543 * sh/t-sh: Likewise.
26544 * sparc/t-elf: Likewise.
26545 * sparc/t-sparcbare: Likewise.
26546 * sparc/t-sparclite: Likewise.
26547 * sparc/t-splet: Likewise.
26548 * v850/t-v850: Likewise.
26549 * mn10200/t-mn10200: Fix comments.
26550 * mn10300/t-mn10300: Likewise.
26552 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
26553 dummy operand. Allocate a new pseudo for the dummy operand.
26554 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
26556 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
26558 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
26560 * configure: Rebuilt.
26561 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
26563 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
26565 * recog.c (preproces_constraints): Zero recog_op_alt before
26566 processing the constraints.
26568 * arm.c (typedef minipool_node): Renamed from pool_node.
26569 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
26570 (add_minipool_constant): New function.
26571 (dump_minipool): New function.
26572 (find_barrier): Remove special case for getting the insn size of
26573 an insn that references the constant pool.
26574 (minipool_fixup): New structure.
26575 (push_minipool_barrier): New function.
26576 (push_minipool_fix): New function.
26577 (note_invalid_constants): New function.
26578 (add_pool_constant, dump_table, fixit, broken_move): Delete.
26579 (arm_reorg): Rewrite code to fix up the constant pool into a
26580 series of mini-pools embedded in the insn stream.
26581 (arm_output_epilogue): New function, made mainly from the body
26582 of output_func_epilogue.
26583 (output_func_epilogue): Move insn generation part of epilogue code
26584 to arm_output_epilogue.
26585 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
26586 * arm.md (pool_range): New attribute.
26587 (zero_extendqidi2): Add attribute pool_range.
26588 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
26589 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
26590 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
26591 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
26592 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
26593 (epilogue): New expand.
26594 (epilogue_insn): New insn. Call arm_output_epilogue.
26596 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
26597 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
26599 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26601 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
26603 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
26605 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
26607 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
26609 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
26611 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
26613 * global.c: Fix comment.
26615 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
26617 * gcc.c (access_check): New static function.
26618 (find_a_file): Use it when searching a directory list.
26619 * collect2.c (find_a_file): Don't accept directories found when
26620 searching a directory list.
26622 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
26624 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
26625 function parameters with `&'.
26626 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
26628 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
26630 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
26631 or tidy_fallthru_edge if the last insn in the block is not
26632 an unconditional jump or a simple conditional jump.
26634 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26636 * Makefile.in (c-decl.o): Depends on defaults.h.
26638 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
26640 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
26642 (CLASS_MAX_NREGS): Likewise.
26644 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
26646 * cse.c (cse_insn): Fix dumb thinko in last change.
26648 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26650 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
26653 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
26655 * dwarf2out.c (add_location_or_const_value_attribute): Correct
26656 test for sizes of passed and declared parameter types.
26658 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26660 * fixincludes: Fix the return type of bsearch, char* -> void*.
26662 * fixinc/inclhack.def: Likewise.
26664 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
26666 * invoke.texi (-fdump-translation-unit): New option.
26668 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
26670 * expr.h (PROMOTE_PROTOTYPES): Move ...
26671 * defaults.h: ... to here.
26672 * c-decl.c: Include defaults.h instead of expr.h.
26673 * c-typeck.c: Include defaults.h.
26675 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
26677 * toplev.h (errorcount): Declare.
26678 (warningcount): Likewise.
26679 (sorrycount): Likewise.
26680 * c-lex.c (errorcount): Don't declare.
26681 * dwarf2out.c (errorcount): Don't declare.
26683 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
26685 * config/libgloss.h: Add a note discouraging use with ELF.
26686 * configure.in: Don't use libgloss.h for ELF targets.
26687 Always use_collect2 on a.out targets.
26689 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
26691 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
26692 (force_to_mode, case ASHIFTRT): Add shiftrt label.
26694 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26696 * loop.c (strength_reduce): When doing biv->giv conversion, update
26697 reg note of NEXT->insn.
26699 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26701 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
26703 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26705 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
26706 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
26707 Ensure expr.h is included.
26708 * c-typecheck.c (convert_arguments): Ditto.
26710 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
26712 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
26713 * config/convex/convex.h: Ditto.
26714 * config/dsp16xx/dsp16xx.h: Ditto.
26715 * config/fx80/fx80.h: Ditto.
26716 * config/gmicro/gmicro.h: Ditto.
26717 * config/i370/i370.h: Ditto.
26718 * config/i386/i386.h: Ditto.
26719 * config/m32r/m32r.h: Ditto.
26720 * config/m68k/m68k.h: Ditto.
26721 * config/m88k/m88k.h: Ditto.
26722 * config/mips/mips.h: Ditto.
26723 * config/pa/pa.h: Ditto.
26724 * config/pyr/pyr.h: Ditto.
26725 * config/tahoe/tahoe.h: Ditto.
26726 * config/we32k/we32k.h: Ditto.
26728 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
26729 based on arch size.
26731 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
26733 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
26736 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
26738 1999-08-02 Richard Henderson <rth@cygnus.com>
26740 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
26741 for the register spill block.
26742 (m32r_va_arg): New.
26743 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
26744 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
26746 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
26747 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
26748 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
26750 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26752 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
26753 MAX_WCHAR_TYPE defined in sparc.h.
26754 * config/sparc/linuxaout.h: Likewise.
26755 * config/sparc/linux64.h: Likewise.
26756 Also default to -mvis if CPU is UltraSPARC.
26758 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26760 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
26761 (RTX_OK_FOR_OLO10): Likewise.
26762 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
26763 %lo(), allow it in addresses...
26764 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
26765 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
26766 does not make sense.
26767 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
26768 (sparc_output_scratch_registers): New function.
26769 (output_function_prologue, sparc_flat_output_function_prologue): Use
26771 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
26773 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
26774 * configure.in: Add check for .register pseudo-op support in as and
26775 check for offsetable %lo().
26776 * acconfig.h: Add templates for the above checks.
26777 * configure: Regenerate.
26779 1999-08-02 Richard Henderson <rth@cygnus.com>
26781 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
26782 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
26783 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
26785 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26787 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26790 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26792 * config/float-sparc.h: New file.
26793 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
26794 sparc-*-linux-gnu and sparc64-*-linux*.
26796 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26798 * rs6000.c (rs6000_va_list): Type is an array.
26799 (rs6000_va_start): Don't doubly adjust for varargs.
26800 (rs6000_va_arg): Evaluate long long GPR adjustment.
26802 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
26804 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
26805 -maix64 and -maix32.
26806 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
26807 LINK_SPEC): Change appropriately.
26808 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
26809 (u_short_cint_operand): Likewise.
26810 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
26812 * rs6000/t-aix43 (MULTILIB): Change to -m64.
26814 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
26816 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
26818 * rs6000/rs6000.c (num_insns_constant_wide): Correct
26819 for type promotion.
26820 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
26821 (non_add_cint_operand): Likewise.
26822 (logical_operand): Likewise.
26823 (non_logical_cint_operand): Likewise.
26824 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
26825 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
26826 (rs6000_select_rtx_section): Suppress warning.
26827 (small_data_operand): Suppress warning.
26828 (rs6000_got_register): Suppress warning.
26829 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
26830 type, so `J' is generally the wrong constraint for a SImode value;
26832 (andsi3_internal2): Likewise.
26833 (andsi3_internal3): Likewise.
26834 (iorsi3_internal1): Likewise.
26835 (xorsi3_internal1): Likewise.
26837 (movsf_softfloat): Likewise.
26838 (scc insns): Likewise.
26839 (movsi+2): Preserve sign bits of SImode constant.
26840 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
26841 (movdf+1): Sign-extend properly.
26842 (movdi_32+1): Sign-extend properly.
26843 (scc insns): Sign-extend properly.
26845 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
26848 1999-08-02 Richard Henderson <rth@cygnus.com>
26850 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
26851 -mcpu parsing code.
26852 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
26853 * alpha.md (all fp insns): Likewise.
26855 1999-08-02 Nick Clifton <nickc@cygnus.com>
26857 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
26860 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
26862 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
26863 pic_load_label generator directly.
26864 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
26865 No longer a named pattern.
26867 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
26869 * explow.c (force_reg): Call force_operand if X does not
26870 satisfy general_operand.
26872 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
26874 * fix-header.c (main): When testing for CONTINUED, use string
26875 equality, not pointer equality.
26877 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
26879 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
26881 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
26883 * cse.c (cse_insn): Fix loop which deletes insns after a jump
26884 that has become an unconditional jump.
26886 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
26887 (output_function_epilogue): Similarly.
26889 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26891 * tree.h (init_dummy_function_start): Declare.
26893 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26895 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
26896 last_expr_type, last_expr_value, block_start_count, block_stack,
26897 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
26898 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
26899 dynamically in stmt elt of struct function for each function.
26900 (struct nesting): Rename function_call_count elt to n_function_calls,
26901 target_temp_slot_level to block_target_temp_slot_level. All users
26903 (struct stmt_status): New structure definition.
26904 Add many accessor macros for stmt_status elements which previously
26905 were global variables.
26906 (init_stmt_for_function): Allocate stmt elt for current_function.
26907 Reflect that block_start_count was renamed to
26908 current_block_start_count.
26909 (save_stmt_status, restore_stmt_status): Delete functions.
26910 (preserve_subexpressions_p): Don't access loop_stack when outside
26912 (expand_start_bindings): Reflect that block_start_count was renamed to
26913 current_block_start_count.
26914 (expand_fixup): Likewise.
26915 (expand_decl): Don't access block_stack when outside a function.
26916 (expand_decl_cleanup): Likewise.
26917 (expand_dcc_cleanup): Likewise.
26918 (expand_dhc_cleanup): Likewise.
26919 (expand_anon_union_decl): Likewise.
26920 (set_file_and_line_for_stmt): New function.
26921 (in_control_zone_p): New function.
26923 * function.h (struct function): Add new elt stmt.
26924 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26925 case_stack, nesting_stack, nesting_depth, block_start_count,
26926 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26927 emit_lineno, goto_fixup_chain.
26928 (save_eh_status, restore_eh_status, save_stmt_status,
26929 restore_stmt_status): Delete declarations.
26930 * function.c (push_function_context_to): Don't call save_stmt_status.
26931 (pop_function_context_to): Don't call restore_stmt_status.
26932 * tree.h (in_control_zone_p): Declare.
26933 * rtl.h (set_file_and_line_for_stmt): Declare.
26935 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
26936 call set_file_and_line_for_stmt.
26938 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
26940 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
26941 Also update copyright.
26943 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26945 * c-pragma.c: Don't include "except.h".
26946 * emit-rtl.c: Likewise.
26947 * stor-layout.c: Likewise.
26948 * tree.c: Likewise.
26949 * varasm.c: Likewise.
26951 * flow.c: Include "function.h".
26952 * tree.h (init_dummy_function_start): Declare new function.
26954 * except.h (struct eh_status): New structure.
26955 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
26957 (eh_return_stub_label, ehstack, catchstack, ehqueue,
26958 catch_clauses, false_label_stack, caught_return_label_stack,
26959 protect_list, current_function_ehc): Add accessor macros for the
26960 corresponding fields in current_function->eh; delete declarations
26961 for all items that used to be declared here.
26962 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
26963 catch_clauses, false_label_stack, caught_return_label_stack,
26964 protect_list, current_function_ehc): Delete variables.
26965 (init_eh_for_function): Allocate current_function->eh.
26966 (save_eh_status, restore_eh_status): Delete functions.
26968 * function.h (struct function): Add fields next_global and eh.
26969 Delete all exception handling related fields.
26970 * function.c (current_function): New variable.
26971 (all_functions): New variable.
26972 (push_function_context_to): Don't allocate a struct function,
26973 use current_function instead. Call init_dummy_function_start when
26974 outside a function. Clear current_function before returning.
26975 (pop_function_context_from): Restore current_function.
26976 Don't free the restored struct function.
26977 (prepare_function_start): New function.
26978 (init_dummy_function_start): New function.
26979 (init_function_start): Break out some code into prepare_function_start
26982 * stmt.c (save_stmt_status): Don't call save_eh_status.
26983 (restore_stmt_status): Don't call restore_eh_status.
26985 * Makefile.in: Update dependencies.
26987 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
26989 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
26990 of depending on a magic constant value. Update comments.
26991 (hppa_expand_prologue): Similarly.
26993 * pa.md (reload_indi, reload_outdi): Allow any register for the
26994 original reload register.
26996 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
26998 * cccp.c (print_help): Change marcos to macros.
27000 1999-07-30 Richard Henderson <rth@cygnus.com>
27002 * c-typeck.c (initializer_constant_valid_p): Move ...
27003 * c-common.c (initializer_constant_valid_p): ... here. Use
27004 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
27005 of label addresses.
27006 * c-common.h (initializer_constant_valid_p): Declare.
27007 * c-tree.h (initializer_constant_valid_p): Remove.
27009 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
27011 * config/i386/sol2-c1.asm: Align the stack.
27012 * config/i386/sol2-gc1.asm: Likewise.
27014 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
27016 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
27017 -Asparclite for sparc86x.
27018 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
27020 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
27022 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
27024 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
27025 the user if using the non-default arch size in BI_ARCH configuration.
27026 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
27028 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
27029 Fix patterns so that they actually match.
27030 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
27031 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
27032 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
27034 (mulsidi3): Reflect this in the expand.
27035 (smulsi3_highpart): Only on TARGET_ARCH32.
27036 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
27037 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
27038 (umulsidi3): Reflect this in the expand.
27039 (umulsi3_highpart): Only on TARGET_ARCH32.
27040 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
27041 don't require g0 to be zero.
27042 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
27043 ({,u}divsi3): New expands.
27044 ({,u}divsi3_sp64): New patterns.
27045 (after lshrdi3_v8plus): Four new patterns to help combiner
27046 optimizing nested mixed mode shifts.
27048 * config/sparc/sparc.c (sparc_override_options): Use deprecated
27049 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
27050 speed things up. Don't use them by default on plain v9 in 64bit
27051 mode, according to what SPAMv9 sais.
27053 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
27054 top 32 bits of %[og][0-7] in signal handlers.
27055 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
27057 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
27059 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
27060 (ashlsi3): Corresponding changes.
27062 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
27064 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
27066 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
27068 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27070 * arm.h (Hint): Delete macro.
27071 Substitute HOST_WIDE_INT for Hint in some prototypes.
27072 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
27074 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
27076 * builtins.c (expand_builtin_setjmp): Use force_operand to
27077 make sure that the buffer address is in a suitable form to be
27078 passed to force_reg.
27080 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
27082 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
27085 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
27087 * pa.md (indirect_jump): Remove mode from match_operand. Verify
27088 proper mode in the condition string.
27089 (icacheflush, dcacheflush): Remove modes from match_operands.
27091 * pa.c (emit_move_sequence): Always convert scratch_reg to the
27092 proper mode before using it.
27094 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
27097 * pa.c (store_reg): Do not call add_high_const generator directly.
27098 (load_reg, set_reg_plus_d): Likewise.
27099 * pa.md (add_high_const): No longer a named pattern.
27101 * pa.c (legitimize_address): Consistently use Pmode rather than
27102 SImode. Do not call gen_pic2_highpart directly anymore.
27103 * pa.md (pic2_highpart): No longer a named pattern.
27104 (pic2_lo_sum): Similarly. Reformat to make more readable.
27106 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
27111 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27113 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
27115 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
27117 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
27118 and tag the spill mems.
27119 (hppa_va_start): New.
27120 (hppa_va_arg): New.
27121 * pa.h (EXPAND_BUILTIN_VA_START): New.
27122 (EXPAND_BUILTIN_VA_ARG): New.
27124 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
27126 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
27127 and tag the spill mems.
27128 (mn10300_va_start): New.
27129 (mn10300_va_arg): New.
27130 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
27131 (EXPAND_BUILTIN_VA_ARG): New.
27133 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
27135 * mn10200.c (mn10200_va_arg): New.
27136 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
27138 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
27140 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
27141 rather than play with TREE_INT_CST_LOW.
27143 1999-07-27 Philip Blundell <pb@nexus.co.uk>
27145 * config/arm/telf.h: Include dbxelf.h.
27146 (CPP_PREDEFINES): Only define if not already defined.
27147 (ASM_IDENTIFY_GCC): Likewise.
27148 (SUBTARGET_EXTRA_SECTIONS): Likewise.
27149 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
27150 * config/arm/thumb.h (LINK_SPEC): Only define if not already
27152 (DBX_DEBUGGING_INFO): Don't define.
27153 * config/arm/linux-telf.h: New file.
27154 * config/arm/linux-tgas.h: New file.
27155 * config/arm/t-thumb-linux: New file.
27156 * config/arm/uclinux-elf.h: New file.
27157 * config/arm/uclinux-telf.h: New file.
27158 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
27159 thumb-*-uclinux): New targets.
27160 * configure: Regenerate.
27162 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
27164 * pa.md (post_store, pre_load): New expanders.
27165 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
27166 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
27167 need to directly generate RTL for them.
27168 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
27171 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
27173 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
27174 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
27175 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
27176 (secndary_reload_class): Make TARGET_ELF conditional compile.
27177 (print_operand_address): Similar.
27178 (output_toc): Print all values as hex.
27179 (get_issue_rate): Rearrange and add RS64A and PPC630.
27180 * rs6000.h (processor_type): Add RS64A and PPC630.
27181 (PROCESSOR_POWERPC64): New.
27182 (PROMOTE_MODE): Use word_mode.
27183 (RTX_COSTS): Add RS64A and PPC630.
27184 * rs6000.md (scheduling information): Add lmul and ldiv
27185 representing 64-bit integer multiply and divide. Add rs64a and
27186 PPC630 information.
27187 (ashldi3): Add support for "rldic" instruction.
27188 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
27190 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
27192 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
27193 instead of V8 for sparclite86x in cpu_table.
27195 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27197 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
27198 output_file_directive.
27200 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
27202 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
27203 tree for op1, not the rtl.
27205 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
27207 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
27208 to m88k_va_start, leaving only the register spill.
27209 (m88k_build_va_list): New.
27210 (m88k_va_start): New.
27211 (m88k_va_arg): New.
27212 * m88k.h (BUILD_VA_LIST_TYPE): New.
27213 (EXPAND_BUILTIN_VA_START): New.
27214 (EXPAND_BUILTIN_VA_ARG): New.
27216 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
27218 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
27219 Rename from expand_builtin_saveregs.
27220 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
27222 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
27224 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
27225 for the register spill block.
27226 (i960_build_va_list): New.
27227 (i960_va_start): New.
27228 (i960_va_arg): New.
27229 * i960.h (BUILD_VA_LIST_TYPE): New.
27230 (EXPAND_BUILTIN_VA_START): New.
27231 (EXPAND_BUILTIN_VA_ARG): New.
27232 * i960.md (store_multiple): Use change_address on individul mems.
27234 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
27236 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
27238 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
27239 (expand_builtin_va_end): Evaluate arg for side effects.
27240 * c-common.c (c_common_nodes_and_builtins): Construct a
27241 va_list_arg_type_node to handle array decomposition to pointer.
27243 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
27245 * except.c (st_dynamic_cleanup): Use force_operand on the
27248 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
27250 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
27251 * c4x.c (c4x_va_arg): New.
27253 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
27255 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
27256 has manual_pop set.
27258 1999-07-26 Nathan Sidwell <nathan@acm.org>
27260 * eh-common.h (__eh_matcher): Prototype correctly.
27262 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
27264 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
27265 (TARGET_SINGLE_PIC_BASE): Likewise.
27266 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
27268 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
27269 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
27270 (TARGET_OPTIONS): Add -mpic-register=N.
27271 (OUTPUT_INT_ADDR_CONST): New macro.
27272 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
27273 LEGITIMATE_PIC_OPERAND_P): Likewise.
27274 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
27275 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
27276 output_addr_const directly.
27277 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
27279 (thumb_pic_register, thumb_pic_register_string): Declare.
27281 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
27283 (label_mentioned_p): New function: Imported from arm.c.
27284 (legitimize_pic_address): New function: Imported from arm.c.
27285 (is_pic):New function: Imported from arm.c.
27286 (thumb_finalize_pic):New function: Imported from arm.c.
27287 (add_constant): Cope with PIC constants.
27288 (fixit): Cope with PIC constants.
27289 (output_return): Do not treat the PIC register as live if
27290 TARGET_SINGLE_PIC_BASE is true.
27291 (thumb_function_prologue): Do not treat the PIC register as live if
27292 TARGET_SINGLE_PIC_BASE is true.
27293 (thumb_expand_prologue): Do not treat the PIC register as live if
27294 TARGET_SINGLE_PIC_BASE is true.
27295 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
27296 TARGET_SINGLE_PIC_BASE is true.
27297 (thumb_print_operand): Accept '|'.
27298 (thumb_override_options): Process PIC options.
27300 * config/arm/thumb.md (movsi): Support PIC.
27301 (call_insn): Change "i" constraint to "X".
27302 (call_value_insn): Likewise.
27303 (consttable_4, consttable_8, consttable_end): Set and clear
27304 "making_const_table" as appropriate.
27305 (pic_load_addr, pic_add_dot_plus_four): New insns.
27307 * invoke.texi (Thumb Options): Fix spelling. Document new
27308 options -msingle-pic-base and -mpic-register=.
27310 1999-07-26 Andrew Haley <aph@cygnus.com>
27312 * config/m32r/initfini.c (__init): Use a full word immediate for
27313 __fini: this allows it to be placed in any memory region.
27315 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
27316 -mmodel=medium. This is OK for all memory models.
27318 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
27320 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
27321 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
27323 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
27325 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
27328 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
27330 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
27332 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
27333 (BUILD_VA_LIST_TYPE): New.
27334 (EXPAND_BUILTIN_VA_START): New.
27335 (EXPAND_BUILTIN_VA_ARG): New.
27336 * i860.c (output_delayed_branch): Disable.
27337 (output_delay_insn): Likewise.
27338 (i860_saveregs): New.
27339 (i860_build_va_list): New.
27340 (i860_va_start): New.
27341 (i860_va_arg): New.
27342 * i860.md: Disable all peepholes using output_delayed_branch.
27343 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
27345 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
27347 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
27348 (BUILD_VA_LIST_TYPE): New.
27349 (EXPAND_BUILTIN_VA_START): New.
27350 (EXPAND_BUILTIN_VA_ARG): New.
27351 * clipper.c (clipper_builtin_saveregs): Only dump registers.
27352 Return the address of the save area.
27353 (clipper_build_va_list): New.
27354 (clipper_va_start): New.
27355 (clipper_va_arg): New.
27357 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
27359 * arc.h (EXPAND_BUILTIN_VA_START): New.
27360 (EXPAND_BUILTIN_VA_ARG): New.
27361 * arc.c (arc_setup_incoming_varargs): Set alias set of
27363 (arc_va_start): New.
27366 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
27368 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
27369 (BUILD_VA_LIST_TYPE): New.
27370 (EXPAND_BUILTIN_VA_START): New.
27371 (EXPAND_BUILTIN_VA_ARG): New.
27372 * alpha.c (alpha_builtin_saveregs): Delete.
27373 (alpha_build_va_list): New.
27374 (alpha_va_start): New.
27375 (alpha_va_arg): New.
27377 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
27379 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
27381 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
27382 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
27384 * gcc.texi: More changes related to list conversion.
27385 * invoke.texi: Likewise.
27387 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
27389 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
27390 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
27391 (expand_builtin_next_arg): Accept ARGLIST not EXP.
27392 (stabilize_va_list): New function.
27393 (std_expand_builtin_va_start): New function.
27394 (expand_builtin_va_start): New function.
27395 (get_varargs_alias_set): New function.
27396 (std_expand_builtin_va_arg): New function.
27397 (expand_builtin_va_arg): New function.
27398 (expand_builtin_va_end): New function.
27399 (expand_builtin_va_copy): New function.
27400 (expand_builtin): Call them.
27401 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
27402 __builtin_{varargs_start,stdarg_start,end,copy}.
27403 (build_va_arg): New function.
27404 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
27405 (build_va_arg): Declare.
27406 * c-decl.c (ptr_type_node, va_list_type_node): New.
27407 * c-parse.gperf (__builtin_va_arg): New.
27408 * c-parse.in (VA_ARG): New token.
27409 (unary_expr): Recognize it.
27410 * expr.c (expand_expr): Expand VA_ARG_EXPR.
27411 * expr.h (std_expand_builtin_va_start): Declare.
27412 (std_expand_builtin_va_arg): Declare.
27413 (expand_builtin_va_arg): Declare.
27414 (get_varargs_alias_set): Declare.
27415 * tree.def (VA_ARG_EXPR): New.
27416 * tree.h (BUILT_IN_VARARGS_START): New.
27417 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
27418 (ptr_type_node, va_list_type_node): Declare.
27419 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
27420 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
27421 * m88k.h, m88k.c: Likewise.
27422 * mn10300.h, mn10300.c: Likewise.
27423 * pa.h, pa.c: Likewise.
27424 * rs6000.h, rs6000.c: Likewise.
27425 * sh.h, sh.c: Likewise.
27426 * sparc.h, sparc.c: Likewise.
27428 * emit-rtl.c (operand_subword): Copy alias set.
27429 (change_address): Likewise.
27431 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
27433 * pa.c (compute_frame_size): Scan all the used callee saved registers,
27434 not just the first one.
27436 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
27438 * config/arm/arm.h (TARGET_SWITCHES): Add
27439 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
27440 (TARGET_OPTIONS): Add -mpic-register=.
27441 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
27442 (arm_pic_register_string): Declare.
27443 (NEED_PLT_GOT): Delete, replace with ...
27444 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
27445 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
27446 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
27447 * config/arm/arm.c (arm_override_options): Add new option
27449 (arm_pic_register_string): New variable.
27450 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
27451 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
27452 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
27453 (output_return_instruction): Likewise.
27454 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
27455 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
27456 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
27458 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
27459 mention of -msched-prolog. Document new options -msingle-pic-base
27460 and -mpic-register=.
27462 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
27464 * haifa-sched.c (reemit_notes): Tidy.
27465 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
27468 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
27470 * explow.c (trunc_int_for_mode): New function.
27471 (plus_constant_wide): Use it.
27472 * combine.c (simplify_and_const_int): Likewise.
27473 (merge_outer_ops): Likewise.
27474 (simplify_shift_const): Likewise.
27475 * cse.c (simplify_unary_operation): Likewise.
27476 (simplify_binary_operation): Likewise.
27477 * emit-rtl.c (operand_subword): Likewise.
27478 * rtl.h: Declare it.
27480 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27482 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
27483 (use NUM_REGS instead of NUM_INTS).
27485 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27487 * builtins.c: New file.
27488 * expr.c (saveregs_value, apply_args_value): Delete definition,
27489 moved into builtins.c.
27490 (string_constant): No longer static.
27491 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
27492 apply_args_size, apply_result_size, result_vector,
27493 expand_builtin_apply_args, expand_builtin_apply,
27494 expand_builtin_return): Delete functions, moved into builtins.c.
27495 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
27496 * expr.h (saveregs_value, apply_args_value): Declare variables.
27497 (expand_builtin, string_constant): Declare functions.
27498 * Makefile.in: Update to build builtin.o.
27500 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
27502 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
27503 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
27504 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
27505 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
27507 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
27510 1999-07-21 Michael Meissner <meissner@cygnus.com>
27512 * print-rtl.c (print_rtx): Print the names of the virtual
27515 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
27517 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
27518 introduced in previous delta.
27520 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27522 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
27523 to avoid name clash.
27525 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
27527 * c-lex.c (yylex) : Correct the test for overflow when lexing
27530 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
27532 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
27533 (adjust_priority): Always call ADJUST_PRIORITY.
27534 (schedule_insn): Only put insns into the ready at cost 0.
27535 (schedule_block): Remove redundant initial sort. Give clock_var
27536 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
27538 * tm.texi (MD_SCHED_REORDER): Update docs.
27540 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
27541 * sparc.c (ultra_reorder_called_this_block): Delete.
27542 (ultrasparc_sched_init): Don't set it.
27543 (ultrasparc_sched_reorder): Don't check it.
27545 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
27547 * rs6000.h (struct rs6000_args): Add sysv_gregno.
27548 * rs6000.c (init_cumulative_args): Init sysv_gregno.
27549 (function_arg_boundary): Align DFmode.
27550 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
27551 to get fp reg and stack overflow correct.
27552 (function_arg): Likewise.
27553 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
27554 (setup_incoming_varargs): Restructure for ABI_V4; use
27555 function_arg_advance to skip final named argument.
27556 (expand_builtin_saveregs): Properly unskip the last integer arg
27557 when doing varargs. Adjust overflow location calculation.
27559 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
27560 explicitly unsigned.
27561 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
27562 (__VA_GP_REGSAVE): Similarly.
27563 (__va_longlong_p): Delete.
27564 (__va_arg_type_violation): New declaration.
27565 (va_arg): Restructure. Flag promotion errors. Align double.
27566 TFmode passed by reference.
27568 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
27569 in the HOST_BITS_PER_WIDE_INT > 32 case.
27571 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
27573 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
27575 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
27577 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
27578 * toplev.c (documented_lang_options): Add -fpreprocessed.
27579 * cpplib.h (struct cpp_buffer): Add preprocessed.
27580 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
27581 (cpp_start_read): Don't expand macros or emit an initial #line
27582 directive if -fpreprocessed.
27584 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
27586 * cpplib.h (struct cpp_buffer): Added manual_pop for
27587 better C++ tokenization.
27588 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
27589 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
27590 * c-common.c (cpp_token): Make non-static.
27592 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27594 * c-common.h: New file.
27595 * c-common.c (permanent_obstack): Delete unused declaration.
27596 (c_global_trees): New array.
27597 (c_common_nodes_and_builtins): New function; split off common code
27598 from init_decl_processing in both c-decl.c and cp/decl.c.
27599 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
27600 c_global_trees and accessor macros defined in c-common.h.
27601 Include c-common.h.
27602 * c-decl.c: Delete definitions for tree nodes that were replaced by
27604 (init_decl_processing): Build void_list_node.
27605 Call c_common_nodes_and_builtins; delete code to generate the common
27607 * objc/objc-act.c (build_module_descriptor): Rename variable
27608 void_list_node to avoid clash with c-common.h.
27610 * Makefile.in: Update dependencies.
27611 * objc/Make-lang.in: Likewise.
27613 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
27615 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
27616 (UNIQUE_SECTION_P): Likewise.
27617 (UNIQUE_SECTION): Likewise.
27619 1999-07-19 Linas Vepstas <linas@linas.org>
27621 * config/i370/README: New file.
27622 * config/i370/linux.h: New file.
27623 * config/i370/mvs.h: New file.
27624 * config/i370/oe.h: New file.
27625 * config/i370/t-linux: New file.
27626 * config/i370/t-mvs: New file.
27627 * config/i370/t-oe: New file.
27628 * config/i370/x-oe: New file.
27629 * config/i370/xm-linux.h: New file.
27630 * config/i370/xm-mvs.h: New file.
27631 * config/i370/xm-oe.h: New file.
27633 * i370.c (label_node_t): Add first_ref_page, label_addr,
27634 label_first_ref, label_last_ref members.
27635 (mvs_need_base_reload): Renamed from mvs_label_emitted.
27636 (MAX_MVS_LABEL_SIZE): Define.
27637 (MAX_LONG_LABEL_SIZE): Define.
27638 (alias_node_t, alias_anchor, alias_number): New.
27639 (mvs_function_table): Reorder for EBCDIC.
27640 (ascebc, ebcasc): Unconditionally define.
27641 (i370_branch_dest, i370_branch_length): New functions.
27642 (i370_short_branch, i370_label_scan): New functions.
27643 (mvs_get_label): Renamed from mvs_add_label. Search for
27644 an existing label before creating a new one.
27645 (mvs_add_label): New function.
27646 (mvs_get_label_page): New function.
27647 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
27648 over the entire list.
27649 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
27650 (mvs_check_page) [TARGET_ELF_ABI]: New function.
27651 (mvs_add_alias, mvs_need_alias): New functions.
27652 (mvs_get_alias, mvs_check_alias): New functions.
27653 (handle_pragma): New function.
27654 (mvs_function_check): New function.
27655 (unsigned_jump_follows_p): Search harder.
27656 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
27657 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
27658 * i370.h (TARGET_VERSION): Delete.
27659 (CPP_SPEC, CPP_PREDEFINES): Delete.
27660 (mvs_label_emitted): Delete.
27661 (TARGET_EBCDIC): Delete.
27662 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
27663 (HANDLE_PRAGMA): Define.
27664 (HARD_REGNO_NREGS): Handle complex modes.
27665 (HARD_REGNO_MODE_OK): Likewise.
27666 (CLASS_MAX_NREGS): Likewise.
27667 (RET_REG): Likewise.
27668 (EXTRA_CONSTRAINT): Define.
27669 (RETURN_IN_MEMORY): True for DImode.
27670 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
27671 (FUNCTION_PROFILER): Delete.
27672 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
27673 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
27674 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
27675 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
27676 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
27677 (ASM_FILE_START): Add "RMODE ANY".
27678 (ASM_OUTPUT_EXTERNAL): Check for aliases.
27679 (ASM_GLOBALIZE_LABEL): Likewise.
27680 (ASM_OUTPUT_LABELREF): Likewise.
27681 (ASM_OUTPUT_COMMON): Likewise.
27682 (PRINT_OPERAND): Handle 'K', 'W', default.
27683 (PRINT_OPERAND_ADDRESS): New.
27684 (Lots of defines): Add support for TARGET_ELF_ABI.
27685 * i370.md (attr length): New. Define for all patterns.
27686 (*): Lots of tweeks to assembly output and constraints.
27688 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
27690 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
27691 Disable patterns performing SImode comparisons with SImode values
27692 if TARGET_POWERPC64 and instruction does not sign-extend or does
27693 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
27694 differ for signed quantities.
27695 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
27696 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
27697 (decrement_and_branch_on_count): Add 64-bit variant.
27699 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27701 * final.c (output_asm_insn): When searching for the matching string
27702 for a given dialect, don't run past the end of the list of
27703 alternatives if there are fewer alternatives in the template than
27706 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
27708 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
27709 Removed paragraph about compression of files and size limitation,
27710 duplicated in the FAQ. Use gcc-patches for posting patches.
27711 * gcc.c (main): Updated URL with bug reporting instructions to
27712 gcc.gnu.org. Removed e-mail address.
27713 * system.h (abort): Likewise.
27715 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27717 * Makefile.in (stmp-multilib-sub): Make the files extracted
27718 from $(LIBGCC1) writable.
27720 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
27722 * config/arm/aout.h: Reformat for improved readability.
27724 * config/arm/arm.h: Reformat for improved readability.
27725 Replace uses of fprintf with asm_fprintf where appropriate.
27726 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
27727 function declaration assembler actions.
27728 (NUM_INTS): New macro: Convert from bytes to words.
27729 (NUM_REGS): New macro: Compute number of registers required to
27730 hold a quanitity of tyep MODE.
27731 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
27733 (NUM_ARG_REGS): New macro: The number of argument registers
27735 (ARG_REGISTER): New macro: Compute the register number of the Nth
27737 (LAST_ARG_REGNUM): New macro: The number of the last argument
27739 (SP_REGNUM): New macro: Register number of the stack pointer.
27740 (FP_REGNUM): New macro: Register number of the frame pointer.
27741 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
27742 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
27743 CUMULATIVE_ARGS so that it counts registers not bytes.
27745 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
27747 Replace uses of fprintf with asm_fprintf where appropriate.
27748 (output_ascii_pseudo_op): Replace with version from thumb.c
27750 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
27752 * config/arm/elf.h (CPP_PREDEFINES): Replace with
27753 SUBTARGET_CPP_SPEC.
27754 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
27755 (ASM_FILE_START): Emit ASM_APP_OFF.
27757 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
27759 * pa.c (compute_frame_size): Round frame according to
27760 STACK_BOUNDARY rather than a hardwired value.
27762 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
27764 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
27766 * configure: Rebuilt.
27768 * configure.in (hppa*-*-linux*): New configuration.
27769 * configure: Rebuilt.
27770 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
27771 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
27772 * pa/pa-linux.h: New file.
27773 * pa/t-linux: New file.
27774 * pa/xm-linux.h: New file.
27776 * pa.c (hppa_legitimize_address): Change references from SImode to
27777 either Pmode or word_mode as appropriate.
27778 (emit_move_sequence, store_reg, load_reg): Likewise.
27779 (set_reg_plus_d, hppa_expand_prologue): Likewise.
27780 (output_mul_insn): Likewise.
27781 * pa.h (PROMOTE_MODE): Likewise.
27782 (INITIALZE_TRAMPOLINE): Likewise.
27783 (Pmode): Define to word_mode.
27785 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
27786 value of 4. Allocate 8 bytes for each FP register save.
27787 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
27789 (hppa_expand_prologue): Likewise.
27790 * pa.h (PROMOTE_MODE): Likewise.
27791 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
27792 (FUNCTION_ARG_BOUNDARY): Likewise.
27794 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
27796 * pa.c (out_of_line_prologue_epilogue): Delete.
27797 (override_options): Remove -mspace related code.
27798 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
27799 (compute_frame_size): Only allocate space for register that
27800 actually need to be saved.
27801 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
27802 (TARGET_SWITCHES): Remove -mspace, -mno-space
27803 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
27804 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
27805 * pa/ee.asm, pa/ee_fp.asm: Delete.
27807 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
27809 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
27810 directive in column zero.
27812 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
27814 * m68k.c (output_function_prologue): Fix computation of save mask
27815 when generating PIC code.
27817 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
27819 * tree.c (build_type_attribute_variant): Move current_obstack restore
27820 after build_qualified_type call.
27822 1999-07-15 Mark Mitchell <mark@codesourcery.com>
27824 * configure.in: Use t-iris6, even with GNU LD.
27825 * config/mips/iris6gld.h: Fix typo in linker spec.
27826 * config/mips/t-iris6gld: Remove.
27828 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
27830 * rs6000.md (insv, extzv): Remove SImode dependence in named
27831 patterns. Explicitly generate DImode RTL if PowerPC64 and
27833 (insvdi): Reverse start and size in instruction template.
27835 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
27837 * invoke.texi: Typo fixes.
27839 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
27841 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
27842 handle at this time instead of silently generating incorrect code.
27843 (gen_imagpart): Likewise.
27845 * reload.c (find_reloads): Emit a USE for a pseudo register without
27846 a hard register if we could not create an optional reload for the
27849 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27851 * c-typeck.c (output_init_element, process_init_element):
27852 When advancing constructor_unfilled_fields for a RECORD_TYPE,
27853 check for nameless bit fields.
27855 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
27857 * regclass.c (scan_one_insn): Notice subregs that change the
27858 size of their operand.
27859 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
27861 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
27863 * configure.in (alpha*-*-*): Include alpha/t-ieee.
27864 * configure: Rebuilt.
27865 * alpha/t-ieee: New file.
27867 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
27869 * rs6000.c (find_addr_reg): Do not select r0 as an address
27872 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
27874 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
27876 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
27878 * rs6000.md (movsf): Do not force easy FP constants into memory.
27880 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
27881 immed_double_const to ensure they are properly truncated then
27884 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27886 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
27887 always unless NO_DEBUG is used. Compile this code
27889 (replace_symbols_in_block): Compile it unconditionally.
27891 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
27893 * configure.in (i?86-*-elf*): New target.
27894 * configure: Rebuilt.
27895 * i386/i386elf.h, i386/t-i386elf: New files.
27897 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
27899 * toplev.c (main): Don't complain about saying -gdwarf.
27900 (rest_of_compilation): Remove redundant code.
27902 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
27904 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27906 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
27908 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27909 "Li960R:", to avoid name clash.
27911 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27913 * loop.c (check_dbra_loop): When reversing a loop, delete all
27914 REG_EQUAL notes referencing the reversed biv except those which are
27915 for a giv based on it.
27917 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
27919 * version.c: Drop "gcc-" prefix from version #.
27921 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
27923 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27924 the label if we're being verbose.
27926 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
27928 * m68k.c (output_function_prologue): Add pic register to mask
27929 if live and flag_pic.
27930 (output_function_epilogue): Likewise.
27932 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
27934 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
27935 directives in column zero.
27937 * pa/elf.h (ASM_FILE_START): Define.
27938 * pa/som.h (ASM_FILE_START): Include .level directives.
27939 * pa/hpux10.h (ASM_FILE_START): Delete.
27940 * pa/hpux11.h (ASM_FILE_START): Delete.
27942 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
27944 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27946 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
27947 when reload_out equals reload_in.
27949 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
27951 * invoke.texi (Spec Files): New node: Describe the contents of
27954 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
27956 * invoke.texi (DEC Alpha Options): Put @end table at
27957 beginning of line, to avoid confusing texi2html.
27959 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
27961 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
27962 introduced in previous delta.
27964 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27966 * reload1.c (gen_reload): When synthesizing a 3 operand add
27967 sequence, improve test for when to reload OP1 into the reload
27968 register instead of OP0.
27970 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
27972 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
27974 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
27976 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
27979 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
27981 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
27982 (va_dcl): Use __builtin_va_alist_t.
27984 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
27986 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
27987 on the permanent_obstack.
27988 * dwarfout.c (output_type): Likewise.
27990 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
27992 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27993 Merged from c-typeck.c and cp/typeck.c.
27994 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27995 Merged into c-common.
27997 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
27999 * c-lex.c (errorcount): Declare it.
28000 (finish_parse): Update errorcount when using CPPLIB.
28002 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
28004 * fixinc/inclhack.def(end_else_label): Double the backslash so
28005 sed gets a chance to see it.
28006 * fixinc/inclhack.sh: regen
28007 * fixinc/fixincl.x: regen
28009 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
28011 Add framework to support armv5 architecture when it becomes
28014 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
28015 (arm_arch5): New variable.
28016 (all_architectures): Add armv5 line.
28017 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
28018 -march=armv5 is specified on the command line.
28019 (arm_arch5): Export this variable.
28020 * invoke.texi: Document new string accepted by -march= switch for
28023 * config/arm/arm.h: Replace use of constant 12 as a register
28024 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
28025 * config/arm/arm.c: Replace use of constant 12 as a register
28026 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
28028 * config/arm/elf.h: Tidy up.
28029 * config/arm/coff.h: Tidy up.
28031 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
28033 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
28034 * gcc/config/mips/t-iris6gld: New file.
28035 * gcc/config/mips/iris6gld.h: Likewise.
28037 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
28039 * c-decl.c (widest_integer_literal_type_node,
28040 widest_unsigned_literal_type) : New.
28041 (init_decl_processing): Handle/use the two new types.
28042 * c-common.c (type_for_size,type_for_mode) : Same.
28043 * c-lex.c (yylex) : Same.
28044 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
28046 * c-tree.h (widest_integer_literal_type_node,
28047 widest_unsigned_literal_type) : New.
28049 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
28051 * dwarfout.c (field_byte_offset): Correctly compute the object's
28052 byte offset for the first bit of a field which crosses an alignment
28053 boundary on a !BYTES_BIG_ENDIAN target.
28055 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
28057 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
28060 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
28061 Jeff Law <law@cygnus.com>
28063 * ginclude/varargs.h (va_dcl): Use word_mode for type of
28066 * except.c: Include intl.h.
28067 (expand_eh_return): Set current_function_cannot_inline.
28068 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
28069 * function.h (struct function): Add eh_return_stub_label.
28070 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
28071 * Makefile.in (except.o): Depend on intl.h.
28073 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
28075 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
28076 same as offsettable in cases 1 and 2.
28078 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
28080 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
28081 (extlh, extwh): Likewise.
28083 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
28085 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
28087 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
28089 * configure.in: Add arm-pe and thumb-pe targets.
28090 * configure: Regenerate.
28092 * thumb.c (arm_naked_function_p): New function: Determines if
28093 a function is naked (has no gcc generated prologue/epilogue).
28094 (is_called_in_ARM_mode): Return true if the func has the
28095 interfacearm attribute.
28096 (output_return): Do not generate a return for naked functions.
28097 (thumb_function_prologue): Do not generate a prologue for
28099 (thumb_expand_prologue): Do not generate a prologue for naked
28101 (thumb_expand_epilogue): Do not generate an epilogue for naked
28103 (arm_valid_machine_decl_attribute): New function, copied from
28104 arm.c: Permit naked and interfacearm attributes.
28106 * config/arm/pe.c: New file: Support code for arm-pe target.
28107 * config/arm/pe.h: New file: Header file for arm-pe target.
28108 * config/arm/tpe.h: New file: Header file for thumb-pe target.
28109 * config/arm/t-thumb-pe: New file: Makefile fragment for
28112 1999-07-01 Mark Kettenis <kettenis@gnu.org>
28114 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
28115 -fPIC or -fpic is specified.
28117 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
28119 * expr.c (emit_block_move): Use copy_to_mode_reg for
28120 !TARGET_MEM_FUNCTIONS case too.
28122 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
28124 * configure: Rebuilt.
28125 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
28126 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
28127 definitions made redundant by dbxelf.h inclusion. Delete
28128 lots of definitions related to assembly output that are
28129 specific to the SOM object format.
28130 * pa.c (output_function_prologue): Do not emit the function's
28132 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
28133 * pa-pro.h: Deleted.
28134 * som.h: New file with SOM specific definitions.
28135 * elf.h: New file with ELF specific definitions.
28137 * elfos.h (const_section): Output a tab before assembler directives.
28138 (ctors_section, dtors_section): Likewise.
28139 (ASM_OUTPUT_SECTION_NAME): Likewise.
28141 * pa/pa1.h: Delete unused file.
28143 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
28145 * configure.in (hppa*-hp-hpux11*): New configuration.
28146 * configure: Rebuilt.
28147 * pa/pa-hpux11.h: New file.
28148 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
28151 * mips.md (leasi, leadi): New patterns.
28153 * expr.c (emit_block_move): Properly handle case where one of the
28154 block move arguments has a queued increment or decrement.
28155 (clear_storage): Similarly. Fix formatting goof.
28157 1999-06-28 "David O'Brien" <obrien@NUXI.com>
28159 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
28160 semicolon from the BSD VA_LIST replacement expression.
28162 * fixinc/inclhack.sh: regen
28163 * fixinc/fixincl.x: regen
28165 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
28166 now use the fixincl program.
28168 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
28170 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
28171 case. Also make the PIC register call_used.
28173 * m68k.h (FINALIZE_PIC): Delete.
28174 * m68k.c (finalize_pic): Delete.
28176 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
28178 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
28181 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
28183 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
28185 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
28187 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
28189 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
28191 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
28193 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
28195 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
28197 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
28199 * rs6000.c (output_toc): Always use hex values for floating-point
28200 constants. Store single-precision values in upper-half of TOC
28201 entry in 64-bit mode.
28202 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
28203 to final constraints.
28204 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
28205 (fctiwz): Improve accuracy of RTL for pattern.
28207 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
28209 * expr.c (expand_expr): Allow RTL_EXPR's through the
28210 MAX_INTEGER_COMPUTATION_MODE checks.
28212 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
28214 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
28215 such that MASK_SUPPORT_ARCH is not negative.
28217 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
28219 * loop.c (verify_dominator): Properly handle ADDR_VEC and
28220 ADDR_DIFF_VEC insns that appear inside loops.
28222 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
28223 Jeff Law <law@cygnus.com>
28225 * rs6000.md (movdf_hardfloat32): Revert previous patch.
28226 Handle LO_SUM the same as offsettable in cases 1 and 2.
28227 * rs6000.c (find_addr_reg): Revert previous patch.
28229 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
28231 * system.h (strstr): New external function declaration.
28232 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
28233 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
28234 * config.in, configure: Rebuilt.
28236 1999-06-24 Tom Tromey <tromey@cygnus.com>
28238 * gcc.c (main): Read user-specified specs files after computing
28239 additional startfile_prefixes.
28241 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
28243 Revert these two patches:
28245 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28246 * loop.c (strength_reduce): When doing biv->giv conversion, update
28247 reg note of NEXT->insn.
28249 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28250 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28252 (recombine_givs): Set ix field after sorting.
28254 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28256 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
28257 for the parts of an UNSPEC / UNSPEC_VOLATILE.
28259 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
28261 *fixinc/inclhack.def: Add fix development commentary
28262 (read_ret_type): reactivate and add selection clause
28263 (zzz_*): tweak output file name to match what is used in hackshell.tpl
28264 *fixinc/{fixincl.x|inclhack.sh}: regen
28266 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
28268 * expr.c (expand_expr): STRIP_NOPS before checking against
28269 MAX_INTEGER_COMPUTATION_MODE
28270 (check_max_integer_computation_mode): Likewise.
28272 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
28274 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
28276 1999-06-22 Jim Wilson <wilson@cygnus.com>
28278 * expr.c (store_expr): When target is a promoted subreg, return a
28279 promoted subreg as a result.
28281 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
28283 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
28285 (dwarf2out_define): Mark unused parameters appropriately.
28286 (gen_unspecified_parameters_die): Ditto.
28287 (gen_subprogram_die): Fix signed/unsigned warnings.
28288 (gen_variable_die): Ditto.
28290 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
28292 * fixinc/inclhack.def(end_else_label): combined else_label
28293 and endif_label and fixed the sed expression.
28294 *fixinc/{fixincl.x|inclhack.sh}: regen
28296 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
28298 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
28299 'x' when handling non-offsettable addresses
28301 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
28303 * final.c (shorten_branches): Don't try to split an insn that has
28306 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
28308 * config/mips/mips.c (symbolic_expression_p): New function.
28309 (mips_select_rtx_section): Put symbolic expressions in the
28310 data section, not the read-only data section.
28312 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
28314 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
28316 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
28318 * collect2.c (main): Log frame table count.
28319 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
28320 (scan_prog_file) [COFF]: Handle frame tables.
28322 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
28323 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
28324 * alpha/elf.h: Undef them again.
28325 * alpha/vms.h: Remove their definitions.
28327 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28329 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
28330 remove the clobber of r0 and change the REG_UNUSED note to
28333 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
28335 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
28336 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
28337 fits in HOST_WIDE_INT and one uses union to access a long constant
28340 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
28342 * sparc.c (sparc_override_options): Don't allow profiling for
28343 code models other than medlow.
28344 (sparc_function_profiler): New function from old FUNCTION_PROFILER
28345 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
28346 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
28347 (sparc_block_profiler): Likewise.
28348 (sparc_function_block_profiler_exit): Likewise.
28349 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
28350 (FUNCTION_BLOCK_PROFILER): Likewise.
28351 (BLOCK_PROFILER): Likewise.
28352 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
28353 (MCOUNT_FUNCTION): New.
28354 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
28355 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
28356 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
28357 (MCOUNT_FUNCTION): New.
28358 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
28359 (BLOCK_PROFILER): Delete.
28360 (MCOUNT_FUNCTION): New.
28362 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
28364 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
28366 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
28368 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28371 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28374 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28377 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28380 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
28382 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
28385 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
28387 * i386/djgpp.h (LIB_SPEC): New.
28388 (STARTFILE_SPEC): New.
28390 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
28392 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
28394 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
28397 * system.h (WSTOPSIG): New macro.
28399 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
28401 * c-pragma.c (push_alignment): Don't ignore alignments greater than
28403 (insert_pack_attributes): Take into account member natural
28406 * i386/winnt.c (exports_head): New static variable.
28407 (i386_pe_record_exported_symbol): New function.
28408 (i386_pe_asm_file_end): Use.
28409 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
28410 symbols to be emitted at end of assembly.
28411 (ASM_DECLARE_OBJECT_NAME): Likewise.
28412 (ASM_DECLARE_FUNCTION_NAME): Likewise.
28414 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
28417 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
28419 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
28422 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
28424 * haifa-sched.c (sched_analyze_1): Use free_list instead of
28425 zapping reg_last_uses directly.
28426 (sched_analyze_2, sched_analyze_insn): Likewise.
28427 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
28429 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
28431 * rs6000.md (movdf_hardfloat32): Use worst case insn length
28432 attributes for cases 1 and 2.
28434 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
28436 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
28439 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
28441 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
28443 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
28445 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
28446 PIC_OFFSET_TABLE_REGNUM for general alloaction.
28447 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
28448 must be stacked if it is used for PIC accesses.
28449 * arm.c (use_return_insn): Handle PIC register specially.
28450 (output_return_instruction): Likewise.
28451 (output_func_{prologue,epilogue}): Likewise.
28452 (output_expand_prologue): Likewise.
28454 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
28455 (*strsi_predec): Renamed from *strqi_predec.
28456 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
28457 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
28459 * arm.c (arm_override_options): Remove warning about PIC code
28460 not being supported.
28462 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
28464 * rs6000.c (find_addr_reg): New function.
28465 * rs6000.h (find_addr_reg): Declare.
28466 (offsettable_addr_operand): Delete.
28467 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
28468 from and stores to GPRs.
28470 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
28472 * alpha.c (alpha_expand_block_move): Use get_insns rather than
28473 gen_sequence as argument to emit_no_conflict_block.
28475 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28477 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
28478 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
28479 *fixinc/fixincl.x: regen
28480 *fixinc/inclhack.sh: regen
28482 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
28484 * added support for -mpcrel (PC relative addressing for m68k)
28485 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
28486 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
28487 * m68k.c (print_operand_address): Handle 32-bit PIC case.
28488 (comments for general_src_operand): Add some explanation
28489 about EXTRA_CONSTRAINTS.
28490 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
28491 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
28492 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
28493 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
28494 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
28495 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
28496 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
28497 if not already set.
28498 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
28499 * m68k.h (TARGET_PCREL): New target flag.
28500 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
28501 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
28502 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
28503 contains a SYMBOL_REF. Relax this constraint during reload, since
28504 we want to use the predicates, not reload's built-in concept of a
28505 valid memory address, to control what insns need reloading.
28506 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
28507 operands (essentially 'g', 'm', and 's' under normal circumstances).
28508 * m68k.c (print_operand): Cause printing of pc-relative addresses
28509 to include pc register.
28510 (print_operand_address): Ditto.
28511 (general_src_operand): Accept operands that are not only
28512 general_operands, but are also valid when used as a pc-relative
28514 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
28515 (memory_src_operand): Similar, for memory_operands.
28516 (pcrel_address): New predicate to accept the special case of a
28517 pc-relative address.
28518 * m68k.md (many patterns): Rewrite common SImode, HImode, and
28519 QImode insns to accept *_src_operand instead of *_operand where
28520 pc-relative operands can fit. For example, a pc-relative operand
28521 can be used as a memory source operand for addsi3, but not as a
28522 memory destination.
28523 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
28525 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
28527 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
28528 .thumb_set pseudo op to mark aliases of thumb functions.
28530 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
28532 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
28533 preference to ASM_OUTPUT_DEF, if it is defined.
28535 * tm.texi: Document new, optional target macro
28536 ASM_OUTPUT_DEF_FROM_DECLS.
28538 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28540 * fixincludes: ISCNTL patch
28541 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
28542 (dgux_int_varargs): new for DG/UX
28543 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
28545 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
28547 * invoke.texi (ia32 options): Fix typo.
28549 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28551 * loop.c (strength_reduce): When doing biv->giv conversion, update
28552 reg note of NEXT->insn.
28554 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
28556 * loop.c (move_movables): Note issues with replacing REGs with
28558 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
28560 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
28562 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
28564 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
28565 the reference to `mcount' was not correct for the ELF on FreeBSD.
28567 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28569 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28572 (recombine_givs): Set ix field after sorting.
28574 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
28576 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
28577 to safe to extract a subword out of a REG.
28579 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28581 * sh.md (mulsi3): Don't add a no-op move at the end.
28583 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28585 * cse.c (cse_insn): Don't put hard register source into tables for
28586 the last insn of a libcall.
28588 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28590 * loop.c (strength_reduce): Insert sets of derived givs at every
28591 biv increment, even if it's the only one.
28593 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
28595 * dwarfout.c (add_incomplete_type): New fn.
28596 (output_type): Call it.
28597 (retry_incomplete_types): New fn.
28598 (dwarfout_finish): Call it.
28600 From Eric Raskin <ehr@listworks.com>:
28601 (output_type): Output types for bases.
28603 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
28605 * mips.c (mips_output_conditional_branch): Add `break'
28606 between `default' label and `close braces'.
28608 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
28610 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
28611 specifications and make it realistic.
28612 (LIB_SPEC): Likewise.
28614 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
28616 * config/mips/mips.c (mips_secondary_reload_class): Check for
28617 (PLUS (SP) (REG)) and return appropriate register class.
28618 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
28619 Handle (PLUS (SP) (REG)).
28620 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
28621 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
28622 of emit_insn for tablejump.
28624 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
28626 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
28627 asm_fprintf format string by itself.
28628 (output_function_profiler): Likewise.
28630 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
28632 * combine.c (simplify_logical, case AND): Only call
28633 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
28634 or the constant is positive.
28636 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
28638 * configure.in: Fix typo in rs6000-ibm-aix4 case.
28639 * configure: Regenerate.
28641 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
28643 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
28644 require a sub-version #.
28645 * configure: Rebuilt.
28647 1999-06-14 Robert Lipe (robertlipe@usa.net)
28649 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
28651 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
28653 * c-typeck.c (process_init_element): Detect excess elements in
28654 char array initializer.
28656 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
28658 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
28660 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28662 * invoke.texi (Option Summary): Add -fpermissive flag.
28664 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
28666 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
28667 that require PIC code sequences.
28669 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
28671 * configure.in: Add new target: thumb-elf.
28672 * configure: Regenerate.
28673 * config/arm/t-thumb-elf: New file: Makefile fragment for
28675 * config/arm/telf.h: New file: Header file for thumb-elf
28678 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
28680 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
28681 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
28682 initializers is some circumstances.
28684 * fixinc/inclhack.def (endif_label): Add additional selector for
28685 more bogus stuff after #endif statements.
28686 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
28688 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
28690 * i386/cygwin.h (SET_ASM_OP): Define.
28692 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
28694 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
28696 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28698 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
28701 * sh.md (ic_invalidate_line_i): Remove second alternative.
28703 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28705 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
28706 test for the presence of valid prototypes. Delete bypass expr.
28707 (ioctl_fix_ctrl): Correct the selection expression.
28708 (no_double_slash): Correct quoting rules
28709 *fixinc/fixincl.x: regen
28710 *fixinc/inclhack.sh: regen
28712 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
28714 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
28716 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28718 * rs6000.md (movsi_got_internal_mem): Delete.
28719 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
28720 (GOT_TOC_REGNUM): Delete.
28721 (PIC_OFFSET_TABLE_REGNUM): Define.
28722 (FINALIZE_PIC): Disable.
28723 * rs6000.c (rs6000_got_register): New code for fixed pic register.
28724 (rs6000_replace_regno): Delete.
28725 (rs6000_finalize_pic): Likewise.
28726 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
28728 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28730 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
28731 is a note; use <= for the compare; advance P while it is
28734 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
28736 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
28737 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
28739 * varasm.c (remove_from_pending_weak_list): Verify t->name
28740 is non-NULL before passing it to strcmp.
28742 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28744 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
28745 the typed arguments are not part of a comment
28746 (ioctl_fix_ctrl): Added a purpose comment
28747 *fixinc/fixincl.x: regenerate
28748 *fixinc/inclhack.sh: regenerate
28750 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28752 * invoke.texi: Add C4x invocation docs.
28754 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28756 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
28758 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
28760 (c4x_legitimize_reload_address): New function.
28761 * config/c4x/c4x.md: Update docs.
28763 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
28765 * fixincludes: Avoid removing '.'.
28766 * fixinc/fixinc.svr4: Likewise.
28767 * fixinc/fixinc.winnt: Likewise.
28768 * fixinc/inclhack.tpl: Likewise.
28769 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
28771 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28773 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
28775 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
28777 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
28779 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
28782 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
28784 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
28785 * configure: Regenerate.
28787 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
28789 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
28792 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
28794 * fixinc/inclhack.def (avoid_bool): Also catch
28795 "typedef [unsigned] int bool".
28796 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28798 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
28799 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
28800 * configure: Rebuilt.
28802 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
28804 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
28805 such that we can override its definitions if necessary.
28806 (CPP_SPEC): New define. Support processor specific predefines via
28808 (CC1_SPEC): New define. Support processor specific compiler
28809 options via %(cc1_cpu).
28810 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
28813 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28815 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
28816 between sed's -e flag, and the open-quote following it.
28817 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28819 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
28820 Jeffrey A Law (law@cygnus.com)
28822 * varasm.c (assemble_start_function): Remove the function
28823 from the pending weak decls list when we define a function.
28824 (assemble_variable): Similarly for variables.
28825 (weak_finish): Ignore items on the list with a NULL name.
28826 (remove_from_ending_weak_list); New function to "remove" an item
28827 from the pending weak declarations list.
28829 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28831 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
28833 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
28835 * c-lex.c (GETC): Redefine to call getch.
28836 (UNGETC): Redefine to call put_back.
28837 (putback_buffer): New structure type.
28838 (putback): New static structure.
28839 (getch): New function.
28840 (put_back): New function.
28841 (yylex): Replace unused bytes from bad multibyte character.
28843 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
28845 * cpplib.c (do_define): Cast `alloca' return value.
28846 (do_include, do_undef, do_pragma): Likewise.
28847 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
28849 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
28850 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
28852 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
28854 * sparc.md (abstf2): This should be an expand.
28855 (split after abstf2_notv9): Fix mode.
28856 (abstf2_hq_v9): New pattern.
28857 (abstf2_v9): Only use when no hard quad.
28858 (absdf2_v9): Fix if target is not the same as source.
28859 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
28860 Add correct output constraints.
28862 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
28864 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
28865 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
28867 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
28869 * mips.h (mips_output_conditional_branch): New function.
28870 (mips_adjust_insn_length): Likewise.
28871 (ASSEMBLER_SCRATCH_REGNUM): New macro.
28872 (ADJUST_INSN_LENGTH): Likewise.
28873 * mips.c (print_operand): Add `F' and `W' for floating-point
28874 comparison opcodes.
28875 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
28877 (mips_adjust_insn_length): New function.
28878 (mips_output_conditional_branch): New function.
28879 * mips.md (length): Adjust attribute definition to handle
28880 conditional branches. Change lengths to bytes, rather than
28881 instructions throughout. Remove length attribute from
28882 instructions whose length is four bytes, and rely on the default
28884 (dslot): Fix typo in comment.
28885 Reword conditional branch patterns to use
28886 mips_output_conditional_branch.
28888 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28890 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
28891 (LIB_SPEC): Likewise.
28892 Link with -lprof1_r for -g/-pg.
28894 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28896 * loop.c (check_dbra_loop): Fix change of Jan 19.
28898 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
28900 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
28901 (STARTFILE_SPEC): Define, override the svr4.h version.
28902 (ENDFILE_SPEC): Likewise.
28904 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
28906 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28907 * fixinc/fixincl.x: Regenerated.
28908 * fixinc/inclhack.sh: Regenerated.
28910 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28912 * sh.c (barrier_align): Don't return early for normal branch/barrier
28913 when optimizing for SH2.
28915 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
28917 * i386/udk.h (LINK_SPEC): Correct linker search path for
28920 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28922 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28923 (braf_label_ref_operand): Delete.
28924 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28925 * sh.md (casesi_jump_2): Operand1 is now the inside of a
28926 label_ref, and has no predicate.
28927 The patten has a predicate to guard against invalid substitutions.
28928 (dummy_jump): Delete.
28929 (casesi): Update use of casesi_jump_2.
28931 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28933 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
28934 *fixinc/fixincl.x: regenerate
28935 *fixinc/inclhack.sh: regenerate
28937 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
28939 * dwarf2out.c (add_incomplete_type): New fn.
28940 (gen_struct_or_union_type_die): Call it.
28941 (retry_incomplete_types): New fn.
28942 (dwarf2out_finish): Call it.
28944 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
28946 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
28947 current block starts with a CODE_LABEL and ends with a CALL and
28948 we can not find all the argument setup instructions for the CALL.
28950 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
28952 Revert this change:
28953 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28954 something is a candidate for optimize_bit_field_compare.
28956 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28958 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
28960 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
28962 * alpha.c (override_options): Thinko in last patch.
28964 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
28965 (LIB_SPEC): Recognize -pthread.
28967 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
28969 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
28970 definition in config/arm/coff.h
28971 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
28973 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28975 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
28976 fixes that need "file=xxx\n" prepended before invocation
28977 (start_fixer - new): starting the fixer process is complex enough
28978 to warrent its own routine. It prepends the "file=xxx\n" stuff.
28979 (process): uses the new routine; omit usage of putenv()
28980 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
28981 * fixinc/fixincl.x: regenerate
28983 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
28985 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
28986 and version #s (1.1 -> 2.96) as needed.
28987 * README.g77: Kill way out of date file in the toplevel directory.
28989 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
28991 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
28992 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
28993 * configure: Rebuilt.
28994 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
28995 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
28996 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
28997 (SWITCH_TAKES_ARG): Likewise.
28998 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
28999 * config/t-freebsd: Moved from config/i386/ so it can used for all
29002 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
29004 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
29006 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
29008 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
29009 * configure: Rebuilt.
29011 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
29013 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
29014 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
29015 * rs6000/rs6000.c (rs6000_file_start): Use putc.
29016 (rs6000_output_load_toc_table): Same.
29017 (output_prolog, output_mi_thunk): Same.
29018 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
29019 (ASM_GLOBALIZE_LABEL): Use putc.
29021 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
29023 * alpha.md (reload_*_help): New patterns and splitters.
29024 (reload_*): Use them.
29025 (mov[qh]i): Likewise.
29027 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
29029 * cccp.c (handle_directive): Handle backslash-newlines in quoted
29032 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
29034 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
29036 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
29038 * flow.c (mark_regs_live_at_end, insn_dead_p,
29039 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
29040 and HARD_FRAME_POINTER_REGNUM special treatment if reload
29041 hasn't run or the frame pointer is needed.
29042 * haifa-sched.c (attach_deaths): Likewise.
29043 * sched.c (attach_deaths): Likewise.
29045 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
29047 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
29048 calculate_can_reach_end returns nonzero.
29050 * configure.in (native gas tests): Search for an assembler in the
29051 same manner that the installed compiler will.
29052 * configure: Rebuilt.
29053 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
29055 * alias.c (find_base_term): Improve handling of addresses
29056 constructed from binary operations.
29058 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
29060 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
29062 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
29064 * function.h (cleanup_label, frame_offset): Declare.
29065 (tail_recursion_label, tail_recursion_reentry): Likewise.
29066 (arg_pointer_save_area, rtl_expr_chain): Likewise.
29067 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
29068 (tail_recursion_label, tail_recursion_reentry): Likewise.
29069 (arg_pointer_save_area, rtl_expr_chain): Likewise.
29071 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
29073 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
29075 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
29076 (MAX_OFILE_ALIGNMENT): Define.
29078 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
29080 * fixincl.c: Replace local include scheme with #includes of
29081 gansidecl.h and system.h.
29082 * procopen.c: Likewise.
29083 * server.c: Likewise.
29085 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
29087 * i386/t-dgux (EXTRA_PARTS): Add crti.o
29088 (crti.o): Add build rule and dependencies.
29089 * fixinc/fixinc.dgux: Use modified _int_varargs.h
29091 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
29093 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
29094 (LIB_LINUX_SPEC): Likewise.
29095 (LIB_LINUX_SPEC): Add support for -pthread
29096 (CPP_OS_LINUX_SPEC): Likewise.
29097 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
29100 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
29102 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
29104 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
29105 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
29106 for IEEE math and CC_FCOMI.
29107 (put_jump_code): No IEEE if CC_FCOMI is set.
29109 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
29111 * fold-const.c (fold_truthop): Make the field reference unsigned
29112 when converting a single bit compare.
29114 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29116 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
29118 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
29120 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
29121 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
29124 * reload.c (push_reload): Do not call remove_address_replacements
29125 when presented with identical optional reloads.
29127 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
29129 * alpha.h (MASK_FIX, TARGET_FIX): New.
29130 (MASK_*): Reorganize constants.
29131 (CPP_AM_FIX_SPEC): New.
29132 (TARGET_SWITCHES): Add FIX.
29133 (EXTRA_SPECS): Likewise.
29134 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
29135 (SECONDARY_MEMORY_NEEDED): Likewise.
29136 (REGISTER_MOVE_COST): Likewise.
29137 * alpha.c (override_options): Add FIX support. Always use
29138 ALPHA_TP_PROG for ev6.
29139 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
29140 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
29141 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
29143 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
29145 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
29146 something is a candidate for optimize_bit_field_compare.
29148 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
29150 * gcc.texi (Passes): Document branch-shortening.
29151 * invoke.texi (Debugging Options): Document the fact that `-dp'
29152 outputs length information for instructions.
29154 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
29156 * flow.c: Revert previous delta.
29158 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
29160 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
29161 FRAME_POINTER_REGNUM.
29162 (mark_set_1): Ditto.
29163 (mark_used_regs): Ditto.
29165 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
29167 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
29168 (GOT_PCREL): New macro. Define to 1 if not already defined.
29169 * arm/elf.h (GOT_PCREL): Define to 0.
29170 * arm.c (arm_finalize_pic): Take into account the setting of
29173 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
29175 * output.h (STRIP_NAME_ENCODING): Provide default definition.
29176 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
29178 * flow.c (mark_set_1): Do not record BLKmode stores as dead
29179 store elimination candidates.
29181 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
29183 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
29186 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
29188 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
29189 Add use of x-aix41-gld.
29191 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
29193 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
29194 (ASM_OUTPUT_DESTRUCTOR): Define.
29196 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
29198 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
29199 last CODE_LABEL in a loop if we have previously passed a jump
29200 to the top of the loop.
29202 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
29204 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
29205 applying Philip's patch.
29207 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
29209 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
29212 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
29214 * loop.c (strength_reduce): Grow reg_single_usage as needed.
29216 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
29218 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
29219 Also remove a useless comment.
29221 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
29223 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
29225 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
29227 * collect2.c (main): Only generate import or export file and add
29228 to link arguments if non-empty. Use xmalloc not alloca.
29229 (write_{export,import}_file): Delete.
29230 (write_aix_file): New function.
29231 (locatelib): Use xmalloc not malloc.
29232 (GCC_OK_SYMBOL): Do not check type if aix64.
29234 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
29236 Based on patch by Scott Bambrough and Pat Beirne:
29237 * config/arm/arm.c (making_const_table): New variable.
29238 * config/arm/arm.h (making_const_table): Declare.
29239 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
29241 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
29242 Keep track of when we are building the constant table.
29244 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
29246 * config/arm/arm.c (arm_override_options): Fix erroneous warning
29249 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
29251 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
29254 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
29256 * tm.texi (FUNCTION_ARG): Correct description of a stack element
29259 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
29261 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
29263 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
29265 * rs6000.c (output_mi_thunk): Enable full support again.
29267 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29269 * sh.h (BRANCH_COST): Define.
29271 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
29273 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
29275 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
29277 * function.c (assign_stack_local): Align stack slot propertly.
29278 (assign_outer_stack_local): Likewise.
29280 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
29282 * expr.h (lang_expand_constant): Declare.
29283 * toplev.c (lang_expand_constant): Define it.
29284 * varasm.c (output_constant): Use it.
29286 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29288 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
29289 Change function definitions to K&R style.
29291 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29293 * fixinc/fixincl.c: We must not ignore SIGCLD now.
29295 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
29297 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
29298 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
29299 (several places): omit static initialization
29300 (process): use single fd, since only the read fd is used
29301 * fixinc/gnu-regex.c: define 'const' away, if not supported
29302 * fixinc/procopen.c(several places): omit static initialization
29303 * fixinc/server.c: define 'volitile' away, if not supported
29305 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
29307 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
29308 asm_fprintf and %L to generate the label name.
29309 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
29310 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
29312 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
29314 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
29315 insn for a conditional jump can not be found.
29317 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
29319 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
29320 on variables in specific sections other than .sbss and .sdata.
29322 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
29324 * stmt.c (expand_return): Call start_cleanup_deferral and
29325 end_cleanup_deferral around conditional code.
29327 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29329 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
29330 filename lists. Utilizes new "krstr" AutoGen function.
29331 * fixinc/fixincl.x: Rebuilt.
29333 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
29335 * i386.c (output_float_compare): Avoid GNU-C extensions.
29337 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
29339 * version.c: Bump to distinguish mainline tree from the
29342 See ChangeLog.1 for earlier changes.