1 2000-05-27 Richard Henderson <rth@cygnus.com>
3 * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
5 2000-05-27 Richard Henderson <rth@cygnus.com>
7 * config/alpha/alpha.c (alpha_does_function_need_gp): Test
8 TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
9 (alpha_expand_prologue): Emit prologue_mcount if needed.
10 * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
11 * config/alpha/alpha.md (prologue_mcount): New.
12 * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
13 (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
14 * config/alpha/netbsd.h: Likewise.
16 2000-05-27 Richard Henderson <rth@cygnus.com>
18 * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
19 change to config/elfos.h.
21 2000-05-27 Richard Henderson <rth@cygnus.com>
23 * Makefile.in (resource.o): Depend on except.h.
24 * except.h (output_exception_table_data): Prototype.
25 * genconfig.c (gen_peephole2): Prototype.
26 * genemit.c (main): Include ggc.h.
27 * genoutput.c: Revert parts of last change: include errors.h
29 * recog.c: Include hard-reg-set.h before recog.h.
30 * resource.c: Include except.h.
32 * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
34 (alpha_write_linkage): Protect with BUFSIZ.
35 (alpha_need_linkage): Update prototype.
36 * config/alpha/alpha.c (function_arg): Move VMS code here.
37 (alpha_links_base): Remove.
39 (mark_alpha_links_node, mark_alpha_links): New.
40 (alpha_write_one_linkage): New.
41 (alpha_need_linkage): Use a splay tree. Build the linkage symbol.
42 (alpha_write_linkage): Use splay_tree_foreach.
43 * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
44 to get the linkage symbol.
45 (call_value_vms): Likewise.
46 * config/alpha/elf.h (output_file_directive): Remove decl.
47 (ctors_section, dtors_section): Prototype.
48 (sbss_section, sdata_section): Prototype.
49 * config/alpha/vms.h (FUNCTION_ARG): Remove.
50 (readonly_section, link_section, literals_section): Prototype.
51 (ctors_section, dtors_section): Prototype.
52 (vms_valid_decl_attribute_p): Remove decl.
53 (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
55 2000-05-27 Geoff Keating <geoffk@cygnus.com>
57 * reload.c (get_secondary_mem): Don't widen floating-point modes.
59 * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
60 substituting the REG in a (subreg:X (reg:Y ...)).
62 2000-05-28 Neil Booth <NeilB@earthling.net>
64 * cpplex.c (_cpp_lex_line): Merge vertical space. Flag
65 first token of a line BOL. Update EOF code for this.
66 Remove illegal directive check - it appears in the (not
67 yet committed) caller.
68 * cpplib.h (BOL): New flag.
70 2000-05-28 Neil Booth <NeilB@earthling.net>
72 * cpplex.c (_cpp_init_toklist): No comment space to initialise.
73 (_cpp_free_toklist): No comment space to free.
74 (expand_comment_space): Remove.
75 (save_comment_space): Place the comment in the current token and
76 not in a separate comment space.
77 (_cpp_lex_line): Save comments during plain code and #define
79 * cpplib.h (struct _cpp_toklist): Remove comment space.
81 2000-05-28 Neil Booth <NeilB@earthling.net>
83 * cppexp.c (parse_assertion): Supply extra argument to
85 * cpplib.c (do_assert, do_unassert): Similarly.
86 * cpphash.h (_cpp_init_toklist) Update.
87 (_cpp_expand_token_space): New.
88 (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
89 * cpplex.c (_cpp_init_toklist): New argument.
90 (parse_string2): New argument multiline_ok.
91 (spell_token): Take a const cpp_token *.
92 (INIT_NAME): Replace with INIT_TOKEN_NAME. Update tokens_used.
93 (SPELL_ macros): Replace with enum.
94 (expand_token_space): Replace with _cpp_expand_token_space.
96 (IS_DIRECTIVE): Update.
97 (_cpp_lex_line): Update token structure before parsing number.
98 Don't assume start at beginning of token list.
99 (save_comment): Use INIT_TOKEN_NAME.
101 2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
103 * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
104 -Wmissing-prototypes.
105 * configure: Regenerate.
106 * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
108 * builtins.c, calls.c: Change all instances of gen_call_* or
109 gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
110 * calls.c (struct_value_size_rtx): Separate definition from
111 initialization to avoid unused variable warning.
113 * genflags.c (gen_macro): New function.
114 (gen_proto): Call it for gen_call_* and gen_sibcall_*.
115 (gen_nonproto): Delete.
116 (gen_insn): Put all insns on the same obstack.
117 (main): Generate prototypes for everything unconditionally.
119 * configure.in: Add AC_CHECK_TYPE(ssize_t). Remove commented
120 out check for wchar_t.
121 * acconfig.h: Add template for ssize_t. Remove @TOP@.
122 * system.h: Add infrastructure for defining missing
123 TYPE_MAX/TYPE_MIN macros. Use it to provide fallback
124 definitions of UCHAR_MAX and SSIZE_MAX.
125 * configure: Regenerate.
126 * config.in: Regenerate.
128 * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
129 Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
131 (clean): No need to delete libgcc1.a, libgcc1-asm.a,
132 libgcc2.a, or libgcc1.null.
134 2000-05-27 Richard Henderson <rth@cygnus.com>
136 * Makefile.in (recog.o): Don't depend on resource.h.
137 * recog.c: Don't include resource.h.
138 (recog_last_allowed_insn): Remove.
139 (recog_next_insn): Remove.
140 (struct peep2_insn_data): New.
141 (peep2_insn_data, peep2_current): New.
142 (peep2_next_insn): New.
143 (peep2_regno_dead_p, peep2_reg_dead_p): New.
144 (peep2_find_free_register): New.
145 (peephole2_optimize): Track life information by insn as we go.
146 * recog.h: Update declarations.
147 * resource.c (find_free_register, reg_dead_p): Remove.
148 * resource.h: Remove their declarations.
149 * toplev.c: Include hard-reg-set.h before recog.h.
151 * genconfig.c (max_insns_per_peep2): New.
152 (gen_peephole2): New.
154 * genemit.c (output_peephole2_scratches): Generate calls to
155 peep2_find_free_register; adjust surrounding code.
156 (main): Have insn-emit.c include hard-reg-set.h before recog.h.
157 * genrecog.c (change_state): Don't track last_insn.
158 (write_action): Write into *_pmatch_len before accepting.
159 (write_tree): Adjust peephole2_insns and subroutines to match.
161 * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
163 * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
164 (hard_int_register_operand): New.
165 * config/alpha/alpha-protos.h: Declare it.
166 * config/alpha/alpha.h (PREDICATE_CODES): Update.
167 * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
168 as needed; use peep2_reg_dead_p instead of dead_or_set_p.
170 2000-05-27 Richard Henderson <rth@cygnus.com>
172 * function.c (thread_prologue_epilogue_insns): Don't move the
173 line note at the head of the chain. Only force a lineno note
174 before the end of block 0.
176 2000-05-27 Richard Henderson <rth@cygnus.com>
178 * gensupport.c (collect_insn_data): Record the maximum number
179 of alternatives, not the last seen.
181 * genoutput.c: Don't include errors.h.
182 (struct data): Add lineno member.
184 (scan_operands): Use message_with_line instead of error.
185 (validate_insn_alternatives): Likewise.
186 (gen_insn): Accept and store the pattern's line number.
187 (gen_peephole, gen_expand, gen_split): Likewise.
188 (main): Don't set progname. Pass line_no to gen_foo.
190 2000-05-27 Richard Henderson <rth@cygnus.com>
192 * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
193 * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
194 * config/d30v/d30v.md (attr predicable): New.
195 (all insn patterns): Mark non-predicable patterns; use %: on the rest.
196 (andsi3*): Unify into one pattern.
197 (iorsi3*, xorsi3*): Likewise.
198 (peephole2 patterns): Use peep2_reg_dead_p; verify not a
200 (old cond_exec patterns): Remove.
201 (define_cond_exec): New.
203 Sat May 27 11:01:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
205 * tree.h (TREE_CODE_LENGTH): New macro.
206 * c-common.c (c_find_base_decl): Use it.
207 * expr.c (safe_from_p): Likewise.
208 * print-tree.c (print_node): Likewise.
209 * tree.c (make_node, copy_node, get_identifier): Likewie.
210 (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
211 (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
212 * fold-const.c (make_range): Likewise.
213 (fold): Likewise; also use first_rtl_op.
214 * c-iterate.c (collect_iterators): Use first_rtl_op.
215 * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
216 Use IS_EXPR_CODE_CLASS.
217 (preexpand_calls): Likewise.
218 * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
219 and TREE_CODE_LENGTH.
220 * stmt.c (warn_if_unused_value): If no operands, no unused value.
222 2000-05-26 Geoffrey Keating <geoffk@cygnus.com>
224 * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
226 (movdi_internal64): Likewise.
228 * config/rs6000/rs6000.md: Correct order of operands for DImode
231 * config/rs6000/rs6000.c (boolean_or_operator): New function.
232 * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
233 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
234 * config/rs6000/rs6000.md: Use boolean_or_operator instead of
235 boolean_operator for the boolean patterns without NOTs.
237 * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
238 from reg_or_u_cint_operand. Change comment and behaviour.
239 (logical_operand): Clean up, add assertion.
240 (non_logical_cint_operand): Also check for
241 reg_or_logical_cint_operand.
242 * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
243 * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
249 2000-05-26 Mark Mitchell <mark@codesourcery.com>
251 * tree.h (struct record_layout_info): Rename to (struct
252 record_layout_info_s).
253 * stor-layout.c (start_record_layout): Replace
254 `record_layout_info' with `record_layout_info_s'.
256 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
258 * flow.c (find_label_refs): New function.
259 (find_basic_blocks_1): Call it for each alternative of a call
262 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
264 * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
267 2000-05-25 Richard Henderson <rth@cygnus.com>
269 * config/alpha/alpha.c (alpha_comparison_operator): Don't be
270 so strict about DImode.
271 (alpha_swapped_comparison_operator): Likewise.
272 * config/alpha/alpha.md (*setne_internal): Name it. Allow
273 any integer output mode.
274 (*setcc_internal): Likewise.
275 (*setcc_swapped_internal): Likewise.
276 (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
277 (*mov[qhs]icc_internal): New.
278 (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
280 2000-05-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
282 * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
284 2000-05-25 Richard Henderson <rth@cygnus.com>
286 * bb-reorder.c (reorder_block_def): Reorder elements for size.
287 Remove add_jump; add next; replace flags with visited.
289 (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
290 (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
291 (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
292 (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
294 (reorder_index, reorder_last_visited): Remove.
295 (skip_insns_after_block): Rewrite to use a switch.
296 (get_common_dest): Remove.
297 (chain_reorder_blocks): Remove.
298 (record_effective_endpoints): Split out from reorder_basic_blocks.
299 (make_reorder_chain): Likewise. Loop until all blocks are placed.
300 (make_reorder_chain_1): Renamed from old make_reorder_chain.
301 Only construct the reorder chain, do not move insns. Try harder
303 (label_for_bb, emit_jump_to_block_after): New.
304 (fixup_reorder_chain): Use them. Do bulk block movement. Examine
305 and adjust the jump insns appropriately. Fixup basic_block_info.
306 (verify_insn_chain): Always define.
307 (relate_bbs_with_scopes): Call xmalloc, not xcalloc. Fix thinko
309 (make_new_scope): Don't write zeros to calloc'd space.
310 (build_scope_forest): Rely on xrealloc to DTRT.
311 (reorder_basic_blocks): Don't build loop nest. Don't fail if
312 profile_arc_flag. Streamline EH test.
314 * flow.c (redirect_edge_succ, redirect_edge_pred): New.
315 * basic-block.h: Declare them.
317 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
319 * emit-rtl.c (reset_used_decls): New function.
320 (unshare_all_rtl_again): Call it.
322 2000-05-25 Zack Weinberg <zack@wolery.cumb.org>
324 * cpplex.c (maybe_macroexpand): Warn about function-like
325 macros used in non-function context, if -Wtraditional.
327 2000-05-25 Mark Mitchell <mark@codesourcery.com>
329 * recog.c (peephole2_optimize): Use INSN_P.
331 2000-05-25 Richard Henderson <rth@cygnus.com>
333 * ifcvt.c (seq_contains_jump): New.
334 (noce_try_store_flag_constants): Use it to fail conversion.
335 (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
337 2000-05-25 Mark Mitchell <mark@codesourcery.com>
339 * except.h (can_throw): Declare it.
340 * except.c (can_throw): Give it external linkage.
341 * resource.c (find_dead_or_set_registers): Use can_throw.
343 2000-05-25 Richard Henderson <rth@cygnus.com>
345 * flow.c (mark_set_1): Don't record conditionally dead memory.
347 2000-05-25 Jan Hubicka <jh@suse.cz>
349 * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
350 and pc_set at the place of simplejump_p and condjump_p.
351 * cse.c (record_jump_equiv): Likewise.
352 * emit-rtl.c (emit): Likewise.
353 * explow.c (find_next_ref): Likewise.
354 * flow.c (tidy_fallthru_edge): Likewise.
355 (init_propagate_block_info): Likewise.
356 * gcse.c (delete_null_pointer_checks): Likewise.
357 * ifcvt.c (cond_exec_get_condition, noce_get_condition,
358 dead_or_predicable): Likewise.
359 * integrate.c (copy_insn_list): Likewise.
360 * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
361 for_each_insn_in_loop, check_dbra_loop, get_condition,
362 insert_bct, load_mems): Likewise.
363 * resource.c (find_dead_or_set_registers): Likewise.
364 * sibcalls.c (simplejump_p): Likewise.
365 * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
367 2000-05-25 David Edelsohn <edelsohn@gnu.org>
369 * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
370 to STRING case. Use doubleword STRING move for TARGET_POWERPC64
372 * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
373 (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
374 (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
375 * rs6000.md: Name various internal patterns.
377 2000-05-25 Jan Hubicka <jh@suse.cz>
379 * jump.c (invert_exp_1): Remove first argument, use pc_set
380 to get the expression.
381 (redirect_exp): Make static; redirect only the pc_set expression,
382 remove first argument.
383 (invert_exp): Remove first argument, make static.
384 (jump_optimize): Use any_condjump_p, any_uncondjump_p and
385 any_onlyjump at most places where we originaly did condjump_p
387 (jump_back_p, follow_jumps, thread_jumps): Likewise.
388 (delete_barrier_succesors): Use pc_set.
389 (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
390 calls of invert_exp and redirect_exp.
391 * rtl.h (redirect_exp, invert_exp): Remove.
392 * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
394 2000-05-25 Richard Henderson <rth@cygnus.com>
396 * stmt.c (expand_end_bindings): Fix thinko last change.
398 2000-05-25 Andrew MacLeod <amacleod@cygnus.com>
399 Andrew Haley <aph@cygnus.com>
401 * except.c (func_eh_entry): Add emitted field.
402 (new_eh_region_entry): Set emitted field to 0;
403 (output_exception_table_entry): Only emit previously un-emitted data,
404 and send it to the eh_data section.
405 (output_exception_table): Break out common parts. Output
406 exception table for entire compilation unit to eh_data section.
407 (output_exception_table_data): Common parts of output_exception_table.
408 Send output to eh_data section.
409 (output_function_exception_table): Output exception table data for
410 a single function to eh_data section.
411 (free_exception_table): New external to free the table.
412 * except.h (free_exception_table): Add prototype.
413 (output_function_exception_table): Add prototype.
414 * final.c (final_end_function): Output function exception table
415 for IA64_UNWIND_INFO.
416 (final_scan_insn): Emit any unwind directives for an insn.
418 * frame-dwarf2.c: New file containing all DWARF 2 specific code
420 * frame.c: Remove all DWARF 2 specific code.
421 * config/ia64/frame-ia64.c: New file.
422 (gthread_stuff): Make all gthread available with
424 (dwarf_fde): Define an IA64 struct for dwarf_fde.
425 (__register_frame_info, __register_frame): Move to common area of file.
426 (__register_frame_info_table, __register_frame_table): Move to common i
428 (__deregister_frame_info, __deregister_frame): Move to common area.
429 (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
430 (read_uleb128): New version for ia64.
431 (get_unwind_record): Read the next IA-64 unwind record.
432 (read_R_record): Read a region header record.
433 (process_a_b_reg_code): X record helper.
434 (read_X_record): Read an X format record.
435 (read_B_record): Read a B format record.
436 (P3_record_types): List of record types matching the P3 format.
437 (P7_record_types): List of record types matching the P7 format.
438 (P8_record_types): List of record types matching the P8 format.
439 (read_P_record): Read a P format record.
440 (init_ia64_reg_loc): Set default fields for a register.
441 (init_ia64_unwind_frame): Set defaults for all register records.
442 (execute_one_ia64_descriptor): Execute one descriptor record.
443 (rse_address_add): Calculate the position of a local reg in memory.
444 (normalize_reg_loc): Turn a location descriptor into a memory address.
445 (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
446 within a specified PC offset range.
447 (get_real_reg_value): Given a register location, retrieve its value.
448 (set_real_reg_value): Change the value of a register location.
449 (copy_reg_value): Copy reg values, if needed.
450 (copy_saved_reg_state): Copy all registers that need to be copied.
451 (process_state_between): Normalize all frame register records that
452 fall within the specified PC range.
453 (frame_translate): Take a processed frame description, and turn
454 everything into addresses.
455 (build_ia64_frame_state ): Find and create frame state record for a PC.
456 (get_personality): Get the personality routine for a given frame.
457 (get_except_table): Get the exception table for a given frame.
458 (record_name): Unwind record names for debugging.
459 (print_record): Print and unwind record.
460 (print_all_records): Print an entire unwind image.
461 (__ia64_backtrace): Print a backtrace.
462 (ia64_backtrace_helper): New function.
463 (__register_frame_info_aux): New function.
464 * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
466 * frame.h (enum unw_record_type): New unwind record types.
467 (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
468 (struct unw_r_record, unwind_record): New unwind record structs.
469 (struct unwind_info_ptr): Unwind information layout.
470 (IA64_UNW_LOC_TYPE_*): Macros for different types for location
472 (struct ia64_reg_loc): Register location description.
473 (struct ia64_frame_state): Location of all registers in a frame.
474 (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
475 * libgcc2.c (__ia64_personality_v1): Personality routine.
476 (__calc_caller_bsp): Calculate the bsp register for the caller's
478 (ia64_throw_helper): Figure out who to return to and set up the
480 (__throw): Throw routine.
482 * output.h (assemble_eh_align, assemble_eh_label): New functions
483 to generate EH info where we want it.
484 (assemble_eh_integer): New function.
485 * toplev.c (compile_file): Output module level exception table for
487 (main): Set exceptions_via_longjump and flag_new_exceptions based
488 on IA64_UNWIND_INFO too.
490 * varasm.c (assemble_eh_label): Generate a label via
491 ASM_OUTPUT_EH_LABEL if it has been specified.
492 (assemble_eh_align): Generate an alignment directive via
493 ASM_OUTPUT_EH_ALIGN if it has been specified.
494 (assemble_eh_label): Generate an integer value via
495 ASM_OUTPUT_EH_type if they have been specified.
496 * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
497 (ia64_init_builtins): Add __builtin_ia64_bsp
498 and __builtin_ia64_flushrs.
499 (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
500 IA64_BUILTIN_FLUSHRS.
501 * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
502 IA64_BUILTIN_FLUSHRS.
504 * config/ia64/ia64.md (flushrs): New insn to flush the register
505 stack. Add to unspec list.
507 * config/ia64/crtbegin.asm (frame_object): Change size.
508 (__do_frame_setup_aux): New function.
509 * config/ia64/crtend.asm: call __do_frame_setup_aux.
510 * config/ia64/t-ia64 (LIB2ADDEH): Add.
511 * Makefile.in (LIB2ADDEH): Add.
512 (LIB2ADD): Use LIB2ADDEH.
514 2000-05-24 Richard Henderson <rth@cygnus.com>
516 * recog.c (offsettable_address_p): If mode size is zero, assume
519 2000-05-24 J. David Anglin <dave@hiauly.hia.nrc.ca>
521 * configure.in: Check for -Wno-long-long option support and improve
522 handling of warning CFLAGS for stages 1 and 2.
523 * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
524 * configure: Regenerate.
526 Wed May 24 19:37:53 2000 Jeffrey A Law (law@cygnus.com)
528 * gcc.texi: Remove contributor list. Instead include contrib.texi.
529 * contrib.texi: New file.
531 Thu May 25 02:27:22 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
533 * loop.c (basic_induction_var): Avoid double recording of an increment.
535 Thu May 25 02:19:27 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
537 * Back out this patch:
538 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
539 * loop.h (struct induction): Add multi_insn_incr.
540 * loop.c (basic_induction_var): New multi_insn_incr argument.
541 Set it if we search back through previous insns for the biv.
542 (record_biv): New multi_insn_incr argument; fill in struct induction.
543 (strength_reduce): Discard an iv with multiple bivs, any of
544 which require multiple insns to increment.
546 * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
548 Thu May 25 02:09:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
550 * rtl.h (loc_mentioned_in_p): Declare.
551 * reload.c (loc_mentioned_in_p): Moved from here...
552 * rtlanal.c (loc_mentioned_in_p): to here. No longer static.
553 Fix loop increment for 'E' handling.
554 * loop.c (strength_reduce): When doing biv->giv conversion,
555 take multi-insn biv increments into account.
557 2000-05-24 Jason Merrill <jason@casey.soma.redhat.com>
559 * stmt.c (expand_end_bindings): Look through NOTEs to find a
562 2000-05-24 Mark Mitchell <mark@codesourcery.com>
564 * calls.c (expand_call): Handle cleanups in tail-recursion
565 arguments analagously to cleanups in sibling calls.
567 2000-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569 * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
572 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
574 * expr.c (expand_assignment, store_expr, expand_expr,
575 expand_expr_unaligned): Set in_check_memory_usage while emitting
576 chkr_check_addr libcall.
578 2000-05-24 Nick Clifton <nickc@cygnus.com>
580 * fold-const.c (extract_muldiv): When constructing a
581 multiplier/divisor, do not expect const_binop to correctly
582 determine if overflow has occured, so check explicitly.
584 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
586 * c-decl.c (build_enumerator): Don't modify the value's type,
589 2000-05-24 Andreas Jaeger <aj@suse.de>
591 * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
593 2000-05-24 Eric Christopher <echristo@cygnus.com>
595 * configure.in: Redefine inhibit_libc conditions.
596 * libgcc2.c: Remove inhibit_libc conditional define.
597 * configure: Regenerate.
599 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
601 * configure.in: For --enable-languages=LIST, check for empty LIST.
602 * configure: Regenerate.
604 2000-05-24 Lars Brinkhoff <lars@nocrew.org>
606 * pdp11.h (STACK_BOUNDARY): Define.
608 2000-05-24 Jakub Jelinek <jakub@redhat.com>
610 * ifcvt.c (if_convert): Update life info globally.
612 2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
614 * emit-rtl.c (unshare_all_decls): New function.
615 (unshare_all_rtl): Call it.
617 2000-05-23 Nick Clifton <nickc@cygnus.com>
619 * configure.in: Treat 'strongarm' as if it were 'arm' when
620 determining cpu type.
622 * configure: Regenerate.
624 * config/arm/arm.c: Change 'char *' to 'const char *' for cases
625 where constant strings are involved.
627 * config/arm/arm.h (arm_condition_codes): Change type to 'const
630 * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
631 cases where constant strings are involved.
633 Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
635 * config/sh/sh.c (gen_far_branch, split_branches): Update
636 to reflect new prototypes for redirect_jump and invert_jump.
637 (sh_insn_length_adjustment): Get rid of const warnings.
639 2000-05-23 Kazu Hirata <kazu@hxi.com>
641 * invoke.texi (Options for Debugging Your Program or GCC): Update
642 the names of dump files.
644 Tue May 23 13:58:52 2000 Philippe De Muyter <phdm@macqel.be>
646 * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
647 * configure: Regenerated.
649 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
651 * simplify-rtx.c (SIGN_EXTEND): New macro.
652 (simplify_unary_operation, simplify_binary_operation,
653 simplify_relational_operation): Use SIGN_EXTEND. Make low
654 halves of (low, high) pairs unsigned if they weren't already.
655 (simplify_ternary_operation): Cast INTVAL to unsigned before
656 comparing to a MODE_BITSIZE.
658 2000-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
660 * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
661 rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
663 * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
664 gcc_AC_NEED_DECLARATIONS.
666 * dwarfout.c: Don't prototype time().
668 * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
670 * system.h: Likewise.
672 * toplev.c: Likewise.
674 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
676 * c-decl.c (pushdecl): Invert sense of test for non-global types.
678 Tue May 23 18:11:42 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
680 * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
682 2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
684 * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
686 Tue May 23 06:50:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
688 * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
689 (alpha_start_function): Never write ..ng label if VMS or NT.
690 (alpha_align_insns): Remove GP_IN_USE arg.
691 Alignment now unsigned.
692 (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
693 * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
694 and two define_insn's.
696 2000-05-22 Richard Henderson <rth@cygnus.com>
698 * combine.c (simplify_comparison): Use trunc_int_for_mode.
700 2000-05-22 Richard Henderson <rth@cygnus.com>
702 * stor-layout.c (place_field): Change rli->size to rli->offset.
704 2000-05-22 Richard Henderson <rth@cygnus.com>
706 * function.c (thread_prologue_and_epilogue_insns): Make sure
707 existing line number notes appear after the prologue.
709 Mon May 22 21:49:00 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
711 * config/alpha/alpha.c (alpha_fnname): New static variable.
712 (print_operand, case '~'): New case.
713 (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
714 (alpha_start_function): Set alpha_fnname.
715 Write "ng" label if no ldgp; don't write ldgp insn.
716 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
717 * config/alpha/alpha.md (prologue_ldgp): New define_insn.
719 Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
721 * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
724 2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
726 * varasm.c (eh_frame_section): Revert change to argument list.
728 Mon May 22 13:14:03 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
730 * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
731 (gen_extend_insn, can_fix_p, can_float_p): Likewise.
733 * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
734 dangling "else" that causes "break" to be conditional.
735 Also remove unneeded code at start.
737 Mon May 22 17:31:35 2000 Philippe De Muyter <phdm@macqel.be>
739 * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
740 * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
741 * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
743 2000-05-22 Jakub Jelinek <jakub@redhat.com>
745 * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
748 Mon May 22 06:57:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
750 * alias.c (record_component_aliases): New function.
751 * tree.h: Clean up some declarations and comments.
752 (record_component_aliases): New declaration.
753 * tree.c (get_alias_set): If type and has alias set, use it.
755 2000-05-22 Richard Henderson <rth@cygnus.com>
757 * simplify-rtx.c (simplify_ternary_operation): Try to simplify
758 IF_THEN_ELSE to a setcc form.
759 * jump.c (can_reverse_comparison_p): Be prepared for insn null.
761 2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
763 * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
764 (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
766 Sun May 21 16:42:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
768 * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
771 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
773 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
774 * config/mn10300/mn10300.c (print_operand): Likewise.
776 * final.c (split_double): Right shift of negative values is not
779 * ifcvt.c (if_convert): Scan and kill dead code.
781 * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
783 2000-05-20 Zack Weinberg <zack@wolery.cumb.org>
785 * diagnostic.c: Eliminate implicit int.
786 * except.c, gcc.c: Add static prototypes.
787 * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
788 * gensupport.c (process_rtx): Use XVEC to initialize vector
791 * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
792 debug_reg_names instead of static reg_names. If not, define
794 * regclass.c: Don't define global reg_names unless
795 DEBUG_REGISTER_NAMES is defined.
797 * reload1.c (order_regs_for_reload): Remove unused variable.
798 * varasm.c: Include output.h after defaults.h. Define
799 eh_frame_section as function of no args, not of unspecified args.
801 * gcc.c: Constify argbuf; arguments to store_arg,
802 process_command, main; elements of struct command and struct
803 switchstr; local variables in execute, process_command, main.
805 2000-05-20 Bruce Korb <bkorb@gnu.org>
807 * fixinc/inclhack.def: many applications of c_fix=format + tests
808 * fixinc/check.diff: regenerated
809 * fixinc/fixincl.x: regenerated
811 Sat May 20 09:30:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
813 * alias.c: Clarify some comments.
814 (record_base_value): REGNO is unsigned.
815 * rtl.h (record_base_value): Likewise.
817 * alias.c (aliases_everything_p): Don't special-case QImode here.
818 * c-common.c (c_get_alias_set): Do it here.
819 Handle BIT_FIELD_REF by getting alias info for arg.
822 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
824 * mklibgcc.in: Restore rule to create ${dir}.
826 Sat May 20 08:45:41 2000 H.J. Lu <hjl@gnu.org>
828 * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
829 GCC_FOR_TARGET used by MULTILIBS.
830 * mklibgcc.in: Make sure each .o file depends on the
831 directory it will be in.
832 Make the multilib directory depends libgcc.
834 Sat May 20 08:29:28 2000 H.J. Lu <hjl@gnu.org>
836 * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
838 Sat May 20 07:27:35 2000 Alexandre Oliva <aoliva@cygnus.com>
840 * fold-const.c (make_range): Handle degenerated intervals.
841 Fixes c-torture/execute/991221-1.c
843 Fri May 19 18:16:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
845 * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
846 * reload.c (find_equiv_reg): Likewise.
847 * alias.c (init_alias_analysis): Likewise.
848 Only call prologue_epilogue_contains on insns.
849 * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
850 * bb-reorder.c (hard-reg-set.h): Include earlier.
851 * haifa-sched.c (hard-reg-set.h): Likewise.
852 * ifcvt.c (hard-reg-set.h): Likewise.
853 * local-alloc.c (hard-reg-set.h): Likewise.
854 * loop.c (hard-reg-set.h): Likewise.
855 * predict.c (hard-reg-set.h): Likewise.
856 * regrename.c (hard-reg-set.h): Likewise.
857 * flow.c (hard-reg-set.h): Likewise.
858 (reg_set_to_hard_reg_set): New function.
859 * bitmap.c (regs.h, basic-block.h): No longer include.
860 (bitmap.h): Now include.
861 * conflict.c (hard-reg-set.h): Include.
862 * profile.c (hard-reg-set.h): Likewise.
863 * print-rtl.c (hard-reg-set.h): Likewise.
864 * sbitmap.c (hard-reg-set.h): Likewise.
865 * toplev.c (hard-reg-set.h): Likewise.
866 * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
867 * hard-reg-set.h (reg_names): Now constant.
868 * regs.h (reg_names): Likewise.
869 * regclass.c (reg_names): Likewise.
870 * loop.h (basic-block.h): No longer include.
871 (bitmap.h): Now include.
872 * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
873 * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
874 (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
876 2000-05-19 Jan Hubicka <jh@suse.cz>
877 Richard Henderson <rth@cygnus.com>
879 * basic-block.h (struct edge_def): New field "count".
880 (struct basic_block_def): Likewise.
881 * flow.c (entry_exit_blocks): Add count fileds.
882 (split_edge): Keep count information up-to-date.
883 (dump_edge_info, dump_flow_info): Dump count fields.
885 * final.c (count_instrumented_edges): Rename to edge from arc.
886 (end_final): Update users.
887 * profile.c: Include expr.h, basic-block.h.
888 (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
889 (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
890 (ignore_next_note, return_label_execution_count): Kill.
891 (bbg_file_name, da_file_name): Kill.
892 (edge_info, bb_info): New structures.
893 (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
894 (count_instrumented_edges, total_num_edges): Rename to edge from arc.
895 (total_num_edges_instrumented): Likewise.
896 (init_arc, expand_spanning_tree): Kill.
897 (fill_spanning_tree, tablejump_entry_p): Kill.
898 (instrument_edges): Rewrite from instrument_arcs to use
899 commit_edge_insertions infrastructure.
900 (compute_branch_probabilities): Remove arguments; rewrite for
901 CFG infrastructure; use rtl_dump_file directly.
902 (branch_prob, find_spanning_tree): Likewise.
903 (union_groups, find_group): New.
904 (init_branch_prob): Make bbg_file_name and da_file_name local.
905 (end_branch_prob): Use rtl_dump_file directly.
906 (init_edge_profiler): Rename to edge from arc.
907 (output_arc_profiler): Kill.
908 (gen_edge_profiler): New.
909 (output_func_start_profiler): Turn off profiling. Make the
910 constructor static when we can.
911 * rtl.h (branch_prob, end_branch_prob): Update prototypes.
913 * toplev.c (DFI_flow): Remove.
914 (DFI_cfg, DFI_life): New.
915 (dump_file): Update accordingly.
916 (compile_file): Call end_branch_prob if profile_arc_flag too.
917 (rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
918 profiling after the CFG is built. Move flow1 life analysis to
919 DFI_life. Always estimate remaining probabilities.
921 2000-05-19 Richard Henderson <rth@cygnus.com>
923 * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
925 * flow.c (make_edges): The sibling call edge to exit is abnormal.
927 2000-05-19 Richard Henderson <rth@cygnus.com>
929 * jump.c (redirect_jump): Add delete_unused argument. Don't
930 remove labels and code following when LABEL_NUSES goes to zero.
931 (invert_jump): Likewise.
932 (jump_optimize_1): Fix redirect/invert arguments.
933 (do_cross_jump, thread_jumps): Likewise.
934 * flow.c (split_edge): Likewise.
935 * reorg.c (optimize_skip): Likewise.
936 (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
937 * profile.c (instrument_arcs): Likewise.
938 * loop.c (find_and_verify_loops): Likewise. Fix indentation.
939 * rtl.h: Update prototypes.
941 Fri May 19 12:05:13 2000 Clinton Popetz <cpopetz@cygnus.com>
943 * ssa.c (convert_from_ssa): Tell life_analysis we need death
945 (make_regs_equivalent_over_bad_edges): Only look at abnormal
948 2000-05-19 Zack Weinberg <zack@wolery.cumb.org>
950 * cpphash.c (funlike_macroexpand): Make sure not to walk p1
951 past l1 when deleting whitespace and markers.
953 * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
954 * cpplib.c (do_unassert): Put the list to compare against on
957 2000-05-19 Bruce Korb <bkorb@gnu.org>
959 * fixinc/README: cleaned up old documentation
960 * fixinc/check.diff: regenerated & verified on OSR5 on ix86
961 * fixinc/check.tpl: compute the list of needed directories
962 emit "#if defined(name)" because of conflict
963 omit machine name differences from output differences
964 * fixinc/inclhack.def( m88k_multi_incl ): Use `wrap' function
965 (machine_name): change test text to use `sed' markers
966 * fixinc/fixincl.x: regen
968 Fri May 19 06:49:35 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
970 * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
973 2000-05-18 Chris Demetriou <cgd@sibyte.com>
975 * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
976 it to match the current practice.
978 2000-05-18 Mark Mitchell <mark@codesourcery.com>
980 * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
982 2000-05-18 Richard Henderson <rth@cygnus.com>
984 * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
985 * rtl.h (insn_dependant_p): Declare it.
986 * loop.c (strength_reduce): Use it.
988 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
990 * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
991 16-bit and 64-bit clean-up.
993 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
995 * configure.in (*-pc-msdosdjgpp): Set float_format to none.
996 * configure: Rebuilt.
998 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1000 * genopinit.c: Use $ for escape sequences in optab patterns.
1001 Remove backslashes from optab patterns. Change $A, $B, $C to
1002 expand to (int) whatever instead of just whatever; remove
1003 explicit (int) from all optab patterns.
1005 * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
1006 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
1007 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1008 genrecog.c: Remove private copies of xmalloc, xrealloc, and
1011 2000-05-18 Richard Henderson <rth@cygnus.com>
1013 * jump.c (jump_optimize_1): Base minimum insn count during
1014 find_cross_jump on BRANCH_COST.
1016 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1018 * print-rtl.c (print_rtx): Only print note line number as string
1019 if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
1020 * final.c (final_scan_insn): Do nothing for note line number 0.
1022 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1024 * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
1025 from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
1026 NOTE_INSN_DELETED_LABEL.
1028 2000-05-18 Nick Clifton <nickc@cygnus.com>
1030 * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
1031 uninitialised data in .rodata not .bss, and do not interpret an
1032 error in the initialisation value as meaning that the variable
1033 should be placed in the .bss section.
1035 Thu May 18 12:10:18 2000 Philippe De Muyter <phdm@macqel.be>
1037 * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
1038 not `$ac_cv_prog_cc_cc_c_o'.
1039 * configure: Regenerated.
1041 2000-05-18 Chris Demetriou <cgd@sibyte.com>
1042 Richard Henderson <rth@cygnus.com>
1044 * c-common.h (enum c_tree_index): Add g77 type entries.
1045 (g77_integer_type_node, g77_uinteger_type_node): New.
1046 (g77_longint_type_node, g77_ulongint_type_node): New.
1047 * c-decl.c (init_decl_processing): Initialize them.
1049 2000-05-18 Richard Henderson <rth@cygnus.com>
1051 * config/h8300/h8300.md (subs patterns): Use %G to negate.
1053 * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
1054 (small_power_of_two): Likewise; use exact_log2.
1055 (adds_subs_operand, one_insn_adds_subs_operand): Remove.
1056 (output_adds_subs): Remove.
1057 (two_insn_adds_subs_operand): New.
1058 (split_adds_subs): New.
1059 * config/h8300/h8300-protos.h: Update.
1060 * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
1061 (CONST_OK_FOR_L): Match strict adds operands.
1062 (CONST_OK_FOR_N): Match struct subs operands.
1063 * config/h8300/h8300.md (adds_subs insns): Remove.
1064 (addhi patterns): Output adds/subs directly.
1065 (addsi_h8300h): Likewise.
1066 (addhi/addsi splitters): New. Decompose two_insn_adds_subs_operand.
1068 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1070 * cppexp.c (parse_assertion): New.
1071 (lex): Call it for CPP_HASH. Remove CPP_ASSERTION case.
1072 (_cpp_parse_expr): Remove case '#'. Don't set
1073 parsing_if_directive.
1074 * cpphash.c (collect_objlike_expansion,
1075 collect_funlike_expansion, collect_params,
1076 _cpp_create_definition): The list no longer has a trailing
1078 * cpphash.h (enum node_type): Add T_ASSERTION.
1079 (struct hashnode): Remove aschain, add pred.
1080 (struct predicate): New.
1083 * cpplex.c (expand_token_space): Handle both offset and
1085 (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
1086 (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
1087 _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
1088 _cpp_equiv_toklists): New.
1089 (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
1090 stop at any single-character token, not just newline.
1091 (_cpp_lex_token): Remove special cases for #define and #if.
1092 (cpp_get_token): Expect # as a separate token type. Remove
1094 (_cpp_get_directive_token): Remove DIRECTIVE case.
1095 (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
1097 * cpplib.c (_cpp_check_directive): Set dirno and
1098 SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
1099 (_cpp_handle_directive): Run # <number> through the same logic
1100 as normal directives.
1101 (do_define): Don't set parsing_define_directive. Use
1102 _cpp_scan_until. The list does not have a VSPACE at the end.
1103 (do_if): Save, clear, and restore only_seen_white around
1105 (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
1106 (do_assert, do_unassert): Rewrite.
1108 * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
1109 (LIST_OFFSET): New flag.
1110 (struct cpp_toklist): Replace dir_handler and dir_flags with
1112 (struct cpp_reader): Remove parsing_if_directive and
1113 parsing_define_directive.
1115 2000-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1117 * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
1118 following the cabs decl which terminate on the following line.
1119 Add the corresponding test_text case.
1121 2000-05-18 Neil Booth <NeilB@earthling.net>
1123 * cppinit.c (cpp_reader_init): Initialise col_adjust and
1124 default tab stop size.
1125 (no_num, OPT_ftabstop): New.
1126 (handle_option): Handle "ftabstop=" command-line option.
1127 (print_help): Document it.
1128 * cpplex.c (COLUMN): Remove.
1129 (handle_newline): Reset col_adjust.
1130 (skip_whitespace): Update col_adjust as tabs encountered.
1131 (_cpp_lex_line): Update to use col_adjust. Call
1132 skip_whitespace for all whitespace.
1133 * cpplib.h (struct cpp_options): New member tabstop.
1134 (struct cpp_reader): New member col_adjust.
1135 (CPP_BUF_COL): Update.
1136 (CPP_BUF_COLUMN): New.
1137 * cpp.texi: Document "-ftabstop=" command line option.
1139 Wed May 17 18:19:41 2000 Philippe De Muyter <phdm@macqel.be>
1141 * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
1143 * configure: Rebuilt.
1145 Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
1147 * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
1149 * tree.c (build_common_tree_nodes): Do not build TI nodes unless
1150 HOST_BITS_PER_WIDE_INT is >= 64.
1152 2000-05-17 Richard Henderson <rth@cygnus.com>
1154 * jump.c (jump_optimize_1): Remove inactive but real insns
1155 in jump-to-next-insn optimization.
1157 2000-05-17 Richard Henderson <rth@cygnus.com>
1159 * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
1160 unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
1161 Don't call recompute_reg_usage if no_new_pseudos is true.
1162 * lcm.c (optimize_mode_switching): Move ifdefs outside function.
1163 Return true if we did work; update global life information.
1164 * basic-block.h (optimize_mode_switching): Update decl.
1166 2000-05-17 Neil Booth <neilb@earthling.net>
1168 * cpplex.c (expand_name_space): Don't use ptrdiff_t.
1170 2000-05-17 Zack Weinberg <zack@wolery.cumb.org>
1172 * cpplib.c: New feature, #pragma system_header.
1173 * cpp.texi: Document special treatment of system headers, and
1174 the various mechanisms to get a header that special treatment.
1176 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1178 * system.h (offsetof): Define at the very end, to ensure we prefer
1179 the platform's definition if available.
1181 2000-05-16 Bruce Korb <bkorb@gnu.org>
1183 * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
1184 * fixinc/server.c: likewise
1185 * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
1186 + #ifdef debugging code + use #def constant for
1188 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
1189 on C++ math namespace
1191 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1193 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
1194 Don't check the return value of sprintf. Use asprintf to avoid
1197 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
1199 * flags.h (warn_unused_function, warn_unused_label,
1200 warn_unused_parameter, warn_unused_variable, warn_unused_value):
1201 Replace ``warn_unused''.
1202 (set_Wunused): Add declaration.
1203 * toplev.c (set_Wunused): New function.
1204 (warn_unused_function, warn_unused_label, warn_unused_parameter,
1205 warn_unused_variable, warn_unused_value): New variables.
1206 (W_options): Add -Wunused-function, -Wunused-function,
1207 -Wunused-label, -Wunused-parameter, -Wunused-variable and
1208 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
1210 * toplev.c (decode_W_option): Update -Wunused flags by calling
1212 * c-decl.c (c_decode_option): Ditto for -Wall.
1214 * stmt.c (expand_expr_stmt, expand_expr_stmt,
1215 warn_about_unused_variables): Replace warn_unused with more
1216 explicit warn_unused_value et.al.
1217 * function.c (expand_function_end): Ditto.
1218 * c-typeck.c (internal_build_compound_expr,
1219 internal_build_compound_expr): Ditto.
1220 * c-decl.c (poplevel, pop_label_level): Ditto.
1221 * toplev.c (check_global_declarations): Replace warn_unused with
1222 check for either warn_unused_function or warn_unused_variable.
1224 * gcc.1, invoke.texi (Warning Options): Document
1225 -Wunused-function, -Wunused-function, -Wunused-label,
1226 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
1228 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
1230 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
1231 $(srcdir), not in the current directory.
1233 2000-05-16 Richard Henderson <rth@cygnus.com>
1235 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
1236 assembler supports it.
1237 (.fini, .init): Use a gp-relative indirect call.
1238 (__do_global_dtors_aux): Preserve the gp; rebundle.
1239 (__do_frame_setup): Likewise.
1240 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
1241 (.init): Use a gp-relative indirect call.
1242 (__do_global_ctors_aux): Preserve the gp.
1244 2000-05-16 Richard Henderson <rth@cygnus.com>
1246 * flow.c (commit_one_edge_insertion): Be prepared for a return
1247 insn to be inserted on the edge with a normal jump.
1248 * jump.c (jump_optimize_1): Don't look to create return isns.
1250 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
1251 * jump.c (jump_optimize_1): Likewise.
1252 (returnjump_p): Verify the argument is a JUMP_INSN.
1253 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
1255 2000-05-16 Nick Clifton <nickc@cygnus.com>
1257 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
1258 GET_RTX_CLASS (GET_CODE ()) == 'i'.
1259 (large_insn_p): Ditto.
1260 (m32r_is_insn): New function: Return true if the insn contains
1261 an executable instruction.
1262 (m32r_adjust_insn): Use m32r_is_insn.
1263 (m32r_sched_reorder): Use m32r_is_insn.
1264 (m32r_sched_variable_issue): Use m32r_is_insn.
1266 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1268 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
1271 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
1273 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
1274 according to given options.
1276 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
1278 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
1279 if X has VOIDmode either.
1280 (LIMIT_RELOAD_CLASS): Similarly.
1282 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
1283 not "general_operand" to match the processor's capabilities.
1285 2000-05-16 Bruce Korb <bkorb@gnu.org>
1287 * fixinc/README: corrected return address
1288 * fixinc/check.diff: regenerate, now that test works
1289 * fixinc/fixfixes.c(format_fix,format_write): reformatted
1290 (char_macro_def_fix,char_macro_use_fix): corrected and
1291 rewrote to use regex to parse the text
1292 * fixinc/inclhack.def: more testing
1293 * fixinc/fixincl.x: regenerated
1295 * fixinc/inclhack.def: added several "test_text" attributes
1296 changed several fixes to use `c_fix = format'
1297 re-alphabetized the fixes
1299 * fixinc/check.diff: regenerate
1300 * fixinc/fixincl.x: regenerate
1301 * fixinc/check.tpl: added `sparc' and `netinet' to the list
1305 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
1307 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
1309 2000-05-15 Richard Henderson <rth@cygnus.com>
1311 * toplev.c (rest_of_compilation): Run full jump pass before
1312 find_basic_blocks of flow2.
1314 2000-05-15 Richard Henderson <rth@cygnus.com>
1316 * jump.c: Fix typos and clarify commentary from last change.
1317 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
1318 (safe_to_remove_jump_p): Remove.
1319 (condjump_label): Use pc_set.
1321 2000-05-15 Richard Henderson <rth@cygnus.com>
1323 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
1324 that get in the way after reload.
1325 (cond_exec_process_if_block): Skip a label heading THEN block.
1327 2000-05-15 Richard Henderson <rth@cygnus.com>
1329 * varasm.c (output_constant_pool): Abort instead of converting
1330 (improperly) deleted labels to zero.
1332 2000-05-16 Neil Booth <NeilB@earthling.net>
1334 * cpplex.c (parse_string2): Update comment.
1335 (cpp_lex_line): No special assertion treatment for '('.
1336 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
1337 * cpplib.h (SYNTAX_ASSERT): Remove.
1339 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1341 * jump.c (condjump_p): Mark as depreached.
1342 (any_condump_p): New.
1343 (any_uncondump_p): New.
1345 (safe_to_remove_jump_p): New.
1346 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
1347 safe_to_remove_jump_p): Declare.
1349 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1351 * calls.c: Re-install both patches reverted by last patch.
1352 (struct arg_data): New field tail_call_reg.
1353 (initialize_argument_information): Initialize tail_call_reg
1354 (load_register_parameters): New argument flags, use
1355 tail_call_reg when emiting tail call sequence.
1356 (expand_call): Update call of load_register_parameters;
1357 copy unadjusted_args_size to adjusted_args_size.
1359 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
1361 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
1362 and bct_p parameters to flags.
1363 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
1364 * rtl.h (loop_optimize): Update prototype.
1365 * toplev.c (rest_of_compilation): Update call of loop_optimize.
1367 2000-05-15 Jakub Jelinek <jakub@redhat.com>
1369 * calls.c (expand_call): Move expand_start_target_temps call after
1372 2000-05-15 Neil Booth <NeilB@earthling.net>
1374 * cpphash.c (trad_stringify, warn_trad_stringify,
1375 collect_params): Make some pointers pointers to const.
1376 * cpplex.c (auto_expand_name_space) Guaranteed to always
1377 expand by at least one character.
1378 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
1379 (struct token_spelling): Use const U_CHAR * rather than PTR.
1380 (expand_name_space): Fix up token pointers if name space
1381 is moved when expanding.
1382 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
1383 parse_string2, save_comment, spell_token, cpp_output_list):
1384 Update so the routines handle tokens with a direct pointer to
1385 their text, rather than an offset into the token's list's namebuf.
1386 (_cpp_lex_line): Rearrange for clarity.
1388 * cpplib.c (_cpp_check_directive): Similarly.
1389 (do_define): Make SYM a pointer to const.
1390 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
1391 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
1392 (TOK_OFFSET): Delete.
1395 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
1397 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
1400 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
1402 (logical_u_operand): Delete.
1403 (non_logical_cint_operand): Rewrite to take MODE into account.
1404 (non_logical_u_cint_operand): Delete.
1405 (boolean_operator): New function.
1406 (print_operand): Add new %q operand.
1407 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
1408 remove logical_u_operand and non_logical_u_cint_operand,
1409 update logical_operand and non_logical_cint_operand.
1410 * config/rs6000/rs6000.md: Rewrite the patterns for performing
1411 logical operations to use %q.
1413 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
1414 (movdi): Make similar to movsi.
1415 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
1416 is no such thing as a DImode CONST_DOUBLE.
1417 * config/rs6000/rs6000.c (output_toc): Likewise.
1419 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
1420 codes when old mnemonics are in use. Print register names
1421 for cc registers when requested.
1423 * optabs.c (expand_float): Don't allow mode widening that causes
1426 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
1427 flags to their current names -maix64 and -maix32.
1429 2000-05-14 Bruce Korb <bkorb@gnu.org>
1431 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
1432 and/or after current text of file
1433 * fixinc/fixlib.c(must_malloc):
1434 * fixinc/fixlib.h(must_malloc): + reformatting
1435 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
1436 with usages of ``c_fix = wrap;''
1437 Add several tests and use the ``c_fix = format'' fixer more.
1438 * fixinc/fixincl.x: regen
1439 * fixinc/check.diff: regen
1440 * fixinc/check.tpl: emit the associated header with the missing
1443 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
1445 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
1446 variables $src and $dst.
1448 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
1450 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
1451 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
1452 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
1453 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
1455 (set_message_prefixing_rule): Declare.
1457 * diagnostic.c: (current_prefixing_rule): New variable.
1458 (set_message_prefixing_rule): Define.
1459 (output_set_prefix): Adjust buffer->emitted_prefix_p.
1460 (init_output_buffer): Adjust Initialization.
1461 (output_emit_prefix): Rewrite. Take prefixing rules into account.
1463 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
1465 * ifcvt.c (if_convert): Do not free NULL.
1467 2000-05-12 Nick Clifton <nickc@cygnus.com>
1469 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
1470 to move a double word value.
1471 (di_operand): New function: Return true if the operand is suitbale
1472 for a double word move operation.
1473 (nonimmediate_di_operand): New function: Return true if the
1474 operand is a DImode register or MEM.
1476 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
1477 nonimmediate_di_operand.
1479 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
1480 nonimmediate_di_operand.
1482 * config/fr30/fr30.md (movdi): New pattern. Required because
1483 other patterns generate DImode results.
1484 (movdi_insn): New pattern.
1486 2000-05-12 Richard Henderson <rth@cygnus.com>
1488 * config/alpha/alpha.c (struct shadow_summary): Define
1489 bitfields as type unsigned int.
1491 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
1493 * config/avr/t-avr: Added definition of FLOAT while generates
1496 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
1497 peepholes for tst+jump = sbrs/sbrc optimization.
1499 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
1501 * expr.c (emit_push_insn): Do not adjust stack pointer when
1504 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
1506 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
1507 * system.h (offsetof): ... to here.
1509 2000-05-12 Richard Henderson <rth@cygnus.com>
1511 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
1512 * final.c (final_end_function): Use app_disable. Rearrange note
1513 handling into a switch. Emit deleted labels.
1514 (output_asm_label): Generate label strings for deleted labels.
1515 * flow.c (tail_recursion_label_list): New.
1516 (find_basic_blocks_1): Set label_value_list directly. Collect list
1517 of tail recursion labels from call_placeholders. Don't add deleted
1518 labels to the label value list.
1519 (cleanup_cfg): Use free_EXPR_LIST_list.
1520 (flow_delete_insn_chain): Turn non-removable labels into notes.
1521 (flow_delete_block): Don't disable deleting the block because of
1522 a non-removable label.
1523 (tail_recursion_label_p): New.
1524 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
1526 (merge_blocks_move_successor_nojumps): Likewise. Also move a
1528 (merge_blocks): Disable a merge because of tail recursion labels.
1529 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
1530 Use a more accurate measure of not merging the join block.
1531 (find_if_block): Don't disable conversion because of a label.
1532 (find_if_case_1, find_if_case_2): Likewise.
1533 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
1534 element when copying.
1535 (squeeze_notes): Also leave EH notes.
1536 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
1538 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
1540 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
1541 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
1542 referring to a deleted label. Convert tail handling to a switch.
1543 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
1544 for NOTE_INSN_DELETED_LABEL.
1545 (NOTE): Fix commentary.
1546 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
1547 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
1548 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
1549 (LABEL_NUSES, LABEL_REFS): Likewise.
1550 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
1552 2000-05-12 Bruce Korb <bkorb@gnu.org>
1554 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
1555 * fixinc/check.diff: updated
1556 * fixinc/inclhack.def: corrected & added some test_text-s
1557 * fixinc/genfixes: removed unneeded options to autogen invocation
1558 * fixinc/fixincl.tpl: Specified the output file
1559 * fixinc/fixfixes.c: visual appearance
1560 * fixinc/fixincl.x: regenerate
1562 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
1564 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
1565 CTRL_defn_fix): Delete.
1566 (fix_char_macro_defines, fix_char_macro_uses): Rename to
1567 char_macro_def_fix and char_macro_use_fix, respectively. Put
1568 them into the FIXUP_TABLE. Get the string to search for from
1571 (format_write): New function.
1572 (format_fix): Use it.
1574 (FIX_PROC_HEAD): Constify text parameter.
1575 (machine_name_fix): Constify all char *s.
1576 * fixtests.c (skip_quote): Remove double static.
1578 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
1579 ctrl_use_quotes): Update for new scheme.
1580 * fixincl.x: Regenerate.
1582 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1584 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
1586 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
1587 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
1589 2000-05-11 Robert Lipe <robertlipe@usa.net>
1591 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
1592 * fixincl.x: Regenerate.
1594 2000-05-11 Richard Henderson <rth@cygnus.com>
1596 * calls.c: Revert both 05-09 patches.
1598 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
1600 * config/mn10300/mn10300.c (print_operand): Print FP constants in
1602 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
1605 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
1606 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
1608 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
1610 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
1612 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1614 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
1616 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
1618 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
1619 * config/avr/avr.c (jump_over_one_insn_p): New function.
1620 * config/avr/avr.md: New peepholes added. Output test and
1621 conditional jump to "sbrc" or "sbrs" command.
1623 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
1625 * cppmain.c (main): Use IS_DIR_SEPARATOR.
1627 2000-05-11 Jakub Jelinek <jakub@redhat.com>
1629 * except.c (find_exception_handler_labels_1): New function.
1630 (find_exception_handler_labels): Split into two functions, dive
1631 into CALL_PLACEHOLDERs when looking for exception handler labels.
1633 2000-05-11 Stan Cox <scox@cygnus.com>
1635 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
1636 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
1637 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
1639 2000-05-11 Bruce Korb <bkorb@gnu.org>
1641 * fixinc/fixfixes.c (double_slash_fix): obsolete
1642 (else_endif_label_fix): obsolete
1643 (format_fix): new, unused as yet
1645 * fixinc/fixlib.h: added fix description struct for use by format_fix
1646 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
1647 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
1648 modules. Removed the vestiges of the script version.
1649 Added support for "make check".
1650 * fixinc/check.diff: base diff file (needs work!!)
1651 * fixinc/check.tpl: quiet the fixup output
1652 * fixinc/fixtests.c (main): obsolete
1653 * fixinc/fixincl.sh: don't bother copying fixincl to ..
1654 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
1656 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
1658 * toplev.c (rest_of_compilation): Remove dead code after
1661 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1663 * cpphash.c (collect_funlike_expansion): Make "# is not
1664 followed by a macro argument name" a pedwarn, not an error.
1665 Preserve the # in the output. Suppress the warning if lang_asm.
1667 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
1669 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
1670 * configure: Rebuilt.
1672 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
1674 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
1676 2000-05-10 Kazu Hirata <kazu@hxi.com>
1678 * combine.c (try_combine): Fix a typo.
1680 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
1682 * config/ia64/ia64.md (insv): Add comment.
1684 2000-05-10 Richard Henderson <rth@cygnus.com>
1686 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
1687 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
1688 dependancies on FPBIT and DPBIT.
1690 2000-05-10 Nick Clifton <nickc@redhat.com>
1692 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
1693 when optimising for size.
1694 (mark_used_regs:) Ditto.
1695 (try_pre_increment_1): Ditto.
1697 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
1699 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
1700 Make error message friendlier.
1702 * cpphash.h (struct hashnode): Use struct hack for name
1704 * cpphash.c (struct hashdummy): New.
1705 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
1706 (make_HASHNODE): No need to set ->name pointer. Correct
1708 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
1710 2000-05-10 Richard Henderson <rth@cygnus.com>
1712 * flow.c (find_basic_blocks_1): Remove any spare bb_note
1715 2000-05-10 Bruce Korb <bkorb@gnu.org>
1717 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
1719 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
1721 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
1722 after we enter .debug.
1724 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
1726 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
1727 abstract instance of a nested inline function.
1729 * stor-layout.c (finish_record_layout): finalize_type_size
1730 before laying out the pending_statics.
1732 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
1734 * cpplex.c (spell_token): New function.
1735 (spell_string, spell_comment, spell_name): fold into
1738 (E, H): Remove macros.
1739 (save_comment): Save comment opening characters too.
1740 (_cpp_lex_file): Update to use spell_token. Tidy up comment
1742 * cpplib.h (I, S): Add macros.
1743 (E, H): Remove macros.
1744 (TTYPE_TABLE): Update entries for new speller.
1745 (SYNTAX_ASSERT): Remove.
1747 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
1749 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
1750 when removing escaped newlines. Reverse sense of test for
1753 2000-05-09 Richard Henderson <rth@cygnus.com>
1755 * flow.c (find_basic_blocks_1): Do not delete the first
1756 bb_note we run across.
1757 (create_basic_block): Use reorder_insns to move an existing
1758 bb_note to the correct place.
1760 2000-05-09 Richard Henderson <rth@cygnus.com>
1762 * calls.c (expand_call): Increment currently_expanding_call
1763 before calling optimize_tail_recursion.
1765 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1767 * reload1.c (reload_combine): Fix errors in last change.
1769 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
1771 * gcc.c (used_arg): Skip over a semicolon at the end of the
1772 split-up loop; don't break out of it.
1774 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
1775 (tree.o): Depend on output.h.
1777 * c-decl.c (pending_invalid_xref_file,
1778 current_function_prototype_file): Constify.
1779 (pushdecl): Constify a local char *.
1780 (define_label): Constify filename parameter.
1781 * c-lex.c (init_parse): Constify parameter and return value.
1782 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1783 * c-tree.h: Update prototypes.
1784 * c-parse.in: Constify filename member of %union, and if_stmt_file.
1785 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1786 objc/objc-parse.c: Regenerate.
1788 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1789 * dwarfout.h: Update prototypes.
1790 * expr.c (expand_expr): Constify a local char *.
1791 * flags.h: Constify main_input_filename.
1792 * function.c (expand_function_end): Constify filename parameter.
1793 * genrecog.c (make_insn_sequence): Use a character array for
1795 (main): Remove unused variables.
1796 * input.h: Constify input_filename, main_input_filename, and
1797 file_stack.name. Update prototypes.
1798 * output.h: Declare first_global_object_name and
1799 weak_global_object_name here, as const char *.
1800 * stmt.c (expand_asm_operands): Constify filename parameter.
1801 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1802 Constify filename parameter.
1803 (input_filename, main_input_filename): Constify.
1804 * toplev.h: Update prototypes.
1805 * tree.c: Include output.h. Don't declare
1806 first_global_object_name or weak_global_object_name. Clean up string
1807 bashing in get_file_function_name_long.
1808 * tree.h (struct tree_decl): Constify filename member.
1809 (input_filename): Constify.
1811 * varasm.c (first_global_object_name, weak_global_object_name):
1813 (assemble_start_function, assemble_variable): Clean up string bashing.
1815 * gcc.c: Constify all spec-related strings initialized,
1816 transitively, from string constants. Constify all strings
1817 and string variables related to multilibs.
1818 (set_spec, read_specs): Cast argument to free to PTR.
1819 (used_arg): Do not modify multilib_matches. Use strncmp plus
1820 length comparison to compare multilib switches.
1821 * genmultilib: Constify everything declared in multilib.h.
1823 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
1825 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
1828 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
1830 * config/avr/avr-protos.h (extra_constraint): change a type of
1831 second argument from char to int to avoid warnings.
1832 (asm_output_byte): Likewise.
1834 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
1835 (initial_elimination_offset): Handle elimination from
1836 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
1837 (legitimate_address_p): Use MAX_LD_OFFSET.
1838 (legitimize_address): Likewise.
1839 (out_movqi_r_mr): Likewise.
1840 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
1841 (out_movsi_r_mr): Use MAX_LD_OFFSET.
1842 (out_movsi_mr_r): Likewise.
1843 (out_movqi_mr_r): Likewise.
1844 (out_movhi_mr_r): Likewise.
1845 (notice_update_cc): Correct CC for the ashrqi3 with the shift
1846 count as CONST_INT != 6.
1847 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
1848 shift count is a CONSTANT_P, but not a CONST_INT.
1849 (ashlhi3_out): Coding style modifications.
1850 (ashlsi3_out): Likewise.
1851 (ashrhi3_out): Likewise.
1852 (ashrsi3_out): Likewise.
1853 (lshrhi3_out): Likewise.
1854 (lshrsi3_out): Likewise.
1855 (ashrqi3_out): Generate shift for any known constant count without
1856 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
1857 but not a CONST_INT.
1858 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
1859 shift count is a CONSTANT_P, but not a CONST_INT.
1860 (extra_constraint): change a type of
1861 second argument from char to int to avoid warnings.
1862 (asm_output_byte): Likewise.
1863 (asm_file_end): Output size generated commands count as a hex
1866 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
1868 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
1870 (ashlqi3): Values of "length" attribute changed. Shift count
1871 uses constraints 'n' instead of 'i'.
1872 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
1873 shifts without clobber register.
1874 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
1875 (call_insn): Correct test for which_alternative == 1 (was 0).
1876 (call_value_insn): Likewise.
1878 * config/avr/t-avr: Remove definition of FLOAT while generates
1881 2000-05-09 Bruce Korb <bkorb@gnu.org>
1883 * fixinc/check.tpl: Template for checking fixes
1884 * fixinc/inclhack.def: Added 'test_text' for many fixes
1885 disable hpux8_bogus_inlines on SCO
1886 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
1888 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
1890 * calls.c (expand_call): Reorganize somewhat in order
1891 to avoid unnecesary recalculation inside loop and make
1892 tail call failure code cleaner.
1894 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1896 * alias.c (nonlocal_reference_p): Minor reformatting.
1897 * reload.c (find_equiv_reg): Simplify logic for
1898 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
1899 some some reformatting.
1900 * reload1.c (reload_combine): Don't assume everything in
1901 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
1903 2000-05-08 Richard Henderson <rth@cygnus.com>
1905 * final.c (current_insn_predicate): New.
1906 (final_scan_insn): Set it.
1907 * output.h (current_insn_predicate): Declare.
1909 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
1910 Attach it to call insns.
1911 (cond_exec_process_if_block): Track probability for true and
1913 (dead_or_predicable): Likewise.
1915 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
1916 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
1917 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
1918 (estimate_probability, expected_value_to_br_prob): Use them.
1920 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
1921 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
1922 (ia64_expand_prediction): New.
1923 (emit_insn_group_barriers): Don't look at notes. Emit barriers
1924 as needed after calls.
1925 (ia64_epilogue_uses): Mark b0 used.
1926 * config/ia64/ia64.md (beq_true, beq_false): Remove.
1927 (bne_true, bne_false): Remove.
1928 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
1929 (br_true, br_false): New. Use predicate_operator and
1930 ia64_expand_prediction.
1931 (return_true, return_false): Likewise.
1932 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
1933 (call_internal1, call_value_internal): Likewise.
1934 (call_value_internal1, call_multiple_values_internal1): Likewise.
1936 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
1938 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
1940 2000-05-08 Richard Henderson <rth@cygnus.com>
1942 * rtlanal.c (may_trap_p): Consider old-style and volatile
1945 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
1947 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
1949 2000-05-08 Richard Henderson <rth@cygnus.com>
1951 * config/ia64/ia64.h (predicate_operator): Declare.
1953 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
1956 * gensupport.c (process_rtx): Copy and post-process each member
1957 of the define_insn rtvec individually.
1959 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
1961 * cpplex.c (spell_token): New function.
1962 (TOKEN_LEN): Add 1 for whitespace.
1963 (_cpp_lex_file): Update to use spell_token.
1964 * cpplib.h (E): Remove.
1965 (TTYPE_TABLE): Update CPP_VSPACE entry.
1967 2000-05-08 Richard Henderson <rth@cygnus.com>
1969 * flow.c (init_propagate_block_info): Watch out for conditional
1970 branch to next instruction, and thus one outgoing edge.
1972 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
1973 for global register variables; don't special case __[CD]TOR_LIST__;
1974 mind ggc_p for string allocation.
1976 2000-05-08 Nick Clifton <nickc@cygnus.com>
1978 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
1980 2000-05-08 Bruce Korb <bkorb@gnu.org>
1982 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
1983 i?86-*-msdosdjgpp* no longer uses fixincludes
1984 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
1985 * fixinc/inclhack.sh: deleted
1986 * fixinc/hackshell.tpl: deleted
1987 * fixinc/inclhack.tpl: deleted
1988 * fixinc/Makefile.in: Remove dependencies on above
1989 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
1991 2000-05-08 Andreas Jaeger <aj@suse.de>
1993 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
1996 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
1998 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
2001 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
2003 * cpplex.c: Move new lexer definitions and prototypes
2004 to top. Conditional include these and the code if
2005 NEW_LEXER is defined. Rename functions whose names
2006 clash if this code included.
2008 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
2010 * rtl.def (COND_EXEC): Clarify.
2012 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
2013 same fashion as zero_extendsidi2.
2015 2000-05-06 Richard Henderson <rth@cygnus.com>
2017 * config/ia64/ia64.c (predicate_operator): New.
2018 (ia64_print_operand): Handle 'J'.
2019 (rtx_needs_barrier): Handle COND_EXEC.
2020 * config/ia64/ia64.h (BRANCH_COST): Define.
2021 (PREDICATE_CODES): Update.
2022 * config/ia64/ia64.md: Docuement used unspec values.
2023 (attr predicable): New.
2024 (movxf, movxf_internal): New.
2025 (extendsfdf2): Don't comment out nop.
2026 (floatdidf2): Remove.
2027 (truncxfsf2, truncxfdf2, floatdixf2): New.
2028 (abssi2, absdi2): Put the neg in the "true" slot.
2029 (conditional branch instructions): Mark not predicable.
2030 (cmov*_internal): Use predicate_operator. Split to cond_exec.
2031 (abs*_internal): Likewise.
2032 (alloc, set_bsp): Mark not predicable.
2033 (barrier, insn_group_barrier, flush_cache): Likewise.
2034 (define_cond_exec): New.
2036 2000-05-06 Richard Henderson <rth@cygnus.com>
2038 * c-decl.c: Include "tm_p.h".
2040 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
2041 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
2042 (ia64_expand_op_and_fetch): Declare.
2043 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
2044 (setjmp_operand): Constify variables for XSTR.
2045 (ia64_encode_section_info): Likewise.
2046 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
2048 (ia64_asm_output_external): Constify name.
2049 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
2050 (process_for_unwind_directive): Provide switch default.
2051 (ia64_expand_compare_and_swap): Remove unused variables.
2052 (ia64_expand_builtin): Likewise.
2053 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
2056 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
2057 (symbolic_operand, function_operand, setjmp_operand): Likewise.
2058 (shift_count_operand, shift_32bit_count_operand): Likewise.
2059 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
2060 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
2061 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
2062 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
2063 (ia64_expand_builtin): Likewise.
2064 (call_multiple_values_operation): Make dest_regno unsigned.
2066 2000-05-06 Richard Henderson <rth@cygnus.com>
2068 * rtl.def (DEFINE_COND_EXEC): New.
2069 * md.texi: Document it.
2071 * gensupport.c (input_file): Remove.
2072 (struct queue_elem): Add lineno.
2073 (rtx_ready_queue): Remove.
2075 (predicable_default): New.
2076 (predicable_true, predicable_false): New.
2077 (define_attr_queue, define_attr_tail): New.
2078 (define_insn_queue, define_insn_tail): New.
2079 (define_cond_exec_queue, define_cond_exec_tail): New.
2080 (other_queue, other_tail): New.
2081 (queue_pattern): New.
2082 (process_rtx): Add patterns to the appropriate queues.
2083 (is_predicable, identify_predicable_attribute): New.
2084 (n_alternatives, collect_insn_data): New.
2085 (alter_predicate_for_insn, alter_test_for_insn): New.
2086 (shift_output_template, alter_output_for_insn): New.
2087 (process_one_cond_exec, process_define_cond_exec): New.
2088 (init_md_reader): Read the entire file. Process define_cond_exec.
2089 (read_md_rtx): Return elements from the queues.
2091 2000-05-06 Richard Henderson <rth@cygnus.com>
2093 * flow.c (mark_set_1): Don't update conditional life info
2094 if the register is not_dead.
2096 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2098 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
2099 (mostlyclean): Also delete fixincl, fixinc.sh, and
2100 specs.ready, and make clean in the fixinc subdir.
2102 2000-05-06 Richard Henderson <rth@cygnus.com>
2104 * Makefile.in (gensupport.o): Compile for the host.
2105 (host-prefix gensuuprt.o): Remove.
2106 (genflags.o): Depend on gensupport.h and OBSTACK_H.
2107 (genattrtab.o): Likewise.
2108 (gencodes.o): Depend on gensupport.h.
2109 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
2110 (genpeep.o, genattr.o, genoutput.o): Likewise.
2112 * gensupport.c (obstack, rtl_obstack): New.
2113 (init_md_reader): Initialize rtl_obstack.
2114 * gensupport.h (rtl_obstack): Declare.
2115 (message_with_line): Declare.
2117 * genattr.c: Remove all traces of obstack manipulation.
2118 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
2119 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
2121 * genattrtab.c (obstack, rtl_obstack): Remove.
2122 (main): Don't init rtl_obstack.
2123 * genflags.c: Likewise.
2125 * genrecog.c (message_with_line): Move ...
2126 * gensupport.c: ... here.
2128 2000-05-06 Richard Henderson <rth@cygnus.com>
2130 * c-typeck.c (build_c_cast): Remove dead code.
2132 2000-05-06 Richard Henderson <rth@cygnus.com>
2134 * flow.c (split_edge): Don't allocate global_live_at_start for
2135 the new block unless the old blocks had them as well.
2137 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
2139 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
2140 test_bb if a or b uses x.
2142 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2144 * cpphash.h: Remove conditional #define of __extension__.
2145 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
2146 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
2147 (ENABLE_RTL_CHECKING only).
2148 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
2149 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
2150 (ENABLE_TREE_CHECKING only).
2151 * varray.h: Add __extension__ to VARRAY_CHECK macro
2152 (ENABLE_CHECKING only).
2154 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2156 Use new tail-calling mechanism on ARM.
2157 * arm.md (sibcall, sibcall_value): New expands.
2158 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
2159 (tailcalling peepholes): Delete.
2160 (push_multi): Simplify.
2161 * arm.c (lr_save_eliminated): Delete definition.
2162 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
2163 (output_return_instruction): Remove checks on lr_save_eliminated.
2164 (output_arm_prologue): Remove old tail-calling code.
2165 (arm_output_epilogue): New parameter, really_return. All callers
2166 changed. Handle tail-calling epilogues.
2167 * arm.h (lr_save_eliminated): Delete declaration.
2168 (frame_pointer_needed): Delete declaration.
2169 * arm-protos.h (arm_output_epilogue): Adjust prototype.
2171 * arm.md (is_thumb): Examine symbol thumb_code, not expression
2173 * arm.c (thumb_code): Define it.
2174 (arm_override_options): Set it.
2175 * arm.h (thumb_code): Declare it.
2177 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2179 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
2181 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2183 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
2184 bogus clobber to insns.
2185 (load_multiple_operation, store_mulitple_operation): Don't check
2187 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
2189 * arm.md (and_scc, ior_scc): Add missing mode.
2191 * arm.md (call_value_symbol): Remove predicate from op2.
2193 * arm.h (SPECIAL_MODE_PREDICATES): Define.
2195 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2197 * expr.c (get_subtarget): New function.
2198 (force_operand, expand_expr, do_store_flag): Use it.
2200 * toplev.c (compile_file): Don't take strlen of NAME if null.
2202 2000-05-06 David Edelsohn <edelsohn@gnu.org>
2204 * xcoffout.c (xcoff_current_include_file,
2205 xcoff_current_function_file, xcoff_lastfile): Constify char *.
2206 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
2208 (xcoffout_declare_function): Make name 'const char *'.
2209 (xcoffout_end_epilogue): Make fname 'const char *'
2210 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
2211 xcoffout_declare_function, xcoffout_source_line): Match above.
2213 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
2215 * rs6000.c (print_operand): Fix lossage typo.
2216 (output_cbranch): Remove "cr" decoration for now.
2217 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
2219 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
2221 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
2224 2000-05-05 Bruce Korb <bkorb@gnu.org>
2226 * fixinc/genfixes: Improve the matching for make target names
2228 2000-05-05 Catherine Moore <clm@cygnus.com>
2230 * c-common.c (decl_attributes): For TYPE_DECLs attach the
2231 attribute to the decl.
2232 * c-decl.c (pushdecl): Propagate the USED attribute to the
2235 2000-05-05 Richard Henderson <rth@cygnus.com>
2237 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
2238 same way emit_group_load does.
2240 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
2242 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
2244 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
2247 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
2249 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
2251 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
2253 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
2254 to support -shared, on platforms with dynamic libraries.
2256 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
2258 * system.h (S_ISBLK): Provide fallback definition.
2260 2000-05-05 Geoff Berry <geoffb@bops.com>
2262 * extend.texi (Extended Asm): Document inability to give asm
2263 statements access to condition codes.
2265 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
2267 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
2268 as arg 2 of UNIQUE_SECTION.
2270 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
2272 * predict.c: Remove May 4 change.
2273 * bb-reorder.c (make_reorder_chain): Do not perform block movement
2274 if we have predicted the branch at 50-50 probability.
2276 2000-05-05 Richard Henderson <rth@cygnus.com>
2278 * flow.c (init_propagate_block_info): Fix merge error
2279 in HAVE_conditional_execution code.
2281 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
2283 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
2284 shift cycle for unknown shift count. Also generates dec + brpl.
2285 (ashlqi3_out): Don't generate dec + brpl which now generates by
2286 `out_shift_with_cnt'.
2287 (ashlhi3_out): Likewise.
2288 (ashlsi3_out): Likewise.
2289 (ashrqi3_out): Likewise.
2290 (ashrhi3_out): Likewise.
2291 (ashrsi3_out): Likewise.
2292 (lshrqi3_out): Likewise.
2293 (lshrhi3_out): Likewise.
2294 (lshrsi3_out): Likewise.
2296 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
2298 * gcc.c (free_split_directories): Correct typo in explanation
2299 of make_relative_prefix.
2301 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2303 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
2304 comparison codes to branch_comparison_operator.
2306 2000-05-04 Richard Henderson <rth@cygnus.com>
2308 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
2310 2000-05-04 Richard Henderson <rth@cygnus.com>
2312 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
2313 (DPBIT_FUNCS): Remove _sf_to_usi.
2314 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
2316 * ifcvt.c (noce_process_if_block): Fail if A or B modified
2317 between condition and jump.
2319 * libgcc2.c (near eh_context_specific): Comment #endif string.
2320 * longlong.h: Don't use strings with embedded newlines.
2322 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2324 * config/rs6000/rs6000-protos.h: Add output_cbranch.
2325 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
2326 (print_operand): Delete %t and %T codes.
2327 (output_cbranch): New function. Support branch prediction.
2328 * config/rs6000/rs6000.md: Use output_cbranch for
2329 conditional branches and returns.
2331 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
2333 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
2334 * stor-layout.c (place_field): Likewise.
2335 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
2336 * expr.c (store_expr): Make align unsigned.
2337 * explow.c (plus_constant_wide): Make low words unsigned.
2338 * expmed.c (choose_multiplier): Likewise.
2339 * fold-const.c (fold): Likewise.
2340 * tree.h (build_int_2): Likewise.
2341 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
2342 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
2343 (init_emit): Change cast to unsigned char*.
2344 * varasm.c (compare_constant_1): Add cast to char*.
2345 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
2346 * reload1.c (reload): Likewise.
2348 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
2350 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
2352 * predict.c (estimate_probability): If no prediction was found, then
2353 predict the successor that is the next physical block (if such a
2356 2000-05-04 Richard Henderson <rth@cygnus.com>
2358 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
2360 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2362 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
2364 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
2366 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
2367 attribute macros from here ...
2368 (CPP_SPEC): to here.
2369 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
2370 (CPP_SPEC): Likewise.
2371 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
2373 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
2374 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
2376 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2378 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
2380 * diagnostic (vbuild_message_string, build_message_string,
2381 build_location_prefix, output_get_prefix, init_output_buffer,
2382 output_notice, vline_wrapper_message_with_location,
2383 v_message_with_decl, default_print_error_function): De-constify.
2384 (set_real_maximum_length): Prototype.
2386 * diagnostic.h (struct output_buffer, init_output_buffer,
2387 output_get_prefix, output_set_prefix): De-constify.
2389 * function.c (init_function_start): Constify.
2391 * gensupport.c (remove_constraints, process_rtx): Prototype.
2393 * gthr-posix.h: Indent uses of #pragma.
2395 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
2398 * predict.c (find_expected_value): Delete prototype.
2399 (expected_value_to_br_prob): Initialize variable `ev_reg'.
2401 * sbitmap.h (debug_sbitmap): Prototype.
2403 * ssa.c (compute_coalesced_reg_partition): Prototype.
2405 * stor-layout.c (debug_rli): Prototype.
2407 * tree.h (round_down): Prototype.
2408 (init_function_start): Constify.
2410 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
2412 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
2413 (overly conservative). Change extern inline wrappers to
2414 static inline, define them always, use PARAMS properly.
2415 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
2416 whitespace warnings for \f and \v at the beginning of a line.
2418 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
2420 * haifa-sched.c (schedule_insns): Free the flow edge list when it
2423 2000-05-04 Bruce Korb <bkorb@gnu.org>
2425 * fixincl/inclhack.def: added broken_cabs -
2426 Remove `extern double cabs' declarations from math.h
2427 * fixincl/inclhack.sh: regen
2428 * fixincl/fixincl.x: regen
2429 * fixincl/fixincl.c: Remove BOGOSITY code
2430 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
2432 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2434 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
2436 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
2437 when calling MEM_COPY_ATTRIBUTES.
2438 * emit-rtl.c (operand_subword, change_address): Likewise.
2439 * explow.c (stabilize): Likewise.
2440 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
2441 * integrate.c (copy_rtx_and_substitute): Likewise.
2442 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
2443 when calling MEM_COPY_ATTRIBUTES.
2444 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
2446 * cse.c (gen_lowpart_if_possible): Likewise.
2447 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
2448 * optabs.c (gen_move_insn): Likewise.
2449 * recog.c (validate_replace_rtx_1): Likewise.
2450 * simplify-rtx.c (add_mem_for_addr): Likewise.
2451 * stmt.c (expand_anon_union_decl): Likewise.
2452 * config/arm/arm.md: Likewise.
2453 * config/h8300/h7300.c (fix_bit_operand): Likewise.
2454 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
2455 (block_move_no_loop, block_move_sequence): Likewise.
2456 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
2457 * config/alpha/alpha.c (get_aligned_mem): Likewise.
2458 Clear MEM_ALIAS_SET.
2459 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
2460 MEM_COPY_ATTRIBUTES.
2462 2000-05-03 Robert Lipe <robertlipe@usa.net>
2464 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
2465 to suppress libgcc1.
2466 (i[34567]86-*-sco3.2v5*) Likewise.
2467 (i[34567]86-*-sco3.2v4*) Likewise.
2468 (i[34567]86-*-sco) Likewise.
2469 (i[34567]86-*-solaris2) Likewise.
2470 (i[34567]86-*-sysv5*) Likewise.
2471 (i[34567]86-*-sysv4*) Likewise.
2472 (i[34567]86-*-udk*) Likewise.
2473 (i[34567]86-*-sysv*) Likewise.
2475 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2477 * cpphash.h (U): New define, to correct type of string constants.
2478 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
2479 routines, to do casts when passing unsigned strings to libc.
2480 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
2482 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
2483 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
2484 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
2485 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
2486 second argument an U_CHAR *.
2488 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
2489 length field, clean up initializer.
2490 (ISTABLE): Add __extension__ to designated-
2491 initializers version.
2492 * cpplex.c (CHARTAB): Likewise.
2494 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
2495 case so the file won't be empty.
2497 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
2499 * bb-reorder.c (struct reorder_block_def): Member succ removed.
2500 (REORDER_BLOCK_SUCC): Removed.
2501 (enum reorder_skip_type): Removed.
2502 (skip_insns_between_block): Renamed to skip_insns_after_block.
2503 Removed second argument. Removed dead code and cleaned up.
2504 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
2505 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
2506 second parameter to skip_insns_after_block.
2508 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2510 * tree.c (staticp, case LABEL_DECL): New case.
2512 2000-05-03 Richard Henderson <rth@cygnus.com>
2514 * Makefile.in (start.encap): Do not depend on LIBGCC1.
2516 * mklibgcc1.in: Fix typo last change.
2518 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2520 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
2521 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
2522 (GCC_CFLAGS): Use it.
2523 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
2524 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
2525 objc/Make-lang.in: Use it.
2527 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
2529 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
2531 2000-05-03 Richard Henderson <rth@cygnus.com>
2533 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
2534 LIBGCC1 empty with libgcc1.null.
2536 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
2538 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
2541 2000-05-03 Greg McGary <gkm@gnu.org>
2543 * tree.h (tree_common): Add bounded_flag member. Remove
2544 inaccurate comment about number of remaining bits.
2545 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
2546 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
2547 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
2548 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
2549 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
2550 (TYPE_QUAL_BOUNDED): New constant.
2551 (TYPE_QUALS): Handle bounded qualifier.
2552 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
2553 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
2554 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
2555 TYPE_AMBIENT_BOUNDEDNESS): New macros.
2556 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
2557 (tree_type): Add pointer_depth member. Remove
2558 inaccurate comment about number of remaining bits.
2559 (DECL_POINTER_DEPTH): Add macro.
2560 (tree_decl): Add pointer_depth member.
2562 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
2564 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
2565 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
2566 (lshrhi3_out): Likewise.
2567 (ashrsi3_out): bugfix in shift by 8.
2568 (test_hard_reg_class): New function.
2569 * config/avr/avr.md: Bugfix inside conditions in peepholes.
2570 (ashlhi3): removed define_expand of this pattern.
2571 (*ashlhi3_insn): renamed to ashlhi3.
2572 (ashlsi3): removed define_expand of this pattern.
2573 (*ashlsi3_insn): renamed to ashlsi3.
2574 (ashrqi3): removed define_expand of this pattern.
2575 (*ashrqi3_insn): renamed to ashrqi3.
2576 (ashrhi3): removed define_expand of this pattern.
2577 (*ashrhi3_insn): renamed to ashrhi3.
2578 (ashrsi3): removed define_expand of this pattern.
2579 (*ashrsi3_insn): renamed to ashrsi3.
2580 (lshrhi3): removed define_expand of this pattern.
2581 (*lshrhi3_insn): renamed to lshrhi3.
2582 (lshrsi3): removed define_expand of this pattern.
2583 (*lshrsi3_insn): renamed to lshrsi3.
2585 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2587 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
2588 inclusion of "system.h".
2590 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
2592 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
2595 2000-05-03 David Mosberger <davidm@hpl.hp.com>
2597 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
2598 if -mauto-pic is on.
2599 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
2600 -mconstant-gp is in effect and function-descriptors are being used
2601 to make indirect calls.
2602 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
2603 (MASK_AUTO_PIC): Ditto.
2604 (TARGET_CONST_GP): Ditto.
2605 (TARGET_AUTO_PIC): Ditto.
2606 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
2607 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
2608 -mno-pic is in effect.
2609 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
2610 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
2611 -mauto-pic is in effect.
2612 (gprel64_offset): New pattern.
2613 (load_gprel64): Ditto.
2614 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
2615 -mconstant-gp is in effect, no need to preserve gp around direct
2617 (call_value): Ditto.
2618 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
2619 (FUNCTION_PROFILER): Define.
2620 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
2621 @fptr() directive when -mno-pic or -mauto-pic is in effect.
2622 (ASM_OUTPUT_DESTRUCTOR): Ditto.
2624 2000-05-03 Richard Henderson <rth@cygnus.com>
2626 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
2627 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
2628 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
2629 (mklibgcc, libgcc.mk): New targets.
2630 (libgcc.a): Use libgcc.mk.
2631 (stmp-multilib): Likewise.
2632 (stmp-multilib-sub): Remove.
2633 (mostlyclean): Don't delete libgcc2 temp files.
2634 * configure.in (AC_PROG_CC_C_O): Add.
2635 (NO_MINUS_C_MINUS_O): Substitute it.
2636 (all_outputs): Add mklibgcc.
2637 * mklibgcc.in: New file.
2639 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2641 * cppexp.c (op_t): Make an int.
2643 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
2645 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
2647 * gensupport.c (process_rtx): Fix macros used.
2649 2000-05-03 Richard Henderson <rth@cygnus.com>
2651 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
2652 call-clobbered registers of a call.
2654 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2656 * gensupport.c: New file.
2657 * gensupport.h: New file.
2658 * Makefile.in (HOST_RTL): Depend on gensupport.
2659 (gensupport.o) New rule.
2660 * genattr.c: Use gensupport for reading .md files.
2661 * genattrtab.c: Ditto.
2662 * gencodes.c: Ditto.
2663 * genconfig.c: Ditto.
2665 * genextract.c: Ditto.
2666 * genflags.c: Ditto.
2667 * genopinit.c: Ditto.
2668 * genoutput.c: Ditto.
2670 * genrecog.c: Ditto.
2671 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
2672 * md.texi (Insn Splitting): Document define_insn_and_split.
2674 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
2676 * flow.c (verify_flow_info): Added two more sanity checks. The
2677 first checks that the blocks are numbered consecutively. The second
2678 checks that n_basic_blocks is actually equal to the number of
2679 basic blocks in the insn chain.
2681 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2683 * cpplib.h: Add accessor macros for token lists.
2684 * cpplib.c, cpphash.c, cpplex.c: Use them.
2686 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2688 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
2689 memory usage if not in a function.
2690 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
2691 return address if static.
2693 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
2695 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
2696 whether address may trap.
2698 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
2700 * bb-reorder (chain_reorder_blocks): Changed code to test for
2701 EDGE_FALLTHRU rather than making erroneous assumption that the
2702 first outgoing edge is the fall-through edge.
2704 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
2706 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
2707 ABI for varargs, across all MIPS. This is incompatible because the
2708 va_list (__builtin_va_list) structure is different, so a compilation
2709 unit passing a va_list and a compilation unit being passed one, should
2710 both be compiled with the same ABI. (The old structure had two
2711 pointers, now it has three.)
2713 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
2715 * bb-reorder.c (struct reorder_block_def): Remove members end,
2716 block_begin, and block_end.
2717 (REORDER_BLOCK_OLD_END): Delete.
2718 (REORDER_BLOCK_BEGIN): Delete.
2719 (REORDER_BLOCK_END): Delete.
2720 (chain_reorder_blocks): Remove dead code.
2722 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
2724 * bb-reorder.c (remove_scope_notes): Check for both types of scope
2725 notes as the end of a basic block before deleting.
2727 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
2729 * final.c (final_start_function): Fix spelling of "necessary".
2731 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
2733 * toplev.c (debug_ignore_block): Return int.
2734 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
2735 * toplev.h, dwarf2out.h: Adjust.
2736 * emit-rtl.c (remove_unnecessary_notes): Test return value.
2738 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
2739 * toplev.c, final.c, rtl.h: Adjust.
2741 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2743 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
2744 * configure.in: Look for makeinfo in the unified tree, then
2745 for a system makeinfo which is sufficiently new.
2746 * Makefile.in: If configure says makeinfo is too old, don't
2747 build or install Info documentation.
2749 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2751 * cpphash.c (collect_params): Fix off-by-one error.
2752 (dump_hash_helper): Dump all four macro nodetypes.
2754 2000-05-02 Jakub Jelinek <jakub@redhat.com>
2756 * cpphash.c (trad_stringify): Adjust p after stringification as
2759 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2761 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
2762 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
2764 * cppfiles.c (file_cleanup): Delete.
2765 * cpphash.c (macro_cleanup): Delete.
2766 (collect_objlike_expansion, collect_funlike_expansion,
2767 macarg, scan_arguments): Remove CPP_POP case.
2769 * cpplex.c (null_cleanup): Delete.
2770 (cpp_pop_buffer): Do the work that was done in the cleanups
2771 here. Call _cpp_unwind_if_stack from here.
2772 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
2773 cpp_scan_buffer): Run until we see CPP_EOF and the top of
2774 stack is the buffer _below_ the one we stacked.
2775 (cpp_get_token): Always pop an exhausted buffer. Return
2776 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
2777 * cpplib.c (skip_if_group): Don't call cpp_get_token to
2778 increment the line number.
2779 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2781 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2782 we see CPP_EOF and the top of stack is the buffer _below_ the
2784 * scan-decls.c: Likewise.
2786 2000-05-02 Andrew Haley <aph@cygnus.com>
2788 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2789 where this function is called for the second time on a decl that
2790 has had its section info changed in such a way as to move it out
2792 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2794 2000-05-01 Richard Henderson <rth@cygnus.com>
2796 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2797 the sequence we're moving, not to merge_bb->head.
2799 2000-05-01 Richard Henderson <rth@cygnus.com>
2801 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2802 reference to alpha/t-linux.
2803 (alpha*-*-linux-gnu*): Likewise.
2804 * configure: Rebuild.
2806 * calls.c (expand_call): Don't emit reg notes for a sibcall.
2808 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
2811 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
2813 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
2815 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
2818 2000-05-01 Richard Henderson <rth@cygnus.com>
2820 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
2821 emit_conditional_move.
2823 2000-05-01 Jakub Jelinek <jakub@redhat.com>
2825 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
2826 as the dynamic linker.
2828 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
2830 * cppfiles.c (open_include_file): Open file in blocking mode.
2831 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
2832 Only exclude block devices and directories.
2834 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
2835 static. Allocate the hashnode and its string in the same
2837 (del_HASHNODE): Don't free h->name.
2838 (_cpp_lookup): If there is no entry for this string, create
2839 one, of type T_VOID.
2840 (_cpp_lookup_slot): Delete.
2841 * cpphash.h: Update prototypes.
2843 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
2845 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
2846 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
2847 node here, just fill in the value field properly. "Delete"
2848 entries by setting the value field to T_VOID. Check for
2849 hp->type == T_VOID, not hp == NULL.
2851 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
2852 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
2855 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
2857 * config/mn10300/mn10300.c (print_operand_address): Do not add
2860 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
2861 adjusted by less than 256 bytes, use ret regardless of having any
2862 callee-saved register to restore.
2864 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
2866 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
2868 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
2870 * config/i386/djgpp.h (INT_ASM_OP): Define.
2871 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
2872 (ASM_WEAKEN_LABEL): Define.
2873 (MASK_BNU210): Define.
2874 (SUBTARGET_SWITCHES): Define.
2875 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
2876 (MAKE_DECL_ONE_ONLY): Define.
2877 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
2879 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
2881 * i386/cygwin.h (INT_ASM_OP): Define.
2883 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
2885 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
2886 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
2888 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
2890 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
2891 __tmp_reg__ and __zero_reg__ initialization.
2893 2000-04-30 Richard Henderson <rth@cygnus.com>
2895 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
2897 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
2898 referenced bewteen the condition and the jump. Don't delete
2899 anything but the jump.
2901 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
2903 * bb-reorder.c (scope_def): New struct.
2904 (scope_forest_info): New struct.
2905 (struct reorder_block_def): New member "scope".
2906 (REORDER_BLOCK_SCOPE): New macro.
2907 (relate_bbs_with_scopes): New function and prototype.
2908 (make_new_scope): Likewise.
2909 (build_scope_forest): Likewise.
2910 (remove_scope_notes): Likewise.
2911 (insert_intra_1): Likewise.
2912 (insert_intra_bb_scope_notes): Likewise.
2913 (insert_inter_bb_scope_notes): Likewise.
2914 (rebuild_scope_notes): Likewise.
2915 (free_scope_forest_1): Likewise.
2916 (free_scope_forest): Likewise.
2917 (dump_scope_forest): Likewise.
2918 (dump_scope_forest_1): Likewise.
2919 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
2920 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
2922 (reorder_basic_blocks): Added calls to build_scope_scope_forest
2923 and remove_scope_notes before reordering is done. Added calls to
2924 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
2925 after reordering is done.
2927 2000-40-30 Bruce Korb <bkorb@gnu.org>
2929 * fixinc/inclhack.def: Added definitions needed by OSR5,
2930 removed two stale entries (defined away with OLD_CPP).
2931 * fixinc/inclhack.sh: regen
2932 * fixinc/fixincl.x: regen
2934 2000-04-30 Richard Henderson <rth@cygnus.com>
2936 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
2937 from the last insn in the sequence.
2939 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
2941 * cpplex.c (cpp_idcmp): New function.
2942 * cpplib.h: Prototype it.
2943 * scan_decls.c (scan_decls): Use it to inspect token names.
2944 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
2945 the file being run through the preprocessor.
2946 (check_macro_names): Provide length of token to cpp_defined.
2948 * Makefile.in: Remove stale warning message.
2950 * cppfiles.c (redundant_include_p): Provide length of token to
2952 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
2953 values are unsigned int.
2954 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
2955 (_cpp_lookup_slot): Do not calculate the hash, either.
2956 * cpphash.h: Update prototypes.
2957 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
2958 Hashes are unsigned int. Calculate hash here, pass by value
2959 to _cpp_lookup_slot.
2961 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
2963 * simplify-rtx.c (check_value_useless): Delete function.
2964 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
2966 (cselib_invalidate_regno): Likewise.
2967 (cselib_invalidate_mem_1): Likewise.
2968 (references_value_p): Recognize useless values by the fact that they
2970 (discard_useless_values): Likewise.
2971 (cselib_record_set): This may turn a useless value
2974 2000-04-30 Richard Henderson <rth@cygnus.com>
2976 * config/d30v: New port.
2978 * configure.in (d30v-*): Set fp format.
2979 * configure: Rebuild.
2981 2000-04-30 Richard Henderson <rth@cygnus.com>
2983 * ifcvt.c: New file.
2984 * Makefile.in (OBJS): Add it.
2985 (ifcvt.o): New target.
2986 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
2987 and conditional arithmetic.
2988 (find_insert_position): Remove.
2989 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
2990 * toplev.c (DFI_ce, DFI_ce2): New.
2991 (dump_file): Add ce and ce2 dumps.
2992 (rest_of_compilation): Run if_convert a couple o times. Set
2993 cse_not_expected after cse2. Don't set no_new_pseudos until
2994 after sched1 or recompute_reg_usage.
2996 2000-04-30 Richard Henderson <rth@cygnus.com>
2998 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
2999 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
3001 2000-04-30 Richard Henderson <rth@cygnus.com>
3003 * flow.c (struct reg_cond_life_info): New.
3004 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
3005 (init_propagate_block_info): Initialize them.
3006 (free_propagate_block_info): Destruct them.
3007 (mark_set_1): Consider conditional life before killing a register.
3008 (mark_regno_cond_dead): New.
3009 (free_reg_cond_life_info): New.
3010 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
3011 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
3012 (mark_used_reg): Record conditional life.
3014 * haifa-sched.c (schedule_insns): Disable death counting
3015 sanity check for HAVE_conditional_execution.
3017 2000-04-30 Richard Henderson <rth@cygnus.com>
3019 * Makefile.in (TIMEVAR_H): New.
3020 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
3021 (timevar.h): Remove rule.
3023 2000-04-29 Richard Henderson <rth@cygnus.com>
3025 * config/alpha/crtend.asm: Use C comments instead of #.
3026 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
3028 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
3030 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
3032 * cpphash.h (enum node_type: Take out T_MCONST.
3033 (union hashval): Move into struct hashnode.
3034 (struct hashnode): Pack tighter. Remove file, line, col
3036 * cpphash.c: Constify most of the macro-definition structures.
3037 (struct definition): Replace by struct object_defn
3038 and struct funct_defn. Put file, line, column information
3039 here. All users updated to match.
3040 (_cpp_create_definition, _cpp_macroexpand): Remove special
3041 case for #define WORD OTHERWORD.
3042 * cpplib.c (do_undef): Remove T_MCONST case.
3044 * cpphash.h: Move struct reflist, struct definition, and the
3045 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
3046 union hashval. _cpp_free_definition takes a HASHNODE pointer.
3047 * cpphash.c (_cpp_free_definition): Free data pointed to by
3048 MCONST, XCONST, MACRO, and FMACRO nodes properly.
3049 (_cpp_create_definition, del_HASHNODE): Just call
3050 _cpp_free_definition to clear out a hashnode.
3051 * cpplib.c (do_pragma_poison): Likewise.
3053 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3055 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
3056 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
3057 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
3058 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
3059 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
3060 REGNO_AM33_P): Redefine in terms of the new macros.
3061 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
3062 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
3063 STRUCT_VALUE): Likewise.
3064 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
3065 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
3067 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
3069 * regmove.c (struct record_stack_memrefs_data): New.
3070 (record_stack_memrefs): New function.
3071 (combine_stack_adjustments_for_block): Use it.
3073 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
3075 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
3076 use special_function_p to detect alloca.
3078 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
3080 * gcc.texi: Fixes for makeinfo 4.0 --html.
3082 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
3084 * pcp.h: Delete file.
3086 2000-04-28 Kazu Hirata <kazu@hxi.com>
3088 * h8300.c (function_epilogue): Clean up flags when the last insn
3089 in a function is a barrier.
3091 2000-04-28 Chris Demetriou <cgd@sibyte.com>
3093 * configure.in (sparc-hal-solaris2*): protect [] glob from
3095 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
3096 rather than hard-coded constants in target_cpu_default2.
3097 * configure: Regenerate.
3099 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3101 * tree.c (get_callee_fndecl): Extract the initial value from
3104 2000-04-28 Richard Henderson <rth@cygnus.com>
3106 * varasm.c (record_constant_1): Record the CODE_LABEL when
3107 taking the address of a LABEL_REF.
3109 2000-04-28 Richard Henderson <rth@cygnus.com>
3110 Jan Hubicka <jh@suse.cz>
3112 * calls.c (combine_pending_stack_adjustment_and_call): Return the
3113 adjustment; don't do the stack adjust.
3114 (expand_call): Call compute_argument_block_size right before
3115 allocating the block; update comment; don't do alignment sanity
3116 checking for sibling call; use args_size instead of
3117 unadjusted_args_size before args_size is adjusted. Use
3118 combine_pending_stack_adjustment_and_call to compute stack adjust
3119 for must_preallocate case.
3121 * expr.c (push_block): Remove shadow `temp' in inner scope.
3123 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3125 * toplev.c (rest_of_compilation): Call
3126 note_deferral_of_defined_inline_function even if the function
3129 2000-04-28 Scott Bambrough <scottb@netwinder.org>
3131 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
3133 2000-04-28 Richard Henderson <rth@cygnus.com>
3135 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
3137 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3139 * timevar.c (init_timevar): DeANSIfy function definition.
3141 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3143 * Makefile.in (timevar.o): Depend on flags.h.
3144 * timevar.c (unused_stack_instances): New variable.
3145 (timevar_push): Take a timevar_stack_def from
3146 unused_stack_instances if available.
3147 (timevar_pop): Push the popped timevar_stack_def onto
3148 unused_stack_instances.
3149 (TIMEVAR_ENABLE): New macro.
3150 (timevar_def): Make standalone a 1-bit field. Add field used.
3151 (get_time): Rename parameter to now. Return after clearing it if
3153 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
3154 (timevar_pop): Likewise.
3155 (timevar_stop): Likewise.
3156 (timevar_push): Likewise. Mark the timing variable as used.
3157 (timevar_start): Likewise.
3158 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
3159 timevars that were never used.
3161 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3163 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
3164 always TREE_READONLY.
3166 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
3168 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
3169 for call instruction with mode QImode.
3171 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3173 * Makefile.in (OBJS): Add timevar.o.
3174 (toplev.o): Depend on timevar.h.
3175 (ggc-simple.o): Likewise.
3176 (ggc-page.o): Likewise.
3177 (timevar.o): New rule.
3178 (timevar.h): New rule.
3180 * timevar.h: New file.
3181 * timevar.c: Likewise.
3182 * timevar.def: Likewise.
3184 * toplev.h (gc_time, parse_time, varconst_time): Remove.
3185 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
3187 (TIMEVAR): Remove macro.
3188 (gc_time, parse_time, varconst_time, integration_time, jump_time,
3189 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
3190 flow_time, combine_time, regmove_time, sched_time,
3191 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
3192 sched2_time, dbr_sched_time, reorder_blocks_time,
3193 rename_registers_time, shorten_branch_time, stack_reg_time,
3194 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
3196 (compile_file): Don't initialize time variables. Call
3197 init_timevar and start TV_TOTAL timer. Call timevar_print instead
3198 of many calls to print_time.
3199 (rest_of_compilation): Add timing for reload_cse_regs.
3200 (get_run_time): Removed to timevar.c.
3201 (print_time): Likewise.
3202 (get_run_time): Implement using TV_TOTAL time variable.
3203 (print_time): Get total run time from get_run_time.
3204 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
3205 computing elapsed time explicitly.
3206 * ggc-simple.c (ggc_collect): Likewise.
3207 (gc_time): Remove declaration.
3209 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3211 * calls.c (combine_pending_stack_adjustment_and_call): New function.
3212 (expand_call): Use it.
3214 2000-04-27 Jan Hubicka <jh@suse.cz>
3216 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
3219 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3221 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
3224 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
3226 * function.c (epilogue_done): Pass whole insn to record_insns.
3228 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
3230 * cse.c (CSE_ADDRESS_COST): Remove.
3231 (find_best_addr): Add new parameter "MODE", use address_cost instead
3233 (address_cost): New.
3234 (fold_rtx): Update call of find_best_addr.
3235 * rtl.h (address_cost): Declare.
3236 * loop.c (general_induction_var): Add new parameter "MODE", use
3237 address_cost instead of ADDRESS_COST
3238 (init_loop): Use address_cost instead of ADDRESS_COST.
3239 (check_insn_for_givs): Update call of general_induction_var.
3240 (find_mem_givs): Likewise.
3241 (consec_sets_giv): Likewise.
3242 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
3243 * i386.c (ix86_address_cost): New.
3244 * i386-protos.h (ix86_address_cost): Declare.
3246 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
3248 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
3251 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
3253 * expr.c (store_expr): Use clear_storage instead of direct memset
3256 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
3258 * config/mn10300/mn10300.c (mn10300_address_cost): Test
3259 ASHIFT, AND and LABEL_REF.
3261 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
3263 * invoke.texi (-foptimize-sibling-calls): Fix.
3265 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
3267 * loop.c (load_mems) Don't use hard registers for the hoisting.
3269 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
3270 calculation; rename const_equiv array in the preconditioning code
3271 from loop_unroll to loop_unroll_precondition
3273 2000-04-27 Richard Henderson <rth@cygnus.com>
3275 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
3277 (propagate_one_insn): Clear it. Don't update reg_live here.
3278 (init_propagate_block_info): Update for pbi member changes.
3279 (free_propagate_block_info): Likewise.
3280 (mark_set_1): Know that zero_extract, sign_extract, and
3281 strict_low_part don't kill their argument. Alter hard subregs.
3282 Update new_set for non-CLOBBER sets. Update reg_live.
3283 (find_auto_inc): Update reg_live, not new_dead.
3284 (mark_used_reg): Update reg_live, not new_live. Examine new_set
3285 to determine if the reg in question was set this insn. Only update
3286 reg info with PROP_REG_INFO.
3288 2000-04-26 Richard Henderson <rth@cygnus.com>
3290 * flow.c (allocate_reg_life_data): Set max_regno here ...
3291 (life_analysis): ... not here.
3293 * flow.c (calculate_global_regs_live): Force stack pointer
3296 2000-04-26 Richard Henderson <rth@cygnus.com>
3298 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
3299 commit change group changes.
3300 (invert_exp_1): Similarly.
3301 (redirect_exp, invert_exp): Use them.
3302 (redirect_jump_1): New.
3303 (invert_jump_1): New.
3304 (jump_optimize_1): Remove code subsumed by condexec.c.
3305 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
3307 2000-04-26 Richard Henderson <rth@cygnus.com>
3309 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
3311 * genconfig.c (main): Set all HAVE_foo to 1.
3313 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
3315 2000-04-26 Alex Samuel <samuel@codesourcery.com>
3317 * invoke.texi: Document -fssa flag.
3319 2000-04-26 Richard Henderson <rth@cygnus.com>
3321 * flow.c (count_reg_sets_1): Remove.
3322 (count_reg_sets, count_reg_references): Remove.
3323 (recompute_reg_usage): Implement with update_life_info.
3324 Reallocate life data.
3326 2000-04-26 Richard Henderson <rth@cygnus.com>
3328 * flow.c (update_life_info): Consider blocks null to mean the
3330 (calculate_global_regs_live): Likewise.
3331 (life_analysis): Do that instead of collecting all_blocks.
3333 2000-04-26 Richard Henderson <rth@cygnus.com>
3335 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
3336 a still-valid conditional jump.
3338 2000-04-26 Richard Henderson <rth@cygnus.com>
3340 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
3342 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
3343 * flow.c (calculate_loop_depth): Remove.
3344 * output.h (calculate_loop_depth): Don't declare.
3345 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
3346 inline; run estimate_probability at the same time.
3348 2000-04-26 Neil Booth <NeilB@earthling.net>
3350 * cpplib.h: "~=" is not a single pp-token.
3351 * cpplex.c: Correct commentary.
3353 2000-04-26 Richard Henderson <rth@cygnus.com>
3355 * flow.c (mark_set_1): New arguments code and flags; update all
3356 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
3357 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
3358 loop_depth when optimizing for size. Do new_dead update after
3359 emitting REG_UNUSED notes. Merge mark_set_reg code.
3360 (mark_set_reg): Remove.
3361 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
3362 arrange to not emit REG_UNUSED notes.
3364 2000-04-26 Richard Henderson <rth@cygnus.com>
3366 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
3367 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
3369 2000-04-26 Richard Henderson <rth@cygnus.com>
3371 * flow.c (propagate_one_insn): Break out from propagate_block.
3372 (init_propagate_block_info): Likewise.
3373 (free_propagate_block_info): Likewise.
3374 (propagate_block): Use them. Export.
3375 * basic-block.h: Declare them all.
3377 2000-04-26 Richard Henderson <rth@cygnus.com>
3379 * basic-block.h (life_analysis): Declare here ...
3380 * output.h: ... not here.
3381 * flow.c (life_analysis): Remove nregs parameter; replace
3382 remove_dead_code with flags. Remove ssa dead code check.
3383 Only init alias analysis if we'll use it.
3384 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
3385 * ssa.c (convert_to_ssa): Likewise.
3386 (convert_from_ssa): Likewise.
3387 * toplev.c (rest_of_compilation): Likewise.
3389 2000-04-26 Richard Henderson <rth@cygnus.com>
3391 * flow.c (flow_delete_block): Rename from delete_block. Export.
3392 * basic-block.h (flow_delete_block): Declare.
3394 2000-04-26 David S. Miller <davem@redhat.com>
3396 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
3397 taking a PATTERN of it.
3399 2000-04-26 <NeilB@earthling.net>
3401 * cpplex.c (spell_other, spell_char): Remove.
3403 (token_spelling, trigraph_map): Use unsigned chars.
3404 (_cpp_lex_line): Tidy up the switch statement.
3405 * cpplib.h: Implement spell_char with spell_string.
3408 2000-04-26 <RodneyBrown@pmsc.com>
3410 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3411 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3413 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3415 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
3416 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
3417 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
3418 dwarf2out_return_save, dwarf2out_return_reg,
3419 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
3420 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
3421 gen_compile_unit_die, dwarf2out_init): Constify a char*.
3423 * dwarf2out.h (dwarf2out_init): Likewise.
3425 * dwarfout.c (filename_entry, primary_filename, last_filename,
3426 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
3428 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
3429 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
3430 dwarf2out_return_reg): Likewise.
3432 2000-04-26 Andreas Jaeger <aj@suse.de>
3434 * extend.texi (Function Attributes): Fix description of pure
3437 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3439 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
3440 before calling rest_of_compilation.
3442 2000-04-26 Andreas Jaeger <aj@suse.de>
3444 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
3447 2000-04-25 Richard Henderson <rth@cygnus.com>
3449 * cse.c (cse_insn): Emit barrier after unconditional jump.
3451 * calls.c (expand_call): Disable tail call generation once
3452 rtx_equal_function_value_matters is false.
3454 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
3457 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
3459 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
3461 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
3463 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
3464 is the primary DIE for a member function.
3465 (gen_decl_die): Call set_decl_origin_self here.
3466 * dwarfout.c (output_decl): And here.
3467 * integrate.c (output_inline_function): Not here.
3468 Don't clear DECL_INLINE until after calling rest_of_compilation.
3469 (set_decl_origin_self): No longer static.
3470 * tree.h: Add prototype.
3471 * toplev.c (note_deferral_of_defined_inline_function): Only write
3472 out abstract instance for actual inlines.
3474 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
3476 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
3477 EXTENDED_REGS only if TARGET_AM33.
3478 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
3479 SP_REGS to register allocation and reloading unless absolutely
3481 (movsi3): Remove special-case of adding non-constants to SP.
3483 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3485 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
3486 INCLUDES to search and does not provide any of its own. Also it
3487 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
3488 parameters. Also it does not call AC_DEFINE.
3489 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
3490 AC_DEFINE and provides for automatic entries for autoheader.
3491 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
3493 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
3494 so we can pass -I flags and include gansidecl.h/system.h in this
3497 * acconfig.h: Delete all NEED_DECLARATION_* entries.
3499 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3501 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3502 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3503 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
3505 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3506 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3507 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
3508 for these macros. Clean up spacing and linewraps.
3510 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3512 * calls.c (expand_call): Use get_callee_fndecl.
3514 * print-tree.c (print_node): Print the chain of an _EXPR.
3516 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
3517 Jim Wilson <wilson@cygnus.com>
3518 Andrew Haley <aph@cygnus.com>
3520 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
3521 and gp save/restore problems.
3522 * config/ia64/crtend.asm: Add IA-64 unwind support.
3523 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
3524 in fr_pad_size calculation.
3525 (save_restore_insns): Move PR save area. Correct uses of
3526 RTX_FRAME_RELATED_P.
3527 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
3528 (ia64_expand_epilogue): Add eh_epilogue support.
3529 (ia64_function_prologue): Emit .prologue directive.
3530 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
3531 (ia64_override_options): Set init_machine_status and
3532 mark_machine_status.
3533 (rtx_needs_barrier): Handle bsp reads and writes.
3534 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
3535 New static variables.
3536 (process_set, process_for_unwind_directive): New functions.
3537 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
3538 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
3539 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
3541 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
3542 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
3543 (struct machine_function): Define.
3544 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
3546 2000-04-25 Bruce Korb <bkorb@gnu.org>
3548 * fixinc/Makefile.in: make the removal of old programs more
3550 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
3551 install-bin and install-sh
3553 2000-04-25 Nick Clifton <nickc@cygnus.com>
3555 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
3556 defined, define to return zero.
3557 (function_cannot_inline_p): If a function has any target
3558 specific attributes, then use the macro
3559 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
3560 whether it can be inlined. If it cannot, issue a suitable
3563 * tm.texi: Add a new node 'Inlining' to document the new macro
3564 FUNCTION_ATTRIBUTE_INLINABLE_P.
3566 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
3568 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
3571 2000-04-25 Neil Booth <NeilB@earthling.net>
3573 Restore previous patch, plus the following fixes:
3575 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
3576 flags, not CPP_OPEN_PAREN.
3577 * cpplex.c (expand_token_space, init_token_list,
3578 cpp_free_token_list): Put the dummy token at list->tokens[-1].
3579 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
3581 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3583 * config/i386/freebsd.h (INT_ASM_OP): Define.
3585 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
3587 * loop.c (strength_reduce): Fix typo in the last checkin.
3589 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3591 * stor-layout.c (finalize_record_size): Simplify to use existing
3593 (compute_record_mode): No longer static.
3594 * tree.h (compute_record_mode): New declaration.
3596 2000-04-25 Neil Booth <NeilB@earthling.net>
3598 * Revert my patch below until cause of build failures
3601 2000-04-25 Richard Henderson <rth@cygnus.com>
3603 * combine.c (combine_instructions): Add missing argument
3606 * toplev.c (rest_of_compilation): Delay sibcall optimization
3607 until after emit_eh_context.
3609 2000-04-24 Nick Clifton <nickc@redhat.com>
3611 * combine.c (combine_instructions): Do not try to combine a
3612 sequence of insns when the second insn has been replaced by a
3615 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
3617 * gcc.c (load_specs): New static function.
3618 (read_specs): Use it.
3620 * gcc.c (lookup_compiler): Make multiple passes for case
3621 insensitive filesystems.
3623 2000-04-24 Neil Booth <NeilB@earthling.net>
3625 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
3626 * cpphash.h (_cpp_check_directive): new.
3627 * cpplex.c (handle_newline, cpp_free_token_list,
3628 init_trigraph_map, trigraph_ok, trigraph_replace,
3629 backslash_start, skip_block_comment, skip_line_comment,
3630 skip_whitespace, parse_name, parse_number, parse_string,
3631 copy_comment, _cpp_lex_line, spell_char, spell_string,
3632 spell_comment, spell_name, spell_other, _cpp_lex_file,
3633 _cpp_output_list): new.
3634 (expand_name_space): take length argument.
3635 (init_token_list): add comment list initialisation.
3636 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
3637 instead of HSPACE_BEFORE.
3639 * cpplib.c (_cpp_check_directive): new
3640 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
3641 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
3642 (HSPACE_BEFORE): delete.
3643 (TTYPE_TABLE): rearrange.
3644 (struct cpp_toklist): update.
3646 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3648 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
3649 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
3650 argument form of AC_DEFINE.
3652 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
3653 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
3654 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
3655 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
3656 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
3658 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
3660 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3662 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
3663 deduced.h): Use -isystem, not -I, for including system headers.
3665 2000-04-24 Nick Clifton <nickc@cygnus.com>
3667 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
3668 the source register is the frame pointer or arg pointer.
3669 (addsi3_small_int): Disallow if source register is the frame
3670 pointer or arg pointer.
3672 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3674 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
3675 call to AC_MSG_RESULT.
3677 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3679 * invoke.texi: Correct grammatical errors, document
3680 -fno-gnu-keywords as identical to -fno-asm for C++.
3682 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3684 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
3685 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
3686 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
3687 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
3688 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
3690 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
3691 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
3692 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
3693 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
3696 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
3698 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
3699 (pop_alignment): Likewise.
3700 (handle_pragma_token): Likewise.
3702 2000-04-24 Robert Lipe <robertlipe@usa.net>
3704 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
3706 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
3708 * combine.c (try_combine): Update reg_nonzero_bits of
3709 newi2pat before newpat.
3711 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
3713 * loop.c (strength_reduce): Simplify test to INSN_P.
3714 (record_giv): Attempt to simplify the add value, use CONSTANT_P
3715 expressions instead of CONST_INT.
3716 (express_from_1): Likewise.
3718 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3720 * regs.h (reg_n_max): Don't declare.
3721 * flow.c (reg_n_max): Don't define.
3722 * regclass.c (renumber): Don't initialize to zero.
3723 (regno_allocated): Likewise.
3724 (reg_n_max): Define.
3725 (allocate_reg_info): Don't initialize unnecessarily.
3727 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
3729 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
3730 and blockage_p in the newly allocated attribute.
3732 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
3734 * config/mn10300/mn10300.md (addsi): `inc4' on address
3735 registers does not modify cc, but `inc' on an extended
3738 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
3740 * reload.c (find_equiv_reg): Checks all valueno regs
3741 as a reload_reg_p regs.
3743 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3745 * cpphash.c (collect_objlike_expansion): Add sanity check.
3746 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
3747 the buffer is the empty string, return. Mark __DATE__ and
3748 __TIME__ as XCONST nodes, not MCONST.
3749 (_cpp_macroexpand): Avoid pushing an empty buffer.
3750 (funlike_macroexpand): Don't pop token_buffer here.
3752 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
3754 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
3755 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
3756 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
3757 (REGNO_OK_FOR_BASE_P): Define in terms of them.
3758 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
3759 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
3760 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
3762 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3764 * loop.c (simplify_giv_expr): Be more agressive on simplifying
3767 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3769 * cpphash.h (struct definition): Move file, line, col members...
3770 (struct hashnode): ... here. Also add 'disabled' flag.
3771 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
3772 T_IDENTITY. Remove T_DISABLED.
3775 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3776 (collect_expansion): Split into collect_objlike_expansion and
3777 collect_funlike_expansion.
3778 (_cpp_macroexpand): Split out scan_arguments, stringify, and
3779 funlike_macroexpand.
3780 (_cpp_compare_defs): Rename compare_defs, make static.
3781 (_cpp_make_hashnode): Initialize hp->disabled.
3782 (macro_cleanup): Adjust for new token types. Clear
3784 (_cpp_create_definition): Move code here to determine what
3785 sort of macro it is, and code to check for redefinitions, from
3786 do_define. Implement a few simple cases without creating a
3788 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3789 Handle the simple cases.
3790 (push_macro_expansion): Set buf->has_escapes and hp->disabled
3793 * cppinit.c (builtin_array): Change MCONST to XCONST
3795 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3796 fix check for disabled and function-like macros.
3797 * cpplib.c (do_define): Move most logic to
3798 _cpp_create_definition.
3799 (do_undef): Handle new special token types.
3801 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
3803 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3804 of CONSTANT_P for mult_val; always use validate_change to update insn.
3806 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
3808 * cpphash.c (trad_stringify, add_pat): New functions.
3809 (collect_expansion): Restore support for -traditional syntax.
3810 Use trad_stringify and add_pat.
3811 (_cpp_macroexpand): Restore support for -traditional semantics.
3812 * cpplex.c (_cpp_scan_line): Don't change space_before if we
3813 get a COMMENT token.
3814 (_cpp_lex_token): Provide COMMENT tokens to caller if
3815 traditional and parsing_define_directive.
3816 (skip_comment): Warn about // comments if -Wtraditional.
3817 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
3819 (do_undef): Don't warn about undefining EMPTY nodes.
3821 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
3823 * loop.c (strength_reduce): Fix biv removal code.
3825 2000-04-22 Richard Henderson <rth@cygnus.com>
3827 * predict.c (estimate_probability): Examine both sides of
3828 a branch for no exits. Use 90% not 50% for predict taken.
3829 Reorg for one copy of note generation code.
3831 2000-04-22 Richard Henderson <rth@cygnus.com>
3833 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
3835 2000-04-22 Richard Henderson <rth@cygnus.com>
3837 * diagnostic.c (init_output_buffer): Don't initialize format_args.
3838 (output_clear): Likewise.
3839 (output_printf): Use va_copy.
3840 (vline_wrapper_message_with_location): Likewise.
3841 (v_message_with_decl): Likewise.
3842 (line_wrapper_printf): VA_START infor buffer.format_args directly.
3843 * system.h (va_copy): Provide default implementation.
3845 2000-04-22 Richard Henderson <rth@cygnus.com>
3847 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
3848 the collected condition is not a constant.
3850 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
3852 * diagnostic.h: New file.
3854 * Makefile.in (diagnostic.o): Depends on diagnostic.h
3856 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
3857 various function prototypes.
3858 (diagnostic.h): #include.
3859 (struct output_buffer): Move into diagnostic.h.
3860 (get_output_prefix): Rename to output_get_prefix. Export.
3861 (init_output_buffer): Export. Break out. Ajust intialization.
3862 (output_space_left, output_append): Export.
3863 (output_newline): Rename to output_add_newline. Export.
3864 (output_clear): Nullify additional output_buffer fields.
3865 (output_puts): Rename to output_add_string. Export.
3866 (dump_output): Rename to output_flush_on. Export.
3867 (build_location_prefix): Constify return-type.
3868 (emit_output_prefix): Rename to output_emit_prefix. Export.
3869 (set_real_maximum_length): New function.
3870 (output_set_maximum_length): Ditto
3871 (output_clear): Ditto.
3872 (output_add_character): Ditto.
3873 (output_add_integer): Ditto.
3874 (output_add_space): Ditto.
3875 (output_format): Ditto.
3876 (output_printf): Adjust buffer initialization.
3877 (vline_wrapper_message_with_location): Ditto.
3878 (v_message_with_decl): Ditto. Adjust call to output_puts
3879 and get_output_prefix.
3880 (default_print_error_function): Adjust buffer intialization.
3882 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3884 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
3887 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
3889 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
3892 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3894 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
3895 accurate data about SP moves.
3897 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
3899 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
3900 aliases to AM33 registers.
3902 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3904 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
3905 to all EXTENDED bitmaps.
3907 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
3909 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
3910 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
3911 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
3913 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
3915 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
3916 the operand is not constant.
3918 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
3920 * reload.c (find_equiv_reg): Checks all valueno and regno regs
3921 as a call-clobbered regs.
3923 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3925 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
3927 * rtl.def: Update comment.
3928 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
3929 * integrate.c (expand_inline_function): Likewise.
3930 * profile.c (branch_prob): Likewise.
3931 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
3932 * print-rtl.c (print_rtx): Likewise.
3933 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
3934 (reemit_notes): Likewise; also use enum insn_note.
3936 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
3937 (place_field): Properly compute know and actual alignment.
3939 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
3942 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
3945 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
3947 * cpphash.c (struct arg, struct arglist): Const-ify strings.
3948 (warn_trad_stringify, duplicate_arg_p): New helper functions.
3949 (collect_expansion): Rewrite to scan over a token list.
3950 Remove -traditional support.
3951 (collect_formal_parameters): Rename to collect_params; rewrite
3952 to scan over a token list.
3953 (_cpp_create_definition): Adjust to scan a token list.
3954 (_cpp_macroexpand): Remove -traditional support.
3955 (_cpp_compare_defs): Whitespace is now canonicalized.
3956 (comp_def_part): Delete function.
3958 * cpphash.h: Update prototypes.
3959 * cpplex.c (init_token_list): Don't set lineno if there is no
3961 (pedantic_whitespace): New function.
3962 (_cpp_scan_line): Mark tokens that had hspace before. Don't
3963 consume a newline. Use pedantic_whitespace.
3964 (_cpp_lex_token): Remove support for -traditional macros.
3965 (_cpp_get_define_token): Delete.
3966 (_cpp_get_directive_token): Do the real work here. Use
3967 pedantic_whitespace.
3968 (_cpp_init_input_buffer): Initialize pfile->directbuf.
3970 * cpplib.c (get_macro_name): Delete.
3971 (do_define): Read the entire line into pfile->directbuf, then
3972 feed the token list to _cpp_create_definition.
3973 * cpplib.h (HSPACE_BEFORE): new define.
3974 (struct cpp_reader): Add a toklist member, "directbuf".
3976 * predict.c (estimate_probability): New heuristic: if a jump
3977 branches around a block with no successors, predict it taken.
3978 Disentangle control flow.
3980 2000-04-20 Richard Henderson <rth@cygnus.com>
3982 * loop.c (emit_iv_add_mult): Revert last change.
3984 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
3986 * cpplib.h (enum cpp_ttype): Add token types for all
3987 punctuators. Distinguish pp-numbers from valid C numbers.
3988 Give some tokens better names. Initialize from macro.
3989 (struct cpp_name, cpp_token, cpp_toklist): New data
3992 * cpplex.c (bump_column, expand_name_space,
3993 expand_token_space, init_token_list, cpp_output_list,
3994 _cpp_scan_line): New functions.
3995 (output_line_command): Add third argument, new line number.
3996 * cpphash.h: Update prototypes.
3997 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
4000 2000-04-20 Richard Henderson <rth@cygnus.com>
4002 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
4004 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
4006 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
4009 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
4011 * loop.c (emit_iv_add_mult): Simplify it's input and emit
4012 REG_EQUAL note explaining the calculated value.
4014 * calls.c (expand_call): Avoid unnecesary precalculation
4015 and outgoing parameters space guarding for sibling calls.
4016 (store_one_arg): Likewise.
4018 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4020 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
4021 (rest_of_compilation): Write sibling dump file and account
4022 for time as jump time.
4023 * invoke.texi: Update documentation on dump flags.
4025 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
4027 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
4029 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
4031 * cpphash.c (special_symbol): Represent an empty macro with
4032 "\r \r " not just "\r ".
4033 (_cpp_macroexpand): Correct condition for the foo ( ) special
4035 (unsafe_chars): Handle EOF as second argument.
4036 (push_macro_expansion): Simplify test for removing escape at
4037 end. Do not trim both escapes if there is no text in between.
4039 2000-04-19 Jim Blandy <jimb@redhat.com>
4041 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
4042 of PTR_SIZE, when appropriate.
4044 2000-04-19 Mark Mitchell <mark@codesourcery.com>
4046 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
4047 (USE_ENUM_BITFIELDS): Fix typo.
4049 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4051 * stor-layout.c (place_field): Set rli->offset_align properly.
4053 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4055 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
4056 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
4057 PARM_BOUNDARY): Remove unnecessary casts.
4059 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
4061 * calls.c (precompute_arguments): Remove must_preallocate and
4063 (expand_call): Update call of precompute_arguments.
4065 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
4066 check_insn_for_givs): Break out from ...
4067 (strength_reduce) ... here; use for_every_insn_in_loop to call
4068 check_insn_for_givs.
4069 * loop.h (for_every_insn_in_loop): Declare.
4070 (loop_insn_callback): New type.
4072 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4074 * cpplib.c (do_pragma_poison): Strings in the token buffer are
4077 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
4079 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
4082 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4084 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
4086 * configure.in: Delete --disable-cpplib option and all
4087 references to cpp_main.
4088 * configure: Regenerate.
4089 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
4090 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
4091 cccp.o, cccp, or cppmain. Link cppmain.o straight to
4092 cpp$(exeext). Add --no-headers to makeinfo command line when
4093 generating INSTALL. Install and uninstall cpp.1 manpage, not
4095 * install.texi: Delete all references to cexp.y/cexp.c.
4096 Delete ancient instructions for compiling GCC on 3b1.
4097 * INSTALL: Regenerate.
4099 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
4100 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
4101 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
4103 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
4104 which is no longer tested anywhere.
4106 * cppinit.c (handle_option): Don't run error message through
4109 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4111 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
4112 * cpperror.c (hashtab.h): Now include.
4113 * cppexp.c (hashtab.h): Likewise.
4114 * cpplex.c (hashtab.h): Likewise.
4115 * cppfiles.c (hashtab.h): Likewise.
4116 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
4117 to htab_find_slot_with_hash.
4118 * cpphash.c (hashtab.h): Now include.
4119 (_cpp_lookup_slot): INSERT is now enum insert_option.
4120 * cpphash.h (_cpp_lookup_slot): Likewise.
4121 * cppinit.c (hashtab.h): Include earlier.
4122 (initialize_builtins): Pass enum to htab_find_slot.
4123 * cpplib.c (hashtab.h): Now include.
4124 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
4125 (do_pragma_poison, do_assert): Likewise.
4126 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
4127 htab_find_slot_with_hash.
4128 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
4129 * tree.c (type_hash_add): Likewise.
4130 (build1): Minor cleanup.
4132 * ggc-common.c: Add missing blanks.
4133 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
4134 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
4136 * stmt.c (mark_case_node): New function.
4137 (mark_case_nesting): Call it.
4139 * expmed.c (emit_store_flag): If comparing two-word integer
4140 with zero, can optimize NE, EQ, GE, and LT.
4142 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
4143 * conflict.c: Minor cleanups.
4144 * optabs.c: Add blank line
4145 * simplify-rtx.c: Minor cleanups.
4147 2000-04-18 Stan Cox <scox@cygnus.com>
4149 * gengenrtl.c (genlegend): Fix misspelling.
4151 2000-04-18 Robert Lipe <robertlipe@usa.net>
4153 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
4154 bitfields of the host compiler are not signed quantities.
4155 * config.in: Regenerate.
4156 * configure: Regenerate.
4157 * system.h (USE_ENUM_BITFIELDS): Added.
4158 (ENUM_BITFIELDS): Added.
4159 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
4160 (SHORT_ENUM_BUG): Deleted.
4161 * tree.h (tree_common): Members `code', `mode', `built_in_class',
4163 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
4164 (CODE_FIELD_BUG): Likewise.
4165 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
4167 * config/m68k/x-ccur (X_CFLAGS): Likewise.
4169 2000-04-18 Mark Mitchell <mark@codesourcery.com>
4171 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
4174 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4176 * cppexp.c (lex): Don't assume tokens are NUL terminated.
4177 * cpplib.c (do_include, do_import, do_include_next,
4178 read_line_number, detect_if_not_defined): Likewise.
4179 * cpphash.c (collect_expansion): Likewise.
4180 (special_symbol, _cpp_macroexpand): Check return from
4182 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
4183 macros. Delete all uses.
4185 * gcc.dg/cpp-mi.c: Add two more test cases.
4186 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
4188 2000-04-17 Richard Henderson <rth@cygnus.com>
4190 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
4191 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
4193 2000-04-17 Mark Mitchell <mark@codesourcery.com>
4195 * function.c (expand_function_start): Use hard_function_value to
4196 compute the RTL to use for DECL_RESULT.
4198 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
4200 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
4201 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4202 x86_memory_mismatch_stall): New global variables.
4203 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
4204 alloved; fix load penalties for Athlon.
4205 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4206 x86_memory_mismatch_stall): Declare.
4207 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
4208 TARGET_MEMORY_MISMATCH_STALL): New.
4209 * i386.md (athlon scheduling parameters): Fix latencies according to
4210 Athlon Optimization Manual.
4211 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
4213 (fsqrt instruction patterns): Set athlon_decode to direct.
4214 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
4215 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
4216 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
4217 and TARGET_PARTIAL_REGISTER_STALL machines.
4218 (pushdf_nointeger): New pattern.
4219 (pushdf_integer): Rename from pushdf.
4220 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
4221 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
4223 2000-04-17 Richard Henderson <rth@cygnus.com>
4225 * loop.c (canonicalize_condition): Add WANT_REG argument.
4226 Stop the search if we match it.
4227 * expr.h (canonicalize_condition): Update decl.
4228 * predict.c (expected_value_to_br_prob): Use it. Track last
4229 expected value note.
4230 (find_expected_value): Remove.
4232 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
4234 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4236 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
4237 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
4239 * configure.in: Call AC_FUNC_MMAP_FILE.
4240 * configure: Regenerate.
4241 * config.in: Regenerate.
4243 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
4244 * fixinc/fixincl.c: Likewise.
4246 2000-04-17 Richard Henderson <rth@cygnus.com>
4248 * builtins.c (expand_builtin_expect): New.
4249 (expand_builtin): Call it.
4250 * builtins.def (BUILT_IN_EXPECT): New.
4251 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
4252 * extend.texi: Document it.
4254 * predict.c (expected_value_to_br_prob): New.
4255 (find_expected_value): New.
4256 * basic-block.h (expected_value_to_br_prob): Declare.
4257 * toplev.c (rest_of_compilation): Invoke it.
4259 * rtl.h (NOTE_EXPECTED_VALUE): New.
4260 (NOTE_INSN_EXPECTED_VALUE): New.
4261 * rtl.c (note_insn_name): Update.
4262 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
4263 cases; handle NOTE_INSN_EXPECTED_VALUE.
4265 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4267 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
4268 leaf sibcall delay slot if flag_pic.
4269 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
4271 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4273 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
4275 * fixproto: If fix-header fails, exit with an error.
4277 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
4279 * cse.c (struct check_depdendence_data): New.
4280 (check_dependence): New function.
4281 (invalidate): Use check_depdenence.
4283 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4285 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
4286 UNITS_PER_WORD is unsigned.
4288 * tree.h (struct tree_common): Remove misleading comment.
4290 2000-04-16 Dave Pitts <dpitts@cozx.com>
4292 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
4293 message in quotes. Otherwise, IBM's make program treats the '#' as the
4294 start of a comment and ignores the remainder of the line.
4296 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
4298 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
4299 * cexp.y (initialize_random_junk): Likewise.
4300 * cppfiles.c (find_include_file): Cast alloca return value.
4301 * cppinit.c (initialize_standard_includes): Likewise.
4302 * cpplib.c (cpp_define, cpp_undef): Likewise.
4303 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
4304 * final.c (output_asm_insn): Allow for holes in EBCDIC.
4305 * fold-const.c (CHARMASK): New.
4306 (real_hex_to_f): Use it.
4307 * real.c (CHARMASK): New.
4308 (etoasc, asctoeg): Use it.
4309 (asctoeg): EBCDIC lower case characters preceed upper case.
4311 * i370.c (mvs_add_label): Change spacing for coding conventions.
4312 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
4313 outputing case vectors.
4314 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
4315 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
4316 since vector in in the data CSECT.
4317 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
4318 * i370.md (Many patterns): Put the length in the XL directives.
4319 (movdi): Put back STM and MVC in definition.
4320 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
4321 pattern using the TCA.
4322 * oe.h (CPP_SPEC): Added to allow trigraphs.
4323 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
4324 not support the "long long" type.
4326 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4328 * config/mips/mips-protos.h (mips_legitimate_address_p): New
4330 (mips_reg_mode_ok_for_base_p): Likewise.
4331 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
4332 (REG_OK_FOR_INDEX_P): Define unconditionally.
4333 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
4334 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
4335 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
4336 that GET_MODE_SIZE is unsigned.
4337 (mips_reg_mode_ok_for_base_p): Define.
4338 (mips_legitimate_address_p): Likewise. Adjust now
4339 that GET_MODE_SIZE is unsigned.
4340 (block_move_loop): Make the number of bytes unsigned.
4341 (expand_block_move): Likewise.
4342 (function_arg): Make the loop counter unsigned to match the
4345 2000-04-16 Richard Henderson <rth@cygnus.com>
4347 * rtl.h (enum insn_note): New enumeration. Subsume
4348 NOTE_INSN_DELETED and friends.
4349 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
4350 * rtl.c (note_insn_name): Tweak string order.
4352 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
4354 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
4357 * cpplex.c (output_line_command): Remove debugging prints.
4358 (cpp_output_tokens): Don't write out a zero-length buffer or
4359 try to see if it has a newline in it.
4360 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
4361 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
4362 the end of the loop. Use memmove. Don't read past the end of
4363 the buffer. Remove trailing newlines from error messages.
4365 2004-04-16 Neil Booth <NeilB@earthling.net>
4367 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
4368 * cpplib.c: Add new syntax flags to directive table, and
4371 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4373 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
4376 2000-04-15 David Edelsohn <edelsohn@gnu.org>
4378 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
4379 * haifa-sched.c: Update -fsched-verbose comments to use "=".
4381 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4383 * Makefile.in (ggc-page.o): Now includes toplev.h.
4384 * ggc-page.c (toplev.h): Now included.
4385 (gc_time): Remove declaration.
4386 (ggc_collect): TIME now long.
4387 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
4389 * toplev.h (gc_time, parse_time, gc_time): New declarations.
4391 * toplev.c: Make *_time variable long to reduce chance of overflow.
4392 (TIMEVAR): Likewise for `otime'.
4393 (print_time): Arg is now long; compute percentage in FP and round.
4394 * toplev.h (print_time): Arg is long.
4396 * tree.c: Minor whitespace changes.
4398 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
4399 * configure: Rebuilt.
4400 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
4401 (__fixunsxfDI): Renamed from __fixunsxfdi.
4402 (__fixunsdfDI): Renamed from __fixunsdfdi.
4403 (__fixunssfDI): Renamed from __fixunssfdi.
4404 (__floatdisf): Use proper type in REP_BIT macro.
4405 (__fixunsxfSI): Renamed from __fixunsxfsi.
4406 (__fixunsdfSI): Renamed from __fixunsdfsi.
4407 (__fixunssfSI): Renamed from __fixunssfsi.
4408 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
4409 Change location of macros and upper-case some names as above.
4410 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
4411 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
4413 * varasm.c (assemble_variable): Add cast to remove warning.
4414 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
4416 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
4417 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
4418 region number to -1.
4420 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
4422 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
4423 call unshare_all_rtl.
4425 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
4427 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
4429 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
4430 Use .s1 not .s0 for all FP instructions.
4432 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
4434 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
4436 (safe_fwrite, output_line_command): New static functions.
4437 (cpp_expand_to_buffer): Now private to cpplib.
4438 (cpp_scan_buffer): Take a printer.
4440 * cpphash.h: Update prototypes.
4441 * cpplib.h: Update prototypes.
4443 (cpp_buffer): Remove last_nominal_fname.
4444 (cpp_reader): Remove lineno.
4446 * cppmain.c: Use a cpp_printer.
4447 * fix-header.c: No need to inhibit line commands. Call
4448 cpp_start_read with no printer.
4450 * cpperror.c (cpp_notice_from_errno): Provide default name.
4451 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
4452 (find_include_file, cpp_read_file): Use make_IHASH.
4453 (file_cleanup): Set control_macro and clear
4454 input_stack_listing_current here.
4455 (_cpp_execute_include): Don't output entering-file marker.
4456 * cpphash.c (special_symbol): Look for the line number in the
4457 buffer, not the reader.
4458 (_cpp_macroexpand): No need to disable line commands.
4459 (_cpp_dump_definition): No need to generate line commands.
4460 (dump_hash_helper): Remove excess newline from output.
4461 * cppinit.c (dump_special_to_buffer): No need to generate line
4463 (cpp_printer_init): New.
4464 (cpp_start_read): Take a printer, and start it up if it's not
4465 NULL. No need to generate line commands.
4466 (cpp_finish): Expect no buffers stacked at all. Take a
4467 printer argument, and flush the output buffer if it's not
4469 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
4470 Don't put two hashes at the beginning of an assertion.
4471 (cpp_get_token): Don't increment pfile->lineno or emit line
4472 commands here. Return EOF if there's no buffer when we get
4474 * cpplib.c (do_define, skip_if_group):
4475 No need to disable line commands.
4476 (_cpp_output_line_command): Delete function.
4477 (do_line): Don't emit line commands here, but set things up so
4478 they will be emitted if necessary. Use _cpp_fake_ihash to
4479 make unique nominal_fnames if necessary.
4480 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
4481 with 0 for column, not -1.
4482 (_cpp_handle_eof): Don't set the control macro here. Don't
4483 clear input_stack_listing_current here. Don't emit line
4486 2000-04-14 Geoff Keating <geoffk@cygnus.com>
4488 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
4489 always, use the default SVR4 start address.
4491 * config/rs6000/linux.h (LINK_SPEC): Don't define.
4492 (LINK_SHLIB_SPEC): Define.
4493 (LINK_START_DEFAULT_SPEC): Define.
4494 (LINK_OS_DEFAULT_SPEC): Define.
4496 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
4498 * config/rs6000/eabi.asm (__eabi): Call __init rather than
4499 __do_global_ctors to handle constructors.
4500 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
4501 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
4502 (STARTFILE_MVME_SPEC): Likewise.
4503 (STARTFILE_SIM_SPEC): Likewise.
4504 (ENDFILE_ADS_SPEC): Use crtend.
4505 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
4506 (ENDFILE_MVME_SPEC): Likewise.
4507 (ENDFILE_SIM_SPEC): Likewise.
4508 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
4509 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
4510 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
4511 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
4512 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
4513 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
4514 (CRTSTUFF_T_CFLAGS_S): Define.
4515 * config/rs6000/eabi-ctors.c: Delete.
4517 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
4520 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
4524 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
4526 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
4527 plus mask size is smaller or equal to the mode size.
4529 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4531 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
4534 * expr.c (reload.h): Now included.
4535 (emit_block_move): Set volatile_ok when checking for movstr.
4536 (emit_move_1): Check for replacements in addresses in multi-word case.
4537 * Makefile.in (expr.o): Now includes reload.h.
4539 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
4540 Never have a LIBCALL end a basic block.
4541 (find_basic_blocks_1): Likewise.
4542 Reorganize CALL_INSN cases.
4544 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
4546 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
4548 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
4549 completers from mov.ret instruction.
4551 2000-04-14 Richard Henderson <rth@cygnus.com>
4553 * fold-const.c (extract_muldiv): Don't distribute and widen
4554 multiply across plus for non-sizetype unsigned types.
4556 2000-04-14 Richard Henderson <rth@cygnus.com>
4558 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
4559 If the original source is dead in the incr insn, it's dead now.
4561 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4563 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
4564 see if DECL_BIT_FIELD needs to still be set.
4566 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
4568 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
4569 print_int_cst_octal with something that's not an INTEGER_CST.
4571 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
4572 and not a SUBREG to a FLOAT rtl.
4574 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
4576 * emit-rtl.c (try_split): Avoid infinite loop if the split
4577 results in a sequence that contains the original insn.
4579 2000-04-13 Andreas Jaeger <aj@suse.de>
4581 * config/mips/mips.c (expand_block_move): Pass alignment
4582 argument to move_by_pieces in bits, not bytes.
4584 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
4585 __pic__ for little endian.
4587 2000-04-13 Andreas Jaeger <aj@suse.de>
4589 * config/i386/i386-protos.h: Add prototype for
4590 uno_comparison_operator.
4592 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
4594 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
4595 * calls.c (ECF_PURE): New flag.
4596 (emit_call_1): Handle ECF_PURE calls.
4597 (initialize_argument_information): Unset ECF_PURE flag too.
4598 (precompute_arguments): Precompute for ECF_PURE too.
4599 (expand_call): Handle ECF_PURE calls too.
4600 (emit_library_call_value_1): Rename no_queue argument to fn_type,
4601 accept value of 2 as pure function.
4602 (emit_library_call_value, emit_library_call): Rename no_queue argument
4604 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
4606 * tree.h (DECL_IS_PURE): New macro.
4607 (struct tree_decl): Add pure_flag.
4608 * c-common.c (enum attrs): Add attribute "pure".
4609 (init_attributes): Initialize attribute "pure"
4610 (decl_attributes): Handle attribute "pure".
4611 * extend.texi (Attribute "pure"): Document.
4612 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
4614 (flags_from_decl_or_type): Support attribute "pure".
4616 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
4618 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
4619 the token except for numbers and identifiers.
4621 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
4623 * i386.c (ix86_expand_binary_operator,
4624 ix86_expand_unary_operator): Check no_new_pseudos
4625 instead of reload_in_progress and reload_completed.
4626 (ix86_split_ashldi, ix86_split_ashrdi,
4627 ix86_split_lshrdi): Check no_new_pseudos instead
4628 of reload_completed.
4630 2000-04-12 Jeffrey A Law (law@cygnus.com)
4632 * function.c (purge_addressof): Unshare any shared rtl created by
4633 purge_addressof and its children.
4635 2000-04-12 Mark Mitchell <mark@codesourcery.com>
4637 * function.c (aggregate_value_p): VOID_TYPE nodes are never
4640 2000-04-05 Andreas Jaeger <aj@suse.de>
4642 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
4643 not compiling PIC code, add flags for mabi=64.
4644 (SUBTARGET_CPP_SIZE_SPEC): New.
4645 (SUBTARGET_CPP_SPEC): New.
4646 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
4647 for MIPS/Linux and lots of code needs these defines.
4649 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
4651 * reorg.c (fill_slots_from_thread): Check side_effects_p when
4652 trying the "opposite arithmetic" approach.
4654 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4656 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4657 (struct sh_args): Add new field force_mem.
4658 (INIT_CUMULATIVE_ARGS): Initialize it.
4659 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
4661 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
4663 * calls.c (expand_call): Do not reverse args in "equal from" field.
4664 (emit_library_call_value_1): Emit_libcall_block for const and pure
4667 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4669 * reload1.c (reload_combine): Don't enable optimization for fixed
4670 registers when encountering a BARRIER.
4672 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
4674 * builtins.c (expand_builtin_memcmp): Do expansion even with
4675 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
4677 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
4678 stack is propertly aligned; add sanity checking for aligned
4680 (expand_library_call_value_1): Add sanity checking for aligned
4683 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
4685 * calls.c (emit_library_call_value_1): Change 3rd arg to
4686 locate_and_pad_parm to disregard the setting of partial.
4688 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4690 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
4692 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
4693 CALL_INSN from the normal case.
4695 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
4697 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4698 New global variables.
4699 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
4701 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4703 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
4704 TARGET_ADD_ESP_8): New macros.
4705 * i386.md: Add peep2s to convert esp adjustments to push and pop
4707 (pushsi_prologue, popsi_epilogue): New patterns.
4709 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4711 * real.c (toe64): Remove stale #endif from the last change.
4713 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
4715 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
4716 * real.c (toe64): Revert previous change.
4718 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4720 * objc/objc-act.c: Include ggc.h.
4721 (objc_tree_index, objc_global_trees): Convert most of the
4722 static tree variables into a static array with previous names
4724 (objc_ellipsis_node): New variable.
4725 (lang_init): Call objc_act_parse_init and c_parse_init.
4726 Create objc_ellipsis_node.
4727 (build_selector_translation_table): Use objc_ellipsis_node instead
4729 (hack_method_prototype): Likewise.
4730 (get_arg_type_list): Likewise.
4731 (start_method_def): Likewise.
4732 (continue_method_def): Likewise.
4733 (gen_method_decl): Likewise.
4734 (ggc_mark_imp_list): New function.
4735 (ggc_mark_hash_table): New function.
4736 (objc_act_parse_init): New function.
4737 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
4738 * c-parse.in (c_parse_init): For objc add roots of objc specific
4739 local tree variables.
4740 * objc/objc-parse.y: Rebuilt.
4741 * objc/objc-parse.c: Rebuilt.
4742 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
4744 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
4746 * cse.c (delete_trivially_dead_insns): Also delete insns
4747 that copy a register to itself where the destination is
4750 2000-04-11 Richard Henderson <rth@cygnus.com>
4752 * flow.c (struct propagate_block_info): Add new_dead, new_live.
4753 (propagate_block): Initialize them. Use them in parallel instead
4754 of one tmp variable, ie revert much of the 0408 and 0407 functional
4755 changes, but keep the structural changes.
4756 (mark_set_regs): Take new_dead from propagate_block_info instead.
4757 (mark_set_1, mark_set_reg): Likewise.
4758 (mark_used_regs): Likewise with new_live.
4759 (mark_used_reg): Likewise. Revert 0408 change.
4761 2000-04-11 Nick Clifton <nickc@cygnus.com>
4763 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
4765 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
4767 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4769 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
4770 const section to output a CONSTRUCTOR based on the same conditions
4773 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
4775 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4776 * pa/pa-protos.h (output_call): Add additional argument indicating
4777 if the call is a sibling/tail call.
4778 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4779 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4780 (function_arg, function_arg_partial_nregs): Likewise
4781 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4782 (emit_move_sequence): Zero extend certain constants as needed
4784 (compute_zdepdi_operands, output_64bit_and): New functions.
4785 (output_64bit_ior, function_arg): Likewise.
4786 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4787 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4788 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4789 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4790 (output_bvb): Likewise.
4791 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4792 (output_call): New argument 'sibcall'. Generate sibcall sequences
4794 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
4795 (ouput_arg_descriptor): Do not emit argument descriptors for
4797 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4799 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4800 (FUNCTION_OK_FOR_SIBALL): Define.
4801 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4802 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4803 (CPP_SPEC): Use new spec infrastructure.
4804 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4805 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
4806 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
4807 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
4808 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
4809 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
4810 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4811 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
4812 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
4813 (FUNCTION_ARG); Call out to C code.
4814 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
4815 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
4816 (MIN_UNITS_PER_WORD): Likewise.
4817 * pa/pa.md (cmpdi): New expander.
4818 (scc patterns, movstrsi): Not available for TARGET_64BIT.
4819 (64bit conditional arithmetic): New patterns.
4820 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
4821 (movsicc): Not available if modes on all the operands to not match.
4822 (movdicc): New expander and associated patterns.
4823 (64bit branches): New patterns.
4824 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
4825 (pre_ldd, post_std): New patterns.
4826 (64bit addil, load low part): New patterns.
4827 (special movsf constant): Not available for TARGET_64BIT.
4828 (movsf, movdf expanders): Force constants into memory.
4829 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
4830 (64bit movdf/movdi patterns): New patterns.
4831 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
4833 (extendqidi2, extendhidi2, extendsidi2): Similarly.
4834 (adddi3 expander): Allow "arith_operand" for second input.
4835 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
4836 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
4837 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
4838 (muldi3): New expander for TARGET_64BIT.
4839 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
4841 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
4842 patterns for TARGET_64BIT.
4843 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
4844 patterns for TARGET_64BIT.
4845 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
4846 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
4847 (sibcall_epilogue): New expander.
4848 (casesi): Tweak for TARGET_64BIT.
4849 (call expanders): Set & use the outgoing argument pointer. Use the
4850 64bit call patterns as needed. Add additional arg to output_call.
4851 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
4852 (sibcall, sibcall_internal_symref): New expanders.
4853 (sibcall_value, sibcall_value_internal_symref
4854 (interspace_jump): Turn into an expander + matching patterns.
4855 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
4856 * pa/pa64-regs.h: Eliminate trigraph sequences.
4857 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
4859 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
4861 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
4862 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
4863 cpp_token with cpp_ttype everywhere.
4864 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
4865 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
4866 CPP_BUF_COL. Line and column numbers are unsigned int, not
4868 * cpplex.c (cpp_buf_line_and_col): Delete.
4869 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
4870 'long lineno' to 'unsigned int lineno'.
4871 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
4873 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4875 * extend.texi: ISO C99 is not a draft anymore.
4876 * invoke.texi: ISO C++ is not a draft anymore.
4877 * cpp.texi: __cplusplus is required by the ISO standard.
4879 * extend.texi (-fthis-is-variable): Undocument.
4880 * flags.h (warn_template_debugging): Remove declaration.
4881 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
4882 -Wenum-clash, -Wtemplate-debugging): Undocument.
4884 2000-04-10 Nick Clifton <nickc@cygnus.com>
4886 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
4888 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
4890 (ARM_SIGN_EXTEND): Use HOST_UINT.
4891 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
4892 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
4893 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
4894 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
4896 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
4897 (arm_gen_constant): Use HOST_UINT.
4898 (arm_canonicalize_constant): Use HOST_UINT.
4899 (arm_reload_in_hi): Use HOST_UINT.
4900 (arm_reload_out_hi): Use HOST_UINT.
4901 (output_multi_immediate): Use HOST_UINT.
4902 (int_log2): Use HOST_UINT.
4903 (arm_poke_function_name): Use HOST_UINT.
4904 (arm_output_epilogue): Use arm_volatile_func().
4905 (output_thumb_prologue): Use arm_strip_name_encoding().
4907 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4909 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
4910 of sequence point problems.
4912 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
4914 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
4916 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
4918 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4920 * sbitmap.h: Whitespace changes and use upper-case macro args.
4921 (struct simple_bitmap_def): All sizes now unsigned.
4922 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
4923 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
4924 (sbitmap_vector_alloc): Parms and local vars now unsigned.
4925 (sbitmap_zero): Cast bzero arg to PTR.
4926 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
4927 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
4928 loop to make structure clearer.
4929 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
4930 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
4931 (sbitmap_a_and_b_or_c): Likewise.
4932 (sbitmap_intersection_of_succs): Minor cleanups.
4933 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
4934 (sbitmap_union_of_preds): Likewise.
4935 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
4936 (debug_sbitmap): New function.
4938 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
4939 * c-typeck.c (convert_for_assignment): Likewise.
4941 * expmed.c (init_expmed): Don't free objects we make.
4942 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
4944 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
4945 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
4947 * gcse.c (expr_hash_table_size): Now unsigned.
4948 (compute_ae_gen): Local variable `i' now unsigned.
4949 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
4950 (compute_transout, hoist_code): Likewise.
4951 (compute_local_properties): Likewise, also hash_table_size.
4952 (alloc_expr_hash_table): N_INSNS now unsigned.
4953 (delete_null_pointer_checks): Mark arg F as unused.
4955 * regrename.c: Minor cleanups, including chang some variables
4958 2000-04-10 Neil Booth <NeilB@earthling.net>
4960 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
4962 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
4964 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4966 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4967 __classof__, and __headof__ from the list of gnu keywords.
4968 (-ansi): Remove -foperator-names from list of implied options.
4969 Do not call it ANSI C++.
4970 (-foperator-names): Document as -fno-operator-names.
4972 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
4974 * cpphash.c (timestamp): Delete.
4975 (del_HASHNODE): If type is T_MCONST, free value.cpval.
4976 (special_symbol): Remove unnecessary braces. Remove
4977 T_VERSION. Treat T_STDC like T_CONST unless
4978 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
4979 when one is encountered, then convert them into T_MCONST
4981 * cppinit.c (builtin_array): version_string is T_MCONST.
4982 __STDC__ has a "1" in its cpval. Don't have a terminator
4983 entry. Clean up which entries are dumped.
4984 (initialize_builtins): Only __STDC__ gets the special
4985 -traditional treatment. Count the length of builtin_array.
4986 Render version_string here.
4987 * cpphash.h: Remove T_VERSION. Add T_MCONST.
4988 * cpplib.h (struct cpp_reader): Remove timebuf.
4990 2000-04-09 Richard Henderson <rth@cygnus.com>
4992 * genrecog.c (pred): Update comparison_operator for the unordered
4995 * config/i386/i386.c (no_comparison_operator): Disallow unordered
4997 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
4998 (uno_comparison_operator): New.
4999 (put_condition_code): Handle UNORDERED/ORDERED.
5000 (unsigned_comparison): Likewise.
5001 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
5002 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
5003 (ix86_expand_fp_compare): Use them. Take scratch as argument,
5004 update all callers. Handle all 8 unordered operators.
5005 (ix86_expand_setcc): Lose the unordered argument, update all callers.
5006 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
5007 * config/i386/i386.h (PREDICATE_CODES): Update.
5008 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
5009 (ix86_expand_branch, ix86_expand_setcc): Update.
5010 * config/i386/i386.md (sunordered, sordered): New.
5011 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
5012 (bunordered, bordered): New.
5013 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
5014 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
5015 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
5017 2000-04-09 Philip Blundell <philb@gnu.org>
5019 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
5021 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
5023 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
5024 fix_truncxfhi2): New patterns.
5025 * i386.c (output_fix_trunc): Handle converting to HImode.
5027 2000-04-08 Alex Samuel <samuel@codesourcery.com>
5029 * ssa.c (convert_to_ssa): Eliminate dead code when calling
5031 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
5032 (for_each_successor_phi): Change parameter to basic_block.
5033 (coalesce_regs_in_successor_phi_nodes): Likewise.
5034 (coalesce_regs_in_copies): Likewise.
5035 (compute_coalesced_reg_partition): Use basic_block instead of index.
5036 * rtl.h (convert_to_ssa): Delete.
5037 (convert_from_ssa): Likewise.
5038 (successor_phi_fn): Likewise.
5039 (for_each_successor_phi): Likewise.
5040 (in_ssa_form): Likewise.
5041 * basic-block.h (convert_to_ssa): Moved from rtl.h.
5042 (convert_from_ssa): Likewise.
5043 (successor_phi_fn): Likewise.
5044 (in_ssa_form): Likewise.
5045 (for_each_successor_phi): Likewise. Change parameter to basic_block.
5046 * flow.c (calculate_global_regs_live): Pass a basic_block to
5047 for_each_successor_phi.
5049 2000-04-08 Richard Henderson <rth@cygnus.com>
5051 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
5052 was modified in the current insn.
5054 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5056 * arm/thumb.md: Delete.
5057 * arm/thumb-protos.h: Delete.
5059 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5061 Merge changes from merged-arm-thumb-backend-branch onto trunk.
5063 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5065 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
5068 * arm.md (nop): Use the standard RTL expression. Don't code as a
5070 (*arm_nop, *thumb_nop): Delete.
5072 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
5073 constants. Use casts instead.
5074 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
5075 output_multi_immediate, arm_poke_function_name): Likewise.
5076 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
5077 MASK_RETURN_ADDDR): Likewise.
5079 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
5081 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
5084 * arm.md (eh_epilogue): New function.
5085 * arm.h (struct machine_function): Move to here ...
5086 * arm.c: ... from here.
5087 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
5088 (thumb_exit): Extra parameter eh_ofs. All callers changed.
5089 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
5091 2000-03-30 Nick Clifton <nickc@cygnus.com>
5093 * config/arm/semi.h (ASM_SPEC): Restore definition.
5094 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5096 * config/arm/elf.h (ASM_SPEC): Restore definition.
5097 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5099 * config/arm/arm.h (ASM_SPEC): Remove definition.
5100 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
5102 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
5104 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
5106 2000-03-24 Nick Clifton <nickc@cygnus.com>
5108 Various formating tidyups, elimination of compile time
5109 warnings and synchronisation with internal sources:
5111 * config/arm/arm-protos.h (assemble_align): Add prototype.
5112 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5113 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5114 (arm_return_addr_rtx): Rename to arm_return_addr.
5116 * config/arm/arm.c: Include except.h.
5117 Define shorter typenames for strict minipool_node and struct
5119 (arm_return_in_memory): For WinCE return all structures <= 32 bits
5121 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5122 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5124 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5126 (ASM_SPEC): Define if not already defined.
5127 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
5129 * config/arm/arm.md: Rename references to gen_rotated_half_load to
5130 arm_gen_rotated_half_load, and references to gen_comapre_reg to
5131 arm_gen_compare_reg.
5132 (indirect_jump): Only accept register operands.
5133 (load_indirect_jump): Keep this pattern since combine can generate
5136 * config/arm/coff.h: Include aout.h.
5137 (MULTILIB_DEFAULTS): Only define if not already defined.
5139 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
5140 into arm.h (so that COFF ports can support thumb based aliases).
5141 (ASM_SPEC): Move definition into arm.h
5143 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
5144 redundant apcs spec.
5145 (ASM_SPEC): Move definition to arm.h
5147 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
5149 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
5150 for entries in the .bss section
5152 2000-03-23 Nick Clifton <nickc@cygnus.com>
5154 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
5155 to thumb_far_jump_used_p.
5157 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
5158 single integer parameter.
5160 * config/arm/arm.c (struct machine_function): Add two new
5161 fields, 'far_jump_used' and 'arg_pointer_live'.
5162 (thumb_far_jump_used_p): Once the decision has been made that
5163 far jumps might be used, always return true.
5164 If being called from the initial elimination offset macro then
5165 do not bother to perform the test if the arg pointer is not
5167 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
5168 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
5170 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
5172 * arm.c (output_return_instruction): Handle more cases where we can
5173 return from a function with an ldr instruction.
5174 (arm_output_epilogue): Likewise.
5176 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
5177 if we need to push a large stack frame and there are no callee-saved
5180 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
5181 in ARM code if the frame pointer has been eliminated.
5183 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
5184 unspec_volatile arguments to avoid duplicates.
5185 (consttable_1, consttable_2): Fixes for big-endian mode.
5187 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
5190 Re-write constant pool code.
5191 * arm.c (minipool_node, minipool_fix): New types.
5192 (minifix): Delete type.
5193 (arm_add_minipool_constant): Delete.
5194 (arm_compute_minipool_offsets, arm_find_barrier,
5195 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
5196 (get_jump_table_size): Now returns HOST_WIDE_INT.
5197 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
5199 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
5200 (assign_minipool_offsets, arm_print_value): Likewise.
5201 (dump_minipool): Rewrite.
5202 (arm_barrier_cost): New function.
5203 (create_fix_barrier): New function.
5204 (push_minipool_barrier): New function.
5205 (push_minipool_fix): Record additional information about the fixup
5207 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
5208 check the mode of what needs fixing.
5209 (arm_reorg): Rewrite.
5211 2000-03-08 Nick Clifton <nickc@cygnus.com>
5213 * config/arm/arm.md (indirect_jump): Force constant addresses into
5216 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
5218 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
5220 2000-02-24 Nick Clifton <nickc@cygnus.com>
5222 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
5223 adjust is word aligned.
5224 (thumb_expand_epilogue): Make sure that stack adjust is word
5227 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
5229 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
5231 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
5232 pointer relative addresses.
5234 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
5236 * arm.c (find_barrier): Find the last barrier within the allowed
5239 2000-02-09 Nick Clifton <nickc@cygnus.com>
5241 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
5243 2000-02-09 Nick Clifton <nickc@cygnus.com>
5245 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
5246 ARM_FUNCTION_PROFILER.
5248 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
5249 ARM_FUNCTION_PROFILER.
5251 * config/arm/linux-oldld.h: Imported from mainline sources.
5253 2000-02-07 Nick Clifton <nickc@cygnus.com>
5255 * config/arm/lib1funcs.asm: Merge in thumb functions from
5258 * config/arm/lib1thumb.asm: Delete.
5260 2000-02-04 Nick Clifton <nickc@cygnus.com>
5262 * config/arm/arm.c: Sychronised with current Red hat local
5264 * config/arm/arm.h: Ditto.
5265 * config/arm/arm-protos.h: Ditto.
5267 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
5269 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
5271 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
5274 2000-02-02 Nick Clifton <nickc@cygnus.com>
5276 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
5278 * config/arm/arm.md (epilogue): Fix rtl checking abort because
5279 (return) was emited using an emit_insn() call.
5281 2000-01-31 Nick Clifton <nickc@cygnus.com>
5283 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
5285 (thumb_exit): Move frame pointer back into hard frame pointer
5286 register if backtracing is being used.
5288 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
5290 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
5293 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
5295 * config/arm/arm.md (neg_pool_offset): Provide default for new
5297 (arm_movsi_insn): Add neg_pool_offset attribute.
5298 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
5299 rtx for the insn that starts the scan and an unsigned long for its
5300 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
5301 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
5302 instructions in *PINSERTED.
5303 (struct minipool_fixup): Add MIN_ADDRESS elt.
5304 (sort_fixups): Compute it.
5305 (arm_reorg): Changes to support inserting pools before the insn to be
5308 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
5310 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
5311 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
5312 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
5314 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
5316 * config/arm/semi.h (TARGET_VERSION): Do not define if already
5318 (TARGET_DEFAULT): Do not define if already defined.
5320 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
5322 * config/arm/arm.md (anddi3): Allow disjoint source operands.
5323 (iordi3): Allow disjoint source operands.
5324 (xordi3): Allow disjoint source operands.
5325 (negdi2): Permit construction for ARM and Thumb.
5326 (arm_negdi2): Renamed version of old negdi2 pattern.
5327 (thumb_negdi2): New pattern: Only permit non-overlapping
5328 source and destination.
5330 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
5332 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
5333 scratch low register so that it will not be deleted.
5335 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
5337 * config/arm/pe.h (ARM_PE): Define.
5339 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
5340 interfacearm attribute if this is a PE toolchain.
5341 (output_return_instruction): Do not emit anything if the function
5342 has the naked attribute set.
5343 (is_called_in_ARM_mode): If the function has the interfacearm
5344 attribute then return true.
5345 (thumb_expand_prologue): Do not generate a prologue for naked
5347 (thumb_expand_epilogue): Do not generate an epilogie for a naked
5349 (output_thumb_prologue): Do not bother if the function is naked.
5350 Strip PE encoding from function name before emitting.
5352 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5354 * arm.md (pic_load_addr): Fix constraints.
5356 * arm.md (casesi_insn): Fix mis-applied patch.
5358 * arm.md ("core" function unit): Add rules for single- and
5360 (All TARGET_THUMB patterns): Add "type" attribute information
5362 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
5363 the following insn is a CALL.
5365 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
5367 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
5368 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
5369 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
5371 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
5373 * config/arm/linux-gas.h: oops - this file was missed out when the
5374 branch was created...
5376 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
5378 * thumb.c: Deleted. Move contents to ...
5380 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
5382 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
5385 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
5386 declare a prototype for asm_output_align();
5388 * arm.c (thumb_condition_code): Delete.
5389 (arm_print_operand): Always use arm_condition_code array.
5391 * arm.c (thumb_return_addr_rtx): Delete.
5392 (arm_save_machine_status, arm_restore_machine_status): Delete.
5393 (arm_init_machine_status, arm_mark_machine_status): New functions.
5394 (arm_init_expanders): Update accordingly.
5395 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
5396 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
5397 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
5399 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
5401 * configure.in : Fix arm-*-aout target to use new t-arm-aout
5403 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
5406 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
5408 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
5409 stack backtrace structure.
5411 * config/arm/arm-protos.h: Add prototypes for functions defined in
5414 * config/arm/arm.c (arm_override_options): Fix selection of
5415 attributes of default processor.
5417 * config/arm/coff.h: Delete needless #include.
5419 * config/arm/pe.c: Delete unused code.
5421 * config/arm/pe.h (CPP_DEFINES): Delete
5422 (SUBTARGET_CPP_SPEC): Define.
5423 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
5425 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
5427 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
5429 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
5431 (CAN_DEBUG_WITHOUT_FP): Define.
5432 (FIXED_REGISTERS): Make r11 call-saved.
5433 (CALL_USED_REGISTERS): Likewise.
5434 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
5435 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
5436 frame-pointer is required.
5437 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
5438 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
5439 if the target normally needs a stack frame in non-leaf functions.
5440 (use_return_insn): Correct logic for determining when a return
5441 instruction can be used.
5442 (output_return_instruction): Handle the frame-pointer register as
5443 a normal register when not TARGET_APCS_FRAME.
5444 (arm_output_prologue): Likewise.
5445 (arm_output_epilogue): Likewise.
5446 (output_func_epilogue): Likewise.
5447 (arm_expand_prologue): Likewise.
5448 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
5450 * arm.c (use_return_insn): No need to check floating point regs if
5452 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
5453 the code of value stored in the minipool array.
5454 (arm_add_minipool_constant): Likewise.
5456 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5458 * basic-block.h (conflict_graph_enum_fn): K&R fix.
5460 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5462 * tree.c (tree_expr_nonnegative_p): New function.
5464 * tree.h (tree_expr_nonnegative_p): Declare.
5466 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
5467 elide some sign_compare warnings.
5468 (build_conditional_expr): Likewise.
5470 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
5472 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
5474 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
5475 * i386.c (print_operand): Use the proper suffix for a 387 HImode
5476 operand. Abort if a 387 operand has an unsupported size.
5478 2000-04-08 Neil Booth <NeilB@earthling.net>
5480 * cppexp.c (parse_charconst): Null does not end character
5482 * cppinit.c (ISTABLE): Null character handled as whitespace.
5483 * cpplex.c (null_warning): new function.
5484 (skip_string): Emit warning if nulls encountered.
5485 (_cpp_skip_hspace): Emit warning if nulls encountered.
5486 (_cpp_lex_token): Emit warning if nulls encountered. Drop
5490 2000-04-07 Richard Henderson <rth@cygnus.com>
5492 * flow.c (loop_depth): Remove.
5493 (reg_next_use, cc0_live, mem_set_list): Replace with ...
5494 (struct propagate_block_info): New.
5495 (life_analysis): Don't allocate reg_next_use.
5496 (propagate_block_delete_insn): Break out of propagate_block.
5497 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
5498 (propagate_block_delete_libcall): Likewise.
5499 (propagate_block): Create a propagate_block_info struct to pass
5500 to subroutines. Allocate one not two temporary regsets. Don't
5501 clobber memory for const calls. Look for clobbers in
5502 CALL_INSN_FUNCTION_USAGE.
5503 (mark_set_regs): Recognize COND_EXEC.
5504 (mark_set_reg): Break out of mark_set_1.
5505 (mark_used_reg): Break out of mark_used_regs.
5506 (mark_used_regs): Recognize COND_EXEC.
5507 (insn_dead_p): Use propagate_block_info struct.
5508 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
5509 (find_auto_inc, try_pre_increment_1): Likewise.
5510 (print_rtl_with_bb): Dump regs live at end too.
5511 (count_reg_sets_1): Pass in loop_depth.
5512 (count_reg_sets, count_reg_references): Likewise.
5513 (recompute_reg_usage): Provide it.
5515 2000-04-07 Richard Henderson <rth@cygnus.com>
5517 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
5520 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
5522 * cpplib.c (do_elif): Skip the rest of the line if we're
5523 not going to bother evaluating it.
5524 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
5525 to avoid pointless calls to the lexer.
5527 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
5529 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
5531 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
5533 * calls.c (expand_call): emit_queue if we're trying a sibcall.
5535 2000-04-07 Jakub Jelinek <jakub@redhat.com>
5537 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
5539 2000-04-06 Geoff Keating <geoffk@cygnus.com>
5541 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
5542 crtend so they can be multilibbed.
5543 (STAGESTUFF): Remove s-crt and s-crtS.
5545 2000-04-07 Richard Henderson <rth@cygnus.com>
5547 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
5548 if we discover we need a pseudo and no_new_pseudos is true.
5549 * config/alpha/alpha.md (ne:DI insn): New.
5550 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
5552 2000-04-07 Richard Henderson <rth@cygnus.com>
5554 * rtl.def (COND_EXEC): New.
5555 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
5556 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
5558 * genconfig.c (have_cond_arith_flag): Remove.
5559 (have_cond_exec_flag): New.
5560 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
5561 (main): Print HAVE_conditional_execution.
5563 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
5564 (sched_analyze_insn, print_pattern): Likewise.
5565 * reload.c (find_equiv_reg): Likewise.
5566 * rtlanal.c (reg_referenced_p): Likewise.
5567 (note_stores, dead_or_set_regno_p): Likewise.
5568 (reg_overlap_mentioned_p): Rewrite to use a switch.
5570 * ggc.h (struct rtx_def): Forward declare.
5572 * print-rtl.c (debug_rtx_range): New.
5573 * rtl.h (debug_rtx_range): Declare.
5575 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
5577 * gcse.c (gcse_main): Don't rebuild the CFG here.
5578 (delete_null_pointer_checks): Likewise.
5579 * ssa.c (convert_to_ssa): Likewise.
5580 * toplev.c (rest_of_compilation): Do it here instead. Combine
5581 sequential calls to TIMEVAR. Consistently use `insns' instead of
5582 `get_insns()'. Always split insns after reload when optimizing.
5584 * basic-block.h (merge_blocks_nomove): Declare.
5585 (tidy_fallthru_edge): Declare.
5586 * flow.c (merge_blocks_nomove): Document as merging into previous
5587 blocks. Remove cruft from between blocks; remove all edges out of A.
5588 (tidy_fallthru_edge): Export.
5590 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5592 * ssa.c (compute_conservative_reg_partition): Declare with
5594 * toplev.c (clean_dump_file): Remove previously-deleted function
5595 inadvertantly merged back in.
5596 * conflict.c (conflict_graph_add): Use a single call to
5597 htab_find_slot to look up and insert.
5599 2000-04-06 Richard Henderson <rth@cygnus.com>
5601 * genrecog.c (*): Rename _last_insn to last_insn.
5602 (make_insn_sequence): Set the position of the peephole2 C test
5603 to be at the last insn.
5605 2000-04-06 Richard Henderson <rth@cygnus.com>
5607 * flow.c (compute_flow_dominators): Free worklist.
5609 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
5611 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
5613 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5615 * rtl.h (INSN_P): New macro.
5616 (successor_phi_fn): New typedef.
5617 (for_each_successor_phi): New prototype.
5618 (in_ssa_form): New variable.
5619 (PHI_NODE_P): Likewise.
5620 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
5621 phi nodes in successors.
5622 (mark_used_regs): Add PHI case.
5623 (set_phi_alternative_reg): New function.
5624 (life_analysis): Assert that dead code elimination is not selected
5626 * toplev.c (to_ssa_time): New variable.
5627 (from_ssa_time): Likewise.
5628 (compile_file): Zero to_ssa_time and from_ssa_time.
5629 Print time to convert to and from SSA.
5630 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
5631 (print_time): Compute percent fraction as integer.
5632 * ssa.c (PHI_NODE_P): Moved to rtl.h.
5633 (convert_to_ssa): Check if we're already in SSA.
5634 Don't eliminate dead code in life_analysis.
5635 Rerun flow and life analysis at bottom.
5636 (eliminate_phi): Use canonical regnos when adding nodes.
5637 (mark_reg_in_phi): New function.
5638 (mark_phi_and_copy_regs): Likewise.
5639 (convert_from_ssa): Rerun life analysis at top.
5640 Use coalesced partition.
5641 Check for removing a phi node at the end of the block.
5642 (compute_coalesced_reg_partition): New function.
5643 (coalesce_regs_in_copies): Likewise.
5644 (coalesce_reg_in_phi): Likewise.
5645 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
5646 (for_each_successor_phi): Likewise.
5647 (rename_context): New struct.
5648 (rename_block): Use a rename_context with rename_insn_1. When
5649 renaming sets of a subreg, emit a copy of the entire reg first.
5650 (rename_insn_1): Treat data as a rename_context *. Save current
5652 (rename_set_data): Add field set_insn.
5653 * Makefile.in (HASHTAB_H): Move up in file.
5654 (OBSTACK_H): New macro.
5655 (collect2.o): Use OBSTACK_H in dependencies.
5656 (sdbout.o): Likewise.
5657 (emit-rtl.o): Likewise.
5658 (simplify-rtx.o): Likewise.
5659 (fix-header.o): Likewise.
5660 (OBJS): Add conflict.o.
5661 (conflict.o): New rule.
5662 * basic-block.h: Include partition.h.
5663 (conflict_graph): New typedef.
5664 (conflict_graph_enum_fn): Likewise.
5665 (conflict_graph_new): New prototype.
5666 (conflict_graph_delete): Likewise.
5667 (conflict_graph_add): Likewise.
5668 (conflict_graph_conflict_p): Likewise.
5669 (conflict_graph_enum): Likewise.
5670 (conflict_graph_merge_regs): Likewise.
5671 (conflict_graph_print): Likewise.
5672 (conflict_graph_compute): Likewise.
5673 * conflict.c: New file.
5675 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
5677 * tlink.c (read_repo_files): Don't look for .rpo info for
5680 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5682 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
5684 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5686 * config/sh/lib1funcs.asm (___udivsi3_i4):
5687 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
5688 only depends on FMOVD_WORKS.
5690 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5692 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
5693 make double constant 8-byte aligned.
5695 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5697 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
5698 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
5699 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
5700 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
5701 Accept storing GENERAL_REGS into offsetable memory.
5702 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
5703 building a TFmode constant other than 0.0L into GENERAL_REGS.
5705 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
5707 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
5709 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
5711 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
5712 (macro_cleanup): No need to cast pbuf->macro.
5713 (collect_expansion): Use _cpp_get_define_token. Goto done if
5714 it returns VSPACE. Remove check for trailing space after
5716 (_cpp_create_definition): Don't diddle flags here. Return
5718 (unsafe_chars): Handle c1 being EOF.
5719 (push_macro_expansion): Use unsafe_chars for both accidental-paste
5720 checks. Don't push the buffer till after we're done with
5722 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
5723 (PEEKN, FORWARD, GETC, PEEKC): Use them.
5724 (cpp_push_buffer): Don't set new->alimit. Set new->mark
5726 (_cpp_parse_assertion): Don't NUL terminate.
5727 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
5728 hspace before calling _cpp_parse_assertion. Remove all sets
5729 of only_seen_white. Treat '\f' as hspace. Don't do anything
5730 special with '\n' here.
5731 (maybe_macroexpand): Handle T_EMPTY hash entries without
5732 pushing a buffer at all.
5733 (cpp_get_token): Handle clearing only_seen_white here. Handle
5734 incrementing the line number here. Clear
5735 potential_control_macro as well as only_seen_white, if
5737 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
5738 (_cpp_get_define_token): New function, basically like
5739 _cpp_get_directive_token was but doesn't eat horizontal space.
5740 Don't do anything with only_seen_white here.
5741 (_cpp_get_directive_token): Just call _cpp_get_define_token
5742 repeatedly till it returns non-hspace.
5744 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
5745 (conditional_skip, skip_if_group): Return int.
5746 (DIRECTIVE_TABLE): Change origin of all conditional directives
5748 (TRAD_DIRECT_P): New macro.
5749 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
5750 an error for a bogus directive, unless -lang-asm. Use
5751 TRAD_DIRECT_P. Loop calling handler functions till one returns
5753 (get_macro_name): Don't diddle flags here.
5754 (do_define): Diddle flags here. Use _cpp_get_directive_token.
5755 Create T_EMPTY nodes for #define macro /* nothing */.
5756 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
5757 Use hp->name when calling pass_thru_directive.
5758 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
5759 Return the result of conditional_skip and/or skip_if_group.
5760 Don't call _cpp_output_line_command.
5761 (consider_directive_while_skipping): Use _cpp_get_directive_token.
5762 Issue -Wtraditional warnings as appropriate. Don't complain
5763 about unrecognized directives. If we are to stop skipping,
5764 return the number of the directive that ended the skip.
5765 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
5766 expansion and line commands while skipping. Return the result
5767 of consider_directive_while_skipping, if nonzero.
5768 (do_endif): Just set potential_control_macro here.
5769 (validate_else): Use _cpp_get_directive_token.
5770 (do_assert, do_unassert): Don't save pointers into the
5771 token_buffer across calls to the lexer. Use
5772 _cpp_get_directive_token.
5774 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
5775 pointer, not an offset. Replace 'data', which was a generic
5776 pointer, with 'macro', which points to a struct hashnode.
5777 (cpp_reader): Add 'potential_control_macro' pointer.
5778 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5779 (CPP_BUF_GET, CPP_FORWARD): Delete.
5780 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5781 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5782 ACTIVE_MARK_P): Update.
5783 (_cpp_get_define_token): New internal function.
5784 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5786 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
5788 * configure.in: And here.
5789 * configure: Regenerate.
5790 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5791 --enable-libstdcxx-v3 is passed at configure time.
5792 * config.h.in: Regenerate.
5794 2000-04-05 Mark Mitchell <mark@codesourcery.com>
5796 * final.c (final): Use xcalloc to allocate line_note_exists.
5797 * function.c (free_after_compilation): Free the temp_slots.
5798 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5799 (combine_temp_slot): Free temp_slots when they get combined.
5800 (purge_addressof): Fix typo in comment.
5801 * stmt.c (mark_goto_fixup): Mark the fixup itself.
5802 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5804 * ggc.h: Include varray.h.
5805 (ggc_pending_trees): Declare.
5806 (ggc_mark_tree_children): Remove declaration.
5807 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
5808 * ggc-common.c (ggc_pending_trees): New variable.
5809 (ggc_mark_roots): Call ggc_mark_trees.
5810 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
5811 the ggc_pending_trees.
5812 * Makefile.in (GGC_H): New variable. Use it throughout in place
5815 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5817 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
5820 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5822 * sh.c (sh_insn_length_adjustment): New function.
5823 * sh-protos.h (sh_insn_length_adjustment): Declare.
5824 * sh.h (ADJUST_INSN_LENGTH): Use it.
5826 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
5828 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
5829 from the insn where REG_RETVAL is added.
5830 (emit_no_conflict_block): Ditto.
5832 * md.texi (Standard Names): Clarify when movX is needed.
5834 * combine.c (simplify_comparison) [MINUS]: Do not replace
5835 all (op (minus A B) 0) with (op A B).
5837 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
5838 J"orn Rennecke <amylaar@cygnus.co.uk>
5840 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
5841 (block_lump_real): Likewise.
5843 2000-04-05 Chris Demetriou <cgd@netbsd.org>
5845 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
5846 remaining non-zero debugging masks.
5848 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
5850 * basic-block.h (verify_flow_info): Declare.
5851 (flow_loop_outside_edge_p): Declare.
5852 * flow.c (verify_flow_info): Remove declaration.
5853 (clear_log_links, flow_loop_outside_edge_p): Likewise.
5855 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
5857 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
5860 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5862 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
5863 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
5864 seqdi_zero_trunc+1): Allow splits only if registers are
5867 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
5869 * acconfig.h: Add HAVE_GAS_HIDDEN.
5870 * config.in: Regenerated.
5871 * configure.in: Add test for .hidden pseudo-op in gas.
5872 * configure: Regenerated.
5873 * crtstuff.c: Include auto-host.h.
5874 Emit additional .hidden pseudo-op for __dso_handle if the
5875 assembler knows about it.
5877 2000-04-04 Philippe De Muyter <phdm@macqel.be>
5879 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
5880 before freeing argnames.
5881 * cpplib.c (do_ifndef): Cast return value of xstrdup.
5883 2000-04-05 Michael Meissner <meissner@redhat.com>
5885 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
5886 Walton <jonboy@gordian.com> to make memory references with update
5887 work wtih -mregnames.
5889 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5891 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
5892 (regrename_optimize): Rename variables `def_uses' and
5893 `ext_basic_blocks' to avoid conflicts with similarly named
5894 typedefs in traditional C.
5896 * calls.c (initialize_argument_information): Fix typo in previous
5899 2000-04-04 Richard Henderson <rth@cygnus.com>
5901 * regrename.c (consider_available): Test fixed_regs not
5902 PIC_OFFSET_TABLE_REGNUM.
5904 2000-04-04 Geoff Keating <geoffk@cygnus.com>
5906 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
5908 (CRTSTUFF_T_CFLAGS_S): Delete definition.
5909 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
5910 (ENDFILE_LINUX_SPEC): Always use crtend.
5911 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
5912 (powerpc-*-linux-gnu): Likewise.
5913 * configure: Regenerate.
5915 * config/rs6000/eabi.h: Don't include sysv4.h.
5916 (MULTILIB_DEFAULTS): Don't define.
5917 * config/rs6000/eabiaix.h: Don't include eabi.h.
5918 * config/rs6000/eabile.h: Delete.
5919 * config/rs6000/eabilesim.h: Delete.
5920 * config/rs6000/eabisim.h: Don't include eabi.h.
5921 * config/rs6000/linux.h: Don't include sysv4.h.
5922 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
5923 (MULTILIB_DEFAULTS): Don't redefine.
5924 * config/rs6000/rtems.h: Don't include eabi.h.
5925 * config/rs6000/sol2.h: Don't include sysv4le.h.
5926 * config/rs6000/sysv4le.h: Don't include sysv4.h.
5927 * config/rs6000/t-ppc: Delete.
5928 * config/rs6000/t-ppcgas: Correct comment.
5929 * config/rs6000/t-ppcos: Correct comment. Don't build
5930 multilibs for -fPIC, rather use -fPIC -mstrict-align
5932 * config/rs6000/t-ppc: Delete.
5933 * config/rs6000/vxppc.h: Don't include sysv4.h.
5934 * config/rs6000/vxppcle.h: Delete.
5935 * configure.in: Use multiple header files for p2pc ELF targets
5936 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
5937 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
5938 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
5939 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
5940 always available for these platforms.
5942 2000-04-04 Richard Henderson <rth@cygnus.com>
5944 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
5946 2000-04-04 Stan Cox <scox@cygnus.com>
5948 * Makefile.in: Add rules for regrename.o
5949 * regrename.c: New file.
5950 * rtl.h (regrename_optimize): Add prototype.
5951 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
5952 (compile_file, decode_d_option): Add support for -frename-registers.
5953 (rest_of_compilation): Call regrename_optimize.
5954 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
5957 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5959 * Makefile (gccbug): New target.
5960 (doc): Depend on it.
5961 * gcc.texi (Bugs): Link subnodes.
5963 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
5964 Document severities, priorities, and classes in bug form.
5966 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
5968 * cpplex.c (trigraph_map, speccase): Combine into single
5970 (NORMAL, NONTRI): New macros.
5971 (_cpp_read_and_prescan): Change to use unified table. Use
5972 is_hspace to test for whitespace.
5974 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
5975 definition that doesn't provoke the "empty body in an
5976 if-statement" warning.
5978 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
5980 * builtins.c (expand_builtin_strlen): Force the source to
5981 be a memory address.
5983 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5985 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
5987 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
5989 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
5990 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
5991 (ECF_IS_CONST): Rename to ECF_CONST.
5992 (special_function_p): Make static, change interface.
5993 (flags_from_decl_or_type, try_to_integrate): Break out from ...
5994 (expand_call) ... here; convert number of variables to flags.
5995 (emit_library_call_vlue_1): Likewise.
5996 (setjmp_call_p): New function.
5997 (initialize_argument_information): Accepts flags as argument;
5999 (precompute_arguments): Likewise.
6000 * tree.h (special_function_p): Remove.
6001 (setjmp_call_p): Add prototype.
6003 2000-04-04 Jakub Jelinek <jakub@redhat.com>
6005 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
6006 so that addresses are offsetable by up to 16 bytes.
6007 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
6008 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
6011 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
6012 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
6013 (movsf): Don't force any constant to memory if target is integer
6015 Move fp_zero_operand check below the const0_rtx check.
6016 (movtf): Likewise. Also allow fp_zero_operand for stores into
6018 (movdf): Likewise. Also allow fp_zero_operand for stores into
6019 memory and into integer hard registers.
6020 (clear_df, clear_dfp, movdf_const_intreg_sp32,
6021 movdf_const_intreg_sp64): Remove.
6022 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
6024 (movdf_no_e_insn_v9_sp32): New pattern.
6025 (movdf_insn_v9only): Remove.
6026 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
6027 (movdf_insn_sp64): Remove.
6028 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
6029 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
6030 (following splits): Rewrite conditions. Add two new splits
6031 for storing 0.0 into memory and registers.
6032 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
6033 (movtf_insn_sp32): Redo constraints and conditions.
6034 (movtf_insn_vis_sp32): New pattern.
6035 (movtf_no_e_insn_sp32): Redo constraints and conditions.
6036 (movtf_insn_hq_sp64): Likewise.
6037 (movtf_insn_hq_vis_sp64): New pattern.
6038 (movtf_insn_sp64): Redo constraints and conditions.
6039 (movtf_insn_vis_sp64): New pattern.
6040 (movtf_no_e_insn_sp64): Redo constraints and conditions.
6041 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
6043 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
6044 -mvis or -m64 to take down the number of various reload patterns.
6046 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
6048 * pa/pa-64.h: New file.
6049 * pa/pa64-regs.h: New file.
6050 * pa/pa64-start.h: New file.
6051 * pa/t-pa64: New file.
6052 * pa/xm-pa64hpux.h: New file.
6054 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6056 * sparc.c (output_restore_regs): Prototype.
6057 (sparc_emit_float_lib_cmp): Constification.
6059 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
6061 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
6064 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
6065 (get_value_hash, hash_rtx): Likewise.
6067 * ssa.c (compute_conservative_reg_partition): Prototype.
6069 * tree.c (mark_hash_entry): Prototype.
6071 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
6073 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
6074 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
6075 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
6077 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
6078 * objc/lang-specs.h: Likewise.
6080 2000-04-03 Neil Booth <NeilB@earthling.net>
6082 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
6083 and SYNTAX_ERROR2. Replace `' in messages with ''.
6084 (op_to_str): Make re-entrant.
6085 (_cpp_parse_expr): Implement new error macros. Use | rather
6086 than || to logically or 2 boolean integers. Simply expression
6087 checking we have a left operand iff needed.
6089 2000-04-03 Nick Clifton <nickc@cygnus.com>
6091 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
6093 2000-04-03 Philip Blundell <philb@gnu.org>
6095 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
6097 2000-04-03 Felix Lee <flee@cygnus.com>
6099 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
6100 (run_shell): Use it.
6102 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
6104 * Makefile.in (stmp-int-hdrs): Make include subdir here...
6105 (stmp-fixproto): ...rather than here.
6107 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
6109 * pa.c (print_operand): Compute 'base' only inside the code paths
6112 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
6114 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
6117 2000-04-03 Philipp Thomas <pthomas@suse.de>
6119 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
6121 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
6123 * Makefile.in (alias.o): Depend on $(TREE_H).
6125 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
6127 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
6129 * cpplib.c (_cpp_handle_directive): Improve warnings for
6130 traditional C and indented directives.
6132 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
6133 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
6134 fixinc/inclhack.def: Indent the # of #include_next one space.
6135 * cp/rtti.c: Un-indent #if and #endif.
6137 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
6138 syntax error, but an error has already been printed.
6139 * cpplex.c (_cpp_parse_assertion): Give a more specific error
6140 message when called with nothing remaining on the line.
6141 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
6142 OTHER token, not an ASSERTION.
6143 * cpplib.c (do_assert): When we create a 'base' node, clear
6144 its aschain pointer.
6146 2000-04-02 Neil Booth <NeilB@earthling.net>
6148 * cppexp.c: New typedef op_t. struct operation and struct
6149 token updated to use it.
6150 (op_to_str): New function.
6151 (_cpp_parse_expr): Error messages modified to use op_to_str.
6153 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6155 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
6156 before checking MUST_PASS_IN_STACK.
6158 2000-04-02 Neil Booth <NeilB@earthling.net>
6160 * cppexp.c: New FINISHED dummy token. Combine operator initial
6161 flags and initial priority into a single constant. New
6162 EQUALITY macro. New operator flag SHORT_CIRCUIT.
6163 (_parse_cpp_expr): Implement new constants. Take left operand
6164 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
6165 parse indicated by reducing FINISHED token. Remove new lines
6166 from cpp_error messages.
6168 2000-04-01 Mark Mitchell <mark@codesourcery.com>
6170 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
6173 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
6175 * cpplib.c: Include symcat.h. Add 'origin' field to struct
6176 directive. Add origin values to DIRECTIVE_TABLE. Generate
6177 the strings and function names on the fly. Take the #sccs
6178 entry out of the table if SCCS_DIRECTIVE is not defined.
6179 (_cpp_handle_directive): Decide if the # was at the beginning
6180 of the line here. Issue -pedantic warnings for extended
6181 directives here. Warn about K+R directives with the #
6182 indented, and C89/extended directives with the # not indented,
6184 (do_import, do_include_next, do_warning, do_ident, do_sccs,
6185 do_assert, do_unassert): Don't issue pedantic warning here.
6187 * cpphash.h: Add CPP_WTRADITIONAL macro.
6188 * cpplib.h (struct cpp_options): Rename warn_stringify to
6189 warn_traditional; update comments.
6190 * cppinit.c (handle_option): Set warn_traditional not
6192 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
6193 CPP_WTRADITIONAL (pfile).
6194 * cpplex.c (_cpp_lex_token): Don't decide if directives should
6195 be ignored in -traditional mode here.
6197 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
6198 to initialize speccase[] and trigraph_map[]. Delete all
6199 references to pfile->input_speccase. Always treat '?' as a
6200 special character. Remove table-initialization code from
6201 _cpp_init_input_buffer.
6203 * cpplib.h (struct cpp_reader): Remove input_speccase field.
6204 * cppinit.c (cpp_cleanup): Don't free input_speccase.
6206 2000-04-01 Richard Henderson <rth@cygnus.com>
6208 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
6209 (mostlyclean): Likewise.
6211 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
6212 (struct dump_file_info, enum dump_file_index, dump_file): New.
6213 (open_dump_file): Take a dump_file_index not a suffix, and a decl
6214 not a string. Clean out file if we havn't yet done so. Do nothing
6215 if the dump isn't enabled.
6216 (close_dump_file): Do nothing if the dump isn't open. Dump
6217 graph data if requested.
6218 (dump_rtl, clean_dump_file): Remove.
6219 (compile_file): Don't clean the dump files. Only finalize .bp dump
6220 if flag_test_coverage or flag_branch_probabilities. Only finalize
6221 .combine dump if optimizing. Iterate over dump_file to finalize the
6223 (rest_of_compilation): Update for open_dump_file/close_dump_file.
6224 Convert all uses of dump_rtl.
6225 (decode_d_option): Iterate over dump_file to implement 'a' and to
6226 locate pass-specific dumps.
6228 2000-04-01 Neil Booth <NeilB@earthling.net>
6230 * cppexp.c: Redefine priority constants.
6231 (_cpp_parse_expr): Replace left and right priority scheme with
6232 single priority logic. Move LOGICAL to same place as COMPARE.
6233 Remove bogus check for multiple unary +/- operators.
6235 2000-04-01 Neil Booth <NeilB@earthling.net>
6237 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
6238 within the switch statement. Binary operations break out of
6239 the switch naturally. '(' tokens handled by forcing
6240 immediate shift. ')' handled by forcing immediate reduce to
6241 the previous '('. New error messages.
6243 2000-03-31 Geoff Keating <geoffk@cygnus.com>
6245 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
6246 part', it's already in use. Use %K instead. Add a return at the
6247 end of what is now %K.
6248 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
6250 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
6252 * builtins.c (expand_builtin_apply): Pass proper parameters to
6253 allocate_dynamic_stack_space.
6254 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
6255 update stack_pointer_delta; do not update arg_size_so_far.
6256 (compute_argument_block_size): Use stack_delta instead of
6257 stack_pointer_pending and arg_size_so_far.
6258 (expand_call): Add sanity checking for stack_pointer_delta;
6259 save and restore stack_pointer_delta for SIB, use
6260 stack_pointer_delta for alignment; do not update arg_space_so_far.
6261 (emit_library_call_value): Use stack_pointer_delta for alignment.
6262 (store_one_arg): Do not update arg_space_so_far.
6263 * explow.c (adjust_stack, anti_adjust_stack): Update
6264 stack_pointer_delta.
6265 (allocate_dynamic_stack_space): Add sanity checking for
6266 stack_pointer_delta.
6267 * expr.c (init_expr, clear_pending_stack_adjust): Clear
6268 stack_pointer_delta.
6269 (emit_push_insn): Update stack_pointer_delta.
6270 * function.h (struct expr_status): Add x_stack_pointer_delta;
6271 remove x_arg_space_so_far.
6272 (arg_space_so_far): Remove.
6273 (stack_pointer_delta): New macro.
6275 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
6277 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
6278 Reorder struct cpp_options and struct cpp_reader for better
6279 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
6280 takes two args. Change all 'char' flags to 'unsigned char'.
6281 Move show_column flag into struct cpp_options. Don't
6282 prototype cpp_options_init.
6283 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
6284 cppinit.c, cpplex.c, cpplib.c:
6285 Replace CPP_OPTIONS (pfile)->whatever with
6286 CPP_OPTION (pfile, whatever), and likewise for
6287 opts = CPP_OPTIONS (pfile); ... opts->whatever;
6289 * cppinit.c (merge_include_chains): Take a cpp_reader *.
6290 Extract CPP_OPTION (pfile, pending) and work with that
6292 (cpp_options_init): Delete.
6293 (cpp_reader_init): Turn on on-by-default options here.
6294 Allocate the pending structure here.
6295 (cl_options, enum opt_code): Define these from the same table,
6296 kept in a large macro. Add -fshow-column and -fno-show-column
6299 * cpperror.c (v_message): If show_column is off, don't print
6302 * cppmain.c: Update for new interface.
6303 * fix-header.c: Likewise.
6305 2000-03-30 Geoff Keating <geoffk@cygnus.com>
6307 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
6309 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
6310 are passed to any invocation of AR_FOR_TARGET.
6311 (AR_CREATE_FOR_TARGET): New macro.
6312 (AR_EXTRACT_FOR_TARGET): New macro.
6313 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
6314 AR_EXTRACT_FOR_TARGET.
6315 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
6316 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
6317 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
6318 AR_EXTRACT_FOR_TARGET to sub-makes.
6320 2000-03-31 Neil Booth <NeilB@earthling.net>
6322 * cppexp.c: Delete SKIP_OPERAND. Correct priority
6324 (_cpp_parse_expr): Check for multiple unary +/- operators.
6325 Correct priorities of ':' and '?'. Treat ')' as having a
6326 value. Ensure conditional expression is not void.
6328 2000-03-31 Mark Mitchell <mark@codesourcery.com>
6330 * alias.c (canon_rtx): Make it global.
6331 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
6333 * cse.c (struct table_elt): Add canon_exp.
6335 (invalidate): Canonicalize expressions only once.
6336 * rtl.h (canon_rtx): Declare.
6338 2000-03-30 Mark Mitchell <mark@codesourcery.com>
6340 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
6341 * alias.c (reg_known_value): Add comments.
6342 (init_alias_analysis): Likewise.
6343 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
6345 (cse_basic_block): Fix typo in comment.
6346 * emit-rtl.c: Include hashtab.h.
6347 (const_int_htab): New variable.
6348 (const_int_htab_hash): New function.
6349 (const_int_htab_eq): Likewise.
6350 (rtx_htab_mark_1): Likewise.
6351 (rtx_htab_mark): Likewise.
6352 (gen_rtx_CONST_INT): Cache all CONST_INTs.
6353 (unshare_all_rtx): Fix formatting.
6354 (init_emit_once): Initialize const_int_htab.
6355 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
6357 * rtl.texi: Document the fact that all CONST_INTs with the same
6360 2000-03-30 Richard Henderson <rth@cygnus.com>
6362 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
6364 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
6366 * configure.in: Comment out --enable-c-cpplib stanza.
6367 * configure: Regenerate.
6369 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6371 * expr.c (store_constructor): Properly compute displacement and
6372 alignment when offset is variable.
6374 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
6375 cases of alignment in bytes.
6377 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
6379 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
6380 since it is used to generate c-parse.y.
6381 * objc-parse.c, objc-parse.y: Regenerated.
6383 * function.c (expand_function_end): Pass alignment argument to
6384 emit_block_move in bits, not bytes.
6386 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6388 * expr.c (move_by_pieces_ninsns): Fix one more missing align
6391 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
6393 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
6394 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
6395 * function.c (assign_parms): Likewise.
6396 * integrate.c (expand_inline_function): Likewise.
6397 * stmt.c (expand_decl): Likewise.
6398 (copy_rtx_and_substitute): Likewise.
6399 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
6400 (clear_by_pieces): Fix error in last change.
6401 * emit-rtl.c (init_emit): Set known registers alignment in bits.
6402 * function.h (regno_pointer_align): Now unsigned.
6403 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
6405 * config/i386/i386.c (aligned_operand): Likewise.
6406 * config/sparc/sparc.c (mem_min_alignment): Likewise.
6407 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
6408 (unaligned_memory_operand): Likewise.
6409 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
6410 Also make alignments and sizes unsigned and some whitespace cleanup.
6411 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
6413 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
6414 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
6415 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
6416 (expand_builtin_memset): Likewise, but to clear_storage.
6417 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
6418 (restore_fixed_argument_area): Likewise.
6419 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
6420 (load_register_parameters): Likewise, to emit_group_load.
6421 (expand_call): Likewise, to emit_group_store and emit_block_move.
6422 (emit_library_call_value_1): Likewise, to emit_block_move.
6423 (store_one_arg): Likewise, and to emit_push_insn.
6424 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
6425 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
6426 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
6427 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6428 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
6429 (expand_assigment, store_expr, store_constructor_field): Likewise.
6430 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
6431 (store_constructor, store_field, get_inner_reference): Likewise.
6432 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
6433 (expand_expr, case COMPONENT_REF): Likewise.
6434 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
6435 and positions; reindent code.
6436 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
6437 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
6438 (assign_parms): Likewise to emit_group_store.
6439 * optabs.c (prepare_cmp_insn): Alignment is in bits.
6440 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
6441 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
6442 (expand_return): Likewise to {extract,store}_bit_field.
6443 * stor-layout.c (get_mode_alignment): Minor cleanup.
6444 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
6445 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
6447 2000-03-29 Nick Clifton <nickc@cygnus.com>
6449 * config/arm/arm.h: Undo effects of previous delta:
6450 (ASM_SPEC): Do not define.
6451 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
6453 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
6456 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6458 * cppinit.c (cpp_start_read): Call initialize_dependency_output
6459 only after reading in the primary source file.
6461 2000-03-29 Geoff Keating <geoffk@cygnus.com>
6463 * c-common.c (c_common_nodes_and_builtins): The first parameter to
6464 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
6465 or a reference to a va_list.
6466 * builtins.c (stabilize_va_list): Simplify now we don't have to
6467 work around C array address decay.
6468 * c-typeck.c (convert_for_assignment): Handle assignment to
6469 a reference parameter by taking the address of the RHS.
6470 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
6471 (va_copy): Likewise.
6472 (__va_copy): Likewise.
6473 * ginclude/varargs.h (va_start): Likewise.
6474 (__va_copy): Likewise.
6476 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
6478 * i386/djgpp.h: Remove extraneous "+".
6480 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
6482 * calls.c (expand_call): Fix typo in last change.
6484 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
6486 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
6489 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6491 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
6492 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
6493 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
6494 * tree.c (bit_position, byte_position): Likewise.
6495 * tree.h: Declare new functions.
6497 2000-03-29 Nick Clifton <nickc@cygnus.com>
6499 * config/arm/arm.c: Minor formatting changes/
6500 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
6502 (ASM_SPEC): Define if not already defined.
6504 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6506 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
6509 2000-03-29 Jakub Jelinek <jakub@redhat.com>
6511 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
6512 value, don't output it as unsigned.
6514 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
6516 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
6518 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6520 * c-common.c (c_common_nodes_and_builtins): Don't special case
6521 cplus_mode when declaring builtin bzero/bcmp, always avoid
6522 prototype arguments.
6524 2000-03-29 Bruce Korb <bkorb@gnu.org>
6526 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
6529 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
6531 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
6532 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
6533 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
6534 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
6535 (save_fixed_argument_area, restore_fixed_argument_area):
6536 conditionize by #ifdef REG_PARM_STACK_SPACE only.
6537 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
6538 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
6539 (precompute_register_parameters): Avoid #ifdefs on
6540 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
6541 (stire_one_args): Likewise.
6542 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
6543 (emit_library_call_value_1): Likewise.
6544 (compute_argument_block_size): Align to STACK_BOUNDARY only for
6545 ACCUMULATE_OUTGOING_ARGS.
6546 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
6548 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
6549 (use_crosses_set_p): Likewise.
6550 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
6551 #define ACCUMULATE_OUTGOING_ARGS 1.
6552 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
6554 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
6556 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
6557 (TARGET_SWITCHES): Add push-args, no-push-args,
6558 accumulate-outgoing-args and no-accumulate-outgoing-args.
6559 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
6560 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
6561 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
6563 (emit_push_insn): Likewise.
6564 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6565 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
6566 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6567 (STACK_DYNAMIC_OFFSET): Define correctly for both
6568 ACCUMULATE_OUTGOING_ARGS and normal mode.
6569 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
6570 * tm.texi (PUSH_ARGS): Document.
6571 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
6573 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
6575 * flags.h (flag_optimize_sibling_calls): Declare.
6576 * calls.c (expand_call): Fail sibcall when
6577 !flag_optimize_sibling_calls
6578 * invoke.texi (flag_optimize_sibling_calls): Document.
6579 * toplev.c (flag_optimize_sibling_calls): New global variable.
6580 (f_options): Add flag_optimize_sibling_calls.
6581 (rest_of_compilation): Conditionize
6582 optimize_sibling_and_tail_recursive_calls by
6583 flag_optimize_sibling_calls.
6584 (main): Set flag_optimize_sibling_calls for -O2.
6585 * stmt.c (expand_return): Conditionize tail recursion by
6586 flag_optimize_sibling_calls.
6588 2000-03-29 Richard Henderson <rth@cygnus.com>
6590 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
6591 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
6593 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
6595 * except.c (add_eh_table_entry): Mark type_info's as referenced.
6597 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6599 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
6601 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
6602 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
6603 * config/rs6000/aix.h: then modified likewise.
6605 2000-03-28 Richard Henderson <rth@cygnus.com>
6607 * rtl.h: Redistribute enum reg_note documentation.
6608 Kill trailing whitespace.
6609 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
6610 Kill trailing whitespace.
6612 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
6614 * cppfiles.c (hash_IHASH): Just return i->hash.
6615 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
6616 htab_find_with_hash.
6617 (cpp_read_file): Likewise.
6618 (find_include_file): Likewise. Properly initialize
6619 ih->nshort. Share ih->name and ih->nshort if possible.
6620 * cpphash.c (_cpp_calc_hash): New function.
6621 (hash_HASHNODE): Just return h->hash.
6622 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
6623 htab_find_with_hash.
6624 * cpphash.h: Prototype _cpp_calc_hash.
6625 * cppinit.c (initialize_builtins): Provide a valid hash
6626 to _cpp_make_hashnode, using _cpp_calc_hash.
6628 * cpphash.c (collect_expansion): # is not a special character
6629 in object-like macros. In -traditional mode, /**/ is not
6630 token paste at the beginning or end of the line.
6631 * cpplib.c (do_include, do_import, do_include_next): If
6632 parse_include fails, return immediately.
6634 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
6636 * config/arm/arm.md (return peepholes): Update to reflect the new
6638 * config/arm/arm.c (arm_volatile_func): Also check
6639 current_function_nothrow.
6640 (output_return_instruction, output_func_prologue): Use it.
6641 (arm_output_epilogue, arm_expand_prologue): Likewise.
6643 2000-03-27 Tom Tromey <tromey@cygnus.com>
6645 * gcc.c (handle_braces): In {x*...} case, break out of loop if
6648 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6650 * expr.c (store_constructor): SIZE now signed.
6651 For EXPR_SIZE, don't evaluate size; just needed if constant.
6652 * fold-const.c (fold): Fix a number of cases when folded tree is
6654 * function.c (flush_addressof): Reenable.
6655 * tree.h (flush_addressof): Likewise.
6656 * toplev.c (independent_decode_option): Look at strings_processed.
6657 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
6659 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
6661 * sibcall.c (indentify_call_return_value): Find last call in the chain;
6662 Allow stack adjustment after function call.
6664 * regmove.c (struct csa_memlist): Make mem field rtx *.
6665 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
6666 (try_apply_stack_adjustment): Replace whole MEM rtx.
6667 (combine_stack_adjustments_for_block): Update calls
6668 to record_one_stack_ref.
6670 2000-03-28 Neil Booth <NeilB@earthling.net>
6672 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
6673 '\\' rather than a null character, so nulls are not special. Fix
6674 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
6675 speed trigraph conversion.
6676 (_cpp_init_input_buffer): Initialize trigraph map.
6678 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6680 * config/i386/i386.c (output_387_binary_op): Correct intel
6681 mode assembly output, and add spaces after commas in AT&T
6682 output. Correct Unixware assembler comment. Document input
6683 constraints. Comment fp operations. Reduce profligate buffer
6684 size. Remove extraneous abort. Localize temp var.
6685 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
6686 (output_fix_trunc): Add spaces after commas in assembly output.
6688 2000-03-27 Richard Henderson <rth@cygnus.com>
6690 * i386-protos.h (ix86_match_ccmode): Declare.
6691 * i386.c (ix86_match_ccmode): New.
6692 (ix86_expand_fp_compare): Update for pattern renames.
6693 (ix86_expand_strlensi_unroll_1): Likewise.
6694 * i386.h (EXTRA_CC_MODES): Add CCZ.
6695 (SELECT_CC_MODE): Use it for EQ/NE zero.
6696 * i386.md (cmpsi_ccz_1): New.
6698 (*testsi_ccz_1): New.
6699 (testqi_ccz_1): New.
6700 (cmpsi_ccno_1): Rename from cmpsi_0.
6701 (testsi_ccno_1): Rename from testsi_1.
6702 (testqi_ccno_1): Rename from testqi_1.
6703 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
6704 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
6705 (*cmphi_0): Use ix86_match_ccmode.
6706 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
6707 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
6708 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
6709 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
6710 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
6711 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
6712 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
6713 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
6714 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
6715 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
6716 (appropriate peepholes): Likewise.
6717 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
6718 (*subsi_3, *subhi_3, *subqi_3): Remove.
6719 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
6720 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
6721 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
6722 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
6723 (x86_shift_adj_1): Use CCZ.
6724 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
6726 2000-03-27 Stan Cox <scox@cygnus.com>
6728 * resource.h (mark_resource_type): New.
6729 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
6730 find_free_register): Use mark_resource_type.
6731 (mark_set_resources): Change include_delayed_effects
6732 to mark_resource_type.
6733 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
6734 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
6735 Use mark_resource_type.
6737 2000-03-27 Richard Henderson <rth@cygnus.com>
6739 * i386.md (call_pop_0, call_value_pop_0): New.
6740 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
6741 (call_value_pop_1): Likewise.
6742 (call_0, call_value_0): New.
6743 (call_1, call_value_1): Remove constraint from unused arg.
6745 2000-03-27 Nick Clifton <nickc@cygnus.com>
6747 * invoke.texi (Spec Files): Document new spec % command created by
6748 Tom Tromey's recent patch.
6750 2000-03-27 Jakub Jelinek <jakub@redhat.com>
6752 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
6755 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6757 * expr.c (expand_assignment): Fix typo in last change.
6759 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
6761 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6763 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
6764 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
6765 and DECL_INLINE if FUNCTION_DECL.
6766 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
6767 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
6768 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
6769 (combine_parm_decls): Likewise.
6770 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
6771 * print-tree.c (print_node): Likewise.
6772 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
6773 DECL_TRANSPARENT_UNION on proper decl types.
6774 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
6775 * stor-layout.c (layout_decl): Only check DECL_PACKED and
6776 DECL_BIT_FIELD of FIELD_DECL.
6777 * tree.h (DECL_RESULT_FLD): New macro.
6779 * expr.c (expand_assignment): Add code to handle variable-sized
6782 2000-03-26 Richard Henderson <rth@cygnus.com>
6784 * calls.c (expand_call): Pass parms not original exp to
6785 optimize_tail_recursion. Mind return value instead of looking
6787 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6788 call_expr. Move checks for call_expr and current_function_decl ...
6789 (expand_return): ... here.
6791 2000-03-26 Tom Tromey <tromey@cygnus.com>
6793 * gcc.c (handle_braces): Recognize `%{<S}' construct.
6794 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6796 (process_command): Use them.
6797 (check_live_switch): Likewise.
6798 (give_switch): Skip ignored switches.
6800 2000-03-26 Jan Hubicka <jh@suse.cz>
6802 * jump.c (jump_optimize_1): Fix typo in elide optimizations
6803 for minimal jump pass test.
6805 2000-03-26 Mark Mitchell <mark@codesourcery.com>
6807 * integrate.c (function_cannot_inline_p): Do inline functions that
6810 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6812 * stor-layout.c (layout_type, set_sizetype): early_type_list is
6813 now a list of TREE_LIST entries, not types.
6814 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
6816 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
6817 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
6819 * config/mips/mips.c (function_arg): Likewise; also remove cast
6820 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
6821 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
6822 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
6823 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
6824 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
6825 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
6826 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
6827 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
6828 num_adjusts now unsigned.
6829 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
6830 * config/sparc/sparc.c (struct function_arg_record_value_parms):
6832 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
6833 as is BITPOS variable; use host_integerp and int_bit_position.
6834 (function_arg_record_value_2): Likewise.
6835 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
6836 Variable REGNO now unsigned.
6837 (function_arg_record_value): NREGS now unsigned.
6839 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
6841 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
6843 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6845 * Rework fields used to describe positions of bitfields and
6846 modify sizes to be unsigned and use HOST_WIDE_INT.
6847 * alias.c (reg_known_value_size): Now unsigned.
6848 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
6849 (really_start_incremental_init): Use bitsize_zero_node.
6850 (push_init_level, pop_init_level, output_init_element): Likewise.
6851 Use bitsize_unit_node and bitsize_one_node.
6852 (output_pending_init_elements, process_init_element): Likewise.
6853 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
6854 (make_extraction): Position and length HOST_WIDE_INT and unsigned
6855 HOST_WIDE_INT, respectively.
6856 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
6857 (num_sign_bit_copies): Returns unsigned.
6858 BITWIDTH now unsigned; rework arithmetic.
6859 Remove recursive call from arg to MAX.
6860 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
6861 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
6863 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
6864 (find_split_point, expand_compound_operation, make_extraction): LEN
6865 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
6866 (make_field_assignment): Likewise.
6867 (combine_simplify_rtx): Add cast.
6868 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
6869 (force_to_mode): WIDTH now unsigned; add cast.
6870 (if_then_else_cond): SIZE now unsigned.
6871 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
6872 (extended_count): Now returns unsigned.
6873 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
6874 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
6875 (simplify_comparison): MODE_WIDTH now unsigned.
6876 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
6877 (mark_used_regs_combine): Likewise; rework arithmetic.
6878 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
6879 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
6880 (record_promoted_value): REGNO now unsigned.
6881 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
6882 (get_last_value): REGNO now unsigned.
6883 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
6884 (reg_dead_regno, reg_dead_endregno): Now unsigned.
6885 (remove_death): Arg REGNO now unsigned.
6886 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
6887 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
6889 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
6890 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
6891 (struct cse_reg_info): REGNO now unsigned.
6892 (cached_regno): Now unsigned.
6893 (REGNO_QTY_VALID_P): Add cast.
6894 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
6895 (remove_invalid_regs): Likewise.
6896 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
6897 as are variables END and I.
6898 (get_cse_reg_info, insert): Likewise.
6899 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
6900 (canon_hash): Likewise.
6901 (insert_regs, lookup_for_remove): REGNO now unsigned.
6902 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
6904 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
6905 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
6906 * emit-rtl.c (subreg_realpart_p): Add cast.
6907 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
6908 (operand_subword_force): Arg I is now unsigned.
6909 * except.c (eh_regs): Variable I is now unsigned.
6910 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
6911 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
6912 length is unsigned HOST_WIDE_INT; likewise for internal variables.
6913 (store_split_bit_field, extract_fixed_bit_field): Likewise.
6914 (extract_split_bit_field, store_bit_field, extract_bit_field):
6916 * expr.c (store_constructor_fields, store_constructor, store_field):
6917 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
6918 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
6919 (do_jump): Likewise.
6920 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
6921 MAX_SIZE is now unsigned.
6922 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
6923 (emit_group_store): Likewise.
6924 (emit_move_insn): I now unsigned.
6925 (store_constructor): Use host_integerp, tree_low_cst, and
6927 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
6928 Rework all calculations to use trees and new fields.
6929 * expr.h (promoted_input_arg): Regno now unsigned.
6930 (store_bit_field, extract_bit_field): Adjust types of pos and size.
6931 (mark_seen_cases): Arg is HOST_WIDE_INT.
6932 * flow.c (verify_wide_reg_1): REGNO now unsigned.
6933 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
6934 precisions and alignments are unsigned.
6935 (optimize_bit_field_compare, fold_truthop): Likewise.
6936 (int_const_binop): Adjust threshold for size_int_type_wide call.
6937 (fold_convert): Likewise.
6938 (size_int_type_wide): Make table larger and fix thinko that only
6939 had half of table used.
6940 (all_ones_mask_p, fold): Precisions are unsigned.
6941 * function.c (put_reg_info_stack): REGNO is unsigned.
6942 (instantiate_decl): Size is HOST_WIDE_INT.
6943 (instantiate_virtual_regs): I is unsigned.
6944 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
6945 (promoted_input_arg): REGNO is unsigned.
6946 * function.h (struct function): x_max_parm_reg is now unsigned.
6947 * gcse.c (max_gcse_regno): Now unsigned.
6948 (struct null_pointer_info): min_reg and max_reg now unsigned.
6949 (lookup_set, next_set): REGNO arg now unsigned.
6950 (compute_hash_table): REGNO and I now unsigned.
6951 (handle_avail_expr): regnum_for_replacing now unsigned.
6952 (cprop_insn): REGNO now unsigned.
6953 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
6954 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
6955 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
6956 * hard-reg-set.h (reg_class_size): Now unsigned.
6957 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
6958 * jump.c (mark_modified_reg): I now unsigned; add cast.
6959 (rtx_equal_for_thread_p): Add cast.
6960 * loop.c (max_reg_before_loop): Now unsigned.
6961 (struct_movable): REGNO now unsigned.
6962 (try_copy_prop): REGNO arg unsigned.
6963 (regs_match_p): XN and YN now unsigned.
6964 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
6965 (strength_reduce): Likewise; NREGS also unsigned.
6966 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
6967 * loop.h (struct iv_class): REGNO now unsigned.
6968 (max_reg_before_loop, first_increment_giv, last_increment_giv):
6970 * machmode.h (mode_size, mode_unit_size): Now unsigned.
6971 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
6972 * optabs.c (expand_binop): I and NWORDS now unsigned.
6973 (expand_unop): I now unsigned.
6974 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
6975 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
6976 * real.c (significand_size): Now returns unsigned.
6977 * real.h (significand_size): Likewise.
6978 * regclass.c (reg_class_size): Now unsigned.
6979 (choose_hard_reg_mode): Both operands now unsigned.
6980 (record_reg_classes): REGNO and NR now unsigned.
6981 (reg_scan): NREGS now unsigned.
6982 (reg_scan_update): old_max_regno now unsigned.
6983 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
6984 * reload.c (find_valid_class): BEST_SIZE now unsigned.
6985 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
6986 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
6987 Likewise for variable R.
6988 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
6989 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
6990 (find_equiv_reg): Add casts.
6991 (regno_clobbered_p): Arg REGNO now unsigned.
6992 * reload.h (struct reload): NREGS now unsigned.
6993 (refers_to_regno_for_reload_p): Regno args are unsigned.
6994 (regno_clobbered_p): Likewise.
6995 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
6996 (compute_use_by_pseudos): REGNO now unsigned.
6997 (find_reg): I and J now unsigned, new variable K, and change loop
6998 variables accordingly; THIS_NREGS now unsigned.
6999 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
7000 (spill_hard_reg): REGNO arg now unsigned; add casts.
7001 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
7002 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
7003 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
7004 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
7005 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
7006 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
7007 (emit_reload_insns): REGNO now unsigned.
7008 (reload_cse_move2add): Add cast.
7009 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
7011 * resource.c (mark_referenced_resources, mark_set_resources): New
7012 variable R; REGNO and LAST_REGNO now unsigned.
7013 (mark_target_live_regs): J and REGNO now unsigned.
7014 * rtl.c (mode_size, mode_unit_size): Now unsigned.
7015 * rtl.h (union rtunion_def): New field rtuint.
7016 (XCUINT): New macro.
7017 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
7018 (operand_subword, operand_subword_force): Word number is unsigned.
7019 (choose_hard_reg_mode): Operands are unsigned.
7020 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
7021 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
7022 (regno_use_in, combine_instructions, remove_death): Likewise.
7023 (reg_scan, reg_scan_update): Likewise.
7024 (extended_count): Return is unsigned.
7025 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
7026 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
7027 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
7028 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
7029 (reg_reg_last_1): FIRS and LAST now unsigned.
7030 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
7031 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
7033 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
7034 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
7035 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
7036 (replace_regs): Arg NREGS now unsigned.
7037 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
7038 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
7039 (simplify_binary_operation): Likewise.
7040 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
7041 THIS_LAST now unsigned.
7042 (cselib_record_set): Add cast.
7043 * ssa.c (ssa_max_reg_num): Now unsigned.
7044 (rename_block): REGNO now unsigned.
7045 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
7047 (all_cases_count): Just return -1 not -2.
7048 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
7049 Rework tests to use trees whenever possible.
7050 Use host_integerp and tree_low_cst.
7051 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
7052 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
7053 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
7054 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
7055 (smallest_mode_for_size): Likewise.
7056 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
7057 KNOWN_ALIGN is now an alignment, so simplify code.
7058 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
7059 (start_record_layout): Renamed from new_record_layout_info.
7060 Update to new fields.
7061 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
7063 (place_union_field): Renamed from layout_union_field.
7064 Update to use new fields in rli.
7065 (place_field): Renamed from layout_field.
7066 Major rewrite to use new fields in rli; pass alignment to layout_decl.
7067 (finalize_record_size): Rework to use new fields in rli and handle
7069 (compute_record_mode): Rework to simplify and to use new DECL fields.
7070 (finalize_type_size): Make rounding more consistent.
7071 (finish_union_layout): Deleted.
7072 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
7073 (layout_type, case RECORD_TYPE): Call new function names.
7074 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
7075 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
7076 (get_best_mode): UNIT is now unsigned; remove casts.
7077 * tree.c (bit_position): Compute from new fields.
7078 (byte_position, int_byte_position): New functions.
7079 (print_type_hash_statistics): Cast to remove warning.
7080 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
7081 (build_index_type): Likewise; make subtype of sizetype.
7082 (build_index_2_type): Pass sizetype to build_range_type.
7083 (build_common_tree_nodes): Use size_int and bitsize_int to
7084 initialize nodes; add bitsize_{zero,one,unit}_node.
7085 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
7086 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
7087 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
7088 (DECL_FIELD_BITPOS): Deleted.
7089 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
7090 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
7091 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
7092 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
7093 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
7094 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
7095 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
7096 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
7097 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
7098 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
7099 (DECL_ALIGN): Adjust to new field in union.
7100 (DECL_OFFSET_ALIGN): New field.
7101 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
7102 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
7103 (union tree_decl): Add struct for both aligns.
7104 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
7105 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
7106 (struct record_layout_info): Rework fields to have offset
7107 alignment and byte and bit position.
7108 (start_record_layout, place_field): Renamed from old names.
7109 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
7110 (byte_position, int_byte_position): Likewise.
7111 (get_inner_reference): Change types of position and length.
7112 * unroll.c (unroll_loop): New variable R; use for some loops.
7113 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
7114 (calculate_giv_inc): Arg REGNO now unsigned.
7115 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
7116 * varasm.c (assemble_variable): Clean up handling of size using
7117 host_integerp and tree_low_cst.
7118 (decode_addr_const): Use byte, not bit, position.
7119 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
7120 use tree_low_cst and int_bit_position.
7121 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
7123 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
7125 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
7126 (reorder_block_def): New members eff_head and eff_end.
7127 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
7128 (verify_insn_chain): New function.
7129 (skip_insns_between_block): Add code to skip deleted insns.
7130 Check for note before using.
7131 (chain_reorder_blocks): Replace calls to skip_insns_between_block
7132 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
7133 Check for note before using.
7134 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
7135 (fixup_reorder_chain): Restructure, clean up, defect removal.
7136 (reorder_basic_blocks): Remove last_insn and references to it.
7137 Moved insn chain verification code into a new function (see above).
7138 Delete defective code that sets last insn.
7139 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
7142 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7144 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
7146 2000-03-24 Richard Henderson <rth@cygnus.com>
7148 * tree.c (lang_safe_for_unsave): Remove.
7149 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
7150 allowing for two levels of unsafeness. Remove lang hook.
7151 * tree.h: Update declarations.
7152 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
7153 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
7154 Always fail sibcalls when there are pending cleanups.
7156 2000-03-24 Geoff Keating <geoffk@cygnus.com>
7158 * flow.c (propagate_block): When we delete an ADDR_VEC,
7159 also delete the BARRIER following it if there is one.
7161 2000-03-24 Richard Henderson <rth@cygnus.com>
7163 * builtins.c (expand_builtin_bzero): Convert `length' argument
7166 2000-03-24 Jakub Jelinek <jakub@redhat.com>
7168 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
7169 comparison if regno's are equal.
7170 * calls.c (initialize_argument_informat): Add ecf_flags argument.
7171 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7172 (expand_call): Update caller.
7173 Avoid making a sibling call if argument size of the callee is larger
7174 than argument size of the caller.
7175 Call hard_function_value with outgoing set if in sibcall pass.
7176 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7178 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
7179 Change LEAF_REGISTERS from an array initializer to actual array
7180 identifier. Move static global variable into the function.
7181 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
7182 sequences for leaf functions.
7183 * global.c (global_alloc): Likewise.
7184 * tm.texi (LEAF_REGISTERS): Update documentation.
7186 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
7187 TARGET_FLAT leaf disabling hack.
7188 (LEAF_REGISTERS): Changed from an array initializer to actual array
7189 identifier to avoid duplication and remove the above hack.
7190 (FUNCTION_OK_FOR_SIBCALL): Define.
7191 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
7192 always like call attribute.
7193 (eligible_for_sibcall_delay): New attribute.
7194 (sibcall): New delay type.
7195 (sibcall, sibcall_value, sibcall_epilogue): New expands.
7196 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
7197 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
7198 * config/sparc/sparc.c (sparc_leaf_regs): New array.
7199 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
7201 (output_function_epilogue): Move part of the code into
7202 output_restore_regs.
7203 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
7205 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
7208 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
7209 until infrastructure is finished.
7211 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
7213 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
7214 (save_parm_insns): Not here.
7216 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7218 * builtins.c (expand_builtin_bzero): New function.
7219 (expand_builtin): Handle bzero.
7221 * builtins.def: Add BUILT_IN_BZERO.
7223 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7224 prototype & function for bzero.
7226 2000-03-23 Michael Meissner <meissner@redhat.com>
7228 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
7229 change adding TARGET_FP to the TF floating point insns, except for
7230 trunctfsf2, which generates direct calls to truncdfsf2.
7232 2000-03-23 Geoff Keating <geoffk@cygnus.com>
7234 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
7235 try to protect against middle-end changes that break binary
7237 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
7239 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7241 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
7243 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7245 * calls.c (expand_call): If TARGET is passed by reference and
7246 is readonly, write a CLOBBER.
7248 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7250 * builtins.c (expand_builtin): Handle bcmp.
7252 * builtins.def: Add BUILT_IN_BCMP.
7254 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7255 prototype & function for bcmp.
7257 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
7259 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
7260 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
7261 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
7263 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
7265 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
7266 alternative when using -fp64 -gp32.
7268 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7270 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
7271 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
7272 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
7274 * frame.h (frame_state): Revert last change.
7275 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
7276 * libgcc2.c (throw_helper): Revert last change.
7278 2000-03-22 Richard Henderson <rth@cygnus.com>
7280 * stmt.c (expand_asm_operands): Don't promote the temporary.
7282 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
7284 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
7285 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
7286 c_get_alias_set): Likewise.
7287 * c-decl.c (duplicate_decls): Likewise.
7288 * c-typeck.c (default_conversion,build_unary_op): Likewise.
7289 * calls.c (initialize_argument_information): Likewise.
7290 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
7292 * dwarfout.c (decl_class_context,output_type): Likewise.
7293 * expr.c (get_inner_reference): Likewise.
7294 * fold-const.c (simple_operand_p,fold): Likewise.
7295 * function.c (aggregate_value_p): Likewise.
7296 * stmt.c (expand_asm_operands): Likewise.
7297 * varasm.c (named_section): Likewise.
7299 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7301 Implement dwarf2 exception handling for the ARM.
7302 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
7303 (DWARF_FRAME_RETURN_COLUMN): Define.
7304 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
7305 REG_FRAME_RELATED_EXPR note.
7306 (emit_sfm): Likewise.
7307 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
7308 * dwarf2out.c (reg_save): Handle saving a register to itself.
7309 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
7310 * except.c (eh_regs): Don't use the static chain reg if it's
7312 * frame.h (frame_state): Add cfa_saved field.
7313 * frame.c (execute_cfa_insn): Set it.
7314 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
7316 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
7318 (instantiate_virtual_regs): Adjust.
7320 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7321 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7322 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
7324 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
7325 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
7327 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7329 * builtins.def: New file.
7331 * Makefile.in (TREE_H): Depend on builtins.def.
7333 * builtins.c (built_in_names): Use builtins.def.
7335 * tree.h (built_in_function): Likewise.
7337 2000-03-22 Mark Mitchell <mark@codesourcery.com>
7339 * tree.c (size_in_bytes): Return size_zero_node, not
7342 2000-03-22 Geoff Keating <geoffk@cygnus.com>
7344 * config/fp-bit.c (pack_d): Correct the case when a denormal
7345 is rounded up and stops being denormal.
7347 2000-03-21 Richard Henderson <rth@cygnus.com>
7349 * config/alpha/alpha.c (function_arg): Check for void_type_node
7350 before using MUST_PASS_IN_STACK.
7352 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
7354 * regmove.c (combine_stack_adjustments_for_block): Check that
7355 the stack pointer is a valid memory address.
7357 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
7359 * calls.c: re-install Mar 16 emit_library_call merge.
7361 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7363 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
7364 we cannot be sure that if reload_completed base register will
7365 be properly aligned.
7367 2000-03-21 Richard Henderson <rth@cygnus.com>
7369 * flow.c (delete_block): Fix typo last change.
7371 2000-03-21 Mark Mitchell <mark@codesourcery.com>
7373 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
7374 not COMPLETE_TYPE_P, to check the type of the expression.
7376 2000-03-21 Michael Meissner <meissner@redhat.com>
7378 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
7379 all floating point insns that just tested the macro
7380 TARGET_HAS_XFLOATING_LIBS.
7381 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
7382 used to only use the gprs.
7384 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
7386 * tree.h (COMPLETE_TYPE_P): New macro.
7387 (COMPLETE_OR_VOID_TYPE_P): New macro.
7388 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
7389 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
7390 * c-aux-info.c (gen_type): Use them.
7391 * c-common.c (c_expand_expr_stmt): Likewise.
7392 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
7393 grokdeclarator, grokparms, finish_struct, start_function,
7394 store_parm_decls, combine_parm_decls): Likewise.
7395 * c-parse.y (cast_expr): Likewise.
7396 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
7397 c_size_in_bytes, c_alignof, build_component_ref,
7398 build_indirect_ref, build_array_ref, convert_arguments,
7399 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
7400 * calls.c (initialize_argument_information): Likewise.
7401 * convert.c (convert_to_integer): Likewise.
7402 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
7403 * dwarfout.c (location_or_const_value_attribute,
7404 output_enumeration_type_die, output_structure_type_die,
7405 output_union_type_die, output_type): Likewise.
7406 * expr.c (safe_from_p, expand_expr): Likewise.
7407 * function.c (assign_parms): Likewise.
7408 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
7409 * tree.c (build_array_type, build_function_type,
7410 build_method_type, build_offset_type, build_complex_type): Likewise.
7411 * c-parse.c, c-parse.h: Regenerated.
7413 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7415 * config/c4x/rtems.h: Include config/rtems.h.
7417 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
7419 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
7420 decl is a FUNCTION_DECL
7422 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
7424 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
7425 function uses output registers. Don't save RP for leaf functions.
7426 Do save RP even if no epilogue.
7427 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
7428 (CALL_USED_REGISTERS): Unmark in registers.
7429 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
7432 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7434 * config/rs6000/rs6000.md (bunordered): New expander.
7435 (bordered): New expander.
7436 (buneq): New expander.
7437 (bunge): New expander.
7438 (bungt): New expander.
7439 (bunle): New expander.
7440 (bunlt): New expander.
7441 (bltgt): New expander.
7443 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
7444 (ccr_bit_negated_p): New function.
7445 (print_operand): For %C, generate appropriate cror for UNEQ,
7446 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
7448 2000-03-20 Andreas Jaeger <aj@suse.de>
7450 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
7453 * tree.h (safe_for_unsave): Prototype.
7455 2000-03-20 Richard Henderson <rth@cygnus.com>
7457 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
7458 (combine_stack_adjustments_for_block): Don't allow sp references
7459 in the side of a set we're not fixing up.
7460 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
7461 after life_analysis.
7463 2000-03-20 Richard Henderson <rth@cygnus.com>
7465 * calls.c (expand_call): Don't bother generating tail call
7466 sequences if there are pending cleanups. Use
7467 expand_start_target_temps/expand_end_target_temps to elide
7468 cleanups created during sibcall expansion.
7470 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7472 * configure.in: Set $IFS to a value if it doesn't already have one
7473 in the --enable-checking handling.
7474 * configure: Regenerate.
7476 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7478 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
7479 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7482 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
7484 * jump.c (delete_noop_moves): Remove code attempting to
7485 combine stack adjustments.
7487 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7489 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
7490 * except.c (emit_cleanup_handler): Use them.
7491 (expand_end_all_catch): Likewise.
7492 * function.c (fixup_var_refs): Likewise.
7493 (expand_function_end): Clear catch_clauses_last.
7494 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
7495 * except.h (struct eh_status): New field x_catch_clauses_last.
7496 (catch_clauses_last): New define.
7498 * Makefile.in (tree.o): Depend on HASHTAB_H.
7499 * tree.c: Include hashtab.h.
7500 (struct type_hash): Remove next field.
7501 (TYPE_HASH_SIZE): Remove.
7502 (TYPE_HASH_INITIAL_SIZE): New define.
7503 (type_hash_table): Change type to htab_t.
7504 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
7505 mark_hash_entry): New functions.
7506 (init_obstacks): Allocate type hash.
7507 (type_hash_lookup): Use htab functions.
7508 (type_hash_add, mark_type_hash): Likewise.
7509 (dump_tree_statistics): Call print_type_hash_statistics.
7511 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7513 * rs6000/t-aix41: New file.
7515 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
7517 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
7519 * tm.texi (Driver): Fix typos and tweak entry for
7521 Move misplaced STRUCT_FORCE_BLK entry ...
7522 (Storage Layout): ... to here.
7523 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
7525 2000-03-19 Richard Henderson <rth@cygnus.com>
7527 * flow.c (delete_block): Delete the addr_vec along with the block.
7528 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
7531 * fold-const.c (extract_muldiv): Apply type check for defined
7532 overflow to multiply as well as divide.
7534 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
7536 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7538 * emit-rtl.c (remove_unncessary_notes): Check that all
7539 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
7540 associated NOTE_BLOCK.
7541 * function.h (identify_blocks): Update comments.
7542 (reorder_blocks): Declare.
7543 * function.c (identify_blocks): Don't take paramters.
7544 (reorder_blocks): Don't take parameters.
7545 * loop.h (find_loop_tree_blocks): Remove.
7546 (unroll_block_trees): Likewise.
7547 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
7548 reorder_blocks instead of unroll_block_trees.h
7549 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
7550 * stmt.c (find_loop_tree_blocks): Remove.
7551 (unroll_block_trees): Likewise.
7552 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
7553 in whole-function mode.
7554 * tree.h (reorder_blocks): Remove declaration.
7556 * expr.c: Include intl.h.
7557 * Makefile.in (expr.o): Depend on intl.h.
7559 2000-03-18 Richard Henderson <rth@cygnus.com>
7561 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
7563 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7565 * tree.h (tree_index): Remove enumerals for integer types.
7566 (integer_type_kind): New type.
7567 (integer_types): New variable.
7568 (char_type_node): Adjust.
7569 (signed_char_type_node): Likewise.
7570 (unsigned_char_type_node): Likewise.
7571 (short_integer_type_node): Likewise.
7572 (short_unsigned_type_node): Likewise.
7573 (integer_type_node): Likewise.
7574 (unsigned_type_node): Likewise.
7575 (long_integer_type_node): Likewise.
7576 (long_unsigned_type_node): Likewise.
7577 (long_long_integer_type_node): Likewise.
7578 (long_long_unsigned_type_node): Likewise.
7579 * tree.c (integer_types): New variable.
7580 (init_obstacks): Register it as a root.
7582 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
7584 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
7585 NEXT_INSN. Update last insn in chain.
7587 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
7589 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
7590 with TYPE_DECL_SUPPRESS_DEBUG set.
7592 2000-03-18 Richard Henderson <rth@cygnus.com>
7594 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
7596 2000-03-18 Richard Henderson <rth@cygnus.com>
7598 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
7599 care for HALF_PIC_P.
7600 (expander_call_insn_operand): Remove.
7601 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
7602 * i386.h (PREDICATE_CODES): Update.
7603 * i386.md (all call expanders): Remove predicates, remove special
7604 handling for half-pic.
7605 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
7606 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
7607 (sibcall_epilogue): New.
7609 2000-03-17 Richard Henderson <rth@cygnus.com>
7611 * rtlanal.c (single_set): Reject if the parallel has anything
7612 except SET or USE or CLOBBER.
7614 2000-03-17 Jeff Law <law@cygnus.com>
7615 Richard Henderson <rth@cygnus.com>
7617 * Makefile.in (OBJS): Add sibcall.o.
7619 * sibcall.c: New file.
7620 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
7621 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
7622 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
7623 Emit sibcall patterns when requested. Update all callers.
7624 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
7625 elimination seems feasable.
7626 * final.c (leaf_function_p): Sibling calls don't discount being
7628 * flow.c (HAVE_sibcall_epilogue): Provide default.
7629 (find_basic_blocks_1): Sibling calls don't throw.
7630 (make_edges): Make edge from sibling call to EXIT.
7631 (propagate_block): Don't remove sibcall_epilogue insns.
7632 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
7633 (sibcall_epilogue): New.
7634 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
7635 (identify_blocks_1): Likewise. Break out from ...
7636 (identify_blocks): ... here.
7637 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
7638 (reorder_blocks): ... here.
7639 (init_function_for_compilation): Zap prologue/epilogue as varrays.
7640 (record_insns): Extend a varray instead of mallocing new memory.
7641 (contains): Read a varray not array of ints.
7642 (sibcall_epilogue_contains): New.
7643 (thread_prologue_and_epilogue_insns): Emit and record
7644 sibcall_epilogue patterns.
7645 (init_function_once): Allocate prologue/epilogue varrays.
7646 * genflags.c (gen_insn): Treat sibcall patterns as calls.
7647 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
7649 (save_for_inline_nocopy): ... here.
7650 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
7652 (expand_inline_function): ... here.
7653 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
7654 (subst_constants): Handle 'n' formats.
7655 * jump.c (jump_optimize_minimal): New.
7656 (jump_optimize_1): New arg `minimal'; update callers. Elide most
7657 optimizations if it's set.
7658 * rtl.c (copy_rtx): Do copy jump & call for insns.
7659 * rtl.h (struct rtx_def): Document use of jump and call for insns.
7660 (SIBLING_CALL_P): New.
7661 (sibcall_use_t): New.
7662 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
7663 Invoke optimize_sibling_and_tail_recursive_calls.
7664 * tree.c (lang_safe_for_unsave): New.
7665 (safe_for_unsave): New.
7666 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
7668 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
7669 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
7670 (*sibcall_osf_1, *sibcall_value_osf_1): New.
7672 2000-03-17 Mark Mitchell <mark@codesourcery.com>
7674 * objc/objc-act.c (encode_method_prototype): Pass types, not
7675 PARM_DECLs, to int_size_in_bytes.
7677 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
7679 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
7681 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7682 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
7684 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7686 * Clean up usages of TREE_INT_CST_LOW.
7687 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
7688 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7690 * c-tree.h (min_precision): Move declaration to here.
7691 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
7692 (build_unary_op, add_pending_init): Use bit_position.
7693 (pending_init_member, process_init_element): Likewise.
7694 (really_start_incremental_init, push_init_level, pop_init_level):
7695 Don't make copies of nodes or modify them in place, use consistent
7696 types when tracking positions, and use tree routines computations.
7697 (set_init_index, output_init_element): Likewise.
7698 (output_pending_init_elements, process_init_element): Likewise.
7699 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
7700 tree_low_cst and int_bit_position; also minor cleanup.
7701 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
7702 (print_cst_octal): Precision is unsigned.
7703 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
7704 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
7705 (simple_type_align_in_bits): Result is unsigned int.
7706 Use tree_int_low_cst and host_integerp.
7707 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
7708 (field_byte_offset): Result is HOST_WIDE_INT.
7709 Change types of internal variables so alignments are unsigned int,
7710 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
7711 Use host_integerp, tree_low_cst, and int_bit_position.
7712 (add_bit_offset_attribute): Likewise.
7713 (add_data_member_location_attribute): Use tree_cst_low.
7714 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
7715 (add_bit_size_attribute): Use tree_low_cst.
7716 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
7717 * dwarfout.c: Similar changes to dwarf2out.c.
7718 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
7719 * genoutput.c (n_occurences): Return -1 for null string.
7720 (strip_whitespace): Accept null string and make into function.
7721 (scan_operands): Reflect above changes.
7722 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
7723 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
7724 * ssa.c (rename_registers): Add missing cast of arg to bzero.
7725 * tree.c (int_size_in_bytes): Check for too big to represent.
7726 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
7727 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
7729 (min_precision): Delete from here.
7730 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
7731 and int_bit_position.
7732 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
7733 (encode_method_def): Likewise.
7734 (build_ivar_list_initializer): Use int_bit_position.
7735 (generate_shared_structures): Convert size.
7736 (encode_type, encode_complete_bitfield): Use integer_zerop.
7737 (encode_bitfield): Use tree_low_cst and int_bit_position.
7739 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7741 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
7743 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7745 * call.c (special_function_p): It is only malloc if it returns
7748 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7750 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
7751 (C33_FLAG, TARGET_C3X): Add macros.
7752 (TARGET_SWITCHES): Add -m33 option.
7753 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
7755 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7757 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
7758 (PARALLEL_PACK_FLAG): Delete.
7759 (TARGET_SWITCHES): Update.
7760 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
7762 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7764 * fold-const.c (fold): Fix a few cases when the returned result
7765 is not of the same type as the input.
7767 2000-03-16 Nick Clifton <nickc@cygnus.com>
7769 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
7772 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7774 * libgcc2.h: Move prototypes above macros with the same name.
7775 Wrap some function prototypes in the conditional which indicates
7776 whether they are supported, i.e. "BITS_PER_UNIT == 8".
7778 2000-03-16 Richard Henderson <rth@cygnus.com>
7780 * calls.c: Revert last two changes.
7782 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
7784 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7785 has exponent 0 is a zero.
7787 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7788 HASH may already be nonzero. Add code/mode into hash value
7789 immediately after repeat label.
7790 (cselib_lookup): Don't leave the hash table in an inconsistent
7791 state before a hash lookup operation.
7793 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
7795 * i386.md (all HI and QI mode non-move patterns): Conditionize
7796 by TARGET_[HQ]IMODE_MATH.
7797 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7798 x86_promote_qi_regs): Declare.
7799 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7800 TARGET_PROMOTE_QI_REGS): New macros.
7801 (PROMOTE_MODE): New macro.
7802 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7803 x86_promote_qi_regs): New global variables.
7805 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
7807 * calls.c (emit_library_call_value_1): Break out from ...; handle
7808 VOIDmode function calls too.
7809 (emit_library_call_value): ... here.
7810 (emit_library_call): Implement by calling emit_library_call_value_1.
7812 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
7814 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
7815 Update arg_space_so_far on stack adjustments.
7816 (emit_library_call, emit_library_call_value): Likewise; take into
7817 account arg_space_so_far and pending_stack_adjust when calculcating
7820 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
7822 * flow.c: Move all basic block reordering code into its own file.
7823 (create_basic_block): Externalize.
7824 * bb-reorder.c: New file. Copy all basic block reordering code from
7825 flow.c to this file.
7826 (reorder_basic_blocks): Fix fencepost error in for-loop.
7827 (reorder_basic_blocks): Remove braces from single statement for-loops.
7828 * basic-block.h: Add declaration for create_basic_block.
7829 * Makefile.in: Add rules for bb-reorder.o.
7831 2000-03-16 Neil Booth <NeilB@earthling.net>
7833 * cppinit.c (handle_option): Implement #unassert directive
7834 as -A- command line option.
7835 (print_help): Update.
7836 * cpptexi.c: Update.
7838 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
7840 * md.texi (Standard Names): Document `jump'.
7842 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7844 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
7847 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7849 Merge changes from newppc-branch onto trunk.
7851 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7853 * rs6000.c (toc_hash_table): Update for new hash table functions.
7854 (toc_hash_function): Likewise.
7855 (toc_hash_eq): Likewise.
7856 (toc_hash_mark_entry): Likewise.
7857 (toc_hash_mark_table): Likewise.
7858 (output_toc): Likewise.
7859 (rs6000_add_gc_roots): Likewise.
7861 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7863 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
7864 (AR_FLAGS_FOR_TARGET): here. New macro.
7866 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
7868 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
7869 fpmem_operand) Delete.
7871 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
7872 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
7873 (rs6000_save_machine_status, rs6000_restore_machine_status,
7874 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
7875 references to above variables.
7876 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
7877 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
7878 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
7879 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
7880 (XER_REGNO_P, XER_REGNO): New.
7881 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
7882 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
7883 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
7885 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
7886 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
7887 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
7889 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7891 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
7892 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
7893 * rs6000.h: from here.
7895 * rs6000-protos.h (rs6000_select_section): Provide prototype.
7896 (rs6000_select_rtx_section): Likewise.
7897 (rs6000_encode_section_info): Likewise.
7898 (sdata_section): Likewise.
7899 (sdata2_section): Likewise.
7900 (sbss_section): Likewise.
7901 * sysv4.h (rs6000_select_section): Delete prototype.
7902 (rs6000_select_rtx_section): Likewise.
7903 (rs6000_encode_section_info): Likewise.
7904 (sdata_section): Likewise.
7905 (sdata2_section): Likewise.
7906 (sbss_section): Likewise.
7907 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
7909 * sysv4.h: Delete various unnecessary #undef's and put a comment
7910 on the remaining ones.
7911 Change various comments according to coding standard.
7913 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
7915 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
7916 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
7917 (CR0_REGNO_P) Remove.
7918 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
7919 setup_incoming_varargs, mtcrf_operation, print_operand,
7920 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
7921 Use the above macros.
7923 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
7925 * config/rs6000/rs6000.md: Added a new alternative for each
7926 pattern that had a 'x' alternative but no 'y' alternative.
7927 Added a new split for each of the above patterns.
7929 2000-02-18 Geoff Keating <geoffk@cygnus.com>
7931 * aix41.h (ASM_CPU_SPEC): Delete.
7932 (CPP_CPU_SPEC): Delete.
7934 * aix.h (RS6000_OUTPUT_BASENAME): Define.
7935 (ASM_OUTPUT_LABEL): Define.
7936 (ASM_GLOBALIZE_LABEL): Define.
7937 (STRIP_NAME_ENCODING): Define.
7938 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
7939 (STRIP_NAME_ENCODING): Don't define.
7940 (ASM_OUTPUT_LABEL): Don't define.
7941 (ASM_GLOBALIZE_LABEL): Don't define.
7942 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
7943 names, and ASM_OUTPUT_LABEL to output labels, rather than
7945 (ASM_OUTPUT_LABEL): Define.
7946 (ASM_OUTPUT_INT): Use assemble_name.
7947 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
7948 (STRIP_NAME_ENCODING): Don't undefine first.
7949 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
7951 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
7952 specified with 'asm' even with -fleading-underscore.
7953 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
7954 (output_epilog): Likewise.
7955 (output_toc): Likewise.
7956 * tramp.asm: Handle -fleading-underscore correctly.
7958 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
7960 (nonlocal_goto_receiver): Delete.
7961 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
7963 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
7964 (SET_ASM_OP): Define.
7965 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
7967 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
7970 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
7971 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
7973 * rs6000.h: Add 'u' to more constants.
7975 2000-02-18 David Edelsohn <edelsohn@gnu.org>
7977 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
7979 2000-02-15 David Edelsohn <edelsohn@gnu.org>
7981 * rs6000.c (reg_or_u_cint_operand): New function.
7982 (logical_operand): Handle 64-bit hosts.
7983 (logical_u_operand): New function.
7984 (non_logical_cint_operand): Handle 64-bit hosts.
7985 (non_logical_u_cint_operand): New function.
7986 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
7987 (PREDICATE_CODES): Define new functions.
7988 * rs6000-protos.h: Declare new functions.
7989 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
7990 (movdi_64): Bracket code intended for 64-bit hosts. Create
7991 CONST_DOUBLE for 32-bit values.
7992 (scc insns): Generate DImode compares.
7993 (mfcr insns): Create DImode versions.
7994 (sge matchers): New patterns.
7996 2000-02-15 Gabriel Paubert <paubert@iram.es>
7998 * rs6000.md: Correct instructions length attributes and
7999 constraints on unsigned compare instructions.
8000 (*ne0): Disable for PowerPC64.
8002 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8004 * rs6000.c (output_function_profiler): Use .long for a 32-bit
8005 quantity, fix profile1.C test failure under -fPIC.
8007 * rs6000.c: Add 'u' to many constants to suppress warnings.
8008 (constant_pool_expr_1): Make static.
8009 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
8010 * rs6000.h: Add 'u' to many constants to suppress warnings.
8012 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
8013 for the start of the TOC, instead of LCTOC..0.
8014 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
8016 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
8017 (load_toc_aix_di): Use LCTOC..1.
8019 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
8020 * rs6000.c (rs6000_legitimize_address): New function from
8021 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
8022 symbols in the constant pool that really are TOC references.
8023 (print_operand_address): For ELF, write TOC offsets under
8024 -fPIC as subtractions in the insn.
8025 (output_toc): For ELF, define symbols in TOC as normal labels,
8027 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
8028 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
8029 (create_TOC_reference): Prototype only when RTX_CODE is defined.
8030 * rs6000.md (movsi): Only use create_TOC_reference on
8031 symbols in the constant pool that really are TOC references.
8033 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
8034 * rs6000.c (rs6000_reorg): Delete.
8035 * rs6000-protos.h (rs6000_reorg): Delete.
8037 2000-02-09 Geoff Keating <geoffk@cygnus.com>
8039 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
8041 * aix.h (SETUP_FRAME_ADDRESSES): Define.
8042 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
8043 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
8044 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
8045 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
8046 rs6000_aix_emit_builtin_unwind_init.
8047 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
8048 rs6000_emit_eh_toc_restore on AIX.
8049 (return_eh_si): Use r2.
8050 (return_eh_di): Use r2.
8052 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
8053 since we're breaking binary compatibility anyway.
8055 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
8057 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
8058 constant_pool_expr_p): Declare them.
8059 (constant_pool_expr_p): Declare it.
8060 * config/rs6000/rs6000.c (toc_label_name): Define.
8061 (rs6000_override_options): Set toc_label_name.
8062 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
8063 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
8064 uses_TOC): New functions.
8065 (print_operand): Delete old '*' case.
8066 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
8067 and strip off rtl for TOC before calling output_addr_const.
8068 (rs6000_emit_load_toc_table): Use toc_label_name.
8069 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
8071 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
8072 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
8073 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
8074 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
8075 into explicit TOC_REGISTER offsets.
8076 (TOC_REGISTER): New macro.
8077 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
8078 TARGET_TOC to reference TOC_REGISTER.
8079 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
8080 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
8081 uses_TOC before emitting label references.
8083 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8085 * rs6000.md (stack_tie): Fix warning.
8087 * eabi-ctors.c: Use 'asm' names for the start/end variables,
8088 to handle -fleading-underscore.
8089 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
8090 (USER_LABEL_PREFIX): New macro.
8091 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
8092 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
8093 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
8094 call-linux can use the same multilibs.
8095 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
8096 and call-linux multilibs. Do multilib with -fleading-underscore.
8097 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
8098 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
8101 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
8102 have MASK_SOFT_FLOAT set.
8103 (CPP_FLOAT_DEFAULT_SPEC): New macro.
8104 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
8105 CPP_FLOAT_DEFAULT_SPEC.
8107 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
8108 * rs6000.md: Whitespace change.
8109 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
8110 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
8112 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8114 * rs6000.md (eh_epilogue): New expander.
8115 (eh_reg_restore): New expand/split/insn combination.
8116 (return_eh_si): New insn.
8117 (return_eh_di): New insn.
8119 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
8120 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
8121 * eabi-ctors.c (__do_global_ctors): Register this object's
8122 frame. Clean up. Call atexit() after the constructors.
8123 (__do_global_dtors): Deregister this object's frame. Clean up.
8124 Allow for recursive calls to exit().
8125 * rs6000.c (fixuplabelno): New variable.
8126 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
8127 TARGET_RELOCATABLE, it slows down exec() under linux.
8128 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
8130 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
8131 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
8132 (ASM_OUTPUT_DWARF_DELTA2): New macro.
8133 (ASM_OUTPUT_DWARF_DELTA4): New macro.
8134 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
8135 (ASM_OUTPUT_DWARF_ADDR): New macro.
8136 (ASM_OUTPUT_DWARF_DATA4): New macro.
8137 (ASM_OUTPUT_DWARF_DATA2): New macro.
8138 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
8139 (ASM_OUTPUT_DWARF_OFFSET): New macro.
8140 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
8142 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8144 * rs6000.c (rs6000_sr_alias_set): New variable.
8145 (rs6000_override_options): Initialise rs6000_sr_alias_set.
8146 (rs6000_emit_stack_tie): New function.
8147 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
8148 in a way that dwarf2out can understand.
8149 (rs6000_frame_related): New function.
8150 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
8151 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
8152 Use rs6000_emit_stack_tie when needed.
8153 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
8154 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
8155 * rs6000.md (stack_tie): New insn.
8156 (return_internal_si): Allow return value to be in the count
8158 (return_internal_di): Likewise.
8160 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
8162 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8164 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
8166 2000-01-31 Geoff Keating <geoffk@cygnus.com>
8168 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
8170 * rs6000.md (stmw): Use the right POWER opcode.
8173 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8175 * rs6000-protos.h: New file.
8177 * rs6000.c: Include tm_p.h. Fix compile time warnings.
8179 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
8182 * sysv4.h: Likewise.
8184 2000-01-28 Geoff Keating <geoffk@cygnus.com>
8186 * ../../configure.in: Delete powerpcle-*-winnt*
8187 and powerpcle-*-pe|powerpcle-*-cygwin*.
8188 * ../../configure: Regenerated.
8190 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
8191 (TARGET_WINDOWS_NT): Delete.
8193 (CALL_NT_DLLIMPORT): Delete.
8194 Delete NT-specific code.
8195 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
8198 * nt-ci.asm: Delete.
8199 * nt-cn.asm: Delete.
8200 * ntstack.asm: Delete.
8202 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8204 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
8205 (ASM_FILE_START): Likewise.
8206 (ASM_DECLARE_FUNCTION_NAME): Likewise.
8207 (ASM_OUTPUT_LABELREF): Likewise.
8208 (ASM_OUTPUT_SKIP): Likewise.
8209 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
8210 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
8211 (ASM_OUTPUT_CASE_LABEL): Likewise.
8212 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
8213 (ASM_OUTPUT_ASCII): Likewise.
8215 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
8217 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
8218 reload_toc_labelno for non-prologue TOC reloads. Also, don't
8219 increment rs6000_pic_labelno here.
8220 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
8221 and increment rs6000_pic_labelno here.
8223 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
8225 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
8226 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
8227 allocation knows (reg) is dead before the insn.
8229 2000-01-21 Geoff Keating <geoffk@cygnus.com>
8231 * rs6000.md (movsi_to_cr): Correct typo in output template.
8233 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8235 * rs6000.c (rs6000_pic_labelno): Always define.
8236 (rs6000_pic_func_labelno): Delete.
8237 (lmw_operation): Check for a zero base register,
8238 which doesn't mean what we want.
8239 (stmw_operation): New function.
8240 (print_operand): Define new 'l' modifier.
8241 (rs6000_stack_info): We must save all 64 bits of the registers
8242 if TARGET_POWERPC64.
8243 (rs6000_output_load_toc_table): Delete.
8244 (rs6000_emit_load_toc_table): New function.
8245 (rs6000_allocate_stack_space): Delete.
8246 (rs6000_emit_allocate_stack): New function.
8247 (rs6000_emit_prologue): New function.
8248 (output_prolog): Use rs6000_emit_prologue.
8249 (rs6000_emit_epilogue): Change a few variable names to be
8250 more accurate. Restore all 64 bits of the registers if
8251 TARGET_POWERPC64. Only restore the FP registers which were used
8252 if they are being saved/restored one-at-a-time.
8253 (output_mi_thunk): Delete inefficient code generation.
8254 (output_function_profiler): Don't use rs6000_output_load_toc_table.
8255 * rs6000.h: Declare rs6000_emit_load_toc_table,
8256 rs6000_allocate_stack_space, stmw_operation. Don't declare
8257 rs6000_output_load_toc_table.
8258 * rs6000.md (elf_high): Allow register 0, but discourage it
8260 (elf_low): Support loading into register 0.
8261 (load_toc_aix_si): New pattern.
8262 (load_toc_aix_di): New pattern.
8263 (load_toc_v4_pic_si): New pattern.
8264 (load_toc_v4_pic_di): New pattern.
8265 (load_toc_v4_PIC_1): New pattern.
8266 (load_toc_v4_PIC_1b): New pattern.
8267 (load_toc_v4_PIC_2): New pattern.
8268 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
8269 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
8270 (prologue): New expander.
8271 (movesi_from_cr): New pattern.
8272 (stmw): New pattern.
8273 (save_fpregs_si): New pattern.
8274 (save_fpregs_di): New pattern.
8276 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8278 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
8283 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8285 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
8287 (movsi_got_internal): Likewise.
8288 (movsi_got_internal+1): Likewise.
8289 (set_sp): 'unspec 7' does a SImode clobber.
8291 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8293 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
8294 allocate a stack temporary.
8295 (floatsidf2_internal): Likewise.
8296 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
8298 (floatunssidf2): Don't use the fpmem "register", just
8299 allocate a stack temporary.
8300 (floatunssidf2_internal): Likewise.
8301 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
8303 (floatsidf2_loadaddr): Delete.
8304 (floatsidf2_store1): Delete.
8305 (floatsidf2_store2): Delete.
8306 (floatsidf2_load): Delete.
8307 (fix_truncdfsi2): Don't use the fpmem "register", just
8308 allocate a stack temporary.
8309 (fix_truncdfsi2_internal_si): Delete.
8310 (fix_truncdfsi2_internal_di): Delete.
8311 (fix_truncdfsi2_internal): New insn.
8312 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
8313 (fix_truncdfsi2_store): Delete.
8314 (fix_truncdfsi2_load): Delete.
8315 (fctiwz): Produce gen_fctiwz.
8317 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8319 * eabi.h (INVOKE__main): Define.
8320 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
8322 (rs6000_emit_prologue): Likewise.
8323 * rs6000.h (struct rs6000_stack): Don't keep track of whether
8324 this is the main program.
8326 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8328 * rs6000.c (rs6000_va_arg): Delete some unused variables.
8330 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8332 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
8333 goes after the argument.
8335 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8337 * rs6000.md: Document 'unspec' values used.
8338 (epilogue): New expander.
8339 (movesi_to_cr_one): New expander.
8340 (movesi_to_cr and following): New pattern.
8342 (return_internal_si): New pattern.
8343 (return_internal_di): New pattern.
8344 (return_and_restore_fpregs_si): New pattern.
8345 (return_and_restore_fpregs_di): New pattern.
8346 * rs6000.h: Declare new functions.
8347 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
8348 rather than rs6000_calls_p.
8349 (rs6000_makes_calls): Delete.
8350 (lmw_operation): New function.
8351 (mtcrf_operation): New function.
8352 (rs6000_emit_epilogue): New function.
8353 (output_epilog): Call rs6000_emit_epilogue and final if
8354 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
8356 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8358 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
8359 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
8360 * aix.h (SUBTARGET_SWITCHES): Document switches.
8361 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
8362 sched-prolog and sched-epilog the same. Document all the
8364 (TARGET_OPTIONS): No longer allow -mdebug-.
8366 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8368 * rs6000.h (ASM_FILE_END): Move to aix.h.
8369 (EXTRA_SECTIONS): Move to aix.h.
8370 (READONLY_DATA_SECTION): Move to aix.h.
8371 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
8372 (SELECT_SECTION): Move to aix.h.
8373 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
8374 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
8375 (LINK_REGISTER_REGNUM): New definition.
8376 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
8377 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
8379 * sysv4.h: Delete the code between the inclusion of rs6000.h
8381 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
8382 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
8383 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
8384 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
8385 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
8386 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
8387 (fix_truncdfsi2_internal_di): New pattern.
8388 (fix_truncdfsi2_store): The second arg here is Pmode too.
8389 (fix_truncdfsi2_load): The second arg here is Pmode too.
8390 (tablejumpdi): Now that switch tables hold only SImode values,
8391 gcc needs to know how to add them to the pc which is DImode.
8392 * rs6000.c (rs6000_stack_info): Use symbolic name for
8393 LINK_REGISTER_REGNUM.
8394 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
8395 (output_toc): Delete unused variables s1 and s2.
8396 (output_ascii): Use fputs not fprintf on a variable string.
8398 2000-01-07 David Edelsohn <edelsohn@gnu.org>
8400 * rs6000.c (processor_target_table): Add power3 as alias for 630.
8401 * aix43.h: Revert Aug 2 change.
8402 (HAS_INIT_SECTION): Define, not visible yet.
8403 (LD_INIT_SWITCH): Define, not visible yet.
8404 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8406 2000-01-04 Joel Sherrill (joel@OARcorp.com>
8408 * config/rs6000/rtems.h: Include config/rtems.h.
8410 2000-01-04 David Edelsohn <edelsohn@gnu.org>
8412 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8413 (SLOW_UNALIGNED_ACCESS): Define.
8414 (CASE_VECTOR_MODE): Always use 32-bit offsets.
8415 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8416 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8417 (toc_section): Likewise and .toc pseudo-op.
8418 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
8420 (TEXT_SECTION_ASM_OP): Likewise.
8421 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8424 1999-12-17 Jakub Jelinek <jakub@redhat.com>
8426 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
8427 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8430 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8432 * rs6000.h: Move more stuff from here...
8434 * sysv4.h: Cleanup accordingly.
8435 * netware.h: Likewise
8437 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8439 * rs6000.h: Continue cleanup.
8442 * netware.h: Likewise.
8444 * sysv4.h: Likewise.
8445 * win-nt.h: Likewise.
8447 * rs6000.h (TARGET_SWITCHES): Add descriptions.
8448 (TARGET_OPTIONS): Likewise.
8450 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
8451 (SUBTARGET_OPTIONS): Likewise.
8453 * rs6000.md: Fix compile time warnings.
8455 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8457 vxworks patches from the Cygnus tree originally by
8458 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
8459 <vmakarov@cygnus.com>.
8460 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
8461 (ENDFILE_SPEC): Likewise.
8462 (LIB_VXWORKS_SPEC): New macro.
8463 (STARTFILE_VXWORKS_SPEC): New macro.
8464 (ENDFILE_VXWORKS_SPEC): New macro.
8465 (LINK_START_VXWORKS_SPEC): New macro.
8466 (LINK_OS_VXWORKS_SPEC): New macro.
8467 (CPP_OS_VXWORKS_SPEC): New macro.
8468 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
8469 * vxppc.h: Rewrite to use proper configuration method.
8470 * vxppcle.h: New file.
8471 * ../../configure.in: Add powerpcle-wrs-vxworks*.
8472 * ../../configure: Rebuilt.
8474 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8476 Lots of changes to rs6000.h, sysv4.h, aix.h,
8477 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
8478 with the aim that rs6000.h is the first header
8479 included and the others override it.
8482 * x-aix41-gld: Remove.
8484 * x-aix41: Remove target-specific switches, and don't specify
8485 -Wl,-bbigtoc as we don't need it any more.
8486 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
8487 Use t-aix43 for AIX 4.3 and above.
8488 * ../../configure: Regenerated.
8490 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
8491 options, that don't do anything yet.
8492 (MASK_SCHED_PROLOG): New macro.
8493 (MASK_SCHED_EPILOG): New macro.
8494 (TARGET_SCHED_PROLOG): New macro.
8495 (TARGET_SCHED_EPILOG): New macro.
8497 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8499 * rs6000.c: Correct comment, the `minimal' TOCs are actually
8500 one per translation unit, not one per function.
8501 (output_toc): Also do duplicate constant elimination
8502 for per-translation-unit TOCs.
8504 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
8505 a comment explaining _exactly_ when this pattern gets used.
8506 (builtin_setjmp_receiver): New pattern for better clarity.
8507 (init_v4_pic): Move it into a section dealing with TOC registers.
8509 1999-12-30 Geoff Keating <geoffk@cygnus.com>
8511 * rs6000.c (toc_hash_table): New variable.
8512 (rs6000_hash_constant): New function.
8513 (toc_hash_function): New function.
8514 (toc_hash_eq): New function.
8515 (toc_hash_mark_entry): New function.
8516 (toc_hash_mark_table): New function.
8517 (output_toc): Don't output duplicate TOC entries in
8519 (rs6000_add_gc_roots): Add the hash table as a GC root.
8520 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
8521 where they clearly shouldn't be. This may need to be fixed
8522 later when there is a GNU ar for AIX.
8523 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
8524 Don't define BOOT_LDFLAGS as it is now not necessary.
8526 1999-12-29 Geoff Keating <geoffk@cygnus.com>
8528 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
8529 for va_list on AIX. Use unsigned_char_type_node rather than
8530 constructing our own version on svr4.
8532 1999-12-17 Geoff Keating <geoffk@cygnus.com>
8534 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
8535 since patently it's not.
8537 1999-12-08 Geoff Keating <geoffk@cygnus.com>
8539 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
8540 define_expand/define_insn pair, and handle restore of the
8541 SVR4 -fpic register.
8543 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
8545 * acconfig.h (HAVE_GAS_WEAK): New define.
8546 * configure.in (assembler weak support): Check for .weak support.
8547 * config.in, configure: Rebuilt.
8548 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
8549 HAVE_GAS_WEAK is defined.
8551 2000-03-15 Nick Clifton <nickc@cygnus.com>
8553 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
8556 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
8558 * cppfiles.c (open_include_file): New function.
8559 (find_include_file, cpp_read_file): Use it.
8561 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
8563 * cpphash.c (dump_hash_helper): Take the slot, not the element.
8565 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
8567 * flow.c (verify_flow_info): Check for unconditional return.
8569 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
8571 * config/ia64/ia64.md (restore_stack_nonlocal): New.
8572 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
8573 (__ia64_restore_stack_nonlocal): New.
8574 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
8576 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8578 * cpphash.c (collect_formal_parameters): Do not complain about
8579 parameter names that just start with `__VA_ARGS__'.
8581 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
8583 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
8584 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
8585 * i386.c (pentiumpro_cost): Set mul cost to 4.
8586 (x86_use_movx): Set for PPro.
8588 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
8590 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
8591 STACK_BOUNDARY for empty frames now.
8593 2000-03-14 Mark Mitchell <mark@codesourcery.com>
8595 * stor-layout.c (layout_union): Remove.
8596 (layout_union_field): New function, split out from layout_union.
8597 (finish_union_layout): Likewise.
8598 (layout_field): Handle unions by calling layout_union_field.
8599 (finish_record_layout): Handle unions.
8600 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
8601 QUAL_UNION_TYPE handling.
8603 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
8605 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
8606 end of basic block is jump_insn, not barrier; use create_basic_block
8607 instead of creating basic block by hand.
8609 2000-03-14 Jason Eckhardt <jle@cygnus.com>
8611 * flow.c (reorder_basic_blocks): Account for barriers when writing
8612 over NEXT_INSN (last_bb->end).
8613 (verify_flow_info): Add check for missing barriers.
8615 2000-03-14 Greg McGary <gkm@gnu.org>
8617 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
8618 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
8619 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
8620 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
8621 __unbounded, __unbounded__): New keywords.
8622 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
8623 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
8624 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
8626 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
8628 * cselib.h: New file.
8629 * alias.c: Include "cselib.h".
8630 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
8631 MEMs as two new arguments.
8632 (get_addr): New static function.
8633 (find_base_term): Handle VALUEs.
8634 (memrefs_conflict_p): Likewise.
8635 (true_dependence): Call get_addr on the addresses.
8636 Call fixed_scalar_and_varying_struct_p with addresses that have been
8637 passed through get_addr and canon_rtx.
8638 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
8639 with true_dependence.
8640 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
8641 * loop.c: Include "cselib.h".
8642 (load_mems): Process extended basic block that enters the loop with
8643 cselib. Use that information to change initialization of the shadow
8644 register so that a constant equivalence is seen by later passes.
8645 * reload1.c: Include "cselib.h".
8646 (reload_cse_invalidate_regno): Delete function.
8647 (reload_cse_mem_conflict_p): Likewise.
8648 (reload_cse_invalidate_mem): Likewise.
8649 (reload_cse_invalidate_rtx): Likewise.
8650 (reload_cse_regno_equal_p): Likewise.
8651 (reload_cse_check_clobber): Likewise.
8652 (reload_cse_record_set): Likewise.
8653 (reg_values): Delete static variable.
8654 (invalidate_regno_rtx): Likewise.
8655 (reload_cse_delete_noop_set): New static function.
8656 (reload_cse_simplify): New static function, broken out of
8658 (reload_cse_noop_set_p): Delete unused argument INSN.
8659 Just call rtx_equal_for_cselib_p on set source and destination.
8660 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
8661 reload_cse_delete_noop_set. Delete code to keep track of values; use
8662 cselib functions instead. Delete code to push/pop obstacks.
8663 (reload_cse_simplify_set): Use cselib to find equivalent values.
8664 Delete code to push/pop obstacks.
8665 (reload_cse_simplify_operands): Likewise.
8666 * rtl.def (VALUE): New rtx code.
8667 * rtl.h (union rtunion_def): New elt rt_cselib.
8668 (X0CSELIB, CSELIB_VAL_PTR): New macros.
8669 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
8670 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
8671 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
8672 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
8673 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
8674 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
8675 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
8676 cselib_record_set, cselib_record_sets): New static functions.
8677 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
8678 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
8679 references_value_p): New functions.
8680 (MAX_USELESS_VALUES, REG_VALUES): New macros.
8681 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
8682 n_useless_values, reg_values, callmem, cselib_obstack,
8683 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
8684 New static variables.
8685 * varray.h (union varray_data_tag): New elt te.
8686 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
8687 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
8690 2000-03-14 Nick Clifton <nickc@cygnus.com>
8692 * gcc.c (do_spec_1): Catch the case where %* is used in a
8693 substitution pattern, but it has not been initialised.
8694 Issue a meaningful error message if an unrecognised operator
8695 is encountered in a spec string.
8697 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
8699 * function.c (prepare_function_start): Correctly initialize
8700 cfun->stack_alignment_needed.
8702 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
8704 * cppfiles.c (find_include_file): Don't assume nshort is a
8707 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
8709 * configure.in (hppa configurations): Add pa32-regs.h to the
8710 list of tm files as appropriate.
8711 * configure: Rebuilt.
8712 * pa.c (compute_frame_size): Remove explicit knowledge about FP
8714 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
8715 (fmpyaddoperands, fmpysuboperands): Likewise.
8716 * pa.h: Remove various definitions which depend on knowing
8717 how registers are numbered.
8718 * pa32-regs.h: New file with PA32 register numbering specific
8721 2000-03-14 Richard Henderson <rth@cygnus.com>
8723 * regmove.c (combine_stack_adjustments): New.
8724 (stack_memref_p, single_set_for_csa): New.
8725 (free_csa_memlist, record_one_stack_memref): New.
8726 (try_apply_stack_adjustment): New.
8727 (combine_stack_adjustments_for_block): New.
8728 * rtl.h (combine_stack_adjustments): Declare.
8729 * toplev.c (rest_of_compilation): Call it.
8731 * i386.md: Revert 2000-01-16 change.
8733 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8735 * gccbug.in: Add web category, gcc specific classes.
8737 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
8739 * stor-layout.c (finalize_record_size): Fix typo.
8741 2000-03-14 Stan Shebs <shebs@apple.com>
8743 * c-typeck.c (c_alignof): Error on incomplete types.
8744 * extend.texi (Alignment): Document this.
8746 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8748 * cppfiles.c: Include mkdeps.h.
8749 (find_include_file, read_include_file): Remove _cpp_ prefix
8750 from name, make static.
8751 (_cpp_execute_include): New function, broken out of
8754 * cpplib.c: Don't include mkdeps.h.
8755 (struct directive): Remove type field. Reorder entries. The
8756 function takes only one argument.
8757 (struct if_stack): Make type field an int.
8758 (directive_table): Rename to dtable. Generate it, the
8759 prototypes of the directive handlers, and the enum for the
8760 directive numbers, from a template macro.
8761 (do_ifndef, do_include_next, do_import): New functions.
8762 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
8763 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
8764 do_ident, do_assert, do_unassert, do_sccs): Take only one
8766 (do_sccs): Define always, but alter behavior based on
8768 (_cpp_handle_directive, consider_directive_while_skipping):
8769 Restructure for new directive table layout.
8771 (pass_thru_directive): Take a directive number, not a pointer
8772 to a struct directive.
8773 (parse_include): New function, broken out of do_include.
8774 (do_include, do_import, do_include_next): Use parse_include
8775 and _cpp_execute_include.
8776 (do_elif, do_else): Test for T_ELSE specifically when checking
8777 for #elif/#else after #else.
8778 (parse_ifdef): New function, broken out of do_ifdef.
8779 (validate_else): Expect a name arg without a leading #.
8780 (if_directive_name): Delete.
8781 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8782 directive handlers with only one argument.
8784 * cpphash.h: Update prototypes.
8785 (enum node_type): Remove entries for directives.
8786 * Makefile.in: Update dependencies.
8788 * cpphash.c (dump_hash_helper): Only dump nodes of type
8789 T_MACRO. Emit a newline after each definition.
8791 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8793 * gccbug.in: New file.
8794 * configure.in (all_outputs): Add gccbug.
8795 * Makefile.in (install-common): Install gccbug.
8796 (GCCBUG_INSTALL_NAME): New variable.
8797 * configure: Rebuilt.
8799 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8801 * function.c (put_var_into_stack): Use type_for_mode to calculate
8802 part_type. Use MEM_SET_IN_STRUCT_P.
8803 * expr.c (store_field): Handle CONCAT.
8804 (store_constructor): Use fields_length.
8805 * tree.c (fields_length): New fn.
8806 * tree.h: Declare it.
8808 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8810 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
8811 (cpplex.o): New target.
8812 * po/POTFILES.in: Add cpplex.c.
8814 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
8815 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
8816 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
8817 skip_block_comment, skip_line_comment, skip_comment,
8818 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
8819 _cpp_parse_name, skip_string, parse_string,
8820 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
8821 _cpp_get_directive_token, find_position,
8822 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
8823 (maybe_macroexpand, _cpp_lex_token): New functions.
8825 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
8826 parse_goto_mark): Delete.
8827 (_cpp_handle_eof): New function.
8828 (_cpp_handle_directive): Rename from handle_directive.
8829 (_cpp_output_line_command): Rename from output_line_command.
8830 (do_if, do_elif): Call _cpp_parse_expr directly.
8831 * cppfiles.c (_cpp_read_include_file): Don't call
8832 init_input_buffer here.
8833 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
8834 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
8835 here; pop the token_buffer and skip the rest of the line here.
8836 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
8839 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
8841 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
8842 CPP_GOTO_MARK): New macros.
8843 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
8844 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
8845 _cpp_read_and_prescan, _cpp_init_input_buffer,
8846 _cpp_grow_token_buffer, _cpp_get_directive_token,
8847 _cpp_handle_directive, _cpp_handle_eof,
8848 _cpp_output_line_command): Prototype them here.
8849 * cpplib.h (enum cpp_token): Add CPP_MACRO.
8850 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
8851 quote_string, output_line_command): Remove.
8853 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
8855 * stmt.c (expand_end_case): RANGE may be signed, and when checking
8856 whether it is too large we must also verify that it isn't negative.
8858 2000-03-13 Jakub Jelinek <jakub@redhat.com>
8860 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
8861 (movsi_zero_liveg0): Remove.
8862 (movsf_insn_novis_liveg0): Remove.
8864 (negsi2_not_liveg0): Rename to negsi2.
8865 (one_cmplsi2): Remove.
8866 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
8867 (one_cmplsi2_liveg0): Remove.
8868 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
8869 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
8870 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
8871 (PREDICATE_CODES): Remove zero_operand.
8872 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
8873 TARGET_BROKEN_SAVERESTORE.
8874 (zero_operand): Remove.
8875 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
8876 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
8878 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8879 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
8880 TARGET_BROKEN_SAVERESTORE): Remove.
8881 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8883 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8885 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8888 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
8890 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8892 * cpplib.c (do_pragma_implementation): Fix off-by-one error
8893 truncating a string. Don't assume tokens are nul terminated.
8894 Problem noted by Andreas Jaeger <aj@suse.de>
8896 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8898 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
8899 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
8900 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
8902 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
8904 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
8905 STRUCTURE_SIZE_BOUNDARY.
8907 2000-03-13 Mark Mitchell <mark@codesourcery.com>
8909 * tree.h (record_layout_info_s): New structure.
8910 (record_layout_info): New type.
8911 (new_record_layout_info): New function.
8912 (layout_field): Likewise.
8913 (finish_record_layout): Likewise.
8914 * stor-layout.c (layout_record): Remove.
8915 (new_record_layout_info): New function.
8916 (layout_field): New function, broken out from layout_record.
8917 (finalize_record_size): Likewise.
8918 (compute_record_mode): Likewise.
8919 (finalize_type_size): New function, broken out from layout_type.
8920 (finish_record_layout): Likewise.
8921 (layout_type): Use them.
8923 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8925 * cpphash.c: Don't include version.h.
8926 (special_symbol) [case T_VERSION]: Look for the string in
8927 hp->value.cpval; don't use version_string.
8928 * cppinit.c (initialize_builtins): Set hp->value.cpval for
8929 __VERSION__ to version_string.
8930 * Makefile.in (cpphash.o): Update deps.
8932 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8934 Convert cpplib to use libiberty/hashtab.c.
8936 * cpplib.h (struct cpp_reader): Make hashtab and
8937 all_include_files of type 'struct htab *'. Delete HASHSIZE
8938 and ALL_INCLUDE_HASHSIZE macros.
8940 * cpphash.h: Update prototypes.
8941 (struct hashnode): Remove next, prev, and bucket_hdr members.
8942 Make length a size_t. Add hash member.
8943 (struct ihash): Remove next member. Add hash member. Make
8944 name a flexible array member.
8946 * cppfiles.c: Include hashtab.h.
8947 (include_hash): Delete.
8948 (IHASHSIZE): New macro.
8949 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
8950 (cpp_included): Do the hash lookup here.
8951 (_cpp_find_include_file): Rewrite.
8952 (cpp_read_file): Put the "fake" hash entry into the hash
8953 table. Honor the control_macro, if it turns out we've seen
8954 the file before. Don't push the buffer here.
8955 (_cpp_read_include_file): Push the buffer here.
8956 (OMODES): New macro. Use it whenever we call open(2).
8958 * cpphash.c: Include hashtab.h.
8959 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
8960 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
8961 _cpp_lookup_slot): New functions.
8962 (HASHSIZE): new macro.
8963 (hashf, _cpp_install, _cpp_delete_macro): Delete.
8964 (_cpp_lookup): Use hashtab.h routines.
8966 * cppinit.c: Include hashtab.h.
8967 (cpp_reader_init): Call _cpp_init_macro_hash and
8968 _cpp_init_include_hash. Don't allocate hashtab directly.
8969 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
8970 pfile->all_include_files.
8971 (initialize_builtins): Use _cpp_make_hashnode and
8972 htab_find_slot to add hash entries.
8973 (cpp_finish): Just call _cpp_dump_macro_hash.
8974 * cpplib.c: Include hashtab.h.
8975 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
8976 create hash entries.
8977 (do_pragma_poison, do_assert): Likewise.
8978 (do_include): Don't push the buffer here. Don't increment
8979 system_include_depth unless _cpp_read_include_file succeeds.
8980 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
8982 (do_pragma_implementation): Use alloca to create copy.
8984 * Makefile.in: Update dependencies.
8986 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8988 * cppinit.c (cl_directive_handler): More K&R fixing.
8990 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
8992 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
8994 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
8996 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8998 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
8999 Change from char[] to macros.
9001 2000-03-12 Neil Booth <NeilB@earthling.net>
9003 * cppinit.c (cpp_start_read): Update indirect function
9006 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
9008 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
9011 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9012 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
9014 2000-03-11 Neil Booth <NeilB@earthling.net>
9016 * cppinit.c (struct pending option): Replace undef with a
9017 pointer to a directive handling routine.
9018 (struct cpp_pending): Replace separate assert_ and define_
9019 lists with one directive_ list.
9020 (new_pending_define): Rename new_pending_directive. Extra
9021 argument is the directive's handling routine.
9022 (handle_option): Update to use new_pending_directive.
9024 2000-03-11 Neil Booth <NeilB@earthling.net>
9026 * cppfiles.c (file_cleanup, _cpp_find_include_file,
9027 remap_filename, _cpp_read_include_file, actual_directory,
9028 hack_vms_include_specification): Replace bcopy(), index() etc
9029 calls. Add casts to some allocations. Make some variables
9030 pointers to const [unsigned] char.
9031 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
9032 collect_formal_parameters): Similarly.
9033 * cppinit.c (struct pending_option, append_include_chain,
9034 cpp_options_init, cpp_reader_init, initialize_standard_includes,
9035 cpp_start_read, new_pending_define, handle_option): Similarly.
9036 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
9037 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
9038 do_pragma_implementation, detect_if_not_defined,
9039 do_ifdef, skip_if_group, cpp_get_token, parse_string,
9040 do_assert, do_unassert): Similarly.
9041 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
9042 function prototypes.
9043 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
9045 2000-03-10 Richard Henderson <rth@cygnus.com>
9047 * builtins.c (expand_builtin_strlen): Revert last change.
9048 Use emit_insn_before if we're at the beginning of a sequence.
9050 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
9052 * builtins.c (expand_builtin_strlen): Make sure that we have something
9053 at the beginning of the sequence.
9055 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
9058 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
9060 2000-03-10 Richard Henderson <rth@cygnus.com>
9062 * except.c (can_throw): Use INTVAL on a CONST_INT.
9063 (reachable_handlers): Likewise.
9064 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
9066 2000-03-10 Andreas Jaeger <aj@suse.de>
9068 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
9069 MD_STARTFILE_PREFIX since those are not needed on linux.
9070 (ASM_FILE_START): New, from mips/gnu.h.
9072 2000-03-09 Richard Henderson <rth@cygnus.com>
9073 Alex Samuel <samuel@codesourcery.com> and others
9075 * Makefile.in (ssa.o): New rule.
9077 (STAGESTUFF): Add *.ssa and *.ussa.
9078 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
9079 * rtl.def (PHI): New RTL expression.
9080 * rtl.h (clear_log_links): New declaration.
9081 (convert_to_ssa): Likewise.
9082 (convert_from_ssa): Likewise.
9083 * flow.c (split_edge): If the entry node falls through to the
9084 split edge's source block, split the entry edge.
9085 (clear_log_links): New function.
9086 * toplev.c (ssa_dump): New variable.
9087 (flag_ssa): Likewise.
9088 (f_options): Add "ssa".
9089 (compile_file): Create SSA dump files.
9090 (rest_of_compilation): Go to and from SSA if enabled.
9091 (decide_d_option): Handle -de for SSA dump files.
9094 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
9096 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
9099 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
9101 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
9103 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
9105 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
9106 (MD_STARTFILE_PREFIX_1): New macro.
9108 2000-03-09 Robert Lipe <robertl@sco.com>
9110 * config/ia64/ia64.c: Include system.h.
9112 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9114 * except.c (nothrow_function_p): If -fno-exceptions, just return.
9115 (init_eh_nesting_info): Likewise.
9117 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
9118 (TREE_NOTHROW): Rename from TREE_RAISES.
9119 * toplev.c (rest_of_compilation): Set it.
9120 * print-tree.c (print_node): Adjust.
9121 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
9122 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
9123 * calls.c (emit_call_1): Add 'nothrow' parm. Add
9124 REG_EH_REGION note as appropriate.
9125 (libfunc_nothrow): New fn.
9126 (emit_library_call, emit_library_call_value): Use it.
9127 (expand_call): Check TREE_NOTHROW.
9129 * varasm.c (make_decl_rtl): Skip initial '*' when setting
9130 DECL_ASSEMBLER_NAME.
9132 2000-03-09 Andreas Jaeger <aj@suse.de>
9134 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
9135 (TARGET_MEM_FUNCTIONS): Define.
9137 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9139 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
9141 * except.c (can_throw): See through a SEQUENCE.
9142 (nothrow_function_p): New fn.
9143 * except.h: Declare it.
9144 * function.c (current_function_nothrow): New var.
9145 (prepare_function_start): Initialize it.
9146 * output.h: Declare it.
9147 * toplev.c (rest_of_compilation): Set it.
9148 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
9150 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
9152 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
9153 match. (cpp_compare_defs): Count the nul separator when
9154 advancing over argument names.
9156 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
9158 * recog.c (preprocess_constraints): Matching constraints affect
9159 same alternative/different operand, not same operand/different
9162 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
9163 register and a constant specially.
9165 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9167 * libgcc2.h: New file.
9168 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
9170 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
9172 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
9173 * configure: Regenerate.
9176 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9178 * Makefile.in (LIBCPP_DEPS): New macro.
9179 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
9181 * cpperror.c: Include cpphash.h.
9182 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
9184 (lex): Don't use CPP_WARN_UNDEF.
9185 (_cpp_parse_expr): Return an int, the truth value.
9186 * cppfiles.c: Include cpphash.h.
9187 (_cpp_merge_include_chains): Move to cppinit.c and make static.
9188 * cppinit.c (include_defaults_array): Disentangle.
9189 (cpp_cleanup): Don't free the if stack here.
9190 (cpp_finish): Pop off all buffers, not just one.
9191 * cpplib.c (eval_if_expr): Return int.
9192 (do_xifdef): Rename do_ifdef.
9193 (handle_directive): Don't use CPP_PREPROCESSED.
9194 (cpp_get_token): Don't use CPP_C89.
9195 * fix-header.c: Don't use CPP_OPTIONS.
9197 * cpplib.h: Move U_CHAR, enum node_type, struct
9198 file_name_list, struct ihash, is_idchar, is_idstart,
9199 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
9200 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
9201 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
9202 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
9203 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
9204 of _cpp_simplify_pathname, _cpp_find_include_file,
9205 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
9206 Move struct if_stack to cpplib.c. Move struct cpp_pending to
9208 Change all uses of U_CHAR to be unsigned char instead.
9209 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
9211 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9213 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
9214 (dwarf2out_begin_prologue): Set it.
9215 (output_call_frame_info): Don't emit EH unwind info for leaves.
9217 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
9218 can occur outside of an EH region.
9219 * except.c: Correct comments about rethrow behavior.
9220 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
9222 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
9224 * flow.c (make_edges): Always call make_eh_edge for calls.
9226 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9228 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
9229 (struct cpp_buffer): Remove fname and underflow fields.
9230 (struct cpp_reader): Remove get_token field.
9231 (struct include_hash): Rename to struct ihash. Add typedef to
9233 (struct if_stack): Remove fname field.
9234 (IF_STACK_FRAME): Rename to IF_STACK.
9236 * cpperror.c (print_containing_files): Trust that there are no
9237 macro buffers below the top file buffer.
9238 * cppfiles.c: Replace all references to 'struct include_hash'
9239 with 'IHASH'. Rename initialize_input_buffer to
9240 init_input_buffer. Don't set or reference cpp_buffer->fname,
9241 use buffer->ihash->name instead.
9242 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
9243 not CPP_NULL_BUFFER.
9244 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
9245 IF_STACK_FRAME, IHASH not struct include_hash.
9246 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
9247 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
9248 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
9249 references to cpp_buffer->fname (delete entirely, or use
9250 ->ihash->name instead) and IF_STACK->fname.
9251 (cpp_push_buffer): Don't set new->underflow.
9252 (do_include): Use cpp_file_buffer.
9254 * cpphash.c (collect_formal_parameters): Remove duplicate
9255 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
9256 used as a macro argument name. Don't append "..." to namebuf
9257 for varargs macros. After we're done scanning, go through
9258 namebuf and make it NUL separated, not comma separated.
9259 (_cpp_compare_defs): Remove register tag from variables.
9260 Expect defn->argnames to be NUL separated.
9261 (_cpp_dump_definition): Expect defn->argnames to be NUL
9262 separated and in forward order.
9263 * cpphash.h: Update documentation of argnames field.
9265 2000-03-08 Richard Henderson <rth@cygnus.com>
9267 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
9268 to fail. Don't pre-expand the source operand.
9270 * i386.md (strlensi): Initialize eoschar and align before use.
9272 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9274 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
9275 CONSTRUCTOR element.
9277 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
9279 * mips.c (mips_expand_prologue): If the last
9280 named argument is the vararg marker "va_list", treat it as
9281 an unnamed argument.
9283 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
9285 * dbxout.c (dbxout_parms): When correcting for promoted
9286 big-endian parameters, use the mode of the DECL_RTL rather
9287 than UNITS_PER_WORD.
9289 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
9291 * c-common.h (make_fname_decl): Declare.
9292 * c-common.c (make_fname_decl): Define.
9293 (declare_hidden_char_array): Remove.
9294 (declare_function_name): Use make_fname_decl.
9295 * c-decl.c (c_make_fname_decl): New function.
9296 (init_decl_processing): Set make_fname_decl.
9298 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
9300 * cccp.c (handle_directive): Initialize backslash_newlines_p.
9302 2000-03-07 Philipp Thomas <pthomas@suse.de>
9304 * po/POTFILES.in: Remove cppalloc.c from file list.
9306 2000-03-07 Steve Chamberlain <sac@pobox.com>
9308 * pj.c (pj_expand_prologue): current_function->args_info is
9309 now current_function_args_info.
9311 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
9312 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
9313 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
9315 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9317 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
9318 output as hexadecimal rather than the default octal.
9320 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9322 * cpphash.c (special_symbol): Fix thinko in previous commit.
9324 2000-03-07 Neil Booth <NeilB@earthling.net>
9326 * cppexp.c (struct operation, left_shift, right_shift,
9327 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
9328 "int"s to "unsigned int"s.
9329 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
9331 * cpplib.h: Update for above.
9332 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
9333 returned from allocations.
9335 * cppinit.c (opt_comp, parse_options): New functions.
9336 (handle_option): Use parse_option to parse a single command
9337 line option, that possibly takes an argument.
9338 (cpp_handle_options): Sort the array of command line options on
9339 first invocation (non-ASCII hosts only).
9340 (print_help): Update.
9342 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9344 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
9345 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
9347 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
9349 * cppinit.c (cpp_cleanup): Free imp->nshort also.
9351 * cpperror.c (cpp_print_containing_files,
9352 cpp_print_file_and_line, v_cpp_message): Rename to
9353 print_containing_files, print_file_and_line, and v_message.
9354 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
9355 to _cpp_parse_expr, parse_escape, and lex.
9356 (parse_charconst): Remove broken multibyte support.
9357 * cppfiles.c (include_hash): Make static.
9358 (cpp_included): New function.
9359 (merge_include_chains, find_include_file, finclude,
9360 simplify_pathname): Rename to _cpp_merge_include_chains,
9361 _cpp_find_include_file, _cpp_read_include_file, and
9362 _cpp_simplify_pathname.
9363 * cpphash.c (cpp_lookup, free_definition, delete_macro,
9364 cpp_install, create_definition, macroexpand, compare_defs,
9365 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
9366 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
9367 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
9368 * cppinit.c (cpp_handle_option): Rename to handle_option, make
9370 * cpplib.c: Remove extern prototype of cpp_parse_expr.
9372 * cpphash.h: Update prototypes.
9373 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
9375 2000-03-07 Andrew Haley <aph@cygnus.com>
9377 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
9378 PTRDIFF_TYPE should be based solely on Pmode.
9381 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9383 * rtl.h (rtunion_def): Constify member `rtstr'.
9384 (emit_line_note_after, emit_line_note, emit_line_note_force,
9385 emit_note, decode_asm_operands): Constify.
9387 * cse.c (canon_hash): Likewise.
9389 * dbxout.c (dbxout_block): Likewise.
9391 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
9392 v_warning_for_asm): Likewise.
9394 * dwarfout.c (function_start_label): Likewise.
9396 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
9397 emit_line_note_force): Likewise.
9399 * final.c (last_filename, asm_insn_count, final_scan_insn,
9400 output_source_line): Likewise.
9402 * function.h (struct emit_status): Likewise.
9404 * gcse.c (hash_expr_1): Likewise.
9406 * genattr.c (gen_attr, main): Likewise.
9408 * genattrtab.c (struct function_unit, current_alternative_string,
9409 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
9410 attr_numeral, check_attr_test, check_attr_value,
9411 convert_set_attr_alternative, convert_set_attr,
9412 compute_alternative_mask, simplify_by_exploding, gen_attr,
9413 gen_unit): Likewise.
9415 * genflags.c (gen_insn): Likewise.
9417 * gengenrtl.c (type_from_format): Likewise.
9419 * genopinit.c (gen_insn): Likewise.
9421 * genoutput.c (n_occurrences, process_template, process_template):
9424 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9427 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9430 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
9431 ggc_set_mark, ggc_get_size): Likewise.
9433 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
9435 * optabs.c (init_one_libfunc): Likewise.
9437 * output.h (assemble_start_function): Likewise.
9439 * recog.c (decode_asm_operands): Likewise.
9441 * toplev.c (rest_of_compilation): Likewise.
9443 * tree.h (emit_line_note_after, emit_line_note,
9444 emit_line_note_force): Likewise.
9446 * varasm.c (asm_output_bss, asm_output_aligned_bss,
9447 asm_emit_uninitialised, assemble_start_function,
9448 assemble_variable, const_hash, compare_constant_1,
9449 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
9451 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
9453 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
9455 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
9457 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
9459 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
9460 arm_dllimport_name_p): Likewise.
9462 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
9465 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
9467 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9469 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
9470 arm_mark_dllexport, arm_mark_dllimport,
9471 arm_pe_encode_section_info): Likewise.
9473 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
9474 ASM_FINISH_DECLARE_OBJECT): Likewise.
9476 * arm/thumb.c (thumb_function_prologue): Likewise.
9478 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
9480 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9482 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
9484 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
9486 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
9488 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9490 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
9491 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
9493 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
9495 * i386/i386.c (asm_output_function_prefix): Likewise.
9497 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
9499 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9501 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
9503 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
9504 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
9505 ASM_OUTPUT_SECTION_NAME): Likewise.
9507 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
9509 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
9511 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
9513 * m32r/m32r.c (m32r_encode_section_info): Likewise.
9515 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9517 * mcore/mcore.c (mcore_encode_section_info): Likewise.
9519 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9521 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9523 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9525 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
9527 * mips/mips.md (movdi, movsi): Likewise.
9529 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9531 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9533 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9535 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
9536 ASM_OUTPUT_ASCII): Likewise.
9538 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
9539 output_mi_thunk, output_toc): Likewise.
9541 * rs6000/rs6000.md (movsi): Likewise.
9543 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
9545 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
9547 * v850/v850.c (print_operand, print_operand_address,
9548 v850_encode_data_area): Likewise.
9550 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
9552 * config/mips/mips.md (zero_extendsidi2): Always force operand
9553 one to memory for mips16.
9555 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9557 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
9558 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
9559 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
9560 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
9561 (min_precision): Result is unsigned.
9562 (add_double, neg_double, mul_double): Low word is unsigned.
9563 (lshift_double, rshift_double, lrotate_double): Likewise.
9564 (rrotate_double, div_and_round_double): Likewise.
9565 (tree_floor_log2, compare_tree_int): New functions.
9566 (preserve_rtl_expr_temps): New declaration.
9567 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
9568 (decl_attributes): Use tree_log2 to find alignment.
9569 Check for TREE_INT_CST_HIGH for format args.
9570 (min_precision): Now unsigned.
9571 Use tree_floor_log2.
9572 (truthvalue_conversion): Delete long-disabled code.
9573 * c-decl.c (finish_struct): Clean up tests on field width.
9574 (finish_function): Use compare_tree_int.
9575 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
9576 * c-typeck.c (comptypes): Use tree_int_cst_equal.
9577 (default_conversion, digest_init): Use compare_tree_int.
9578 (build_binary_op): Use integer_all_onesp and compare_tree_int.
9579 Fix type errors in forming masks.
9580 * calls.c (initialize_argument_information): Use compare_tree_int.
9581 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9582 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
9583 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
9584 (store_field): Use compare_tree_int.
9585 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
9586 (expand_expr, case ARRAY_REF): Use compare_tree_int.
9587 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
9588 (do_store_flag): Use compare_tree_int.
9589 * fold-const.c (encode, decode): Low part is always unsigned.
9590 (force_fit_type, add_double, neg_double, mul_double): Likewise.
9591 (lshift_double, rshift_double, lrotate_double): Likewise.
9592 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
9593 (fold_convert): Use compare_tree_int.
9594 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
9595 (invert_truthvalue, case INTEGER_CST): Likewise.
9596 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
9597 * mkdeps.c (deps_dummy_targets): Make I unsigned.
9598 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
9599 (lshift_double, rshift_double, lrotate_double, rrotate_double):
9601 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
9602 (expand_end_case): Use compare_tree_int.
9603 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9604 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
9605 (layout_decl): Likewise.
9606 (layout_record, layout_union): Make sizes unsigned.
9607 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
9608 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
9609 * tree.c (struct type_hash): hashcode is unsigned.
9610 (build_type_attribute_variant, type_hash_list): Likewise.
9611 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
9612 (attribute_hash_list, build_array_type, build_method_type): Likewise.
9613 (build_complex_type): Likewise.
9614 (real_value_from_int_cst): Remove unneeded casts.
9615 (integer_all_onesp): Add casts.
9616 (tree_floor_log2, compare_tree_int): New functions.
9617 (build_index_type): Use tree_int_cst_sgn.
9618 * varasm.c (assemble_variable): Use compare_tree_int.
9620 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
9622 * cpphash.c (collect_expansion): Also catch ## at start of macro.
9624 * varasm.c (make_decl_rtl): Don't add a number to members of
9626 (make_function_rtl): Likewise.
9628 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9630 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
9631 patch from 2000-01-28.
9633 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
9635 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
9636 filled with an insn from the jump target.
9638 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9640 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
9641 (c4x_external_ref): Likewise.
9642 * config/c4x/c4x.c (struct name_list): Likewise.
9644 1999-12-16 Ben Collins <bcollins@debian.org>
9646 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
9647 argument to genmultilib.
9648 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
9649 the contents into the multilib.h header.
9650 * gcc.c: Declare multilib_exclusions for the specs file.
9651 (set_multilib_dir): Use it.
9652 (print_multilib_info): Likewise.
9653 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
9654 to pass to genmultilib.
9656 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9658 * builtins.c (built_in_class_names, built_in_names): Constify a
9661 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
9663 (_mcleanup): Ensure value matches format specifier in sprintf.
9665 * cpphash.c (special_symbol): Don't needlessly cast away
9668 * cppinit.c (base_name): Delete unused prototype.
9670 * mkdeps.c (deps_init): Make definition K&R safe.
9672 * tree.h (built_in_class_names, built_in_names): Constify a
9675 2000-03-06 Jakub Jelinek <jakub@redhat.com>
9677 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
9678 floating point instructions for epilogue delay.
9680 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
9681 to gas if it supports .register pseudo.
9683 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
9684 LONG_DOUBLE_TYPE_SIZE if not defined.
9685 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
9686 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
9688 * gengenrtl.c: Likewise.
9689 * print-rtl.c: Likewise.
9691 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
9692 MASK_LONG_DOUBLE_128.
9693 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
9694 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
9695 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
9696 (SUBTARGET_SWITCHES): Define.
9697 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
9698 with -mlong-double-128.
9699 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9700 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9701 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9702 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
9703 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
9704 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
9705 with -mlong-double-128.
9706 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9707 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9708 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9709 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
9710 TARGET_LONG_DOUBLE_128): Define.
9711 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
9712 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
9713 long double on TARGET_ARCH64.
9715 2000-03-06 Mark Mitchell <mark@codesourcery.com>
9717 * function.c (free_temps_for_rtl_expr): Don't free slots
9718 that have been pushed into a higher level.
9721 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9723 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9725 * basic-block.h (ALLOCA_REG_SET): Remove.
9726 (INITIALIZE_REG_SET): New macro.
9727 * flow.c (update_life_info): Use it.
9728 (calculate_global_regs_live): Likewise.
9729 (propagate_block): Likewise.
9730 * global.c (build_insn_chain): Likewise.
9731 * haifa-sched.c (schedule_region): Likewise.
9733 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
9735 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
9736 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
9737 (DWARF_ARANGES_PAD_SIZE): New define.
9738 (output_aranges): Use it to pad the address range header.
9739 (DWARF_ROUND): Fix for non power of 2 rounding.
9741 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
9743 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
9745 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9747 * tree.def (RTL_EXPR): Update documentation.
9748 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
9749 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
9750 * function.c (preserve_rtl_expr_temp): New function.
9751 (preserve_rtl_expr_temps): Likewise.
9752 (preserve_rtl_expr_result): Use it.
9755 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9757 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
9759 * regmove.c (copy_src_to_dest) Do not create src->dest move
9760 for unchanging destination.
9762 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9764 * function.h (struct sequence_stack): Remove rtl_expr.
9765 (struct emit_staus): Likewise.
9766 (seq_rtl_expr): Remove.
9767 * tree.h (free_temps_for_rtl_expr): Don't declare.
9768 (start_sequence_for_rtl_expr): Likewise.
9769 * rtl.h (preserve_rtl_expr_result): Likewise.
9770 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
9771 (start_sequence_for_rtl_expr): Remove.
9772 (push_topmost_sequence): Don't save sequence_rtl_expr.
9773 (pop_topmost_sequence): Remove comment about not restoring it.
9774 (end_sequence): Don't set seq_rtl_expr.
9775 (init_emit): Don't initialize it.
9776 (mark_sequence_stack): Don't mark it.
9777 (mark_emit_status): Likewise.
9778 * except.c (protect_with_terminate): Use
9779 start_sequence_for_rtl_expr, not start_sequence.
9780 * expr.c (expand_expr, case RTL_EXPR): Don't call
9781 preserve_rtl_expr_result or free_temps_for_rtl_expr.
9782 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9783 (preserve_rtl_expr_result): Remove.
9784 (free_temps_for_rtl_expr): Likewise.
9785 (pop_temp_slots): Likewise.
9786 (mark_temp_slot): Don't mark the rtl_expr.
9787 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9788 start_sequence_for_rtl_expr.
9790 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
9792 * mkdeps.c, mkdeps.h: New files.
9793 * po/POTFILES.in: Add them.
9794 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9795 (cpplib.o, cppinit.o): Depend on mkdeps.h.
9796 (mkdeps.o): New target.
9798 * cppfiles.c: Delete deps_output.
9799 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
9800 OBJECT_SUFFIX, and base_name.
9801 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
9803 (initialize_dependency_output): Use deps_init,
9804 deps_add_target, deps_calc_target, and deps_add_dep. Remove
9805 all the unnecessary string bashing.
9806 (cpp_finish): Use deps_write. Remove an unnecessary nesting
9808 * cpplib.c (do_include): Use deps_add_dep.
9809 * cpplib.h (struct cpp_reader): Replace deps_buffer,
9810 deps_allocated_size, deps_size, deps_column members with
9811 single pointer to a struct deps. Delete prototype of
9814 * cppinit.c: Fix thinko in previous patch.
9816 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9818 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
9819 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
9820 (mode_for_size_tree): New function.
9821 (layout_decl, layout_type): Call it and clean up BLKmode checks.
9822 * tree.h (mode_for_size_tree): New declaration.
9824 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
9826 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
9828 * stmt.c (is_body_block): Move...
9829 * dwarfout.c, dwarf2out.c: ...from here.
9830 * tree.h: Declare it.
9831 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
9832 * final.c (final_start_function): Do call remove_unnecessary_notes
9835 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9837 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
9839 * cpplib.h (_dollar_ok): New macro.
9840 (is_idchar, is_idstart): Use it.
9841 (IStable): Rename to _cpp_IStable. Declare it const if
9842 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
9843 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
9844 is_space): Update for renamed IStable.
9846 * cppinit.c: Delete all references to FAKE_CONST and CAT
9847 macros. Define init_IStable as empty macro if gcc >=2.7 or
9848 C99. Change TABLE() to ISTABLE and hardcode name of table.
9849 (cpp_start_read): Don't change the IStable based on
9852 * cpphash.c (unsafe_chars): Add pfile argument. All callers
9853 changed. Handle '$' for char1 correctly.
9854 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
9856 * cppexp.c (tokentab2): Make const.
9857 (cpp_lex): Make toktab const.
9858 * cppinit.c (include_defaults_array): Make const.
9859 (initialize_standard_includes): Make default_include const.
9861 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9863 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
9864 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
9865 (gen_decl_die): Likewise.
9866 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
9867 (output_decl): Likewise.
9869 * varasm.c (make_function_rtl): If we change the name used in the
9870 rtl, update DECL_ASSEMBLER_NAME accordingly.
9871 (make_decl_rtl): Likewise.
9873 * toplev.c (rest_of_compilation): Tweak formatting.
9875 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
9876 remove_unnecessary_notes.
9877 (debug_ignore_block): New fn.
9878 * toplev.h: Declare it.
9879 * emit-rtl.c (remove_unncessary_notes): Call it.
9880 * dwarf2out.c (dwarf2out_ignore_block): New fn.
9881 * dwarf2out.h: Declare it.
9882 * final.c (final_start_function): Don't call remove_unnecessary_notes
9883 if we did insn scheduling.
9885 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9887 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
9888 * cpplib.h: Delete SET_CPP_PEDANTIC.
9890 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9892 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
9893 result is a RECORD_TYPE.
9895 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
9897 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
9899 2000-03-03 Richard Henderson <rth@cygnus.com>
9901 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
9902 addition over compliments over shifts.
9904 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9906 * reload1.c (reload_combine_note_use): Handle return register USEs.
9907 REG case: Handle multi-hard-register hard regs.
9909 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9911 * md.texi: Document use of '*' in insn pattern name.
9913 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9915 * calls.c (special_function_p): operator new may not be malloc-like.
9917 * gcse.c (dump_hash_table): Really fix error in last change.
9919 2000-03-02 Denis Chertykov <denisc@overta.ru>
9921 * avr.c (print_operand): Use print_operand_address instead of
9923 * avr/libgcc.S: Cleanup code.
9925 2000-03-02 Richard Henderson <rth@cygnus.com>
9927 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
9929 2000-03-02 Mark Mitchell <mark@codesourcery.com>
9931 * tree.h (TYPE_ALIGN_UNIT): New macro.
9933 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
9935 * i386.c: (constant_call_address_operand): Reject CONST_INT.
9937 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
9939 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
9941 (SET_CPP_PEDANTIC): New macro.
9942 * cpplib.c (do_include): Don't bother checking system_header_p.
9943 (do_warning, do_ident, do_assert, do_unassert): Likewise.
9944 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
9946 * function.h (struct expr_status): Add x_arg_space_so_far.
9947 (arg_space_so_far): New macro.
9948 * expr.c (init_expr): Initialize it.
9949 * calls.c (emit_call_1): Reset it.
9950 (compute_argument_block_size, expand_call): Use it.
9951 (expand_call, store_one_arg): Increment it.
9953 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9955 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
9958 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
9960 * cppfiles.c (cpp_read_file): New function.
9962 * cpphash.c (collect_expansion): Make sure to reset last_token
9963 to NORM when we hit a string. Handle trailing whitespace
9964 properly when the expansion is empty.
9965 (create_definition): Disable line commands while parsing the
9967 (dump_definition): If pfile->lineno == 0, output a line
9968 command ahead of the dump, and add a trailing newline.
9970 * cppinit.c (append_include_chain): Add fifth argument, which
9971 indicates whether or not system headers are C++ aware.
9972 (initialize_standard_includes): New function,
9973 broken out of read_and_prescan. Pass 'cxx_aware' value from
9974 the include_defaults_array on to append_include_chain.
9975 (dump_special_to_buffer): Const-ify char array.
9976 (builtin_array): Don't dump __BASE_FILE__.
9977 (cpp_start_read): Use cpp_read_file. Reorder code for
9978 clarity. Don't output line commands here for -D/-A/-U
9979 switches. Don't call deps_output for files included with
9980 -include or -imacros.
9982 * cpplib.c (do_define): Don't pay any attention to the second
9984 (cpp_expand_to_buffer): Disable line commands while scanning.
9985 (output_line_command): Work in the file buffer.
9986 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
9987 Fix formatting of comments. Prototype cpp_read_file.
9989 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9991 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
9992 reference the language-equivalent of sizetype.
9993 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
9994 * fold-const.c (size_binop, size_diffop): Put back checks.
9995 * gcse.c (dump_hash_table): Fix minor error in last change.
9996 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
9997 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
10000 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
10002 * calls.c (expand_call) Do not attempt to combine stack adjustments
10003 with inhibit_defer_pop set.
10005 2000-03-01 Mark Mitchell <mark@codesourcery.com>
10007 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
10008 the DECL_SIZE for a FIELD_DECL.
10010 2000-03-01 Bruce Korb <bkorb@gnu.org>
10012 * fixinc/inclhack.tpl: remove unused symlinks
10013 * fixinc/README: GCC Maintainer info
10014 * fixinc/inclhack.sh: regen
10015 * fixinc/fixincl.sh: regen
10017 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
10019 * cpphash.c (collect_expansion): Trim trailing white space
10020 from macro definitions, but don't go past the last insertion
10023 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
10025 * i386.md (mulqi3): New pattern.
10027 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
10029 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
10031 (struct cpp_reader): Add parsing_if_directive and
10032 parsing_define_directive flags.
10033 (struct cpp_options): Remove output_conditionals flag.
10034 (check_macro_name): Delete prototype.
10036 * cpphash.h (struct macrodef): Delete.
10037 (struct reflist): Separate from struct definition.
10038 (struct definition): Remove unused fields. Add column number.
10039 (create_definition): Returns a DEFINITION *. Takes a
10040 cpp_reader * and an int.
10042 * cpphash.c (SKIP_WHITE_SPACE): Delete.
10043 (PEEKC): Copy defn from cpplib.c.
10044 (rest_extension, REST_EXTENSION_LENGTH): Delete.
10046 (struct arglist): Simplify.
10047 (collect_expansion): Rewrite. Get tokens by calling
10048 cpp_get_token. Add more error checking.
10049 (collect_formal_parameters): New function, broken out of
10050 create_definition and reworked to use get_directive_token.
10051 (create_definition): All real work is now in collect_expansion
10052 and collect_formal_parameters. do_define handles finding the
10053 macro name. Return a DEFINITION, not a MACRODEF.
10054 (macroexpand): Replace bcopy with memcpy throughout. Replace
10055 character-at-a-time copy loop with memcpy and pointer increments.
10056 (compare-defs): d1->argnames / d2->argnames might be null.
10058 * cpplib.c (copy_rest_of_line): Delete function.
10059 (skip_rest_of_line): Do all the work ourselves.
10060 (skip_string): New function.
10061 (parse_string): Use skip_string.
10062 (get_macro_name): New function.
10063 (check_macro_name): Delete.
10064 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
10065 (cpp_skip_hspace): Use CPP_BUMP_LINE.
10066 (handle_directive): ICE if we're called on a macro buffer.
10067 (do_define): Determine macro name and type (funlike/objlike)
10068 here. Expunge all uses of MACRODEF.
10069 (cpp_push_buffer): Set line_base to NULL.
10070 (do_undef, read_line_number): Don't worry about getting a POP token.
10071 (eval_if_expression): Set/reset parsing_if_directive around
10072 cpp_parse_expr. Don't clear only_seen_white.
10073 (skip_if_group): Remove output_conditionals logic. Use
10075 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
10076 tokens under appropriate conditions.
10077 (cpp_unassert): Call do_unassert not do_assert. Oops.
10079 * cppexp.c (parse_defined): New function, break out of
10081 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
10082 ourselves, with cpp_defined.
10083 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
10085 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
10086 * gcc.dg/strpaste-2.c: New.
10088 2000-02-29 Mark Mitchell <mark@codesourcery.com>
10090 * fold-const.c (size_binop): Don't asert inputs are the same and
10091 have TYPE_IS_SIZETYPE set.
10092 (size_diffop): Likewise.
10094 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
10096 * dwarfout.c (output_block): Output abstract blocks even if they
10097 don't have TREE_ASM_WRITTEN set.
10099 * calls.c (emit_library_call): Check for null REG.
10101 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
10103 * c-decl.c (current_function_decl): Move to toplev.c.
10104 (init_decl_processing): Don't add current_function_decl as a ggc
10106 * dbxout.c (dbxout_symbol): Change return type to int.
10107 (dbxout_symbol_location, dbxout_syms): Likewise.
10108 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
10109 any locals. Use current_function_func_begin_label if set.
10110 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
10111 * dwarf2out.c (dwarf2out_begin_prologue): Set
10112 current_function_func_begin_label.
10113 * final.c (final_start_function): Reset it.
10114 * toplev.c (current_function_decl): Define it here.
10115 (current_function_func_begin_label): New variable.
10116 (main): Add both as ggc roots.
10117 * tree.h (current_function_func_begin_label): Declare.
10119 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10121 * gcse.c: Cleanups throughout: mostly white-space, but also
10122 some minor rearrangement of code.
10124 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
10126 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
10127 returns a PARALLEL. Use emit_group_load and use_group_regs
10129 (emit_library_call_value): Similarly.
10131 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
10132 * pa/quadlib.asm: Remove.
10133 * pa/quadlib.c: New file.
10135 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
10136 * configure: Rebuilt.
10138 2000-02-29 Philip Blundell <pb@futuretv.com>
10140 * config/arm/conix-elf.h: New file.
10141 * configure.in (arm*-*-conix*): New configuration.
10142 * configure: Regenerate.
10144 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
10146 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
10147 don't have TREE_ASM_WRITTEN set.
10149 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10151 * Eliminate DECL_FIELD_SIZE.
10152 * builtins.c (built_in_class_names, built_in_names): New variables.
10153 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
10154 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
10155 DECL_SIZE, not DECL_FIELD_SIZE.
10156 * print-tree.c (print_node): Remove code that prints extra blank
10157 lines in some cases.
10158 Properly handle inline and builtin function cases.
10159 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
10160 * tree.h (built_in_class_named, built_in_names): New declarations.
10161 (union tree_decl): Rename internal unions to u1 and u2 and change
10162 some of their components.
10163 Add new field built_in_class.
10164 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
10165 Reflect above changes.
10166 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
10167 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
10168 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
10169 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
10171 2000-02-28 Dmitri Makarov <dim@windriver.com>
10173 * extend.texi: Document ARM's support for long/short calls.
10175 * invoke.texi: Document ARM's -mlong-calls command line switch.
10177 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
10178 (arm_encode_call_attribute): Add prototype.
10179 (arm_set_default_type_attribute): Add prototype.
10180 (arm_strip_name_encoding): Add prototype.
10182 * config/arm/arm.c (arm_init_cumulative_args): replace
10183 initialisation og 'long_calls' field with initialisation of
10184 'call_cookie' field.
10185 (enum arm_pragma_enum): New enum.
10186 (arm_pragma_long_calls): New static variable.
10187 (arm_process_pragma): Also process "#pragma long_calls_off".
10188 (arm_valid_type_attribute_p): Accept short_call attribute.
10189 (arm_comp_type_attributes): Check long/short call attributes.
10190 (arm_encode_call_attribute): New function: Encode long_call
10191 or short_call attribute in function name.
10192 (arm_set_default_type_attributes): New function: Assign
10193 default attributes to newly defined type.
10194 (current_file_function_operand): New function: Return true if
10195 the symbol is a function which has already been compiled.
10196 (arm_is_longcall_p): New function: Return true if the
10197 indicated function should be called via a long call.
10198 (arm_get_strip_length): New function. Returns number of
10199 prefix characters to be stripped from a function's name.
10200 (arm_strip_name_encoding): New function. Strip prefix characters
10201 from a function's name.
10203 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
10204 with 'call_cookie'.
10205 (SHORT_CALL_FAG_CHAR): Define.
10206 (LONG_CALL_FAG_CHAR): Define.
10207 (ENCODED_SHORT_CALL_ATTR_P): Define.
10208 (ENCODED_LONG_CALL_ATTR_P): Define.
10209 (ARM_NAME_ENCODING_LENGTHS): Define.
10210 (STRIP_NAME_ENCODING): Define.
10211 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
10212 (ARM_ENCODE_CALL_TYPE): Define.
10213 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
10214 (ARM_DECLARE_FUNCTION_SIZE): Define.
10215 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
10217 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
10218 if a long call is needed.
10219 (call_value): Ditto.
10220 (call_symbol): Ditto.
10222 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
10223 ARM_DECLARE_FUNCTION_SIZE.
10225 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
10226 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
10227 (ARM_STRIP_NAME_ENCODING): Undefine.
10228 (STRIP_NAME_ENCODING): Undefine.
10229 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
10230 (ASM_DECLARE_FUNCTION_NAME): Ditto.
10231 (ASM_OUTPUT_COMMON): Ditto.
10232 (ASM_DECLARE_OBJECT_NAME): Ditto.
10234 * config/arm/pe.c (arm_dllexport_name_p): Check for
10236 (arm_dllimport_name_p): Ditto.
10237 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
10238 (arm_mark_dllimport): Ditto.
10240 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10242 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
10244 2000-02-28 Mark Mitchell <mark@codesourcery.com>
10246 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
10248 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
10250 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
10251 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
10252 NO_BUILTIN_WCHAR_TYPE is not defined.
10253 (CPP_WCHAR_TYPE): Delete.
10254 * cccp.c (main): Don't change wchar_type if cplusplus.
10255 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
10257 2000-02-28 Nick Clifton <nickc@cygnus.com>
10259 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
10261 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
10263 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
10264 (ASM_WEAKEN_LABEL): Define.
10266 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
10268 * expr.c (store_constructor): Do not emit USE.
10269 * rtl.h (stupid_life_analysis): Remove.
10271 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10273 * function.c (number_blocks): Reset next_block_index based on
10274 what debugging format is used, not what is defined.
10276 * lcm.c: Minor reformatting throughout.
10277 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
10279 * toplev.c (rest_of_compilation): Account for time in
10280 optimize_mode_switching.
10282 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
10283 if only marking labels.
10285 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
10287 * calls.c (expand_call): Attempt to combine stack adjustments with
10288 pending stack adjustments.
10290 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10292 * loop.c (reg_in_basic_block_p): Don't abort when falling through
10293 to the end of the function.
10295 2000-02-27 Mark Mitchell <mark@codesourcery.com>
10297 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
10299 * final.c (next_block_index): Remove.
10300 (max_block_depth): Likewise.
10301 (pending_blocks): Likewise.
10302 (init_final): Don't initialize them.
10303 (final_start_function): Don't set next_block_index. Set up
10305 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
10306 * function.h (number_blocks): New function.
10307 * function.c (get_block_vector): New function.
10308 (identify_blocks): Use it.
10309 (reorder_blocks): Set NOTE_BLOCK.
10310 (number_blocks): New function.
10311 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
10312 * tree.h (BLOCK_NUMBER): New macro.
10313 (tree_block): Add block_num field.
10314 * dbxout.c (next_block_number): Remove.
10315 (dbxout_init): Don't set it.
10316 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
10317 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
10319 * toplev.c (rest_of_compilation): Always call
10320 find_loop_tree_blocks. Fix indentation.
10321 * dwarf2out.c (next_block_number): Remove.
10322 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10323 to determine block numbers.
10324 (gen_inlined_subroutine_die): Likewise.
10325 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
10326 (decls_for_scope): Don't increment next_block_number.
10327 * dwarfout.c (next_block_number): Remove.
10328 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10329 to determine block numbers.
10330 (output_inlined_subroutine_die): Likewise.
10331 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
10332 (output_decls_for_scope): Don't increment next_block_number.
10333 * sdbout.c (next_block_number): Remove.
10334 (sdbout_block): Use BLOCK_NUMBER.
10335 (sdbout_begin_block): Simplify.
10336 * xcoffout.c (next_block_number): Remove.
10337 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
10338 (xcoffout_begin_block): Don't set next_block_number.
10339 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
10342 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10344 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
10345 (expand_builtin_strcpy): Pass correct type to size_binop.
10346 (expand_builtin_strcmp): Likewise.
10347 Clean up conditional structure.
10348 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
10349 (complete_array_type): Don't use size_binop for MAXINDEX.
10350 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
10351 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
10352 (c_alignof): Use size_one_node.
10353 (build_unary_op): Pass arg of proper type to size_binop.
10354 (really_start_incremental_init, push_init_level): Use sizetype for
10355 constructor{,_bit,_unfilled}_index.
10356 (pop_init_label, output_init_element): Likewise.
10357 (output_pending_init_elements, process_init_element): Likewise.
10358 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
10359 * expr.c (store_expr): Use size_int.
10360 (store_constructor): Use proper types for size_binop args.
10361 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
10362 (expand_expr_unaligned): Likewise.
10363 (string_contant): Return object of sizetype.
10364 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
10365 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
10366 (ARGS_SIZE_TREE): Pass proper types to size_binop.
10367 * fold-const.c (int_const_binop): Refine when size_int is called.
10368 (fold_convert): Likewise.
10369 (size_int_wide): Rework to take KIND as arg, only take low order
10370 bits, handle new sizetype_tab datatype, and chain entries in
10372 (size_int_type_wide): New function.
10373 (size_binop): Validate types of arguments.
10374 (ssize_binop): Deleted.
10375 (size_diffop): New function.
10376 (extract_muldiv): Only fold division into multiplication for sizetypes.
10377 * function.c (assign_parms): Use size_diffop and make sure
10378 VAR field is of ssizetype; also pass proper type to size_binop.
10379 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
10380 (round_down): Deleted from here.
10381 * store-layout.c (sizetype_tab): Now an array.
10382 (sizetype_set, early_root_list): New variables.
10383 (variable_size): Use size_one_node.
10384 (round_up): Pass proper type to size_binop.
10385 (round_down): Moved to here and corrected as above.
10386 (layout_record): Pass proper arg types to size_binop.
10387 (layout_type): Likewise.
10388 If sizetype_set is zero, record the type just laid out.
10389 (make_unsigned_type): Don't call set_sizetype;
10390 (make_signed_type): Likewise; also, call fixup_signed_type.
10391 (initialize_sizetypes): New function.
10392 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
10393 set name of bitsizetype to "bit_size_type".
10394 Fix up type of sizes of all types made before call.
10395 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
10396 * tree.c (fix_sizetype): Deleted.
10397 (build_common_tree_nodes): Call initialize_sizetypes.
10398 (build_common_tree_nodes_2): Don't call fix_sizetype.
10399 * tree.h (TYPE_IS_SIZETYPE): New macro.
10400 (initialize_sizetype): New declaration.
10401 (enum size_type_kind): New type.
10402 (struct sizetype_tab): Deleted.
10403 (sizetype_tab): Now array; adjust sizetype macros.
10404 (size_diffop, size_int_type_wide): New functions.
10405 (size_int_wide): Change number of args and type; access macros changed.
10406 (ssize_int, sbitsize_int): New macros.
10407 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
10408 (ROUND_TYPE_SIZE_UNIT): New macro.
10410 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
10412 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
10414 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10416 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
10417 Mark as possibly unused.
10419 * cse.c (cse_insn): Delete dead code involving tablejump.
10420 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
10422 * Makefile.in (libcpp.a): Start by deleting it.
10424 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10426 * cpplib.h (enum file_change_code): Added rename_file.
10427 * cpplib.c (do_line): If a filename is given, set file_change to
10429 (output_line_command): If file_change is rename_file, always
10430 output a # directive with the file name.
10432 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
10434 2000-02-26 Mark Mitchell <mark@codesourcery.com>
10436 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
10437 when copying a PARM_DECL or RESULT_DECL.
10439 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10441 * fix-header.c (recognized_function): Also fix prototypes for
10442 functions taking "void".
10444 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10446 * reload1.c (do_output_reload): Check reg_reloaded_valid before
10447 looking at reg_reloaded_contents.
10449 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
10451 * Makefile.in (STMP_FIXINC): New toggle.
10452 (LIBGCC2_DEPS): Delete all references.
10453 (stmp-headers): Delete target. All references either deleted
10454 or changed to stmp-int-headers.
10455 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
10456 (LIBCPP_OBJS): Take out cppalloc.o.
10457 (cppalloc.o): Delete target.
10458 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
10459 (gen-protos, fix-header): Link with libiberty.a.
10460 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
10463 * configure.in: Remove refs to strerror.
10464 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
10465 * system.h: Take out strerror stanza.
10467 * cpperror.c (my_strerror): Delete function.
10468 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
10469 * cppmain.c (main): Call xmalloc_set_program_name first thing.
10470 * cppalloc.c: Delete file.
10471 * gen-protos.c: Don't provide xrealloc.
10473 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
10474 xstrerror throughout.
10476 2000-02-26 Bruce Korb <bkorb@gnu.org>
10478 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
10479 match for DOS headers, too.
10480 * fixinc/inclhack.sh,fixincl.x: Regenerate.
10482 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10484 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
10485 is right for most ELF targets.
10486 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
10487 Let the default file use %U properly.
10488 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
10491 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
10494 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10496 * toplev.c (documented_lang_options): Correct spelling error.
10497 (decode_d_option, decode_f_option, main): Likewise.
10499 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
10501 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
10502 to tell assembler it is permitted to expand large constants.
10504 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
10506 * protoize.c: (AUX_INFO_SUFFIX): New macro.
10507 (aux_info_suffix): Use.
10508 (SAVE_SUFFIX): New macro.
10509 (save_suffix): Use.
10510 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
10511 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
10512 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
10514 * invoke.texi (Running Protoize): Update documentation.
10516 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
10518 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
10520 2000-02-25 John Wehle (john@feith.com)
10522 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
10524 2000-02-25 Anthony Green <green@cygnus.com>
10526 * toplev.c (rest_of_compilation): Rebuild jump labels if
10527 combine_instructions has created a new direct jump.
10528 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
10530 (combine_instructions): Call try_combine with new argument.
10531 Return non-null value when new direct jump instruction is created.
10532 * rtl.h: combine_instructions returns an int.
10534 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
10536 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
10537 jump when changing a computed jump into a jump to a known
10540 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
10542 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
10543 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
10545 * i386.md (define_expand "clrstrsi"): Fix typo.
10547 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
10549 * rtl.texi: Fix typo.
10551 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10553 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
10554 UNITS_PER_WORD. Change caller initial_elimination_offset.
10555 (rounded_frame_size): Take into account that argument pushed has
10556 changed. Fix TARGET_ALIGN_DOUBLE problem.
10558 2000-02-25 Geoff Keating <geoffk@cygnus.com>
10560 * haifa-sched.c (schedule_block): Explain the real reason
10561 we delete REG_SAVE_NOTEs on the first insn of a block.
10562 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
10564 2000-02-24 Mark Mitchell <mark@codesourcery.com>
10566 * input.h (push_srcloc): New function.
10567 (pop_srcloc): Likewise.
10568 * toplev.c (push_srcloc): Define it.
10569 (pop_srcloc): Likewise.
10571 2000-02-24 Richard Henderson <rth@cygnus.com>
10573 * flow.c (life_analysis): When collecting reg info, clear
10576 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10578 Fix bug exposed by reload.c no longer rounding the frame
10579 size to BIGGEST_ALIGNMENT:
10580 * sh.c (rounded_frame_size): New function.
10581 (sh_expand_prologue, sh_expand_epilogue): Use it.
10582 (initial_elimination_offset): Likewise.
10584 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10586 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
10587 * sh-protos.h (sh_need_epilogue): Declare.
10588 * sh.c (sh_need_epilogue_known): New static variable.
10589 (sh_need_epilogue): New function.
10590 (function_epilogue): Clear need_epilogue_known.
10591 * sh.md (return): Split into expander / insn pattern.
10592 Make the expander conditional on ! sh_need_epilogue ().
10594 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
10596 * machmode.h (get_mode_alignment): Declare.
10597 (GET_MODE_ALIGNMENT): Call it.
10598 * stor-layout.c (get_mode_alignment): New function. Make
10599 sure alignment is always power of 2.
10601 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10603 * i386.h: Remove useless definition of "I386" and misleading
10606 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10608 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
10609 under which TREE_PERMANENT will be set.
10610 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
10611 build1): Use TREE_SET_PERMANENT.
10612 * print-tree.c (print_node): Don't report value of
10613 TREE_PERMANENT if ggc_p is true.
10615 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
10616 decide whether to give a type a new alias set.
10617 * objc/objc-act.c (build_objc_string_object): Never copy the string.
10618 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
10619 of value of 'obstack'.
10622 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10624 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
10626 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10628 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
10629 * cpplib.c (cpp_get_token): Produce them.
10630 * cppexp.c (cpp_lex): Handle them.
10632 2000-02-23 Nick Clifton <nickc@cygnus.com>
10634 * config/arm/arm.c (arm_comp_type_attributes): Simply and
10635 comment tests on type attributes.
10637 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10639 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
10640 conform to documentation.
10641 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
10642 to check for special cases.
10643 * sh-protos.h (sh_loop_align): Declare.
10644 * sh.c (sh_loop_align): Define.
10646 2000-02-22 Andrew Haley <aph@cygnus.com>
10648 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
10649 (SIZE_TYPE): Is 32 bits when using -mgp32.
10650 (PTRDIFF_TYPE): Ditto.
10652 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10654 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
10656 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10658 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
10659 BIGGEST_FIELD_ALIGNMENT a constant.
10661 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
10663 * dwarf2out.c (output_line_info): Put the marker for the end of
10664 the line number info at the actual end.
10665 (gen_struct_or_union_type_die): Use decl_function_context
10666 to check for local classes.
10667 * dwarfout.c (output_type): Likewise.
10669 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
10671 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
10672 for arguments with a mode, but no type.
10673 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
10674 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
10675 * pa/long_double.h: New file.
10676 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
10677 both have 128bit wide long doubles.
10678 * configure: Rebuilt.
10680 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10682 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
10684 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
10685 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
10686 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
10688 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
10690 * integrate.c (compare_blocks, find_block): Likewise.
10692 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
10694 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
10696 * stmt.c (stmt_status, set_file_and_line_for_stmt,
10697 expand_asm_operands): Likewise.
10699 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
10701 * predict.c (estimate_probability): Added the pointer heuristic to
10702 the collection of static branch predictors.
10704 2000-02-21 Catherine Moore <clm@cygnus.com>
10706 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
10707 * invoke.texi (-mfix7000): Document.
10709 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
10711 * diagnostic.c (init_output_buffer): Make it possible to output at
10712 least 32 characters if we're given a too long prefix.
10714 2000-02-20 Mark Mitchell <mark@codesourcery.com>
10716 * varasm.c (initializer_constant_valid_p): Call
10717 lang_expand_constant to simplify the constant.
10719 2000-02-20 Bruce Korb <bkorb@gnu.org>
10721 * fixinc/inclhack.def(stdio_va_list):
10722 typedef needs to be disabled.
10723 * fixinc/inclhack.sh: regen
10724 * fixinc/fixincl.x: regen
10726 2000-02-20 Geoff Keating <geoffk@cygnus.com>
10728 * print-rtl.c (print_rtx): Don't print addresses when
10729 flag_dump_unnumbered.
10731 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10733 * sparc.c (sparc_output_scratch_registers): Mark parameter with
10735 (sparc_va_arg, sparc_flat_output_function_prologue,
10736 sparc_flat_output_function_epilogue): Cast value to unsigned in
10738 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
10740 * sparc.md: Add default case in switch.
10742 2000-02-19 Richard Henderson <rth@cygnus.com>
10744 * c-typeck.c (add_pending_init): Don't abort for multiple
10745 fields at the same offset.
10746 (pending_init_member): Test the correct member.
10748 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10750 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
10752 (start_catch_handler) : Same.
10754 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
10756 * Makefile.in: Have flow.o depend on $(EXPR_H)
10758 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10760 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
10761 * c-decl.c (duplicate_decls, finish_enum): Likewise.
10762 (finish_decl): Remove -Wlarger-than code from here.
10763 * flags.h (id_clash_len): Now int.
10764 (larger_than_size): Now HOST_WIDE_INT.
10765 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
10766 Clean up checking to see if in table.
10767 (make_bit_field_ref): Remove extra parm to bitsize_int.
10768 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
10769 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
10770 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
10771 and for computing size of decl.
10772 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
10773 Move -Wlarger-than code to here.
10774 (layout_record): Remove extra arg to bitsize_int.
10775 Set TYPE_BINFO_SIZE_UNIT.
10776 (layout_union): Remove extra arg to bitsize_int.
10777 Use proper type for size of QUAL_UNION.
10778 (layout_type): Remove extra arg to bitsize_int.
10779 * toplev.c (id_clash_len): Now int.
10780 (larger_than_size): Now HOST_WIDE_INT.
10781 (decode_W_option): Clean up id-clash and larger-than- cases.
10782 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10783 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10784 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10785 (struct tree_decl): New field size_unit.
10786 (size_int_wide): No HIGH operand; NUMBER is now signed.
10787 (size_int_2): Deleted.
10788 (size_int, bitsize_int): Don't use it and rework args.
10789 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10791 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
10793 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10795 2000-02-18 Geoff Keating <geoffk@cygnus.com>
10797 * invoke.texi (Warning Options): Add an explanation of why
10798 you might want the -Wfloat-equal flag.
10800 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10802 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10803 * cppinit.c (new_pending_define): Add cast to avoid warning.
10804 * expmed.c (extract_bit_field): Likewise.
10805 * flow.c (enum reorder_skip_type): New type.
10806 (skip_insns_between_blcok): New it.
10807 Rework to avoid warning about possibly undefined variable.
10808 * function.c (assign_parms): Make thisparm_boundary unsigned.
10809 * genrecog.c (write_switch): Cast XWINT result to int.
10810 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
10811 * mips-tfile.c (init_file): Make two versions of FDR intializer:
10812 one for MIPS and one for Alpha.
10813 (get_tag, copy_object): Add casts to avoid warnings.
10814 * optabs.c (init_one_libfunc): Cast NAME to (char *).
10815 * reload.c (find_reloads): Make TYPE enum reload_type.
10816 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
10817 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
10818 * varasm.c (compare_constant_1): Add cast to avoid warning.
10819 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
10821 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
10822 Cast switch operand of size to int.
10823 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
10824 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
10827 2000-02-18 Nick Clifton <nickc@cygnus.com>
10829 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
10830 anything for an alignment of zero.
10832 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
10833 anything for an alignment of zero.
10835 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
10837 * gcc.texi (Bug Reporting): Refer to bugs.html.
10838 (Bug Lists): Likewise.
10839 * system.h (GCCBUGURL): New preprocessor define.
10840 * rtl.c (fancy_abort): Use it.
10841 * gcc.c (main): Likewise.
10843 2000-02-18 Richard Henderson <rth@cygnus.com>
10845 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
10846 (life_analysis_1): Subsume into ...
10847 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
10848 Use update_life_info for the relaxation.
10849 (update_life_info): Update REG_BASIC_BLOCK for registers live on
10850 entry and regs_live_at_setjmp.
10851 (set_noop_p): Simplify.
10852 (notice_stack_pointer_modification_1): Renamed from s/_1//.
10853 (record_volatile_insns): Split into ...
10854 (delete_noop_moves): ... here,
10855 (notice_stack_pointer_modification): ... here,
10856 (insn_dead_p): ... and here.
10857 (propagate_block): Don't query INSN_VOLATILE.
10858 (mark_used_regs): Mind !PROP_REG_INFO.
10859 * toplev.c (rest_of_compilation): Call mark_constant_function here,
10860 not in life_analysis.
10862 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
10864 * loop.c (canonicalize_condition): New function,
10865 broken out of get_condition.
10866 (get_condition): Use it.
10867 * expr.h (canonicalize_condition): Prototype it.
10869 * tree.h (tree_int_cst_msb): Declare.
10870 * tree.c (tree_int_cst_msb): New function.
10872 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10874 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
10877 * invoke.texi (-fmessage-length=n): Document.
10879 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
10881 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
10883 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10885 * function.c (thread_prologue_and_epilogue_insns): Put a line note
10886 after the prologue.
10888 2000-02-17 Nick Clifton <nickc@cygnus.com>
10890 * config/arm/thumb.c: Replace includes of system headers with
10891 #include "system.h".
10893 2000-02-16 Richard Henderson <rth@cygnus.com>
10895 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
10896 Add crtbeginS.o and crtendS.o.
10897 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
10898 (ENDFILE_SPEC): Use crtendS.o.
10899 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
10901 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
10902 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
10903 shared and present.
10904 (__dso_handle): New variable.
10905 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
10906 bias to __CTOR_END__.
10908 2000-02-16 Richard Henderson <rth@cygnus.com>
10910 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
10912 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
10914 * longlong.h (__clz_tab): Declare as static to match definition.
10916 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
10918 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
10919 (XREF_FILE_NAME): Define.
10921 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
10922 (EH_FRAME_SECTION_ASM_OP): Define.
10923 (IDENT_ASM_OP): Define.
10924 (TEXT_SECTION_ASM_OP): Define.
10925 (CPP_SPEC): Define.
10926 (CTORS_SECTION_ASM_OP): Define.
10927 (CTOR_SECTION_FUNCTION): Use it.
10928 (DTORS_SECTION_ASM_OP): Define.
10929 (DTOR_SECTION_FUNCTION): Use it.
10931 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
10933 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
10936 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
10937 debug_bb_n): New functions.
10938 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
10939 * basic-block.h: Prototype new functions.
10941 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
10943 * configure.in: Add support for avr target.
10944 * configure: Rebuilt.
10946 * invoke.texi: Add AVR invocation docs.
10947 * install.texi: Add information about AVR.
10948 * md.texi: Add AVR constraint letters description.
10949 * extend.texi: Add description for AVR specific attributes.
10951 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
10953 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
10955 2000-02-16 Nick Clifton <nickc@cygnus.com>
10957 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
10958 (make_insn_raw): Move RTL check here.
10960 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10962 * version.c: Include gansidecl.h and version.h.
10964 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
10966 * configure.in (gcc_version): When setting, narrow search to
10967 lines containing `version_string'.
10969 * Makefile.in (mainversion): Likewise.
10970 (GCC_H): New variable.
10971 (gcc.h): Delete target.
10972 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
10973 (version.o): Depend on version.h.
10974 (dbxout.o): Don't depend on gcc.h.
10976 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
10977 Michael Meissner <meissner@cygnus.com>
10979 * md.texi (Simple Constraints): Add item about whitespace.
10980 * genoutput.c (strip_whitespace): New.
10981 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
10982 strip_whitespace for constraints.
10983 Test pointer using NULL, not 0.
10985 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10987 * cpplib.c (do_line): Pedwarn for #line > 32767.
10989 * c-lex.c (readescape): Warn about '\x', but do not reject it.
10991 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
10993 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
10994 to default cpp spec.
10995 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
10996 * cpp.texi: Document __GNUC_PATCHLEVEL__.
10999 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
11002 2000-02-15 Denis Chertykov <denisc@overta.ru>
11004 * configure.in: Add support for avr target.
11006 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11008 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
11009 (sh_addr_diff_vec_mode): Don't declare.
11010 * sh.c (sh_addr_diff_vec_mode): Delete.
11012 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11014 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
11016 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11018 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
11019 (smulsi3_highpart_i): Name.
11020 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
11021 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
11022 (smulsi3_highpart, umulsi3_highpart): Likewise.
11024 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
11025 correctly independent of endianness.
11026 (mulsidi3, umulsidi3): Now define_insn. Hide details that
11027 confuse the optimizers.
11028 (mulsidi3+1, umulsidi3+1): New define_split.
11030 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
11032 * config/sh/sh.md: Guard insn splits against illegal registers.
11033 * config/sh/sh.h: Correct comment about macros.
11035 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11036 Andrew MacLeod <amacleod@cygnus.com>
11038 * Makefile.in (lcm.o): Depend on insn-attr.h.
11039 * basic-block.h (optimize_mode_switching): Declare.
11040 * lcm.c (tm_p.h, insn-attr.h): #include.
11041 (seginfo, bb_info): New structs.
11042 (antic, transp, comp, delete, insert) : New file-scope static variables.
11043 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
11044 (reg_becomes_live, optimize_mode_switching): Likewise.
11045 * tm.texi: Add description of mode switching macros.
11046 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
11048 * sh-protos.h (remove_dead_before_cse): Remove prototype.
11049 (fldi_ok, fpscr_set_from_mem): New prototypes.
11050 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
11051 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
11052 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11053 (sh_flag_remove_dead_before_cse): Remove declaration.
11054 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
11055 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
11056 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
11057 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11058 (barrier_align): Allow for JUMP_INSNS containing a parallel.
11059 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
11060 (fldi_ok): New function.
11061 (get_fpscr_rtx): Add fpscr_rtx as GC root.
11062 (emit_sf_insn): Only generate fpu switches when optimize < 1.
11063 (emit_df_insn): Likewise.
11064 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
11065 (sh_flag_remove_dead_before_cse): Delete.
11066 (get_free_reg, fpscr_set_from_mem): New functions.
11067 * sh.md (movdf, movsf): Remove no_new_pseudos code.
11068 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
11070 2000-02-15 Loren Rittle <ljrittle@acm.org>
11072 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
11074 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11076 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
11077 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
11079 * cccp.c: Include version.h and/or don't declare `version_string'.
11080 * collect2.c: Likewise.
11081 * alpha.c: Likewise.
11082 * arm/aof.h: Likewise.
11083 * arm/coff.h: Likewise.
11084 * arm/elf.h: Likewise.
11085 * arm/pe.h: Likewise.
11086 * arm/tcoff.h: Likewise.
11087 * arm/telf.h: Likewise.
11088 * arm/tpe.h: Likewise.
11089 * arm/vxarm.h: Likewise.
11090 * convex/convex.c: Likewise.
11091 * i386/dgux.c: Likewise.
11092 * i386/sun386.h: Likewise.
11093 * m88k/m88k.c: Likewise.
11094 * mcore/mcore-pe.h: Likewise.
11095 * mips/mips.h: Likewise.
11096 * romp/romp.h: Likewise.
11097 * sh/sh.c: Likewise.
11098 * cpphash.c: Likewise.
11099 * cppinit.c: Likewise.
11100 * dwarf2out.c: Likewise.
11101 * dwarfout.c: Likewise.
11104 * mips-tfile.c: Likewise.
11105 * protoize.c: Likewise.
11106 * toplev.c: Likewise.
11107 * tree.h: Likewise.
11109 * version.c (version_string): Constify a char*.
11111 * version.h: New file.
11113 2000-02-14 Nick Clifton <nickc@cygnus.com>
11115 * configure.in: Add mcore-elf and mcore-pe targets.
11116 * configure: Regenerate.
11118 * NEWS: Add note that MCore port has been contributed.
11120 * invoke.texi: Document command line switches for MCore port.
11121 * install.texi: Add MCore to list of supported targets.
11123 2000-02-14 Geoff Keating <geoffk@cygnus.com>
11125 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
11126 then we will need to import the frame handling functions.
11127 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
11128 to import the frames themselves.
11130 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
11131 Jason Eckhardt <jle@cygnus.com>
11133 * basic_block.h: Added prototype for reorder_basic_blocks.
11134 * toplev.c: Changes to add -freorder-blocks and graph dump after
11135 block reordering is done.
11136 * flow.c (reorder_block_def): New structure for use during block
11138 (REORDER_BLOCK_*): New macros to access members of above structure.
11139 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
11140 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
11141 functions for block reordering.
11143 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
11145 * gcc.texi (Passes): Fix typo.
11146 * md.texi (Standard Names): Ditto.
11147 * tm.texi (Storage Layout): Ditto.
11149 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11151 * cpplib.c (do_define): Only free the old definition if it
11154 2000-02-13 Neil Booth <NeilB@earthling.net>
11156 * cppfiles.c (read_and_prescan): When emitting deferred
11157 newlines, test speccase[] again instead of checking each
11158 possible whitespace character in turn. When we encounter \r,
11159 look behind for \n first, then ahead.
11161 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11163 * cse.c (cse_altered): New internal flag.
11164 (cse_insn): Set it if we changed an insn.
11165 (cse_main): Clear cse_altered before each basic block.
11166 Only garbage collect if cse_altered is true afterward.
11168 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11170 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
11172 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
11174 * combine.c (simplify_comparison): Fix typo.
11176 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
11178 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
11181 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11183 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
11184 previously inserted node instead of root node. Caller changed.
11186 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11188 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
11190 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11192 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
11193 __dereg_frame_dtor): Add prototype argument.
11195 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
11197 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
11199 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
11201 * gthr-vxworks.h (__gthread_once): Likewise.
11203 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
11205 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
11207 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
11208 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
11209 stack pointer in functions w/o saved registers, output LEAVE more often
11210 on TARGET_USE_LEAVE machines.
11212 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
11214 * config/arm/arm.c (arm_init_cumulative_args); New function:
11215 Initlaise the CUMULATIE_ARGS strcuture for a function
11217 (arm_function_arg): New function: Determine where to place a
11218 function's argument. Also handles deciding the function's
11220 (current_file_function_operand): New function: Return true if
11221 the symbol is a function which has already been compiled.
11222 (arm_is_long_call_p): New function: Return true if the
11223 indicated function should be called via a long call.
11224 (arm_valid_type_attribute_p): New function: Return true if the
11225 attribute is a valid, arm specific, attribute.
11226 (arm_comp_type_attribute): New function: Return true if the
11227 two types have compatable, arm specific, attributes.
11229 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
11231 (FUNCTION_ARG): Redefine to call arm_function_arg.
11232 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
11234 (INIT_CUMULATIVE_ARGS): Redefine to call
11235 arm_init_cumulative_args.
11236 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
11238 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
11240 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
11242 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
11243 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
11244 (COMP_TYPE_ATTRIBUTES): Define.
11246 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
11247 if a long call is needed.
11248 (call_value): Call arm_is_long_call_p to decide if a long call
11250 (call_symbol): Call arm_is_long_call_p to decide if a long call
11253 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
11255 2000-02-11 Denis Chertykov <denisc@overta.ru>
11257 * README.AVR: New file with information about the avr ports.
11258 * config/avr: New directory with avr port files.
11260 2000-02-11 Andreas Jaeger <aj@suse.de>
11262 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
11264 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
11266 * cpphash.c: Fix formatting, update commentary.
11267 (dump_definition): Take three separate arguments instead of a
11268 MACRODEF structure argument.
11269 * cpphash.h: Update prototype of dump_definition.
11270 * cppinit.c (cpp_finish): Update call of dump_definition.
11272 * cpplib.c (do_define): Always create new hash entry with
11273 T_MACRO type. Remove redundant check for redefinition of
11274 poisoned identifier. Update call of dump_definition.
11275 (do_undef): Don't call check_macro_name. Rename sym_length to
11277 (do_error, do_warning): Don't use copy_rest_of_line or
11279 (do_warning): Don't use pedwarn for the actual warning,
11280 only the notice about its not being in the standard. (Fixes
11281 bug with #warning in system headers.)
11282 (do_ident): Stricter argument checking - accept only a single
11283 string after #ident. Also, macro-expand the line.
11284 (do_xifdef): Use cpp_defined. De-obfuscate.
11286 (do_pragma): Split out specific pragma handling to separate
11287 functions. Use get_directive_token. Update commentary. Do
11288 not pass on #pragma once or #pragma poison to the front end.
11289 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
11290 do_pragma_default): New.
11292 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
11294 * jump.c (jump_optimize_1): The first operand in a relational
11295 can be a CONST_INT.
11296 * optabs.c (emit_conditional_move): Handle relationals which
11297 have a known true/false result.
11299 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11301 * function.c (thread_prologue_and_epilogue_insns): Don't insert
11302 a RETURN insn into a block which already ends with a jump.
11304 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11306 * haifa-sched.c (BUF_LEN): Increase a lot.
11308 2000-02-11 Nick Clifton <nickc@cygnus.com>
11310 * configure.in: Add tm_p_file specification for thumb targets.
11311 * configure: Regenerate.
11313 * config/arm/thumb-protos.h: New file: Prototypes for exported
11314 functions defined in thumb.c.
11316 2000-02-11 Robert Lipe <robertl@sco.com>
11318 * Makefile.in (bootstrap-lean): Remove additional files.
11319 (bootstrap2-lean): Likewise.
11320 (VOL_FILES): List of files for above.
11322 2000-02-11 Nathan Sidwell <nathan@acm.org>
11324 * cpphash.c (special_symbol): Remove spurious argument to
11327 2000-02-11 Joel Sherrill (joel@OARcorp.com>
11329 * configure.in: (i*86-*-rtems*): Swapped elf and coff
11331 * configure: Rebuilt.
11333 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
11335 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
11337 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
11339 * pa.c, pa.h: Remove trigraph sequences within comments.
11341 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
11343 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
11345 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
11347 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
11349 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11351 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
11353 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11355 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
11356 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
11357 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
11358 (ASM_FILE_END): Use c4x_file_end.
11359 * config/c4x/c4x.c (c4x_global_label): New function.
11360 (c4x_external_ref, c4x_file_end): Likewise.
11362 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
11363 (c4x_external_ref, c4x_end_file): Likewise.
11365 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
11367 * cppexp.c: Don't include cpphash.h.
11368 (parse_charconst, cpp_lex): Use cpp_defined.
11369 (cpp_lex): Use get_directive_token throughout. Remove
11370 unnecessary cases from switch. Move assertion-handling code
11371 down to OTHER case.
11372 (cpp_parse_expr): If we see '+' or '-', check the context to
11373 determine if they are unary or binary operators. Streamline
11374 the jumps a bit. Do not call skip_rest_of_line.
11376 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
11377 static. Export get_directive_token. Update commentary.
11378 (cpp_defined): New function.
11379 (do_define): Remove reference to T_PCSTRING. Call
11380 free_definition to release memory for old definition, when
11381 redefining a macro.
11382 (eval_if_expression): Set only_seen_white to 0 before calling
11383 cpp_parse_expr. Call skip_rest_of_line after it returns.
11384 (cpp_read_check_assertion): Don't preserve a pointer into the
11385 token buffer across a call to cpp_get_token.
11387 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
11388 * cppfiles.c (redundant_include_p): Use cpp_defined.
11389 * cpphash.c (free_definition): New function.
11390 (delete_macro): Use it. Update commentary.
11391 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
11393 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
11394 from enum node_type. Prototype cpp_defined and get_directive_token.
11395 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
11397 * fix-header.c (check_macro_names): Use cpp_defined.
11398 (read_scan_file): Set inhibit_warnings and inhibit_errors in
11399 the options structure.
11401 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11403 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
11405 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
11407 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
11408 rather than die->die_tag.
11410 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11412 * combine.c (make_extraction, force_to_mode): Avoid warning on
11413 mixed-signedness conditionals.
11414 (make_field_assignment, nonzero_bits): Likewise.
11415 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
11416 (store_split_bit_field, extract_split_bit_field): Likewise.
11417 (extract_fixed_bit_field, store_bit_field,
11418 * expr.c: Change alignment to be unsigned everywhere.
11419 (move_by_pieces, store_constructor_field, store_constructor):
11420 Alignment parm is unsigned.
11421 (emit_block_move, emit_group_load, emit_group_store): Likewise.
11422 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11423 (do_compare_rtx_and_jump): Likewise.
11424 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
11425 Compare align with GET_MODE_ALIGNMENT.
11426 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
11427 (get_inner_reference): Likewise.
11428 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
11429 (expand_assignment): Local vars for alignment now unsigned.
11430 (store_constructor, store_field, expand_expr, do_jump): Likewise.
11431 (do_compare_and_jump): Likewise.
11432 (store_field): Call new function expr_align.
11433 * expr.h (emit_block_move, emit_group_load, emit_group_store):
11434 Alignment arg now unsigned.
11435 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11436 (do_compare_rtx_and_jump, store_bit_field): Likewise.
11437 (extract_bit_field): Likewise.
11438 * fold-const.c (add_double): Add cast to eliminate signedness warning.
11439 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
11440 (get_best_mode): Alignment arg is unsigned.
11441 * rtl.h (move_by_pieces): Likewise.
11442 * store-layout.c (maximum_field_alignment, set_alignment):
11444 (layout_decl): Alignment arg is now unsigned.
11445 Remove unneeded casts.
11446 (layout_record, layout_union, layout_type): Remove unneeded casts.
11447 Local alignment variables now unsigned.
11448 (get_best_mode): Alignment arg now unsigned.
11449 * tree.c (expr_align): New function.
11450 * tree.h (expr_align): Likewise.
11451 (maximum_field_alignment, set_alignment): Now unsigned.
11452 (get_inner_reference): Alignment argument is now pointer to unsigned.
11453 * varasm.c (assemble_variable): Add cast to eliminate warning.
11455 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
11457 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
11458 then store directly into op0.
11460 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
11461 the CALL_INSN, and emit the note immediately after it.
11463 2000-02-10 Nick Clifton <nickc@cygnus.com>
11465 * config/arm/thumb.md (epilogue): Include a (return) in the
11466 generated insn, and emit it using emit_jump_insn not
11469 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
11471 * function.c (assign_temp): Change zero-sized arrays to size 1.
11472 * integrate.c (expand_inline_function): Do not update
11473 stack_alignment_needed
11474 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
11475 add some sanity checking, remove optimization for function with
11478 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11480 * flow.c (mark_regs_live_at_end): Delete unused variables.
11482 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
11484 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
11485 in macro FRAME_GROWS_DOWNWARD.
11487 * stmt.c (expand_end_bindings): Delete unused variable.
11489 * unroll.c (iteration_info): Mark parameter `loop' with
11492 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11494 * fixinc/server.c (load_data): Return NULL if the marker line is
11496 (run_shell): If load_data returns NULL, retry the command once, in
11499 * configure: Rebuilt.
11501 2000-02-09 Bruce Korb <bkorb@gnu.org>
11503 * gcc/fixincludes: ** DELETED **
11504 * gcc/fixcpp: ** DELETED **
11505 * gcc/fixinc-nt.sed: ** DELETED **
11506 * gcc/just-fixinc: ** DELETED **
11507 * gcc/Makefile.in: Removed out-dated commentary
11508 * gcc/configure.in: Removed fast-fixincludes disablement.
11509 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
11511 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11512 * function.c (thread_prologue_and_epilogue_insns): Uncomment
11515 2000-02-09 Richard Henderson <rth@cygnus.com>
11517 * jump.c (delete_insn): Don't delete user labels at -O0.
11519 2000-02-09 Robert Lipe <robertl@sco.com>
11521 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
11522 Don't link with HOST_LIBS.
11524 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11526 * configure.in: Correct --help text for --with-dwarf2.
11527 Put tm-dwarf2.h after other tm files, if it's requested.
11528 * configure: Regenerate.
11529 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
11532 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11534 * cpplib.h: Provide HASHNODE typedef and forward decl of
11535 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
11536 DEFINITION, struct hashnode, struct macrodef, struct
11537 definition, scan_decls prototype, default defn of
11538 INCLUDE_LEN_FUDGE moved elsewhere.
11540 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
11541 definition, and struct hashnode moved here. Remove the unused
11542 'predefined' field from struct definition. Replace the 'args'
11543 union with its sole member. All users updated (cpphash.c).
11544 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
11545 multiple include guard.
11547 * cpphash.c (hashf): Make static; use better algorithm; drop
11548 HASHSIZE parameter; return an unsigned int.
11549 (cpp_lookup): Drop HASH parameter. PFILE parameter is
11550 used. Calculate HASHSIZE modulus here.
11551 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
11553 (create_definition): Drop PREDEFINITION parameter.
11554 * cpplib.c (do_define): Don't calculate a hash value here.
11555 Don't pass (keyword == NULL) to create_definition.
11557 * scan.h: Prototype scan_decls here.
11558 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
11559 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
11560 callers of cpp_lookup and cpp_install updated.
11562 * cpphash.c (macarg): Hoist all the flag diddling out of the
11564 (macroexpand): ... and out of the loop that calls macarg.
11565 Skip over the initial paren before macro arguments with
11566 cpp_get_non_space_token; point may be some distance before
11567 that paren. Abort if it's not there.
11569 * cpplib.c (parse_clear_mark): Delete function.
11570 (parse_set_mark, parse_goto_mark): Make static.
11571 (ACTIVE_MARK_P): New macro.
11572 (skip_block_comment, skip_line_comment): Do not bump the line
11573 if ACTIVE_MARK_P is true.
11574 (cpp_pop_buffer): The buffer to be popped may not have an
11576 (cpp_get_token): When looking for the initial paren before
11577 macro arguments, only set a mark in a file buffer, Always
11578 return to that mark before proceeding to call macroexpand or
11579 return a NAME token.
11581 * cpplib.h: Remove prototypes of parse_set_mark,
11582 parse_clear_mark, parse_goto_mark.
11583 (struct cpp_options): Rename 'put_out_comments' to
11584 'discard_comments' and invert its sense.
11585 * cppinit.c, cpphash.c, cpplib.c: All users of
11586 put_out_comments changed to use discard_comments, with
11589 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11591 * function.c (thread_prologue_and_epilogue_insns): Don't delete
11592 the edge from a block that both jumps and falls through to the
11595 2000-02-09 Scott Bambrough <scottb@netwinder.org>
11597 * config/arm/arm.md (movsi): In PIC mode, make sure that a
11598 constant source address is legitimate.
11600 2000-02-09 Philip Blundell <pb@futuretv.com>
11602 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
11605 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
11607 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
11609 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11611 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
11612 ends with a newline and a NUL. Don't be so clever manipulating
11615 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
11617 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
11618 not to BIGGEST_ALIGNMENT.
11620 2000-02-08 Geoff Keating <geoffk@cygnus.com>
11622 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
11623 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
11624 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
11625 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
11626 * frame.c (execute_cfa_insn): Handle
11627 DW_CFA_GNU_negative_offset_extended.
11629 2000-02-08 Richard Henderson <rth@cygnus.com>
11631 * flow.c (tidy_fallthru_edges): Split out from ...
11632 (delete_unreachable_blocks): ... here.
11633 (find_basic_blocks): Use it.
11635 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11637 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
11639 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
11641 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
11642 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
11643 (fix-header.o): Don't depend on cpphash.h.
11645 * scan.c (hashstr): New function.
11646 * scan.h: Prototype it.
11647 * fix-header.c: Don't include cpphash.h. Use hashstr.
11648 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
11649 hashstr. Report hash table statistics. Add private
11650 definition of xrealloc.
11652 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11654 * i386.h (TARGET_SWITCHES): Fix typo in option name.
11656 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
11658 * function.c (thread_prologue_and_epilogue_insns): Don't replace
11659 jumps with returns unless they are jumps to the fallthru block.
11661 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
11663 * i386.md (addqi3_cc): Fix contraints.
11665 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11667 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
11669 2000-02-07 Mark Mitchell <mark@codesourcery.com>
11671 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
11672 carriage return after a macro name.
11674 2000-02-07 Fred Fish <fnf@be.com>
11676 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
11677 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
11679 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
11681 * cppfiles.c (deps_output): Count spacers in deps_column.
11683 2000-02-07 Neil Booth <NeilB@earthling.net>
11685 * cppinit.c (initialize_dependency_output): If there is no
11686 suffix, don't try to look for known suffixes. Use strrchr.
11687 (cpp_start_read): Remove duplicate initialization.
11689 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
11691 * calls.c (compute_argument_block_size): New argument
11692 preferred_stack_boundary.
11693 (expand_call): update cfun->preferred_stack_boundary, update call of
11694 compute_argument_block_size
11695 (emit_library_call): Increate cfun->preferred_stack_boundary
11696 to PREFERRED_STACK_BOUNDARY
11697 (emit_library_call_value): Likewise.
11698 * explow.c (allocate_dynamic_stack_spave): Likewise.
11699 * function.c (prepare_function_start): Set
11700 cfun->preferred_stack_boundary
11701 * function.h (struct function): Add preferred_stack_boundary field.
11702 * integrate.c (expand_inline_function): Update
11703 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
11704 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
11705 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
11707 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
11709 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
11710 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
11711 cpp_pedwarn, cpp_pedwarn_with_line,
11712 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
11713 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
11714 v_cpp_error_with_line, v_cpp_warning_with_line,
11715 cpp_message_from_errno, cpp_perror_with_name): Delete.
11717 * cpperror.c (cpp_print_containing_files): Take starting
11718 buffer as argument.
11719 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
11720 (v_cpp_message): Now called directly by all entry points.
11722 (cpp_pfatal_with_name, cpp_message): Delete.
11723 (cpp_notice_from_errno, cpp_ice): New functions.
11724 (cpp_notice): Is now for reporting error conditions, just
11725 without an associated file.
11726 (cpp_error, cpp_error_with_line): Don't do anything if
11727 opts->inhibit_errors is on.
11728 (cpp_pedwarn_with_file_and_line): Take column argument also.
11730 * cpplib.h: Update prototypes of exported functions.
11731 (struct cpp_options): Add inhibit_errors.
11733 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
11734 non-error messages. Include intl.h.
11736 * cppinit.c, cppmain.c: Likewise. Also, use
11737 cpp_notice_from_errno instead of cpp_perror_with_name or
11738 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
11740 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
11741 report internal errors.
11743 * cpplib.c (do_define): Switch bcopy to memcpy.
11744 Give cpp_pedwarn_with_file_and_line a dummy column argument.
11746 * cpplib.c (copy_rest_of_line): Revert previous change: don't
11747 bail out early if we hit a line comment.
11749 2000-02-06 Richard Henderson <rth@cygnus.com>
11751 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
11752 * basic-block.h: Declare them.
11753 * emit-rtl.h (active_insn_p): New.
11754 (next_active_insn, prev_active_insn): Use it.
11755 * rtl.h: Declare it.
11756 * function.c (emit_return_into_block): New.
11757 (thread_prologue_and_epilogue_insns): Insert return insns instead
11758 of epilogues when possible.
11759 * jump.c (jump_optimize_1): Remove code to insert a return insn
11760 on the fallthru to the exit block.
11762 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
11763 and for non-empty stack frames.
11764 * i386.md (return): Expand to return-pop as needed.
11766 2000-02-06 Richard Henderson <rth@cygnus.com>
11768 * simplify-rtx.c (simplify_relational_operation): Canonicalize
11769 constant to op1 for testing.
11771 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11773 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
11774 (fixuns_truncqfqi2): Use it.
11776 2000-02-06 Richard Henderson <rth@cygnus.com>
11778 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11779 as a TYPE_LEA insn.
11781 * i386.md (widening and peepholes): Mask the constant instead of
11784 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11786 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11787 input pointer before possibly branching off to the backslash
11789 * cpphash.c (macroexpand): Correctly delete \r escapes when
11790 stringifying parameters.
11791 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11792 if we can; bail out early if we hit a line comment.
11793 (handle_directive): Treat '# 123' in an .S file just like
11794 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
11795 Return 1 for '# not_a_directive'.
11796 (get_directive_token): Pop macro buffers here, so that
11797 cpp_get_token can't sneakily move past a newline.
11799 (cpp_get_token): goto randomchar if handle_directive returns 0.
11801 * cppalloc.c: Update copyright.
11802 * cpplib.c: Merge all the static function prototypes into one
11804 * cpplib.h: Remove #if 0 block.
11806 * cpperror.c: Remove #ifdef EMACS block.
11807 * cppmain.c: Likewise.
11808 * cpphash.c: Remove #if 0 blocks.
11809 * cppinit.c: Remove #if 0 blocks, and the -lint option.
11810 * cpplib.c: Remove #if 0 blocks and code referencing
11811 pcp_inside_if or for_lint. Remove duplicate error message.
11812 Fix error messages for #else after #else or #elif. Reformat.
11813 Remove archaic TODO list.
11814 * cpplib.h: Remove pcp_inside_if and for_lint flags.
11816 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11818 * i386/osf1elf.h: Add missing backslash to multiline string.
11820 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11822 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
11824 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11826 * Makefile.in (c-common.o): Depend on $(EXPR_H).
11828 * c-common.c: Include expr.h.
11830 * c-pragma.c (mark_align_stack): Add prototype.
11832 * caller-save.c (add_stored_regs): Likewise.
11834 * combine.c (record_promoted_value): Likewise.
11836 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
11839 * cppinit.c (new_pending_define): Likewise.
11841 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
11843 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
11844 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11845 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
11846 class_scope_p): Likewise.
11848 * dwarf2out.h (dwarf2out_set_demangle_name_func,
11849 dwarf2out_add_library_unit_info): Likewise.
11851 * ggc.h (ggc_page_print_statistics): Likewise.
11853 * haifa-sched.c (propagate_deps): Likewise.
11855 * reg-stack.c (next_flags_user, record_label_references): Likewise.
11857 * rtl.h (set_stack_check_libfunc): Likewise.
11859 * toplev.h (set_fatal_function): Likewise.
11861 * toplev.c (set_fatal_function): Delete prototype.
11863 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
11865 2000-02-05 Geoff Keating <geoffk@cygnus.com>
11867 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
11868 (FUNC_END): Likewise.
11870 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11872 * caller-save.c: Include tm_p.h.
11874 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11876 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
11878 2000-02-04 Neil Booth <NeilB@earthling.net>
11880 * cccp.c (main): Check 'dir' for a NULL pointer before passing
11883 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
11885 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
11886 * genflags.c: Use the max_operand_1 logic from genemit.c to
11887 calculate how many arguments gen_insn prototypes have. Remove
11888 NO_MD_PROTOTYPES ifdefs from the generated file.
11889 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
11890 file. Cast gen_insn initializers to insn_gen_fn.
11891 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
11892 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
11894 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11896 * fixinc/Makefile.in (HDR): Add machname.h.
11899 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11901 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
11902 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
11903 (c4x_cpu_version): Ditto.
11904 * config/c4x/c4x-protos.h: ... here.
11906 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
11908 * dwarf2out.c (add_abstract_origin_attribute): Don't call
11909 gen_abstract_function on our context if we're a nested function.
11911 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11913 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
11914 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
11916 2000-02-04 Bruce Korb <bkorb@gnu.org>
11918 * fixinc/genfixes(machname.h):
11919 Move the functionality from gen-machine.h into this file.
11920 UNdef MN_NAME_PAT if there are no names to change.
11921 Also, be a little kinder when AutoGen is not present.
11923 * fixinc/Makefile.in(machname.h):
11924 Change the generation rule to use genfixes.
11926 * fixinc/fixfixes.c(machine_name):
11927 machine_name_fix's functionality now dependent upon whether
11928 MN_NAME_PAT is defined.
11930 * fixinc/fixtests.c(machine_name):
11933 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
11936 * fixinc/fixlib.h(mn_get_regexps):
11939 * fixinc/gen-machine.h: DELETED
11941 2000-02-04 Jan Hubicka <jh@suse.cz>
11942 Richard Henderson <rth@cygnus.com>
11944 * i386.c (SAVE_REGS_FIRST): Remove.
11945 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
11946 (ix86_compute_frame_size): Likewise.
11947 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
11948 (ix86_emit_restore_regs): Remove.
11949 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
11950 when a frame pointer is in use.
11951 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
11952 instead of pop to restore a register when profitable; emit leave
11954 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
11955 as a TYPE_LEA insn.
11956 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
11957 * i386.md (prologue_allocate_stack): Remove.
11958 (epilogue_deallocate_stack): Remove.
11959 (pro_epilogue_adjust_stack): New.
11961 2000-02-04 Richard Henderson <rth@cygnus.com>
11963 * function.c (diddle_return_value): Rework to use a callback function.
11964 Use current_function_return_rtx if it's been set up.
11965 (do_clobber_return_reg, clobber_return_register): New.
11966 (do_use_return_reg, use_return_register): New.
11967 (expand_function_end): Use them.
11968 * stmt.c (expand_null_return): Likewise.
11969 * function.h: Declare them.
11970 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11971 (mark_reg): Change arguments as appropriate for callback.
11972 * integrate.c (expand_inline_function): Revert 19 Jan change.
11974 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
11976 * tm.texi (Values in Registers): Fix typo: "fo" "for".
11977 (Misc): Say the scheduler, not the Haifa scheduler.
11979 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
11981 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
11982 when in_mem is set. Update all callers.
11984 2000-02-04 Richard Henderson <rth@cygnus.com>
11986 * i386/openbsd.h (INT_ASM_OP): Define.
11988 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
11990 * tm.texi: Fix various typos.
11992 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
11994 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
11995 (MD_STARTFILE_PREFIX_1): New macro.
11997 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
11999 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
12000 destination when needed.
12001 (strmovsi, strsetsi): New expander.
12002 (strmovsi_1, strsetsi_1): New pattern.
12003 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
12004 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
12005 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
12006 * invoke.texi (align-stringops, inline-all-stringops): Document.
12008 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
12010 * i386/netbsd.h (INT_ASM_OP): Define.
12012 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
12014 * cpplib.h (cpp_reader): Add new flag, no_directives.
12015 * cpphash.c (macarg): Set it.
12016 * cpplib.c (handle_directive): If no_directives is on and we
12017 find a directive, issue an error and discard the line.
12019 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
12021 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
12022 FP constants. Add ! TARGET_FPU check for FP constants.
12024 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
12026 * flow.c (find_basic_blocks): Don't kill label_value_list
12028 (cleanup_cfg): Kill it here.
12030 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12032 * expr.c (store_field): Ensure ALIGN is no stricter than the
12035 2000-02-02 Richard Henderson <rth@cygnus.com>
12037 * jump.c (delete_insn): Partially revert 19 Jan change;
12038 don't convert unused code labels to notes at -O0.
12040 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12042 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
12043 split_all_insns to recreate REG_LABEL notes for flow2 pass.
12045 2000-02-01 Richard Henderson <rth@cygnus.com>
12047 * i386.c (general_no_elim_operand): New.
12048 (nonmemory_no_elim_operand): New.
12049 (ix86_expand_move): Copy eliminable operands before a push.
12050 * i386-protos.h: Declare new functions.
12051 * i386.h (CAN_ELIMINATE): Simplify.
12052 (PREDICATE_CODES): Update.
12053 * i386.md (push insns): Don't allow eliminable register operands.
12055 2000-02-01 Richard Henderson <rth@cygnus.com>
12057 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
12058 replace BLKmode with DECL_RTL's mode.
12060 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
12062 * frame.c (find_fde): Convert for loop to do-while so compiler
12063 sees it's always executed at least once.
12064 * libgcc2.c (BBINBUFSIZE): Kill.
12065 (__bb_init_prg): Use fgets.
12066 (__bb_exit_trace_func): Don't paste strings.
12067 * unroll.c (unroll_loop): Initialize unroll_type, not
12068 unroll_number, and tweak logic to match.
12070 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
12072 (ix86_flags_dependant): Likewise. Disentangle control flow.
12073 (ix86_sched_reorder): Break guts out to
12074 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
12075 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
12078 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
12079 use string concatenation. Don't save and restore esi.
12081 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
12082 (machname.h): Remove script to separate file. Use two-step
12083 sequence so target is not created if script fails.
12084 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
12085 identifiers are defined.
12086 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
12087 an empty string, machine_name doesn't need to do anything at
12089 (is_cxx_header): Add more cases to regexp.
12090 * fixinc/fixlib.h: Update prototype.
12091 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
12093 * fixinc/fixincl.c: Define NO_BOGOSITY.
12095 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
12096 (hp_sysfile): Add missing comma.
12097 (math_exception): Put the wrapper ifdefs at the beginning and
12098 the end of the file.
12099 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
12101 2000-02-01 Richard Henderson <rth@cygnus.com>
12103 * sparc.c (fp_zero_operand): Turn into a normal predicate.
12104 Use CONST0_RTX. Update all callers.
12105 * sparc.h, sparc-protos.h: Update accordingly.
12106 * sparc.md (fp mov insns): Use fp_zero_operand directly
12109 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
12111 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
12114 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12116 * Makefile.in (specs.ready): New target.
12117 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
12119 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12121 * fixinc.irix: Use unique filenames for writing into /tmp,
12122 * fixinc.ptx: Likewise.
12123 * fixinc.sco: Likewise.
12124 * fixinc.svr4: Likewise.
12125 * fixinc.winnt: Likewise.
12127 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12129 * tsystem.h: New file.
12131 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
12132 s-crtS): Depend on tsystem.h.
12134 * crtstuff.c: Include tsystem.h.
12135 * frame.c: Likewise.
12136 * libgcc2.c: Likewise.
12138 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
12140 * builtins.c (expand_builtin_memset): Expand for variable sized
12143 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
12145 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
12148 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
12150 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
12152 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
12154 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
12156 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
12157 case 3->2 combining (combining with splitting) in which 2 is CC0
12158 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
12159 checked at the begining of the function with the aid of calling
12160 function 'can_combine_p'.
12162 2000-01-31 Dave Brolley <brolley@redhat.com>
12164 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
12166 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
12168 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
12171 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12173 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
12175 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
12178 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12180 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
12181 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
12182 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
12183 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
12184 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
12185 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
12186 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
12187 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
12188 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
12189 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
12191 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
12192 Add %(cpp_cpu) to CPP_SPEC.
12194 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
12195 Add %(cc1_cpu) to CC1_SPEC.
12197 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12199 * c-decl.c (c_decode_option): Accept optional numeric argument to
12200 -Wformat and set warn_format.
12201 * c-common.c: Don't emit warning about non-constant printf format
12202 string unless warn_format > 1.
12204 2000-01-30 Richard Henderson <rth@cygnus.com>
12206 * alpha.md (return_internal): Allow after reload only.
12208 2000-01-30 Richard Henderson <rth@cygnus.com>
12210 * i386.c (ix86_compute_frame_size): Omit padding1 if the
12211 local frame size is zero.
12213 2000-01-30 Richard Henderson <rth@cygnus.com>
12215 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
12216 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
12217 * alpha.md (return): Turn into an expander.
12218 (return_internal): Don't use $26.
12219 (epilogue): Emit the return insn.
12221 2000-01-30 Richard Henderson <rth@cygnus.com>
12223 * alpha.md (negtf2, abstf2): Fix word order thinko.
12224 (extendsftf2): New.
12225 (trunctfsf2): Avoid intermediate rounding errors.
12227 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12229 * cppfiles.c (find_position): Drop 'colp' argument, return the
12231 (read_and_prescan): Adjust to match. Don't ever manipulate
12232 line or line_base except via find_position.
12234 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12236 * c-parse.in: Apply Ulrich's changes from c-parse.y.
12237 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
12240 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12242 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
12243 just print "<command line>". If 'filename' is null or an
12244 empty string, print "<stdin>" for the filename.
12245 * cpplib.c (do_define): Don't print the 'location of the
12246 previous definition' message if we're still parsing the
12248 (cpp_pedwarn_with_file_and_line): Always call
12249 cpp_file_line_for_message.
12251 2000-01-29 Mark Mitchell <mark@codesourcery.com>
12253 * flow.c (mark_regs_live_at_end): Fix typo.
12255 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12257 * c-common.c: Adjust variable names, comments, help strings to c99.
12258 * c-lex.c: Likewise.
12259 * c-parse.y: Likewise.
12260 * c-tree.h: Likewise.
12261 * cccp.c: Likewise.
12262 * cpplib.h: Likewise.
12263 * c-decl.c: Likewise. Recognize options with names "*99" as well.
12264 * cppinit.c: Likewise.
12266 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12268 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
12269 * c4x.c: Define the optab rtx values.
12270 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
12271 (c4x_emit_libcall): Use new optab rtx values.
12272 (c4x_emit_libcall3): Likewise.
12273 (c4x_emit_libcall_mulhi): Likewise.
12274 * c4x-protos.h: Add prototypes for optab rtx values and change
12275 prototypes for above c4x_emit_libcall functions.
12277 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12279 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
12281 (c4x_function_prologue): Use regnames intead of float_reg_names when
12283 (c4x_function_epilogue): Likewise.
12284 (c4x_print_operand): Likewise.
12285 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
12286 * c4x.md (set_high): Disable for TARGET_TI.
12288 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12290 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
12291 of framepointer + constant to ADDR_REGS class.
12292 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
12293 * c4x.c (std_or_reg_operand): New function.
12294 * c4x-protos.h (std_or_reg_operand): Prototype it.
12296 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12298 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
12299 object names as libgcc2.c.
12300 * libgcc.S: Use newly defined names.
12302 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
12303 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
12305 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
12306 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
12307 (FLOW_LOOP_LAST_BLOCK): Likewise.
12309 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12311 * basic-block.h (struct loop): New fields 'first' and 'last'.
12312 * flow.c (flow_loops_find): Compute loop->first and loop->last.
12313 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
12314 and loop->last to check for NOTE_INSN_LOOP_END.
12316 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
12318 * predict.c (estimate_probability): Use the new FIRST and LAST fields
12319 of the loop descriptor rather than HEADER and LATCH. Also added
12320 missing break statements as well making some coding style modifications
12321 as suggested by Michael Hayes.
12323 2000-01-28 Richard Henderson <rth@cygnus.com>
12325 * flow.c (find_basic_blocks): Remove do_cleanup argument.
12326 Break out that code ...
12327 (cleanup_cfg): ... here.
12328 (commit_one_edge_insertion): Detect a return instruction being
12329 emitted to an edge. Emit a barrier following; clear fallthru.
12330 (commit_edge_insertions): Verify CFG consistency.
12331 * function.c (expand_function_start): Kill unused variable.
12332 (expand_function_end): Likewise.
12333 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
12334 to insert the epilogue.
12336 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
12337 (delete_null_pointer_checks): Likewise.
12338 * output.h: Likewise.
12339 * reg-stack.c (reg_to_stack): Likewise.
12340 * toplev.c (rest_of_compilation): Likewise. Run
12341 thread_prologue_and_epilogue_insns after rebuilding the CFG.
12343 2000-01-28 Richard Henderson <rth@cygnus.com>
12345 * Makefile.in (flow.o): Revert 24 Jan change.
12346 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
12347 FUNCTION_VALUE result to DECL_RESULT's mode.
12349 * haifa-sched.c (schedule_insns): Don't recompute reg info
12352 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
12354 * configure.in: Make --enable-cpplib the default.
12355 * configure: Regenerate.
12356 * gcc.dg/990119-1.c: No longer expected to fail.
12358 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
12360 * jump.c (jump_optimize_1): Delete an optimization that is also done
12361 by merge_blocks in flow.
12363 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12365 * diagnostic.c (build_message_string, output_printf,
12366 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
12367 (build_location_prefix): Fix non-literal format string.
12369 2000-01-27 Richard Henderson <rth@cygnus.com>
12371 * alpha.md (trunctfsf2): New.
12373 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
12375 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
12377 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12379 * cppinit.c (cpp_handle_option): Recognize C++ comments under
12381 * cpplib.c (skip_block_comment, skip_line_comment): Split code
12383 (skip_comment) ... here. Permit C++ comments in system
12384 headers always. Warn about C++ comments in user code under
12385 -std=gnu89 -pedantic.
12386 (copy_comment): Use skip_comment.
12387 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
12389 (consider_directive_while_skipping, do_else, do_endif): Call
12390 validate_else unconditionally.
12391 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
12392 text after the conditional in a system header.
12393 * cpplib.h (struct cpp_buffer): Add flag
12394 warned_cplusplus_comments.
12396 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12398 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
12399 Use unshare_all_rtl_1.
12400 (unshare_all_rtl_again): New function.
12401 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
12403 * function.c (purge_addressof_1): Use unshare_all_rtl_again
12404 rather than resetting the 'used' flags ourself.
12406 * toplev.c (rest_of_compilation): Add current_function_decl
12407 to the unshare_all_rtl call.
12408 * tree.h: Prototype unshare_all_rtl.
12409 * rtl.h: Prototype unshare_all_rtl_again here.
12411 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12413 * genoutput.c (output_prologue): Include ggc.h in generated
12415 * Makefile.in (insn-output.o): Depends on ggc.h.
12417 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
12418 Hans-Peter Nilsson <hp@bitrange.com>
12420 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
12421 Remove redundant include of xm-ns32k.h.
12422 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
12423 Remove redundant include of xm-ns32k.h.
12424 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
12425 Remove redundant include of xm-ns32k.h.
12426 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
12428 * ns32k/ns32k.h: Update comment on multiply-add instructions.
12429 (TARGET_SWITCHES): Add documentation strings.
12430 (DWARF_FRAME_REGNUM): Override default definition.
12431 (REG_CLASS_CONTENTS): Add comments.
12432 (SUBSET_P): Format to reduce line length.
12433 (SMALL_REGISTER_CLASSES): Make a run time option.
12434 (GO_IF_NONINDEXED_ADDRESS): Reformat.
12435 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
12436 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
12437 (regclass_map): fix typo in comment.
12438 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
12439 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
12440 (trace, reg_or_mem_operand): Delete, unused function.
12441 (calc_address_cost): Small offsets are cheaper than large ones.
12442 (expand_block_move): Generate more efficient code when bytes is a
12443 known at compile time.
12444 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
12445 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
12446 instead of reg_or_mem_operand.
12448 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
12449 not general_operand. Similarly use "=rm" or stricter, not "=g".
12450 For input operands, use stricter constraints than "g" if not
12451 general_operand. Similarly use stricter predicate than
12452 "general_operand" when stricter constraints than "g" are present,
12453 except for matching constraints.
12454 (movstrsi): Use "memory_operand" for operands 0 and 1.
12455 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
12456 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
12457 not reg_or_mem_operand.
12458 (udivmoddisi4): Ditto.
12459 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
12460 Use nonimmediate_operand for operand 3, not register_operand.
12461 (udivmoddiqi4_internal): Use register_operand for operand 1, not
12462 reg_or_mem_operand.
12464 2000-01-27 Fred Fish <fnf@be.com>
12466 * gthr-posix.h: Fix typo; compatibily -> compatibility.
12467 * gthr-single.h: Likewise.
12468 * gthr-solaris.h: Likewise.
12469 * gthr-vxworks.h: Likewise.
12470 * gthr-win32.h: Likewise.
12471 * gthr.h: Likewise.
12473 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12475 * cppinit.c: Add " (cpplib)" to end of string printed by
12478 2000-01-27 Richard Henderson <rth@cygnus.com>
12480 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
12481 testing for a signed comparison.
12482 (alpha_emit_floatuns): New.
12483 * alpha-protos.h: Declare it.
12484 * alpha.md (floatunsdisf2, floatunsdidf2): New.
12485 (extendsfdf2): Tidy.
12487 2000-01-27 Jakub Jelinek <jakub@redhat.com>
12489 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
12490 no -g option specifying debugging format, default to -gstabs+.
12492 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12494 * calls.c (special_function_p): New argument fork_or_exec.
12495 (expand_call): When profile_arc_flag is set and the function
12496 is in the fork_or_exec group, call __bb_fork_func first.
12497 * libgcc2.c, _bb module (__bb_fork_func): New function.
12498 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
12500 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
12501 * tree.h (special_function_p): Update prototype.
12503 2000-01-26 Richard Henderson <rth@cygnus.com>
12505 * alpha.c (alpha_split_tfmode_pair): New.
12506 * alpha-protos.h: Declare it.
12507 * alpha.md (abstf2, negtf2): New.
12508 (movtf insn): Add input G constraint.
12509 (movtf splitter): Use alpha_split_tfmode_pair.
12511 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12513 * i386/cygwin.h: PROTO -> PARAMS.
12515 2000-01-26 Jakub Jelinek <jakub@redhat.com>
12517 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
12518 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
12519 using _Qp_cmp/_Q_cmp and testing the return value.
12520 (print_operand): Call reverse_condition_maybe_unordered if
12521 we are handling CCFPmode or CCFPEmode.
12522 Handle ORDERED, UN* and LTGT comparisons.
12523 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
12524 if not TARGET_HARD_QUAD.
12525 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
12526 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
12527 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
12528 Adjust gen_b* calls so that they reflect return comparison of
12529 sparc_emit_float_lib_cmp.
12531 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12533 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
12534 incoming operands array is large enough for one more operand.
12535 (alpha_emit_xfloating_arith): Likewise.
12537 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12539 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
12540 file with one line and no trailing newline.
12541 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
12542 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
12543 checking if the match is on the line.
12544 * fixinc/gnu-regex.c: Provide regerror not __regerror.
12546 2000-01-25 Richard Henderson <rth@cygnus.com>
12548 * sparc.c (output_cbranch): Fix accidental squashing of the
12549 fp branch pre-delay nop.
12551 2000-01-25 Richard Henderson <rth@cygnus.com>
12553 * tree.def (UNNE_EXPR): Remove.
12554 * c-typeck.c (build_binary_op): Don't handle it.
12555 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
12557 * rtl.def (UNNE): Remove.
12559 * jump.c (reverse_condition): Update accordingly.
12560 (swap_condition): Likewise.
12561 (comparison_dominates_p): Handle unordered comparisons.
12562 (reverse_condition_maybe_unordered): New.
12563 * rtl.h (reverse_condition_maybe_unordered): Declare.
12565 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
12566 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
12567 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
12568 * sparc.md (bltgt): New.
12570 2000-01-25 Nick Clifton <nickc@redhat.com>
12572 * emit-rtl.c (emit_insn): Only check machine class insns for
12573 improper emission of a RETURN.
12575 2000-01-25 Richard Henderson <rth@cygnus.com>
12577 * Makefile.in (flow.o): Depend on $(EXPR_H).
12578 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
12579 duplicate the structure of diddle_return_value for keeping regs live.
12581 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12583 * loop.c (current_loop_info): Delete.
12584 (consec_sets_invariant_p): Add loop argument, update callers.
12585 (get_condition_for_loop): Likewise.
12586 (count_nonfixed_reads, update_giv_derive): Likewise.
12587 (simplify_giv_expr, general_induction_var): Likewise.
12588 (consec_sets_giv, recombine_givs): Likewise.
12589 (move_movables): Delete loop_start and loop_end arguments,
12590 add loop argument, and update callers.
12591 (find_mem_givs, check_final_value): Likewise.
12592 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
12593 (loop_invariant_p): Rename from invariant_p, add loop argument, and
12595 (basic_induction_var): Add loop argument, delete loop_level argument,
12596 and update callers.
12597 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
12598 add loop argument, and update callers.
12599 (find_splittable_regs, find_splittable_givs): Likewise.
12600 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
12601 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
12602 (biv_total_increment): Delete loop_start and loop_end arguments;
12604 (precondition_loop_p): Delete loop_start and loop_info arguments;
12606 * loop.h (get_condition_for_loop): Add loop argument.
12607 (biv_total_increment): Delete loop_start and loop_end arguments.
12608 (precondition_loop_p): Delete loop_start and loop_info arguments;
12610 (final_biv_value): Delete loop_start and loop_end arguments;
12612 (final_giv_value, back_branch_in_range_p): Likewise.
12614 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12616 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
12618 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12620 * Makefile.in (c-gperf.h) : Change the "See" pointer to
12621 point to the new "generated_files" doc.
12623 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12625 * config/fp-bit.c (_unord_f2): Fix typo.
12627 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12629 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
12630 c-typeck.c, objc/objc-act.c: Remove all references to obstack
12631 functions obsoleted by GC, such as push_obstacks_nochange,
12632 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
12633 and code which existed only to decide whether or not to call
12634 them. Remove now-unused NESTED argument from start_function;
12635 all callers changed. Do not change behavior based on ggc_p.
12636 The use of the ixp_obstack in c-iterate.c and the util_obstack
12637 in objc/objc-act.c remain; these are not obsoleted by garbage
12639 * c-tree.h: Update prototype for start_function.
12641 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
12643 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12645 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
12648 2000-01-25 Richard Henderson <rth@cygnus.com>
12650 * sparc-protos.h (select_cc_mode): Declare.
12651 * sparc.c (select_cc_mode): New. Handle unordered compares.
12652 (output_cbranch): Always reverse via code change. Handle
12653 unordered compares. Factor tests and string updates.
12654 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
12655 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
12656 * sparc.md (bunordered, bordered): New.
12657 (bungt, bunlt, buneq, bunge, bunle): New.
12659 2000-01-25 Richard Henderson <rth@cygnus.com>
12661 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
12662 * ggc-common.c (ggc_add_rtx_varray_root): New.
12663 (ggc_mark_rtx_varray): New.
12664 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
12665 functions down below ggc_mark_foo.
12666 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
12668 2000-01-25 Richard Henderson <rth@cygnus.com>
12670 * alpha.c (secondary_reload_class): Don't allocate a secondary
12671 for integral mode memories into FLOAT_REGS. Rearrange the more
12672 complicated memory expression inward.
12674 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12676 * inclhack.def: Fixes to play nicer with FreeBSD, and
12677 corrections to comments.
12678 (cxx_unready): Add select expression.
12679 (irix_sockaddr): Add bypass expression.
12680 (machine_ansi_h_va_list): New fix.
12681 (stdio_va_list): No need to edit _BSD_VA_LIST_.
12682 Split out addition of "#include <stdarg.h>" to...
12683 (stdio_stdarg_h): ... here.
12684 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
12685 to stdlib.h also. Do not munge _BSD_SIZE_T_.
12686 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
12688 (ultrix_ifdef): Tighten up select expression.
12690 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
12691 re_ct and max_mach to avoid use of shell. Make printed names
12692 match names in inclhack.def. Use static copyright date.
12693 Don't count c_test and test expressions as requiring regex_t
12694 slots. Add some commentary.
12695 * inclhack.tpl: Do not include the 'This script contains N
12696 fixup scripts' line if PROGRAM is defined. Use static
12699 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
12701 * dwarf2out.c: include "varray.h", not dyn-string.h.
12702 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
12703 (addr_const_to_string, addr_to_string): Lose.
12704 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
12705 (struct dw_val_struct): val_addr is now an rtx.
12706 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
12707 (used_rtx_varray): New varray.
12708 (dwarf2out_init): Initialize it.
12709 (save_rtx): New fn.
12710 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
12712 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
12713 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
12714 * Makefile.in (dwarf2out.o): Update dependencies.
12716 2000-01-24 Richard Henderson <rth@cygnus.com>
12718 * i386.c (i386_dwarf_output_addr_const): New.
12719 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
12721 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
12723 * dwarfout.c (output_mem_loc_descriptor): Likewise.
12724 * i386.c (i386_simplify_dwarf_addr): New.
12725 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
12727 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
12729 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
12730 TYPE_STUB_DECL is NULL.
12732 2000-01-24 Richard Henderson <rth@cygnus.com>
12734 * builtins.c (expand_tree_builtin): Move ...
12735 * c-common.c (expand_tree_builtin): ... here.
12737 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12739 * loop.h (LOOP_INFO): New accessor macro.
12740 * basic-block.h (struct loop): Rename field `info' to `aux'.
12741 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
12742 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
12743 * unroll.c (loop_iterations, unroll_loop): Likewise.
12745 2000-01-24 Christopher Faylor <cgf@cygnus.com>
12747 * config/i386/t-cygwin: Accomodate new winsup directory layout
12748 when searching for include files.
12750 2000-01-24 Richard Henderson <rth@cygnus.com>
12752 * rtl.def: Add unordered fp comparisions.
12753 * tree.def: Likewise.
12754 * tree.h: Add ISO C 9x unordered fp comparision builtins.
12756 * builtins.c (expand_tree_builtin): New function.
12757 * c-typeck.c (build_function_call): Use it.
12758 (build_binary_op): Support unordered compares.
12759 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
12761 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
12762 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
12763 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
12764 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
12765 * jump.c (reverse_condition): Don't abort for UNLE etc, but
12767 (swap_condition): Handle unordered compares.
12768 (thread_jumps): Check can_reverse before reversing.
12769 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
12772 * optabs.c (can_compare_p): New argument CODE. Verify branch or
12773 setcc is present before acking for cmp_optab. Update all callers.
12774 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
12775 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12776 * expr.c (expand_expr): Likewise. Support unordered compares.
12777 (do_jump, do_store_flag): Likewise.
12778 * expr.h (enum libfunc_index): Add unordered compares.
12780 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12781 (DPBIT_FUNCS): Add _unord_df.
12782 * config/fp-bit.c (_unord_f2): New.
12783 * fp-test.c (main): Try unordered compare builtins.
12785 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12786 * alpha.c (alpha_comparison_operator): Check mode properly.
12787 (alpha_swapped_comparison_operator): Likewise.
12788 (signed_comparison_operator): Likewise.
12789 (alpha_fp_comparison_operator): New.
12790 (alpha_emit_conditional_branch): Handle unordered compares.
12791 * alpha.h (PREDICATE_CODES): Update.
12792 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12793 (bunordered, bordered): New.
12795 2000-01-24 Richard Henderson <rth@cygnus.com>
12797 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12798 * alpha.md (movtf): New expander, insn, and splitter.
12800 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
12802 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12805 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
12807 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
12808 (FIXED_REGISTERS, CALL_USED_REGISTERS,
12809 REG_ALLOC_ORDER): Add frame pointer
12810 (FRAME_POINTER_REGNUM): Set to 20
12811 (HARD_FRAME_POINTER_REGNUM): New macro.
12812 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
12813 to HARD_FRAME_POINTER.
12814 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
12815 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12816 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
12817 (HI_REGISTER_NAMES): Add "frame".
12818 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
12819 (debug_reg): Handle FRAME_POINTER_REGNUM.
12820 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
12821 GENERAL_REGS and INDEX_REGS.
12822 * i386.c (SAVED_REGS_FIRST): new macro.
12823 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
12824 (ix86_decompose_address, memory_address_length): Likewise.
12825 (regclass_map): Add frame pointer.
12826 (call_insn_operand): Handle frame_pointer_rtx.
12827 (reg_no_sp_operand): Likewise.
12828 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
12829 (print_operand, legitimize_pic_address): Fix formating.
12830 (ix86_compute_frame_size): Make static, update prototype, new
12831 parameters padding1, padding2, use ix86_nsaved_regs, use
12832 stack_alignment_needed.
12833 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
12834 to HARD_FRAME_POINTER_REGNUM conversions.
12835 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
12836 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
12837 (print_reg): Abort on FRAME_POINTER_REGNUM
12839 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
12841 * i386.h (PREDICATE_CODES): Add aligned_operand.
12842 * i386.c (aligned_operand): New function.
12843 (ix86_aligned_p): Kill.
12844 * i386.md (movhi_1): Emit mov for aligned operands.
12845 (promoting peep2s): Use aligned_operand.
12847 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
12849 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
12850 expression to allow underscores in macro names.
12851 (fix_char_macro_defines): Increment scanning pointer.
12853 2000-01-23 Richard Henderson <rth@cygnus.com>
12855 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
12856 * alpha/osf5.h: New file.
12857 * configure.in (alpha-*-osf5): Add it to tm_file.
12859 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
12861 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
12862 (alpha_emit_xfloating_cvt, function_arg): Declare.
12863 * alpha.c (alpha_emit_conditional_branch): Call
12864 alpha_emit_xfloating_compare for TFmode compares.
12865 (alpha_lookup_xfloating_lib_func): New.
12866 (alpha_compute_xfloating_mode_arg): New.
12867 (alpha_emit_xfloating_libcall): New.
12868 (alpha_emit_xfloating_arith): New.
12869 (alpha_emit_xfloating_compare): New.
12870 (alpha_emit_xfloating_cvt): New.
12871 (print_operand): Add default abort case.
12872 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
12873 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
12874 (BIGGEST_ALIGNMENT): Increase to 128 bits.
12875 (RETURN_IN_MEMORY): True for TF/TCmode.
12876 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
12877 (FUNCTION_ARG): Move to function_arg.
12878 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
12879 (ASM_OUTPUT_LONG_DOUBLE): New.
12880 (ASM_OUTPUT_DOUBLE): Always output bits.
12881 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
12882 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
12883 (extenddftf2, trunctfdf2): New.
12885 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12887 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
12888 * config/sparc/sol2.h: ... here.
12890 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12892 * basic-block.h (struct loops): New field `levels'.
12893 * flow.c (flow_loops_level_compute): Traverse all outer loops.
12894 (flow_loop_level_compute): Initialise level to 1.
12895 (flow_loops_find): Set loops->levels.
12896 (flow_loops_dump): Print loops->levels.
12898 2000-01-23 Richard Henderson <rth@cygnus.com>
12900 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
12901 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
12903 2000-01-23 Richard Henderson <rth@cygnus.com>
12905 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
12906 * i386.h (DBX_REGISTER_NUMBER): Use them.
12907 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
12908 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
12909 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
12910 * i386/sequent.h: Kill incorrect comment.
12912 2000-01-23 Mark Mitchell <mark@codesourcery.com>
12914 * ggc-page.c (struct page_entry): Make `context_depth' an
12916 (struct globals): Likewise.
12918 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
12920 * loop.c (check_dbra_loop): When checking a loop for
12921 reversability, check the source of any stores to ensure
12922 they don't depend on an initial value.
12924 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12926 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
12928 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
12930 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
12931 'pz_scan' into scope of entire function. Only affects
12932 compiles with -DDEBUG.
12934 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
12936 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
12937 section naming to that prior to 2000-01-07 patch.
12938 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
12939 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
12940 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
12941 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
12942 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
12944 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
12946 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
12949 2000-01-21 Jim Wilson <wilson@cygnus.com>
12951 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
12952 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
12954 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12956 * cpphash.c (change_newlines): Delete function.
12957 (struct argdata): Delete 'newlines' and 'use_count' fields.
12958 (macroexpand): Remove code referencing those fields.
12960 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12962 * loop.c (loops_info): New variable.
12963 (loop_optimize): Allocate loops->array and free it on exit.
12964 Allocate memory for loops_info and assign to each loop,
12966 (find_and_verify_loops): Do not allocate loops->array.
12968 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12970 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
12972 2000-01-21 Jakub Jelinek <jakub@redhat.com>
12974 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
12975 pseudos if expanded after first flow.
12976 (movdi_pic_label_ref): Likewise.
12978 2000-01-20 Richard Henderson <rth@cygnus.com>
12980 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
12982 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
12984 * Makefile.in (fixinc.sh): Depend on specs.
12985 * fixinc/Makefile.in: Add rule to create machname.h.
12986 (fixlib.o): Depend on machname.h.
12987 * fixinc/fixtests.c (machine_name): New test.
12988 * fixinc/fixfixes.c (machine_name): New fix.
12989 * fixinc/fixlib.c (mn_get_regexps): New helper function for
12990 the machine_name test and fix.
12991 * fixinc/fixlib.h: Prototype it.
12992 * fixinc/inclhack.def (machine_name): Use the C test and fix.
12993 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
12995 * gcc.c (do_spec_1) [case P]: Take care not to create
12996 identifiers with three leading or trailing underscores.
12998 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
12999 (fixincl): Don't specify libraries twice on link line.
13000 (gnu-regex.o): Remove special rule.
13001 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
13002 defined by config.h. Do not define _REGEX_RE_COMP.
13003 (regcomp): Allocate and initialize a fastmap.
13004 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
13006 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
13008 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
13010 2000-01-19 Richard Henderson <rth@cygnus.com>
13012 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
13013 arguments with BB. Update all callers. Tidy line wrapping.
13015 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
13017 * emit-rtl.c (try_split): Return last_insn if we split the
13020 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
13022 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
13023 (ix86_initial_elimination_offset): Declare.
13024 * i386.c (ix86_nsaved_regs): Break out from ...
13025 (ix86_can_use_return_insn_p): ... here.
13026 (ix86_emit_save_regs): Break out from ...
13027 (ix86_expand_prologue): ... here.
13028 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
13030 (ix86_expand_epilogue): ... here.
13031 (ix86_compute_frame_size): Make static, add prototype.
13032 (ix86_initial_elimination_offset): Break out from ...
13033 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
13035 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13037 * recog.h (OUT_FCN): Delete.
13039 * vax.md: Call `get_insn_template' instead of OUT_FCN.
13041 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13043 * cppalloc.c: PROTO -> PARAMS.
13044 * cpperror.c: Likewise.
13045 * cppfiles.c: Likewise.
13046 * cpplib.c: Likewise.
13047 * cpplib.h: Likewise.
13049 * config/arm/arm-protos.h: PROTO -> PARAMS.
13050 * config/arm/arm.c: Likewise.
13051 * config/c4x/c4x.c: Likewise.
13052 * config/fr30/fr30-protos.h: Likewise.
13053 * config/nextstep.c: Likewise.
13054 * config/pa/pa.c: Likewise.
13055 * config/pj/pj.c: Likewise.
13056 * config/rs6000/rs6000.c: Likewise.
13057 * config/v850/v850-protos.h: Likewise.
13058 * config/v850/v850.c: Likewise.
13060 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13062 * i370-protos.h: New file.
13064 * i370.c: Include tm_p.h. Fix compile time warnings.
13066 * i370.h: Move prototypes to i370-protos.h. Fix compile time
13069 * i370.md: Likewise.
13071 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13073 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
13074 (target_isinf, target_isnan, eisnan): Mark parameter with
13076 (eiisinf): Wrap in INFINITY.
13077 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
13078 (ibmtoe): Remove unused variable `rndsav'.
13080 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13082 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
13083 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
13085 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
13087 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
13088 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
13089 (fix_char_macro_defines, fix_char_macro_uses): New functions.
13091 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
13092 Recognize Emacs mode markers also.
13093 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
13094 C++ comments in C++ headers. Call is_cxx_header only if
13097 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
13098 bypass for ncurses.
13099 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
13100 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
13101 ... these, which use the new C fixes.
13102 (math_exception): Escape literal '+' in bypass expression.
13104 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
13107 2000-01-19 Geoff Keating <geoffk@cygnus.com>
13109 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
13112 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13114 * loop.c (loop_optimize): Allocate loop_info structure for each loop
13115 prior to calling scan_loop.
13117 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13119 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
13120 (split_branches, calc_live_regs): Likewise.
13122 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13124 * sh.md (fpu_single, fp_mode): New attributes.
13126 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13128 * loop.c (current_loop_info): Renamed from loop_info_data
13129 and changed to a pointer.
13130 (loop_optimize): Allocate loop_info structure for each loop
13131 and initialise to zero.
13132 (scan_loop): Set current_loop_info.
13134 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
13137 2000-01-19 Richard Henderson <rth@cygnus.com>
13139 * stupid.c: Die die die.
13140 * Makefile.in (OBJS): Remove stupid.o.
13141 (stupid.o): Likewise.
13143 * except.c (emit_eh_context): Don't emit USEs for stupid.
13144 * explow.c (probe_stack_range): Likewise.
13145 * flags.h (obey_regdecls): Remove.
13146 * flow.c (find_basic_blocks): Don't run try_merge_blocks
13147 when not optimizing.
13148 (life_analysis): Limit data collection when not optimizing.
13149 (mark_regs_live_at_end): Always mark the return value registers.
13150 (mark_used_regs): Remove dummy RETURN case.
13151 (print_rtl_with_bb): Don't consult obey_regdecls.
13152 * function.c (use_variable, use_variable_after): Remove.
13153 (assign_parms): Consult optimize not obey_regdecls.
13154 (expand_function_start): Don't emit USEs for stupid.
13155 (expand_function_end): Likewise.
13156 * global.c (build_insn_chain): Export.
13157 * integrate.c (expand_inline_function): Kill return-value USE
13159 * jump.c (jump_optimize_1): Do simple jump optimizations and
13160 dead code elimination.
13161 (calculate_can_reach_end): Remove check_deleted argument.
13162 (delete_insn): Patch out insns even when not optimizing.
13163 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
13164 * rtl.h (use_variable, use_variable_after): Remove declarations.
13165 (build_insn_chain): Declare.
13166 * stmt.c (expand_value_return): Don't emit USEs for stupid.
13167 (expand_end_bindings): Likewise.
13168 (expand_decl): Likewise. Consult optimize not obey_regdecls.
13169 * toplev.c (obey_regdecls): Remove.
13170 (rest_of_compilation): Don't set it. Kill stupid in favour of
13171 flow1, local-alloc, and reload.
13172 (main): Don't set obey_regdecls.
13174 * config/nextstep.c (handle_pragma): Likewise.
13176 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
13178 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
13180 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13182 * alpha-protos.h: PROTO -> PARAMS.
13183 * alpha.c: Likewise.
13185 * h8300.c: Likewise.
13186 * i386-protos.h: Likewise.
13187 * i386.c: Likewise.
13188 * m32r-protos.h: Likewise.
13189 * m32r.c: Likewise.
13190 * mips.c: Likewise.
13191 * mips.md: Likewise.
13192 * gmon-sol2.c: Likewise.
13193 * sparc.c: Likewise.
13195 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13197 * ns32k-protos.h: New file.
13199 * ns32k.c: Fix compile time warnings.
13201 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
13204 * ns32k.md: Likewise.
13206 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13208 * vax-protos.h: New file.
13210 * vax.c: Fix compile time warnings.
13212 * vax.h: Move prototypes to vax-protos.h. Fix compile time
13215 * vax.md: Likewise.
13217 * vaxv.md: Likewise.
13219 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13221 * romp-protos.h: New file.
13223 * romp.c: Fix compile time warnings.
13225 * romp.h: Move prototypes to romp-protos.h. Fix compile time
13228 * romp.md: Likewise.
13230 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13232 * we32k-protos.h: New file.
13234 * we32k.c: Fix compile time warnings.
13236 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
13239 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13241 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
13243 * except.c (eh_regs): Likewise.
13245 * final.c (output_operand): Likewise.
13247 * fold-const.c (target_isinf, target_isnan): Likewise.
13249 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13251 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
13252 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
13254 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
13255 when optimize_size.
13256 (clrstrsi): Rewrite.
13257 (strsethi, strsetqi): New expanders.
13258 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
13259 (cmpstrsi): Emit compare insn before cmpstrsi_1
13260 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
13261 (strlensi_1): Likewise.
13262 (cmpstrsi_1): Likewise; do not output compare.
13263 (strlen expander): Do not unroll when optimizing for size.
13264 (*subsi3_carry): Rename to subsi3_carry
13265 (addqi3_cc): New pattern.
13266 * i386.h (processor_costs): Add move_ratio field.
13267 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
13268 * i386.c (*_cost): Set move_ratio.
13269 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
13270 (x86_expand_strlensi_1): Rewrite the main loop.
13272 2000-01-17 Richard Henderson <rth@cygnus.com>
13274 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
13275 * cse.c (find_comparison_args, fold_rtx): Likewise.
13276 * integrate.c (subst_constants): Likewise.
13277 * loop.c (get_condition): Likewise.
13279 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
13281 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
13283 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13285 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
13286 (RESTORE_WARN_FLAGS): Unpack it.
13287 Change semantic type of extension to ttype.
13288 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
13289 * c-parse.y, c-parse.c, objc/objc-parse.y,
13290 objc/objc-parse.c: Regenerate.
13292 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
13294 * fixinc/fixlib.c: Add copyright notice.
13295 (compile_re): New function.
13296 * fixinc/fixlib.h: Prototype compile_re.
13298 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
13299 Use compile_re to compile regular expressions.
13301 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
13302 where the pattern matched.
13304 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
13306 (ultrix_ansi_compat): Likewise.
13307 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
13309 (interactv_add2, interactv_add3): Delete.
13310 (x11_sprintf): Don't use filename glob.
13311 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
13314 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13316 * print-rtl.c: PROTO -> PARAMS.
13317 * real.c: Likewise.
13318 * reg-stack.c: Likewise.
13319 * resource.c: Likewise.
13320 * sdbout.h: Likewise.
13321 * simplify-rtx.c: Likewise.
13322 * stor-layout.c: Likewise.
13323 * stupid.c: Likewise.
13324 * xcoffout.c: Likewise.
13325 * xcoffout.h: Likewise.
13327 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13329 * toplev.c: PROTO -> PARAMS.
13330 * toplev.h: Likewise.
13331 * tree.c: Likewise.
13332 * tree.h: Likewise.
13333 * unroll.c: Likewise.
13334 * varasm.c: Likewise.
13335 * varray.c: Likewise.
13336 * varray.h: Likewise.
13338 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13340 * reload.c: PROTO -> PARAMS.
13341 * reload.h: Likewise.
13342 * reload1.c: Likewise.
13343 * reorg.c: Likewise.
13344 * resource.h: Likewise.
13347 * rtlanal.c: Likewise.
13348 * sbitmap.h: Likewise.
13349 * sdbout.c: Likewise.
13350 * stack.h: Likewise.
13351 * stmt.c: Likewise.
13352 * system.h: Likewise.
13354 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13356 * machmode.h: PROTO -> PARAMS.
13357 * mbchar.h: Likewise.
13358 * mips-tdump.c: Likewise.
13359 * mips-tfile.c: Likewise.
13360 * optabs.c: Likewise.
13361 * output.h: Likewise.
13362 * prefix.c: Likewise.
13363 * profile.c: Likewise.
13364 * protoize.c: Likewise.
13365 * real.h: Likewise.
13366 * recog.c: Likewise.
13367 * recog.h: Likewise.
13368 * regclass.c: Likewise.
13369 * regmove.c: Likewise.
13370 * regs.h: Likewise.
13372 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13374 * ggc-common.c: PROTO -> PARAMS.
13375 * ggc-page.c: Likewise.
13376 * ggc-simple.c: Likewise.
13378 * global.c: Likewise.
13379 * graph.c: Likewise.
13380 * gthr-win32.h: Likewise.
13381 * haifa-sched.c: Likewise.
13382 * halfpic.h: Likewise.
13383 * integrate.c: Likewise.
13384 * integrate.h: Likewise.
13385 * jump.c: Likewise.
13387 * local-alloc.c: Likewise.
13388 * loop.c: Likewise.
13389 * loop.h: Likewise.
13391 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13393 * genattr.c: PROTO -> PARAMS.
13394 * genattrtab.c: Likewise.
13395 * gencheck.c: Likewise.
13396 * gencodes.c: Likewise.
13397 * genconfig.c: Likewise.
13398 * genemit.c: Likewise.
13399 * genextract.c: Likewise.
13400 * genflags.c: Likewise.
13401 * gengenrtl.c: Likewise.
13402 * genopinit.c: Likewise.
13403 * genoutput.c: Likewise.
13404 * genpeep.c: Likewise.
13405 * genrecog.c: Likewise.
13407 2000-01-16 Mark Mitchell <mark@codesourcery.com>
13409 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
13411 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13413 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
13414 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
13415 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
13416 * configure, config.in: Rebuilt.
13418 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
13420 * config/i386/i386.md: Add peephole to merge successive stack
13423 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
13425 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
13426 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
13427 when walking backwards to find all the parameter loads when
13428 the basic block ends in a call.
13430 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13432 * loop.c (this_loop_info): Delete.
13433 (uid_loop): Add in place of uid_loop_num. All uses updated.
13434 (loop_number_exit_count): Delete and replace with entry in loop
13435 structure. All uses updated.
13436 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13437 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13438 (loop_outer_loop): Likewise.
13439 (loop_invalid, loop_number_exit_labels): Likewise.
13440 (loop_used_count_register): Delete and replace with entry in
13441 loop_info structure.
13442 (find_and_verify_loops): Add loops argument.
13443 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
13444 loop_end, etc. arguments with loop structure pointer. All callers
13446 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
13447 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
13448 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
13449 (insert_bct): Likewise.
13450 (basic_induction_var): New argument level.
13451 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
13452 vtop, and cont. Add used_count_register.
13453 (uid_loop): Delete declaration.
13454 (loop_number_exit_count): Likewise.
13455 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13456 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13457 (loop_outer_loop, loop_used_count_register): Likewise.
13458 (loop_invalid, loop_number_exit_labels): Likewise.
13459 (unroll_loop): Replace loop_start and loop_end arguments
13460 with loop structure pointer.
13461 (loop_precondition_p, loop_iterations): Likewise.
13462 Include basic-block.h.
13463 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
13464 with loop structure pointer.
13465 (loop_precondition_p, loop_iterations): Likewise.
13466 * basic-block.h (struct loop): New entries vtop, cont,
13467 cont_dominator, start, end, top, scan_start, exit_labels,
13469 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
13471 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13473 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
13475 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
13477 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
13479 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13481 * pdp11-protos.h: New file.
13483 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
13486 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
13489 * pdp11.md: Likewise.
13491 * 2bsd.h: Likewise.
13493 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13495 * mn10300-protos.h: New file.
13497 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
13500 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
13503 * mn10300.md: Likewise.
13505 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13507 * mn10200-protos.h: New file.
13509 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
13512 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
13515 * mn10200.md: Likewise.
13517 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13519 * h8300-protos.h: New file.
13521 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
13524 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
13527 * h8300.md: Likewise.
13529 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13531 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
13532 (asm_emit_uninitialised): Likewise.
13534 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
13536 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
13537 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
13539 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13541 * config/mips/mips.c (override_options): Don't turn on extra
13542 alignment for mips16.
13544 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13546 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
13547 eabi, and make sure queued POSTINCREMENT rtl is emitted at
13550 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13552 * builtins.c (PAD_VARARGS_DOWN): Define.
13553 (std_expand_builtin_va_arg): Use the above macro.
13554 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
13555 * tm.texi (Register Arguments): Document the above macro.
13557 2000-01-14 Nick Clifton <nickc@cygnus.com>
13559 * emit-rtl.c (emit_insn): If checking is enabled, make sure
13560 that this function has not been used to emit a jump
13563 * jump.c (return_jump_1): Cope with being passed a null rtx.
13565 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13567 * eh-common.h: PROTO -> PARAMS.
13568 * emit-rtl.c: Likewise.
13569 * errors.c: Likewise.
13570 * errors.h: Likewise.
13571 * except.c: Likewise.
13572 * except.h: Likewise.
13573 * explow.c: Likewise.
13574 * expmed.c: Likewise.
13575 * expr.c: Likewise.
13576 * expr.h: Likewise.
13577 * final.c: Likewise.
13578 * fix-header.c: Likewise.
13579 * flow.c: Likewise.
13580 * fold-const.c: Likewise.
13581 * function.c: Likewise.
13582 * function.h: Likewise.
13584 * gcov-io.h: Likewise.
13585 * gcov.c: Likewise.
13586 * gcse.c: Likewise.
13588 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13590 * sh-protos.h: New file.
13592 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
13593 Add static prototypes. Fix compile time warnings.
13595 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
13599 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13601 * arc-protos.h: New file.
13603 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
13606 * arc.h: Move prototypes to arc-protos.h. Fix compile time
13609 * arc.md: Likewise.
13611 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13613 * dsp16xx-protos.h: New file.
13615 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
13618 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
13621 * dsp16xx.md: Likewise.
13623 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13625 * convex-protos.h: New file.
13627 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
13630 * convex.h: Move prototypes to convex-protos.h. Fix compile time
13633 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13635 * elxsi-protos.h: New file.
13637 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
13640 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
13643 * elxsi.md: Likewise.
13645 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13647 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
13648 case for moving from HI/LO/HI_LO_REG. This makes the behavior
13649 match the comment for MIPS16.
13651 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
13653 * flow.c (split_edge): Do not call set_block_for_insn if we
13654 do not have a basic_block_for_insn structure.
13656 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
13657 and destination functions are 32bit aligned within the trampoline.
13658 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
13659 (TRAMPOLINE_ALIGNMENT): Define.
13661 * cse.c (cse_insn): When changing (set (pc) (reg)) to
13662 (set (pc) (label_ref)), verify the change creates a valid insn.
13664 * fr30.c (call_operand): Tighten and rework to match rules for
13665 call RTL expressions.
13666 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
13667 * fr30.md (call patterns): Improve constraints.
13669 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
13671 * fr30.c (fr30_expand_epilogue): Revert last change.
13672 Use emit_jump_insn for the return insn.
13674 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
13675 Stan Cox <scox@cygnus.com>
13677 * predict.c: New file. Preliminary infrastructure work for static
13678 branch prediction and basic block reordering.
13679 * basic-block.h: Add prototype for estimate_probability.
13680 * Makefile.in: Add rules for predict.o.
13682 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
13684 * fixincludes (va_list): Use __not_va_list__ for the dummy.
13685 * fixinc/*: Likewise.
13687 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13689 * cccp.c: PROTO -> PARAMS.
13690 * cexp.y: Likewise.
13691 * collect2.c: Likewise.
13692 * combine.c: Likewise.
13693 * convert.h: Likewise.
13695 * dbxout.c: Likewise.
13696 * dbxout.h: Likewise.
13697 * diagnostic.c: Likewise.
13698 * doprint.c: Likewise.
13699 * dwarf2out.c: Likewise.
13700 * dwarf2out.h: Likewise.
13701 * dwarfout.c: Likewise.
13702 * dwarfout.h: Likewise.
13703 * dyn-string.h: Likewise.
13705 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13707 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
13708 macro conditionals guarding use.
13710 * dwarf2out.c: Include "tm_p.h".
13712 * function.c (locate_and_pad_parm): Mark parameter with
13714 (expand_function_end): Likewise for variable `context'.
13716 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
13718 2000-01-13 Nick Clifton <nickc@cygnus.com>
13720 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
13721 register to prevent compile time warnings.
13723 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
13725 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
13726 to avoid -Wtraditional warning.
13728 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13730 * 1750a-protos.h: New file.
13732 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
13735 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
13738 * 1750a.md: Likewise.
13740 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13742 * a29k-protos.h: New file.
13744 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
13747 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
13750 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13752 * clipper-protos.h: New file.
13754 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
13757 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
13760 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13762 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
13764 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
13766 * configure.in (--enable-new-gxx-abi): New option.
13767 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
13768 * Makefile.in (GXX_ABI_FLAG): New variable.
13769 * configure: Regenerate.
13771 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13773 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
13774 * tm.texi (FORCE_STRUCT_BLK): Document.
13775 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13777 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
13779 * config/ns32k/ns32k.md: Revert Jan 9 change.
13781 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13782 to a mode-test, if the predicate is address_operand.
13784 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
13786 * combine.c (if_then_else_cond): Be careful about what kinds
13787 of RTL expressions are passed to operand_subword.
13789 * flow.c (split_edge): If we have to insert a new jump, make
13790 sure to associate it with a basic block.
13792 * flow.c (commit_one_edge_insertion): A block with one successor
13793 can end in a JUMP_INSN that is not a simplejump.
13795 2000-01-12 Robert Lipe <robertl@sco.com>
13797 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13798 (BUILD_VA_LIST_TYPE): Define.
13799 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13802 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
13804 * cccp.c (do_pragma): Add cast to (char *).
13806 2000-01-12 Richard Henderson <rth@cygnus.com>
13807 Fred Fish <fnf@be.com>
13808 Jason Merrill <jason@cygnus.com>
13810 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
13811 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
13812 * i386/beos-elf.h, i386/beos-pe.h: New files.
13814 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
13815 * cross-make (SYSTEM_HEADER_DIR): Define using
13816 CROSS_SYSTEM_HEADER_DIR.
13818 * gcc.c (LIBRARY_PATH_ENV): Provide default.
13819 (process_command): Use it.
13820 (main): Likewise. Kill trailing = from env vars.
13821 (build_search_list): Put it back.
13822 * collect2.c (main): Use LIBRARY_PATH_ENV.
13824 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
13825 * toplev.c: Use NEED_DECLARATION_ENVIRON.
13827 * tm.texi (Frame Layout): Document SMALL_STACK.
13828 * c-common.c (c_common_nodes_and_builtins): Check it.
13830 * system.h: Undef alloca after including glibc's <stdlib.h>,
13831 if USE_C_ALLOCA is defined.
13833 * gcc.c (set_input): New fn.
13834 (main): After all input files are compiled, reset the input file
13837 * aclocal.m4 (rindex, index): If already defined, don't attempt
13840 * ginclude/varargs.h: (__va_list__): Define ifndef.
13841 * ginclude/stdarg.h: Likewise.
13843 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
13844 instead of unsigned char.
13846 * hash.h (true, false, boolean): Undef before enum.
13848 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
13849 proper type of "HOST_WIDE_INT *", rather than their natural type of
13850 "unsigned HOST_WIDE_INT *".
13852 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13854 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
13856 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
13858 * regclass.c (choose_hard_reg_mode): Likewise.
13860 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
13862 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
13864 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13866 * c-common.c: PROTO -> PARAMS.
13867 * c-common.h: Likewise.
13868 * c-decl.c: Likewise.
13869 * c-iterate.c: Likewise.
13870 * c-lang.c: Likewise.
13871 * c-lex.c: Likewise.
13872 * c-lex.h: Likewise.
13873 * c-parse.in: Likewise.
13874 * c-pragma.c: Likewise.
13875 * c-pragma.h: Likewise.
13876 * c-tree.h: Likewise.
13877 * c-typeck.c: Likewise.
13878 * objc/objc-act.c: Likewise.
13879 * objc/objc-act.h: Likewise.
13881 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13883 * m88k-protos.h: New file.
13885 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
13888 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
13890 * m88k.md: Likewise.
13892 * tekXD88.h: Likewise.
13894 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13896 * m68k-protos.h: New file.
13898 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
13901 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
13903 * mot3300.h: Likewise.
13905 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
13907 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
13909 (extract_bitlist): Declare bitlen.
13911 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
13913 * cccp.c: Accept and ignore -lang-fortran.
13915 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
13916 qualifiers don't match at any level of pointerness.
13918 2000-01-12 Robert Lipe <robertl@sco.com>
13920 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
13922 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
13924 * reload1.c (reload_reg_unavailable): New static variable.
13925 (reload_reg_free_p): Test it.
13926 (reload_reg_free_for_value_p): Test it instead of
13928 (choose_reload_regs_init): Compute it.
13930 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
13932 * reorg.c (fill_slots_from_thread): Check modified_in_p
13935 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
13937 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
13938 these nodes even if INTERNALS is not set.
13940 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
13942 * gcse.c (delete_null_pointer_checks_1): Cope when
13943 get_condition cannot determine the condition.
13945 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
13947 * toplev.h (set_message_length): Declare.
13949 * diagnostic.c (obstack_chunk_alloc): Define macro.
13950 (obstack_chunk_free): Likewise.
13951 (struct output_buffer): New data structure.
13952 (vmessage): Remove.
13953 (output_maximum_width): New variable.
13954 (doing_line_wrapping, set_message_length, init_output_buffer,
13955 get_output_prefix, output_space_left, emit_output_prefix,
13956 output_newline, output_append, output_puts, dump_output,
13957 vbuild_message_string, build_message_string, build_location_prefix,
13958 voutput_notice, output_printf, line_wrapper_printf,
13959 vline_wrapper_message_with_location): New functions. Implement
13960 automatic line wrapping.
13961 (v_message_with_decl): Make it handle automatic line wrapping.
13962 (v_error_with_file_and_line): Likewise.
13963 (v_warning_with_file_and_line): Likewise.
13964 (announce_function): Likewise.
13965 (default_print_error_function): Likewise.
13967 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
13969 * cpplib.h (struct cpp_options): Change lang_asm to char.
13971 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
13972 done in cpp_handle_option now.
13973 (initialize_builtins): Take out special case code used only by
13975 (cpp_handle_option): Turn off trigraphs and trigraph warnings
13976 if -traditional. Recognize -lang-fortran and set
13977 lang_fortran, also turn off cplusplus_comments.
13978 (print_help): Document -lang-fortran.
13979 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
13980 lang_asm. Ignore all directives other than `# 123 "file"' if
13982 (cpp_get_token): If -traditional, don't recognize directives
13983 unless the # is in column 1.
13984 (parse_string): If lang_fortran or lang_asm, silently
13985 terminate strings ('' or "") at end of line.
13986 Remove unnecessary braces.
13988 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13989 Richard Henderson <rth@cygnus.com>
13991 * resource.c (mark_referenced_resources): Mark a set strict_low_part
13993 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
13994 strict_low_part when possible.
13996 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13998 * alias.c: PROTO -> PARAMS.
13999 * basic-block.h: Likewise.
14000 * bitmap.c: Likewise.
14001 * bitmap.h: Likewise.
14002 * builtins.c: Likewise.
14003 * c-aux-info.c: Likewise.
14004 * caller-save.c: Likewise.
14005 * calls.c: Likewise.
14007 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14009 * Makefile.in (toplev.o): Depend on regs.h.
14011 * output.h (tdesc_section): Prototype.
14013 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
14015 * sdbout.c: Include "tm_p.h".
14017 * toplev.c: Include "regs.h".
14019 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
14021 * unroll.c (unroll_loop): Add EH support.
14023 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14025 * pa-protos.h: New file.
14027 * pa.c: Include recog.h and tm_p.h.
14028 (compute_zdepwi_operands, compute_movstrsi_length,
14029 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
14030 find_addr_reg, import_milli): Add static prototypes.
14031 (pa_cpu_string, pa_arch_string): Constify a char*.
14032 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
14033 (read_only_operand): Add argument `mode'.
14034 (singlemove_string, output_move_double, output_fp_move_double,
14035 output_block_move, output_and, output_ior, output_ascii,
14036 remove_useless_addtr_insns, milli_names, output_mul_insn,
14037 output_div_insn, output_mod_insn, output_arg_descriptor,
14038 output_cbranch, output_bb, output_bvb, output_dbra, ,
14039 output_millicode_call, output_call, hppa_encode_label,
14040 output_parallel_movb, output_parallel_addb): Constify a char*.
14041 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
14042 (output_parallel_addb): Remove extra arg to `constrain_operands'
14044 * pa.h: Move all prototypes to pa-protos.h.
14045 (pa_cpu_string, pa_arch_string): Constify a char*.
14046 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
14048 * pa.md: Call `function_label_operand' with mode argument.
14049 Likewise for `read_only_operand'.
14050 Fix nesting of parens in call to `symbolic_operand'.
14052 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14054 * i860-protos.h: New file.
14056 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
14059 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
14061 * i860.md: Likewise.
14063 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
14065 * i386.md (movstrsi expander): Rewrite.
14066 (movstrsi_1 insn): Deleted.
14067 (strmovhi, strmovqi expander): New expanders.
14068 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
14069 * i386.c (x86_single_stringop): New global variable.
14070 * i386.h (x86_single_stringop): Declare.
14071 (TARGET_SINGLE_STRINGOP): New macro.
14073 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14075 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
14076 integer vararg POSTINCREMENT before the destination of the jump
14077 for the hard fp case.
14078 (function_arg_pass_by_reference): Pass a copy of CUM to
14081 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
14082 for CONSTANT_ADDRESS_P above while loop for subreg.
14084 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14086 * flow.c (propagate_block): When a prologue/epilogue insn
14087 is marked dead, unconditionally clear libcall_is_dead and
14088 insn_is_dead, and only dump rtl if warnings aren't being
14091 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
14093 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
14094 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
14095 (FIXED_REGISTERS): Set dirflag as fixed.
14096 (CALL_USED_REGISTERS): Set dirflag as used.
14097 (REG_ALLOC_ORDER): Set dirflag as last one.
14098 (DIRFLAG_REG): New macro.
14099 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
14100 (HI_REGISTER_NAMES): Add dirflag.
14101 (DEBUF_PRINT_REG): Handle dirflag.
14102 * i386.md (type attribute): New cld and str types.
14103 (length_opcode attribute): Set cld and str to 1.
14104 (memory attribute): Set str to unknown - it is not clear from the
14106 (pent_np function unit): Prefixed string operations takes 12 cycles
14107 minimally; cld takes 2 cycles.
14108 (ppro_uops attribute): Str is "many" and cld is "few".
14109 (ppro_p0 unit): Handle cld here.
14110 (k6_alux unit): Handle cld and str types.
14111 (k6_load unit): It is ocupied by str opcodes.
14112 (k6_store unit): It is ocupied by str opcodes.
14113 (athlon_decode): Str is vector decoded.
14114 (athlon_ieu): Handle str and cld.
14115 (cld pattern): New.
14116 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
14117 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
14118 cmpstrsi_nz_1 insn): Do not output cld instruction
14120 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
14122 * gcc.texi (G++ and GCC): Add Java and Chill.
14123 (Bug Critera): Don't list languages.
14125 * gcc.texi (Incompatibilities): No longer claim most C compilers
14128 * gcc.texi (G++ and GCC): Update other front-ends list.
14130 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
14132 * i386.c (ix86_expand_setcc): Fix typo.
14133 (ix86_expand_movcc): Similarly.
14135 * Band-aid until haifa's bitset implementation is nuked.
14136 * haifa-sched.c (extract_bitlst): New parameter for size of the
14137 bitset in bits. All callers changed. Avoid looking at undefined
14138 bits in the bitset.
14139 (edgeset_bitsize): New variable.
14140 (schedule_region): Initialize edgeset_bitsize.
14142 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14144 * Makefile.in (optabs.o): Depend on real.h
14145 (resource.o): Depend on insn-attr.h
14147 * builtins.c (result_vector): Wrap prototype in macro conditions
14148 governing definition and use.
14150 * c-common.c: Include tm_p.h.
14152 * c-lex.c: Likewise.
14154 * elfos.h: Constify a char*.
14156 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
14157 (get_attr_length, shorten_branches, profile_after_prologue): Mark
14158 parameter with ATTRIBUTE_UNUSED.
14160 * fold-const.c (exact_real_inverse): Wrap variable `i' in
14163 * haifa-sched.c (schedule_insns): Mark parameter with
14166 * optabs.c: Include real.h.
14168 * real.h (ereal_atof): Add prototype arguments.
14170 * resource.c: Include insn-attr.h.
14172 * sdbout.c (sdbout_queue_anonymous_type,
14173 sdbout_dequeue_anonymous_types): Wrap in macro
14174 SDB_ALLOW_FORWARD_REFERENCES.
14175 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
14178 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
14180 * stupid.c: Include tm_p.h.
14182 * tree.c (real_value_from_int_cst): Mark parameter with
14185 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14187 * i960-protos.h: New file.
14189 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
14192 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
14194 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14196 * combine.c (expand_field_assignment): Do not discard SUBREGs
14197 while computing nonzero_bits.
14199 2000-01-09 Nick Clifton <nickc@cygnus.com>
14201 * config/arm/arm.c: Fix compile time warnings about signed vs
14202 unsigned constants.
14203 * config/arm/arm.h: Fix compile time warnings about signed vs
14204 unsigned constants.
14206 2000-01-09 Philip Blundell <philb@gnu.org>
14208 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
14209 than `ldm' with only one register.
14210 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
14213 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
14216 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
14218 * config/ns32k/ns32k.md (load or push effective address): Operand 1
14221 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14223 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
14224 assignment used as truth value.
14226 * function.c (assign_temp): Mark parameter `dont_promote' with
14227 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
14228 PROMOTE_FOR_CALL_ONLY.
14230 * genrecog.c (write_subroutine): Mark variable `operands' with
14233 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
14236 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
14237 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
14239 * toplev.c (note_deferral_of_defined_inline_function): Likewise
14242 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14244 * config/c4x.h: Tidy up comments.
14245 * config/c4x.c: Likewise.
14247 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
14249 * fold-const.c (lshift_double, rshift_double): Handle
14250 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
14252 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14254 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
14255 in prepare_function_start().
14257 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
14259 * config/v850/v850.c (expand_epilogue): Interrupt functions no
14260 longer allocate extra stack for function calls.
14262 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14264 * config/c4x/c4x.md (*subqf3_set): Fix typo.
14266 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14268 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
14270 2000-01-07 David Edelsohn <edelsohn@gnu.org>
14272 * rs6000.c (processor_target_table): Add power3 as alias for 630.
14273 * aix43.h: Revert Aug 2 change.
14274 (HAS_INIT_SECTION): Define, not visible yet.
14275 (LD_INIT_SWITCH): Define, not visible yet.
14276 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
14278 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
14280 * collect2.c (main): Expand ld2 size further.
14281 (export_object_lst): Cast assignment to avoid warning.
14282 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
14283 (scan_prog_file, COFF): Do not collect initialization or
14284 finalization functions generated for entire shared object if
14285 init/fini support present.
14287 2000-01-07 Nick Clifton <nickc@cygnus.com>
14289 * config/elfos.h: Tidy up formatting of marcos. Make sure
14290 that .section directives are always prefixed by a tab.
14292 * config/svr4.h: Add #include "elfos.h" and remove duplicate
14295 2000-01-07 Matt Austern <austern@sgi.com>
14297 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
14300 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
14302 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
14304 (crtbegin.o, s-crtS): Likewise.
14306 2000-01-06 Richard Henderson <rth@cygnus.com>
14308 * alpha.md (adddi_2+1): Limit offset such that it will be
14309 loadable with a single ldah+lda pair.
14310 (adddi_2+2): Explicitly fail split if we can't make it work.
14312 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
14314 * protoize.c: Conditionally include unistd.h.
14315 (IS_SAME_PATH_CHAR): New macro.
14316 (IS_SAME_PATH): New macro.
14317 (CPLUS_FILE_SUFFIX): New macro.
14318 (cplus_suffix): New static variable.
14319 (is_abspath): New static function.
14320 (in_system_include_dir): Handle DOS style pathnames.
14321 (file_could_be_converted): Likewise.
14322 (file_normally_convertible): Likewise.
14323 (directory_specified_p): Likewise.
14324 (file_excluded_p): Likewise.
14325 (abspath): Likewise.
14326 (shortpath): Likewise.
14327 (referenced_file_is_newer): Likewise.
14328 (save_def_or_dec): Likewise.
14329 (do_processing): Likewise.
14331 (edit_file): Likewise. Use rename instead of link.
14332 (rename_c_file): Likewise. Don't rename syscalls file.
14333 (munge_compile_params): Define null device for DOS based systems.
14334 (process_aux_info_file): Use binary mode if appliable.
14335 (edit_file): Likewise.
14336 * invoke.texi (Running Protoize): Document C++ suffixes used.
14338 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
14339 IS_DIR_SEPARATOR macros.
14340 * collect2.c: Likewise.
14341 * cppinit.c: Likewise.
14342 * dwarf2out.c: Likewise.
14344 * gcov.c: Likewise.
14345 * prefix.c: Likewise.
14347 * toplev.c: Likewise.
14348 * system.h: And move to here.
14350 * prefix.c (update_path): Fix typo in variable name.
14352 2000-01-06 Richard Henderson <rth@cygnus.com>
14354 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
14355 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
14356 (count_reg_sets_1, count_reg_references): Likewise.
14357 (flow_loops_level_compute): Start counting actual loop depth at 1.
14358 (flow_loops_find): Likewise.
14359 * local-alloc.c (update_equiv_regs): Likewise.
14360 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
14362 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14364 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
14365 FIRST_PSEUDO_REGISTER
14366 * dwarf2out.c: Don't include frame.h
14367 * dwarfout.c: Likewise
14368 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
14371 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
14373 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
14376 * i386.c (movsf splitter): Fix typo in my last checkin.
14378 2000-01-05 Nick Clifton <nickc@cygnus.com>
14380 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
14381 own definition of this macro.
14382 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
14383 flag_data_sections or UNIQUE_SECTION_P are true.
14385 * tm.texi (UNIQUE_SECTION): Document that it can be called for
14386 unitialised data decls.
14388 * config/i386/winnt.c (i386_pe_unique_section): Cope with
14389 being called for uninitialised data.
14391 * config/i386/interix.c (i386_pe_unique_section): Cope with
14392 being called for uninitialised data.
14394 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
14395 for uninitialised data.
14397 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
14398 for uninitialised data.
14400 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
14401 for uninitialised data.
14403 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
14404 (UNIQUE_SECTION_P): Always generate a unique section if
14405 flag_data_sections is true.
14406 (UNIQUE_SECTION): Also generate unique sections for
14407 uninitialised data.
14408 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
14409 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
14412 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14414 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
14417 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14419 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
14420 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
14421 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
14422 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
14423 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
14425 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
14427 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14429 * c-decl.c (finish_enum): Simplify code to determine minimum and
14430 maximum values of the enum, and calculate the type. Remove check
14431 for FUNCTION_DECLs in the values list, which cannot happen. Replace
14432 the DECL_INITIAL of each enumeration constant with a copy converted
14433 to the enumeration type. When updating variant types, don't bother
14434 updating the type itself.
14436 * c-typeck.c (build_binary_op): Simplify conditional expressions
14437 when weeding out spurious signed-unsigned warnings. Add new
14438 spurious warning category: if the unsigned quantity is an enum
14439 and its maximum value fits in signed_type(result_type). Update
14441 (build_conditional_expr): Warn here if one alternative is signed
14442 and the other is unsigned.
14444 2000-01-05 Nick Clifton <nickc@cygnus.com>
14446 * config/fr30/fr30.h: Remove extraneous comments.
14448 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
14450 * reload1.c (choose_reload_regs): When disabling a reload, also
14451 set reload_spill_index to -1.
14453 2000-01-04 Joel Sherrill (joel@OARcorp.com>
14455 * configure.in (m68*-*-rtemscoff*): New target, formal name for
14457 (m68*-*-rtemself*): New target.
14458 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
14459 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
14460 (sparc*-*-rtemself*): New target.
14461 (sparc*-*-rtems*): Now elf not a.out.
14462 * config/i386/rtems.h: Include config/rtems.h.
14463 * config/i386/rtemself.h: Include config/rtems.h.
14464 * config/i960/rtems.h: Include config/rtems.h.
14465 * config/m68k/rtems.h: Include config/rtems.h.
14466 * config/m68k/rtemself.h: Include config/rtems.h.
14467 * config/mips/rtems64.h: Include config/rtems.h.
14468 * config/pa/rtems.h: Include config/rtems.h.
14469 * config/rs6000/rtems.h: Include config/rtems.h.
14470 * config/sh/rtems.h: Include config/rtems.h.
14471 * config/sh/rtemself.h: Include config/rtems.h.
14472 * config/sparc/rtems.h: Include config/rtems.h.
14473 * config/sparc/rtemself.h: Include config/rtems.h
14475 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
14477 * final.c (shorten_branches): Correctly compute length of
14478 asms without operands.
14480 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
14482 * configure.in: Add pj target.
14483 * configure: Regenerate.
14484 * config/pj: New directory.
14485 * config/pj/lib1funcs.S: New file.
14486 * config/pj/linux.h: New file.
14487 * config/pj/pj.c: New file.
14488 * config/pj/pj.md: New file.
14489 * config/pj/pjl.h: New file.
14490 * config/pj/t-pj: New file.
14491 * config/pj/xm-pj.h: New file
14493 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
14495 * toplev.c (rest_of_compilation): Run shorten-branches before
14498 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14500 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
14501 macros so that they're consistent with their names.
14502 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14503 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14505 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14507 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
14508 modified inadvertently.
14510 2000-01-04 Joel Sherrill <joel@OARcorp.com>
14512 * configure.in (v850*-*-rtems*): New target.
14513 * configure: Regenerate.
14514 * config/v850/rtems.h: New file.
14516 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
14518 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
14519 (__gthread_key_create): Likewise.
14520 (__gthread_key_dtor): Likewise.
14521 (__gthread_once): Fix logic.
14522 (__gthread_key_delete): Cast away constness.
14524 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
14525 * invoke.texi: Document.
14526 * i386/mingw32.h (CPP_SPEC): Use.
14527 (LIBGCC_SPEC): Likewise.
14528 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
14530 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14532 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
14533 (HANDLE_PRAGMA_PACK): Undefine.
14534 (SLOW_UNALIGNED_ACCESS): Define.
14536 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14538 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14539 to default definition.
14540 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
14541 (store_fixed_bit_field): Call macro with word_mode and alignment.
14542 (extract_bit_field): Call macro with relevant mode and alignment.
14543 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14544 to default definition.
14545 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
14547 (move_by_pieces_ninsns): Likewise.
14548 (clear_by_pieces): Likewise.
14549 (emit_push_insn): Likewise.
14550 (store_field): Call macro with relevant mode and alignment.
14551 (expand_expr): Likewise.
14552 (expand_expr_unaligned): Likewise.
14554 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
14555 (SLOW_UNALIGNED_ACCESS): Define.
14556 (CASE_VECTOR_MODE): Always use 32-bit offsets.
14557 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
14558 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
14559 (toc_section): Likewise and .toc pseudo-op.
14560 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
14562 (TEXT_SECTION_ASM_OP): Likewise.
14563 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
14566 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
14567 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
14568 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
14569 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
14570 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
14572 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
14574 * regclass.c: Revert my Jan 4 change to loop cost computation.
14576 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14578 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
14581 2000-01-04 Stan Cox <scox@cygnus.com>
14583 * haifa-sched.c (build_control_flow): Change unreachable simple
14584 loop test to check if current block has only one predecessor.
14585 (find_rgns): Initialize degree. Use dest as degree index, not src.
14587 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14589 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
14591 * calls.c (expand_call): Likewise for
14592 `old_stack_arg_under_construction'.
14594 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
14596 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
14599 * gcc.c (execute): Likewise for `ut' and `st'.
14601 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
14603 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
14605 * jump.c (jump_optimize_1): Likewise for `temp2'.
14607 * local-alloc.c (block_alloc): Likewise for `r1'.
14609 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
14611 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
14612 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
14614 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
14617 * reload.c (find_reloads): Likewise for `goal_alternative_number'
14618 and `goal_earlyclobber'.
14620 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
14622 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
14624 * stupid.c (stupid_life_analysis): Likewise for `chain'.
14626 * unroll.c (copy_loop_body): Likewise for `copy'.
14628 * varasm.c (output_constructor): Likewise for `byte'.
14630 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14632 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
14633 all FP constants for constant->reg moves.
14634 (ix86_split_to_parts): Try to convert memory address into immediate
14635 when available in the constant pool.
14636 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
14638 (LEGITIMATE_CONSTANT_P): Return 1.
14639 * i386.md (pushsf): New splitter to convert constant pool memory
14640 reference to immediate.
14641 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
14644 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
14646 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
14647 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
14648 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
14649 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
14650 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
14652 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
14654 * ginclude/stdbool.h: Support compilation as C++.
14656 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14658 * fold-const.c (make_range): Don't try to reverse an unbounded range.
14660 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
14662 * regclass.c (regclass): Properly compute loop_cost. Adjust
14665 * regclass.c: Fix minor whitespace problems.
14667 2000-01-03 Anthony Green <green@cygnus.com>
14669 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
14670 Restore the pic register if required.
14672 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
14674 * c-common.c (format_char_info): Update comment.
14675 (check_format_info): Recognize 'z' modifier in the same way 'Z'
14676 was recognized. Emit warning for formats new in ISO C99 only
14677 if flag_isoc9x is not set.
14679 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
14681 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
14683 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14685 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
14686 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
14687 (make_compound_operation): Choose cheaper alternative between
14688 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
14690 * regclass.c (op_costs): Remove global variable.
14691 (record_reg_classes): New parameter "op_costs" and "reg_pref".
14692 (record_operand_costs): Break out from ...
14693 (scan_one_insn): ... here.
14694 (dump_regclass): Make dumps nicer.
14695 (regclass): Dump preferrences choosed and changes done during passes.
14697 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14699 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
14701 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14703 * config/sparc/sparc.c (gen_df_reg): New function.
14704 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
14705 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
14706 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
14707 movtf_cc_reg_sp64+1): Use it.
14709 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14711 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
14712 copied LABEL_DECLs.
14714 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
14716 * config/i386/i386.c (ix86_expand_unary_operator): Function
14717 definition made void.
14718 (ix86_expand_binary_operator): Update outdated preceding comment.
14719 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
14722 * config/i386/i386.c (override_options): Fix option-name typo.
14724 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14726 * system.h (CEIL): Define.
14727 * builtins.c (CEIL): Remove.
14728 * expmed.c (CEIL): Likewise.
14729 * expr.c (CEIL): Likewise.
14730 * stor-layout.c (CEIL): Likewise.
14732 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14734 * expr.c (store_constructor_field): Fix typo introduced with last
14737 2000-01-01 Mark Mitchell <mark@codesourcery.com>
14739 * tree.h (BINFO_N_BASETYPES): New macro.
14741 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
14743 * expmed.c (emit_store_flag): Prevent losing a pending stack
14744 adjust the same way we prevent losing queued increments.
14746 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14748 * function.c (update_temp_slot_address): Handle case where sum of
14749 temporary address plus offset in register is a valid address.
14751 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14753 * genrecog.c (change_state) Corrected typo.
14755 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14757 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
14758 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
14759 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
14761 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
14763 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
14764 case, expand GT comparisons correctly. Fix a comment before this
14767 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14769 * dwarfout.c: Include "frame.h"
14770 * dwarf2out.c: Likewise.
14771 * Makefile.in (dwarfout.o): Depend on frame.h
14772 (dwarf2out.o): Likewise.
14774 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
14776 Restore i386 binary compatibility in Dwarf EH info.
14777 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14778 value of FIRST_PSEUDO_REGISTER.
14779 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14780 (struct frame_state): Use DWARF_FRAME_REGISTERS.
14781 * dwarfout.c (output_reg_number): Ditto.
14782 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14783 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14785 1999-12-29 Bruce Korb <autogen@linuxbox.com>
14787 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14788 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14789 (<hack>_RE_CT): not needed
14790 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14791 rewritten to scan the file text once only
14792 "template<..." test added
14793 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14794 (is_cxx_header): declaration added
14795 * fixinc/fixtests.c(is_cxx_header): removed
14796 (apply_fix_p_t): removed
14797 (double_slash_test): is_cxx_header is only called once now
14798 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14799 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14800 within the templates.
14801 The borken spelling of "broken" was fixed.
14802 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14803 The default level depends on FIXINC_DEBUG.
14805 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14807 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
14808 Otherwise provide a declaration for atexit.
14809 (init_dummy): Make sure dummy call to atexit is nevertheless
14810 called with correct number of args.
14812 * frame.c: Update comments referring to other files.
14814 * libgcc2.c: Likewise.
14816 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14818 * cse.c (free_element, get_element): Remove unused prototypes.
14820 * fold-const.c (extract_muldiv): Initialize variables `op0' and
14823 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
14826 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
14828 * configure.in,configure: case arm for mn10200-*-* now sets
14829 float_format=i32 so that float.h will correctly claim "double"
14830 to be 32 bits. Ran autoconf to generate configure from .in file.
14832 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
14834 * pa.md (conditional zero): If op1 is a register, force it into
14835 the same register as op0.
14837 1999-12-28 Mark Mitchell <mark@codesourcery.com>
14839 * tree.h (BINFO_BASETYPES): Improve documentation.
14841 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14843 * configure.in (--enable-checking): Use a more portable `for'
14846 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14848 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
14849 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
14851 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
14854 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
14855 Delete descriptions.
14857 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
14858 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
14859 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
14860 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
14861 xm-svr4.h: Remove all instances of sys_siglist handling.
14863 1999-12-27 Jakub Jelinek <jakub@redhat.com>
14865 * config/sparc/sparc.md (cmp_zero_qi,
14866 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
14867 cmp_zero_extendqidi2_andcc_set): New patterns.
14869 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
14871 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
14872 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
14873 (fpgnulib.c, xfgnulib.c): Add rules.
14874 * m68k/t-mot3300-gas: Likewise.
14876 1999-12-27 Ian Lance Taylor <ian@zembu.com>
14878 * configure.in: Avoid [[ by using test and changequote. Add
14879 changequote required by 1999-12-14 change.
14880 * configure: Rebuild.
14882 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
14884 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
14886 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
14888 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
14889 * flow.c (find_use_as_address): Likewise.
14890 * function.c (fixup_var_refs_1): Likewise.
14891 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
14892 * jump.c (invert_exp, redirect_exp): Likewise.
14893 * loop.c (replace_call_address): Likewise.
14894 (count_nonfixed_reads): Likewise.
14895 * rtlanal.c (modified_between_p): Likewise.
14896 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
14897 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
14898 * unroll.c (remap_split_bivs): Likewise.
14900 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14902 * diagnostic.c (v_message_with_decl): Use .* format specifier
14903 instead of building the format specifier width manually.
14905 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
14906 determining whether to provide a prototype. Remove the
14907 sys_siglist clause in the conditional.
14909 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14911 * fold-const.c (operand_equal_p): Use memcmp to compare string
14913 Suggested by D. J. Bernstein
14915 1999-12-17 Jakub Jelinek <jakub@redhat.com>
14917 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
14918 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
14920 * config/mips/mips.h (TARGET_64BIT): Likewise.
14921 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
14922 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
14923 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
14924 dsps. Give routines proper names if SI/DI modes are not used.
14925 * longlong.h: Use DWunion instead of DIunion.
14927 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
14929 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
14930 GC_CHECKING, GC_ALWAYS_COLLECT.
14931 * configure.in: Allow --enable-checking with an argument
14932 listing check modes to enable.
14933 * config.in, configure: Rebuilt.
14934 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
14935 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
14936 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
14937 ENABLE_GC_ALWAYS_COLLECT.
14938 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
14940 * tree.h, tree.c: Change ENABLE_CHECKING to
14941 ENABLE_TREE_CHECKING throughout.
14943 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14945 * fold-const.c (fold_truthop): Properly check for FP RHS.
14947 1999-12-24 Mark Mitchell <mark@codesourcery.com>
14949 * toplev.h (note_deferall_of_defined_inline_function): Declare.
14950 * toplev.c (note_deferral_of_defined_inline_function): New
14951 function, split out from ...
14952 (rest_of_compilation): ... here. Use it.
14954 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14956 * expr.c (store_constructor): Don't call clear_storage if size is
14959 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14961 * Makefile.in (toplev.o): Depend on loop.h.
14963 * dwarfout.c: Include tm_p.h.
14965 * emit-rtl.c (restore_emit_status): Mark parameter with
14968 * final.c (final_scan_insn): Likewise.
14970 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
14971 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
14972 flow_depth_first_order_compute, flow_loop_pre_header_find,
14973 flow_loop_tree_node_add, flow_loops_tree_build,
14974 flow_loop_level_compute, flow_loops_level_compute,
14975 flow_loop_outside_edge_p): Add prototypes.
14976 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
14978 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
14979 Mark with ATTRIBUTE_NORETURN.
14981 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
14983 * local-alloc.c (no_conflict_p): Likewise.
14985 * loop.c (insert_bct): Hide definitions of variables with hidden
14987 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
14989 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
14990 with ATTRIBUTE_UNUSED.
14991 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
14992 (reg_scan): Likewise.
14994 * reload.c (find_reloads): Remove unused variables `changed'.
14996 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
14998 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
14999 Remove unused variable `insn'.
15001 * toplev.c: Include loop.h.
15002 (report_file_and_line): Remove unnecessary prototype.
15004 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
15006 * unroll.c (biv_total_increment): Likewise.
15008 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15010 * reload1.c (emit_input_reload_insns): Restore old behaviour
15011 wrt. 'special' reloads.
15013 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
15015 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
15016 hash.h. (cse.c): Don't depend on hashtab.h.
15018 * cse.c: Don't include hashtab.h.
15019 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
15021 * ggc-simple.c: Don't include hash.h.
15023 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
15025 * dwarf2out.c (add_abstract_origin_attribute): Call
15026 gen_abstract_function on our function context.
15028 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
15030 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
15032 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15034 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
15037 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15039 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
15040 constraints to "a!r".
15042 1999-12-21 Mark Mitchell <mark@codesourcery.com>
15044 * Makefile.in (calls.o): Depend on function.h.
15045 (alias.o): Likewise.
15047 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
15049 * reload1.c (emit_reload_insns): Break out code and variables into...
15050 (input_reload_insns, other_input_address_reload_insns,
15051 other_input_reload_insns, input_address_reload_insns,
15052 inpaddr_address_reload_insns, output_reload_insns,
15053 output_address_reload_insns, outaddr_address_reload_insns,
15054 operand_reload_insns, other_operand_reload_insns,
15055 other_output_reload_insns): ... new static variables, and...
15056 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
15057 do_output_reload): ... new functions.
15059 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15061 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
15063 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15065 * md.texi: Add c4x constraints documentation.
15067 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15069 * config/i386/dgux.c (struct option): Rename to
15070 lang_independent_option.
15071 (struct m_options): Add description field.
15072 (output_options): Rename option type, add sep declaration, output
15073 ix86_cpu_string and ix86_arch_string only if set.
15074 (output_file_start): Rename option type.
15076 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
15078 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
15080 (libgcc2.a): Similarly.
15082 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
15084 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
15085 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
15086 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
15088 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
15090 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
15091 Remove redundant initialization of "frexpon" and "expon".
15093 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15095 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
15097 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
15098 (store_constructor_field, expand_expr): Pass new arg.
15100 1999-12-20 Mark Mitchell <mark@codesourcery.com>
15102 * Makefile.in (explow.o): Depend on function.h.
15104 * stor-layout.c (set_sizetype): Fix typo.
15106 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
15108 * function.c (cfun): Renamed from current_function. All users
15110 * function.h (cfun): Rename declaration as well.
15112 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
15113 to be of type regset_head, not regset. All users changed by adding
15115 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
15117 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15119 * config/c4x/rtems.h: New file.
15121 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
15123 * reload1.c (spill_failure): Take class of failed reload as argument
15124 and print it. Caller changed.
15126 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15128 * rs6000.h (SUBTARGET_DEFAULT): New macro.
15129 (TARGET_SWITCHES): Allow subtargets to default switches.
15130 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
15132 1999-12-18 Mark Mitchell <mark@codesourcery.com>
15134 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
15137 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
15139 * cccp.c (main): Define __STDC_VERSION__ as necessary.
15140 * cppinit.c (cpp_handle_option): Likewise.
15142 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
15143 determine when to define.
15145 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
15147 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
15148 cmove with mismatched test and data modes.
15150 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
15152 * c-typeck.c (c_expand_start_case): Don't warn for long switch
15155 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15157 * alias.c: Minor reformatting.
15158 * flow.c: Likewise.
15159 * regs.h: Likewise.
15160 * stor-layout.c: Likewise.
15161 * fold-const.c: Likewise.
15162 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
15163 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
15165 (size_int_wide): Cache nodes even if garbage collecting.
15166 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
15167 of SAVE_EXPR has no side effects.
15168 * cse.c: Move a comment.
15169 * tree.c: Minor reformatting.
15170 (int_size_in_bytes): Return -1 if constant overflows.
15172 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15174 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
15176 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
15178 * objc/objc-parse.c: Regenerate. This file must be rebuilt
15179 after any change to c-parse.in, even if objc-parse.y didn't
15182 1999-12-18 David S. Miller <davem@redhat.com>
15184 * toplev.c (rest_of_compilation): Restore BLOCK tree
15185 reconstruction and branch shortening changes lost in
15186 December 18th change.
15188 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
15190 * config/arm/linux-elf.h: Change all instances of
15191 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
15192 * config/arm/uclinux-elf.h: Likewise.
15194 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
15196 * toplev.c (notice, vmessage, v_message_with_file_and_line,
15197 v_message_with_decl, file_and_line_for_asm,
15198 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
15199 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
15200 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
15201 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
15202 pfatal_with_name, fatal_io_error, need_error_newline,
15203 last_error_function, last_error_tick, announce_function,
15204 default_print_error_function, print_error_function,
15205 report_error_function, fnotice, error_with_file_and_line,
15206 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
15207 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
15208 warning_with_decl, warning_for_asm, warning, pedwarn,
15209 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
15211 (compile_file): Use fnotice instead of notice. Adjust call.
15213 * diagnostic.c: New file.
15215 * Makefile.in (OBJS): Include diagnostic.o
15216 (diagnostic.o): Define dependence.
15218 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15220 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
15223 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15225 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
15227 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
15229 * fixtests.c (is_cxx_header): New fn, split out of
15231 (else_endif_label): Allow "#endif // comment" in C++ headers,
15232 as determined by is_cxx_header.
15233 * fixfixes.c (else_endif_label_fix): Update comment.
15234 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
15236 * genfixes: Correct double thinko in commandline parsing.
15237 * hackshell.tpl: Generate correct sh syntax for bypass
15240 * inclhack.def (all): Whenever an inserted preprocessor
15241 conditional is split over multiple lines, use double
15242 backslashes in this file so the fixed header will be readable.
15244 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
15245 and add bypass entry for correct version of this header.
15246 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
15247 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
15249 (hpux8_bogus_inlines): New fix, split from...
15250 (ultrix_atof_param) ... here.
15251 (math_expression): Add bypass entry keyed to glibc comment
15252 indicating the problem has been dealt with; disable
15253 unnecessary sed operations; update commentary.
15254 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
15255 add select and bypass entries, simplify shell operation.
15256 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
15258 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
15259 ultrix_atof_param): Add select entry.
15260 (stdio_va_list, sunos_mather_decl): Add bypass entry.
15261 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
15262 comments with the fixes they describe.
15264 * c-parse.in (string action): Do not warn about ANSI string
15265 concatenation in system headers. Affects C parser only.
15266 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
15268 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15270 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
15271 compiling libgcc2 the macro depends always on arch cpp defines.
15273 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
15275 * loop.c (insert_loop_mem): Don't record MEMs from inside
15278 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
15280 * regclass.c (regclass): Do not use flowgraph when not optimizing.
15282 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
15283 notes too, create one when replacement failed, attempt to simplify
15285 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
15286 or REG_EQUIV notes.
15288 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15290 * crtstuff.c (__dso_handle): Declare.
15291 (__cxa_finalize): Likewise.
15292 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
15295 * invoke.texi: Document -fuse-cxa-atexit.
15297 * tree.h (ptr_type_node): Document.
15298 (const_ptr_type_node): Likewise.
15300 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15302 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
15303 (optimize_reg_copy_2): Likewise.
15304 (optimize_reg_copy_3): Likewise.
15305 (fixup_match_2): Likewise.
15306 (regmove_optimize): Likewise.
15307 (fixup_match_1): Liekwise.
15309 * i386.md (HI to SImode promoting splitters): Rewrite.
15310 (pushsf mem peep2): New.
15311 (testhi to andhi peep2): Remove.
15312 * i386.h (x86_promote_QImode): New.
15313 (TARGET_PROMOTE_QImode): New.
15314 (PREDICATE_CODES): Add promotable_binary_operator.
15315 * i386.c (x86_promote_QImode0: New.
15316 (promotable_binary_operator): New.
15317 * i386-protos.h (promotable_binary_operator): New.
15319 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
15321 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
15323 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15325 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
15326 * function.c (insert_block_after_note): Remove.
15327 (retrofit_block): Likewise.
15328 (identify_blocks): Fix indentation.
15329 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
15330 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
15331 * function.h (insert_block_after_note): Remove prototype.
15332 (retrofit_block): Likewise.
15333 * integrate.c (expand_inline_function): Don't call
15334 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
15335 just expand_start_bindings. Use the block_map to remap old
15336 NOTE_BLOCKs to new ones.
15337 (integrate_decl_tree): Keep track of remapped blocks.
15338 * integrate.h (struct inline_remap): Add block_map.
15339 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
15340 NOTE_BLOCK on the notes.
15341 (expand_start_bindings): Rename to ...
15342 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
15343 (expand_end_bindings): Set NOTE_BLOCK.
15344 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
15345 reconstruct the BLOCK tree.
15346 * tree.h (expand_start_bindings): Macroize. Call ...
15347 (expand_start_bindings_and_block): New function.
15349 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15351 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
15352 to match the format.
15354 1999-12-16 David S. Miller <davem@redhat.com>
15356 * expr.c (emit_move_insn_1): Only emit clobbers if one of
15357 the outputs is a SUBREG.
15358 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
15361 * config/sparc/sparc.c (epilogue_renumber): Add default case
15364 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15366 * toplev.c (rest_of_compilation): Run branch shortening after
15369 * regclass.c (loop_depth): Remove
15370 (scan_one_insn): Do not handle LOOP_NOTE insns.
15371 (regclass): Go through basic blocks and set loop_cost
15373 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
15375 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
15377 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15379 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
15380 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
15381 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
15383 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
15385 * loop.c (insert_loop_mem): Ignore memory clobbers.
15387 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
15390 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
15392 * profile.c: Remove redundant #include "output.h".
15394 * h8300.md (HImode preinc peephole): Fix typo.
15396 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15398 * function.c (retrofit_block): Abort if we don't find a suitable insn.
15399 (insert_block_after_note): Abort if we don't have a previous block.
15400 Remove FN parameter.
15401 * function.h: Adjust.
15403 1999-12-15 Mark Mitchell <mark@codesourcery.com>
15405 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
15406 argument more than once.
15408 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15410 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
15412 1999-12-15 Jakub Jelinek <jakub@redhat.com>
15414 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
15416 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15418 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
15419 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
15420 update stack_alignment_needed.
15421 (prepare_function_start): Initialize stack_alignment_needed
15422 * function.h (struct function): Add field stack_alignment_needed.
15424 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15426 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
15427 Handle live_throughout / dead_or_set instead of live_before /
15429 (save_call_clobbered_regs): Get register livenessinformation from
15430 chain->live_throughout.
15431 (add_stored_regs): New function.
15432 (insert_restore, insert_save): Add restored / saved registers to
15434 * global.c (reg_dies): New parameter chain.
15435 (reg_becomes_live): Third parameter is regs_set now.
15436 Changed all callers.
15437 (reg_dies): New parameter chain. Changed all callers.
15438 (build_insn_chain): Set live_throughout instead of
15439 live_before / live_after.
15440 * reload.h (struct insn_chain): Replace members live_before /
15441 live_after with live_throughout / dead_or_set.
15442 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
15443 instead of live_before / live_after.
15444 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
15445 (order_regs_for_reload, find_reg, finish_spills): Likewise.
15446 (choose_reload_regs_init): Likewise.
15447 * stupid.c (current_chain, find_clobbered_regs): Delete.
15448 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
15449 instead of chain->live_before / chain->live_after.
15450 (mark_hard_ref): New function.
15451 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
15453 1999-12-15 David S. Miller <davem@redhat.com>
15455 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
15457 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15459 * flow.c (calculate_loop_depth): Make global, remove prototype,
15460 rewrite to use new loop infrastructure.
15461 (find_basic_block): Remove calculate_loop_depth call.
15462 * toplev.c (rest_of_compilation): Call find_basic_block.
15463 * output.h (calculate_loop_depth): Declare.
15465 * flow.c (dump_flow_info): Dump loop_depth.
15466 (flow_loops_nodes_find): Increase loop_depth for basic block in the
15468 (flow_loops_find): Initialize the loop_depth for each basic block.
15470 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15472 * tree.c (decl_function_context): Handle virtual functions.
15474 * tlink.c (scan_linker_output): Don't look in demangled name when
15475 looking for linker output keywords.
15477 * dwarfout.c (output_type): We can defer namespace-scope classes.
15479 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
15481 * regclass.c (record_reg_classes): Update comment for merging
15482 register class preferences in reg->reg copies. Tighten conditions
15483 for merging register class preferences in reg->reg copies.
15485 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
15487 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
15489 1999-12-14 Geoff Keating <geoffk@cygnus.com>
15491 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
15492 (INIT_SECTION_ASM_OP): Delete.
15493 (FINI_SECTION_ASM_OP): Delete.
15494 (STARTFILE_SPEC): Define to hold just crtbegin.o.
15496 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
15498 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
15499 the abstract origin wasn't emitted.
15501 * dwarf2out.c (class_scope_p): New fn.
15502 (gen_subprogram_die): Use it.
15503 (gen_variable_die): Use it. Tweak logic.
15504 (gen_struct_or_union_type_die): Check context_die to determine
15505 if we're function-local.
15506 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
15508 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15510 * loop.c (check_dbra_loop): Can't reverse a biv that has
15511 maybe_multiple set.
15513 1999-12-14 Nick Clifton <nickc@cygnus.com>
15515 * config/arm/arm.c: Add support for -mcpu=arm720 command line
15518 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15520 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
15521 for givs made from biv increments.
15523 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
15525 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
15526 * alpha.c (override_options): Recognize -mcpu=ev67.
15527 * alpha.h (CPP_CPU_EV67_SPEC): New.
15528 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
15529 (EXTRA_SPECS): Update.
15531 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
15533 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
15534 appropriate for -lang-c89 and -std=*.
15535 * cppinit.c (cpp_handle_option): Likewise.
15536 (new_pending_define): New, split out from cpp_handle_option.
15537 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
15538 or enable trigraphs for -ansi/-std=*.
15540 * ginclude/stdarg.h (__va_copy): New.
15541 (va_copy): Don't define for C89.
15543 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
15545 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
15546 for long long multiply-accumulate.
15548 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15550 * regclass.c (scan_one_insn): Set loop_cost to 1 when
15551 optimizing for size.
15553 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15555 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
15556 if something changed. Back out that part of yesterday's changes.
15558 * loop.c (loop_max_reg): New static variable.
15559 (loop_optimize): Initialize it. Eliminate one unnecessary call to
15561 (scan_loop): Call reg_scan_update whenever we may have added new
15562 registers, and update loop_max_reg.
15564 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15566 * regclass.c (record_reg_classes): Do not do the copying preferrencing
15567 when source does not die.
15569 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
15571 1999-12-14 Jakub Jelinek <jakub@redhat.com>
15573 * config/sparc/linux64.h (TARGET_LIVE_G0,
15574 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
15576 * config/sparc/linux.h (TARGET_LIVE_G0,
15577 TARGET_BROKEN_SAVERESTORE): Likewise.
15578 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
15579 TARGET_BROKEN_SAVERESTORE): Likewise.
15581 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
15582 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
15584 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
15585 as sparc64 block profiling register.
15586 * config/sparc/sparc.c (sparc_override_options): Allow block
15587 profiling with -m32.
15588 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
15589 profiling register.
15590 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
15591 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
15592 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
15594 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
15596 * config/sparc/sparc.h: Likewise.
15597 * config/sparc/xm-sysv4-64.h: Likewise.
15598 * config/float-sparc.h: Likewise.
15599 * glimits.h: Likewise.
15600 * longlong.h: Likewise.
15602 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
15603 (ASM_IDENTIFY_GCC): Remove.
15605 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15607 * combine.c (combine_simplify_rtx): Don't make shared rtl.
15608 (simplify_logical): Likewise.
15610 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15612 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
15613 * cppfiles.c (INO_T_EQ): Likewise.
15615 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15617 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
15618 * i386/mingw32.h (LIB_SPEC): Likewise.
15619 (STARTFILE_SPEC): Likewise.
15620 * i386/uwin.h (LIB_SPEC): Likewise.
15621 (STARTFILE_SPEC): Likewise.
15623 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
15624 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
15626 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
15628 * combine.c (combine_simplify_rtx): Fix order of checks for
15629 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
15631 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
15633 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
15634 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
15636 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15638 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
15640 * regclass.c (inv_reg_alloc_order): New array.
15641 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
15643 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
15644 counted_for_groups, counted_for_nongroups. Add fields rld and
15646 * reload.c (push_secondary_reload): Don't set nongroup field of
15648 (push_reload): Likewise.
15649 (find_reloads): Delete code to compute nongroup fields.
15650 * reload1.c (reload_insn_firstobj): New static variable.
15651 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
15653 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
15654 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
15655 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
15657 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
15659 (struct hard_reg_n_uses): Deleted.
15660 (potential_reload_regs): Deleted.
15661 (init_reload): Initialize spilled_pseudos and pseudos_counted.
15662 (reload): Don't try to allocate reload registers if we already know
15663 we have to make another pass. Call select_reload_regs. Free memory
15664 starting with reload_firstobj when starting another pass.
15665 Don't allocate spilled_pseudos.
15666 (calculate_needs_all_insns): Call copy_reloads for an insn that
15667 needs reloads; don't call calculate_needs.
15668 (spill_cost): New static array.
15669 (used_spill_regs_local): New static variable.
15670 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
15671 to compute potential_reload_regs.
15672 (find_reload_regs): Completely rewritten to use find_reg.
15673 (allocate_reload_reg): Don't test counted_for_groups or
15674 counted_for_nongroups. Lose NOERROR arg and code to give an error;
15675 all cllers changed.
15676 (choose_reload_regs): Add fallback code that uses the existing
15677 register allocation from find_reload_regs.
15679 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
15681 * flow.c (create_edge_list): Cast xmalloc return value.
15683 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
15685 * doprnt.c: Remove incorrect comment closure.
15687 * cse.c: Fix a few minor whitespace goofs.
15689 1999-12-13 Don Bowman <don@pixstream.com>
15691 * mips/vxworks.h: Fix problem with comment termination.
15692 (EXTRA_SECTIONS): Add in_sbss.
15693 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
15695 1999-12-12 David S. Miller <davem@redhat.com>
15697 * cse.c (struct cse_reg_info): Add hash_next member,
15698 reorder rest of struct for better packing on 64-bit
15700 (cse_reg_info_tree): Kill.
15701 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
15702 REGHASH_FN): New custom pow2 hash mechanism.
15704 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
15705 use a pow2 hash table.
15706 (get_cse_reg_info): Rework to use new REGHASH.
15707 (new_basic_block): Likewise, use HASH_SIZE, and inline
15709 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
15710 and inline free_element call.
15711 (lookup_as_function, insert, flush_hash_table, invalidate,
15712 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
15713 invalidate_for_call, use_related_value, find_comparison_args,
15714 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
15715 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
15716 get_element): Kill.
15718 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
15720 * cse.c (cse_basic_block): Free qty_table consistently.
15722 1999-12-12 David S. Miller <davem@redhat.com>
15723 Jakub Jelinek <jakub@redhat.com>
15725 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
15726 SUBREGs by hand, gen the appropriate hard reg directly.
15727 (movtf reg/mem split): Likewise and alter_subreg on destination
15729 (movtf mem/reg split): Similarly.
15730 (movdf_cc_sp64): Rename from hidden pattern.
15731 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
15732 (movtf_cc_sp64, following split): New pattern and splitter.
15733 (movdf_cc_reg_sp64): Rename from hidden pattern.
15734 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
15736 (movtf_cc_reg_sp64, following split): New pattern and splitter.
15738 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
15740 * loop.c (load_mems): Don't hoist written floating point mem
15743 1999-12-12 Mark Mitchell <mark@codesourcery.com>
15745 * except.h (struct eh_queue): Add `next' pointer.
15746 (struct eh_status): Make x_ehqueue a pointer.
15747 (push_ehqueue): Declare.
15748 (pop_ehqueue): Likewise.
15749 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
15751 (expand_fixup_region_end): Likewise.
15752 (expand_leftover_cleanups): Likewise.
15753 (push_ehqueue): Define.
15754 (pop_ehqueue): Likewise.
15755 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
15756 than doing it inline.
15757 (expand_start_all_catch): Adjust now that ehqueue is a
15759 (mark_eh_queue): Mark all level of the queue.
15760 (mark_eh_status): Adjust now that ehqueue is a
15762 (init_eh_for_function): Allocate ehqueue.
15763 (free_eh_status): Free it.
15764 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
15765 expansion for a fixup.
15767 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15769 * gthr-single.h (__gthread_active_p): Add prototype arguments.
15771 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
15772 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
15773 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
15774 function_ptr, getpagesize, __enable_execute_stack,
15775 __enable_execute_stack, __clear_insn_cache,
15776 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15777 _cleanup, _exit, __default_terminate, __terminate_func,
15778 __terminate, __empty, __throw, new_eh_context,
15779 eh_context_initialize, eh_context_static, eh_context_specific,
15780 get_eh_context, __get_eh_context, __get_eh_info,
15781 init_reg_size_table, eh_threads_initialize,
15782 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15783 __unwinding_cleanup, throw_helper, __throw, __rethrow,
15784 __pure_virtual): Add prototype arguments.
15785 (__bb_exit_func): Cast a sizeof to long when comparing against one.
15786 Cast a signed value to unsigned long when comparing against one.
15787 (new_eh_context): Wrap in _GTHREADS macro.
15788 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15790 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15791 (throw_helper): Initialize variables `handler_p' and `pc_p'.
15793 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15795 * combine.c (record_promoted_value): Remove unused variable
15798 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15800 * global.c (record_conflicts): Likewise for `j'.
15802 * genoutput.c (output_insn_data): Don't unnecessarily cast away
15805 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15807 * i386-protos.h (output_387_binary_op, output_fix_trunc,
15808 output_fp_compare): Constify a char*.
15810 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
15812 (override_options, ix86_comp_type_attributes, print_operand,
15813 output_387_binary_op, output_fix_trunc, output_fp_compare):
15815 (ix86_sched_reorder): Mark parameter `clock_var' with
15818 * i386.h (DEBUG_PRINT_REG): Constify a char*.
15820 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
15822 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
15823 operand, for use in the Java front-end.
15825 1999-12-10 Ben Collins <bcollins@debian.org>
15827 * configure.in: Fix typo for "-64" in 64bit as check.
15828 * configure: Rebuilt.
15830 1999-12-10 Jakub Jelinek <jakub@redhat.com>
15832 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
15835 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15837 * c-parse.in (string): With -Wtraditional, warn if ANSI string
15838 concatenation is utilized.
15840 * invoke.texi (-Wtraditional): Document it.
15842 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15844 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
15845 Cast a ptrdiff_t to long and pass it to printf with %ld.
15847 1999-12-10 Geoff Keating <geoffk@cygnus.com>
15849 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
15850 68881, we have no 68881 registers at all.
15851 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
15852 value in a 68881 register if it is available.
15854 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
15856 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
15857 for long long multiply-accumulate.
15859 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15861 * loop.c (insert_loop_mem): Undo last change.
15863 1999-12-10 David S. Miller <davem@redhat.com>
15865 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
15867 * config/sparc/sparc-protos.h: Add them.
15868 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
15869 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
15870 constraints which use those helpers.
15871 (EXTRA_CONSTRAINT): Use this new macro.
15872 * md.texi: Update sparc target constraints documentation.
15873 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
15874 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
15875 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
15876 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
15877 (movsf high/lo_sum split): Rework for new patterns.
15878 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
15880 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
15882 * c-common.c (c_common_nodes_and_builtins):
15883 Create __builtin_ptrdiff_t and __builtin_size_t.
15885 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
15887 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
15889 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15891 * regclass.c (globalize_reg): Re-instate test that allows
15892 fixed registers to be declared as a variable even after functions
15895 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15897 * i386.md (cpu attribute): Add "athlon".
15898 (athlon_decode): New attribute.
15899 (Athlon scheduling units definitions): New.
15900 (fcmp and shld patterns): Set athlon_decode to "vector".
15901 * i386.c (athlon_cost): New.
15903 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
15904 x86_use_sahf): Set for Athlon.
15905 (x86_use_fiop): Unset for Athlon.
15906 (override_options): Define Athlon alignments and "athlon" name.
15907 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
15908 * i386.h (TARGET_ATHLON): New.
15909 (enum processor_type): Add PROCESSOR_ATHLON.
15910 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
15912 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
15914 1999-12-09 Andreas Jaeger <aj@suse.de>
15916 * loop.c (record_biv): Declare parameter as int.
15918 * config/i386/i386-protos.h: Declare long_memory_operand.
15920 1999-12-09 Mark Mitchell <mark@codesourcery.com>
15922 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
15923 EXPR_WITH_FILE_LOCATION.
15925 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15927 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
15930 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
15932 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
15935 1999-12-09 Jakub Jelinek <jakub@redhat.com>
15937 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
15938 default on linux64 again.
15939 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
15940 models for multilibing.
15941 * genmultilib: Accept | as alternative separator within a set in
15944 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
15946 * calls.c (precompute_arguments): Make sure initial_value contains
15947 value pseudo which CSE expects.
15948 * cse.c (struct set): New entry orig_src.
15949 (cse_insn): Set it early on entry, use it for libcall EQUIV note
15952 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
15954 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
15956 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
15958 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
15960 1999-12-08 Jakub Jelinek <jakub@redhat.com>
15962 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
15963 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
15965 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
15968 * longlong.h: Merge in changes from glibc.
15969 Also don't clobber %g2 register in 32bit SPARC assembly, so that
15970 -mno-app-regs libgcc can be compiled.
15971 * libgcc2.c: Add defines so that the updated longlong.h
15972 can be used in libgcc2.a. Also, make sure on most architectures
15973 (at least on all which have optimized code in longlong.h defined
15974 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
15976 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15978 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
15979 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
15980 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
15982 * configure: Rebuilt.
15984 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
15986 * alpha.c (secondary_reload_class): For !BWX, sub-simode
15987 outputs require a register.
15989 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
15991 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
15992 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
15993 functions like dptoul will be resolved.
15994 (libgcc2.a): Make sure that the object files from DPBIT are named
15995 differently (prefix `_dp') from those that would be coming from
15998 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
16000 * configure.in: When target is sparc* and tm_file contains 64,
16001 test for 64bit support in assembler. If not supported, remove
16002 sparc/t-sol2-64 from target-dependent Makefile fragments.
16003 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
16004 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
16005 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
16006 * acconfig.h (AS_SPARC64_FLAG): Added.
16007 * configure, config.in: Rebuilt.
16008 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
16009 support. Use AS_SPARC64_FLAG.
16011 1999-12-07 Jakub Jelinek <jakub@redhat.com>
16013 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
16014 suitable for holding OFmode values so that gcc works with complex
16016 (hard_64bit_mode_classes): Likewise.
16018 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
16019 so that it is actually matched.
16020 (sethi_di_medlow): Likewise.
16022 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
16023 as legitimate constant if -mvis.
16024 * config/sparc/sparc.md (movtf): Likewise.
16025 (clear_sf): Use const_double_operand.
16026 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
16028 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
16029 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
16030 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
16031 routines, _Qp_* cannot be handled like that now.
16032 (INIT_TARGET_OPTABS): Likewise.
16033 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
16034 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
16035 sparc_emit_float_lib_cmp if ARCH64 and soft float.
16036 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
16037 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
16038 divtf3, sqrttf3): New expanders.
16039 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
16040 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
16041 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
16044 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
16045 * configure: Rebuilt.
16046 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
16047 -mcpu is given and we're doing 64bit compiles.
16049 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
16051 * loop.h (struct induction): Add multi_insn_incr.
16052 * loop.c (basic_induction_var): New multi_insn_incr argument.
16053 Set it if we search back through previous insns for the biv.
16054 (record_biv): New multi_insn_incr argument; fill in struct induction.
16055 (strength_reduce): Discard an iv with multiple bivs, any of
16056 which require multiple insns to increment.
16058 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16060 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
16063 1999-12-06 David S. Miller <davem@redhat.com>
16065 * combine.c (check_promoted_subreg): Do not conditionalize this upon
16066 PROMOTE_FUNCTION_RETURN.
16068 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
16070 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
16071 and handle REG_UNUSED note on insn.
16073 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
16074 inner_mask instead of mask.
16076 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
16078 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
16079 zero if there was an error.
16081 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16083 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
16086 * longlong.h: Fix clobbers in SPARC asm statements.
16088 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
16089 valid sethi operations when TARGET_ARCH64.
16091 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
16092 always use move_by_pieces to avoid infinite recursion.
16093 (restore_fixed_argument_area): Likewise.
16095 * combine.c (check_promoted_subreg, record_promoted_value): New
16097 (combine_instructions): Use them to retain nonzero and sign bit
16098 information after SUBREGs are eliminated by optimizations in
16099 this pass if PROMOTE_FUNCTION_RETURN.
16101 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
16102 .register declaration. Don't use variables with __ prefixes.
16104 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16106 * fold-const.c (optimize_bit_field_compare): Only use one mode
16107 for both RHS and LHS in non-constant case.
16109 1999-12-06 Nathan Sidwell <nathan@acm.org>
16111 * frame.c (start_fde_sort): Only allocate erratic array, if
16112 linear one was allocated. Return allocated flag.
16113 (fde_insert): Only insert, if there's a valid array.
16114 (fde_end_sort): Split, sort and merge if linear and erratic
16115 arrays exist, else just sort linear one.
16116 (search_fdes): New function. Linear search through original fde
16118 (frame_init): Permit multiple initializations. Cope with
16120 (find_fde): Fallback on linear search, if failed to sort array.
16121 (__deregister_frame_info): Only free sorted array, if we
16124 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16126 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
16128 1999-12-05 Jakub Jelinek <jakub@redhat.com>
16130 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
16132 1999-12-05 Mark Mitchell <mark@codesourcery.com>
16134 * tree.h (special_function_p): Declare.
16135 * calls.c (special_function_p): Make it global. Don't take `name'
16136 as a parameter. Fix typo in 1999-11-28 change.
16137 (expand_cal): Adjust.
16139 1999-12-04 Mark Mitchell <mark@codesourcery.com>
16141 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
16142 * tree.h (EXPR_WFL_FILENAME): Define in terms of
16143 EXPR_WFL_FILENAME_NODE.
16144 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
16146 * print-tree.c (print_note): Print TREE_PRIVATE and
16149 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
16150 the original die cannot be found.
16152 * varray.h (varray_head_tag): Add elements_used.
16153 (VARRAY_PUSH): New macro.
16154 (VARRAY_POP): Likewise.
16155 (VARRAY_TOP): Likewise.
16156 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
16158 * varray.c (varray_init): Initialize elements_used.
16159 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
16160 (INTEGRATE_H): New variable.
16161 (integrate.o): Depend on INTEGRATE_H.
16162 (unroll.o): Likewise.
16164 * function.h (insert_block_after_note): Declare.
16165 * function.c (insert_block_after_note): Split out from ...
16166 (retrofit_block): ... here.
16168 * stmt.c (expand_fixup): Fix typo in comment.
16170 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16172 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
16173 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
16174 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
16175 (regmove_optimize, fixup_match_1): Likewise.
16177 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16179 * flow.c (flow_loops_dump): Add missing argument when calling
16180 flow_loop_nested_p.
16182 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
16183 Greg McGary <gkm@gnu.org>
16185 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
16186 (init_attributes): Add A_NO_LIMIT_STACK.
16187 (decl_attributes): Handle A_NO_LIMIT_STACK.
16188 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
16189 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
16190 Handle stack bounds checking.
16191 * flags.h (flag_stack_check): Use the word 'probe' rather than
16192 'check', because the flag doesn't actually cause any checking to
16194 * function.c (expand_function_start): Set
16195 current_function_limit_stack.
16196 * function.h (struct function): Add limit_stack.
16197 (current_function_limit_stack): Define.
16198 * invoke.texi (Code Gen Options): Document new options.
16199 * rtl.h: Declare stack_limit_rtx.
16200 * toplev.c (stack_limit_rtx): New variable.
16201 (decode_f_option): Handle new options -fstack-limit-register=REG,
16202 -fstack-limit-symbol=IDENT, -fno-stack-limit.
16203 (main): Add stack_limit_rtx as GC root.
16204 * tree.h (DECL_NO_LIMIT_STACK): New macro.
16205 (struct tree_decl): New member no_limit_stack.
16207 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
16209 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
16210 (conditional_trap+1): Get new mnemonic correct.
16211 (conditional_trap+2): New pattern for DImode traps.
16213 * config/m68k/m68k.c (output_function_prologue): Handle
16215 * config/m68k/m68k.md (trap): New insn.
16216 (conditional_trap): New insn.
16217 * md.texi (Standard Names): Document `trap' and
16218 `conditional_trap'.
16219 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
16220 so a cc0 setter doesn't get emitted at some random place in the
16223 * config/i960/i960.md (trap): New insn.
16224 (conditional_trap): New expander.
16225 (conditional_trap+1, conditional_trap+2): New insns for signed
16226 and unsigned cases.
16227 * config/i960/i960.c (i960_function_prologue): Use
16228 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
16230 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
16231 Geoffrey Keating <geoffk@cygnus.com>
16233 * flags.h (warn_padded, warn_packed): Add global var decls.
16234 * toplev.c (warn_padded, warn_packed): Add global var defns.
16235 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
16236 * stor-layout.c (layout_record): Add local variable `type'
16237 to hold often-used TREE_TYPE (field). Add local variable
16238 `unpacked_align' to hold alignment that would be in force
16239 if no `packed' attribute were present. Warn if `packed' attribute
16240 is unnecessary, or even harmful. Warn when gcc inserts padding
16241 to satisfy alignment requirements of members. Use NULL_TREE
16242 when checking whether var_size is set.
16243 * invoke.texi: Document new flags.
16245 1999-12-03 Nathan Sidwell <nathan@acm.org>
16247 * frame.c (fde_split): Reimplement to avoid variable sized array.
16249 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16251 * combine.c (try_combine): Before fixing up LOG_LINKS for the
16252 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
16254 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
16256 * invoke.texi: Document the mips option -mno-crt0
16258 1999-12-02 Mike Karr <mkarr@mathworks.com>
16260 * cccp.c (argdata): Added free_ptr member.
16261 (macroexpand): Initialize free_ptr of each argument. When an
16262 argument's buffers are freed, if the argument's free_ptr corresponds
16263 to a buffer on the input stack, then return the free_ptr to that stack
16264 frame, otherwise, free it.
16265 (macarg): If an argument begins and ends on the same input stack level,
16266 then transfer the free_ptr of that buffer to the argument in case
16267 the stack is popped during the processing of a subsequent argument.
16269 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
16271 * loop.c (note_reg_stored): New function.
16272 (struct note_reg_stored_arg): New structure.
16273 (try_copy_prop): Change to be more conservative; only replace within
16274 one extended basic block and stop replacing if a store to the
16275 replacement reg is seen.
16277 1999-12-02 Nick Clifton <nickc@cygnus.com>
16279 * config/fp-bit.c: Initialise all fields of the NAN
16282 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
16285 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
16287 * i386.md (extend?f?f2): Force the input into a register, not
16290 1999-12-01 Jakub Jelinek <jakub@redhat.com>
16292 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
16294 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
16295 alternative because setting up 64bit constant is usually costly,
16296 especially when reload is in progress or completed.
16297 (movdf_const_intreg_sp64): Likewise.
16298 (movdf_const_intreg split): Fix building up constants when
16299 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
16301 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
16303 * combine.c (if_then_else_cond): Use const_true_rtx instead of
16304 const1_rtx for return values in EQ/NE comparison against (const_int 0)
16307 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
16308 (asm_file_start): Emit .am33 into assembly file when compiling for
16310 (print_operand_address): Handle POST_INC addresses.
16311 (can_use_return_insn, initial_offset): Check AM33 registers too.
16312 (expand_prologue): Check & save AM33 registers too.
16313 (expand_epilogue): Similarly.
16314 (secondary_reload_class): Handle AM33 specific secondary reloads.
16315 (output_tst): Emit efficient code for the AM33 too.
16316 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
16317 (TARGET_SWITCHES): Add -mam33 switch.
16318 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
16319 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
16320 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
16321 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
16322 (enum reg_class, REG_CLASS_NAMES): Likewise.
16323 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
16324 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
16325 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
16326 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
16327 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
16328 (HAVE_POST_INCREMENT): Define.
16329 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
16330 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
16331 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
16332 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
16333 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
16334 (zero_extend to SI from QI/HI): Likewise.
16335 (sign_extend to SI from QI/HI): Likewise.
16336 (mulsidi3, umulsidi3): New patterns for the AM33.
16337 (tstsi with zero extension from QI/HI): Add AM33 variants.
16338 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
16339 (return_internal_regs, store_movm): Handle new AM33 registers.
16340 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
16341 (LIBGCC, INSTALL_LIBGCC): Likewise.
16342 * invoke.texi: Document new flags.
16344 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16346 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
16347 (addsi3_carry): Likewise.
16348 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
16349 (sbbsi3_carry): Likewise.
16350 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
16351 (mulhi3): Likewise.
16352 (test?i_1): Ensure that only one operand is memory.
16353 (conditional move patterns): likewise.
16354 (shift and rotate patterns): Rewrite to expander, add
16355 "binary_operator_ok" to the condition.
16357 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
16358 * i386.h (procesor_costs): Add movzbl_load field.
16359 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
16360 non-Q registers, accept DImode registers anywhere.
16362 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
16363 * i386.c (*_cost): Set value for movxbl_load field.
16365 * (addsi): New add to lea splitter.
16366 (ashlsi): Likewise.
16367 (lea to add/shift peep2): New.
16369 1999-12-01 Mark Salter <msalter@cygnus.com>
16371 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
16372 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
16373 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
16375 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16377 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
16378 * i386.md (movsi_xor): New.
16380 (movsi_1, movhi_1, movqi_1): Remove.
16381 (movsi_2): Rename to movsi_1.
16382 (movhi_2): Rename to movhi_1.
16383 (movqi_2): Rename to movqi_1.
16384 (movdi_1): Remove; remove splitter.
16385 (movdi_2): Rename to movdi_1.
16386 (divmodsi4 splitter): Do not emit clobbers for move patterns.
16387 (long move peep2): Do not create QI or HI mode mov0s
16388 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
16390 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
16393 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
16394 (abs?f2_if): Likewise.
16396 1999-11-30 Alex Samuel <samuel@codesourcery.com>
16398 * ggc.h (ggc_test_and_set_mark): New macro.
16399 (ggc_mark_rtx): Use ggc_test_and_set_mark.
16400 (ggc_mark_tree): Likewise.
16401 (ggc_mark_rtvec): Likewise.
16402 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
16404 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
16406 * dwarf2out.c (scope_die_for): Only handle types. Only search for
16408 (decl_scope_table): Just an array of trees now.
16409 (push_decl_scope): Simplify.
16410 (dwarf2out_init): Adjust.
16411 (local_scope_p): New fn.
16412 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
16413 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
16414 (gen_typedef_die): Likewise.
16415 (gen_lexical_block_die): Don't call push/pop_decl_scope.
16416 (gen_inlined_subroutine_die): Likewise.
16417 (gen_abstract_function): Set current_function_decl temporarily.
16418 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
16419 Handle block extern declarations. Don't call push/pop_decl_scope.
16420 (gen_decl_die): Fix logic for block externs.
16422 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16424 * calls.c (special_function_p): Remove `realloc' and add `strdup'
16425 to the list of functions which have attribute malloc by default.
16427 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16429 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
16430 integer constant does not match the traditional type, limit the
16431 warnings to cases where the base of the type is ten.
16433 * invoke.texi (-Wtraditional): Document it.
16435 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16437 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
16438 * rs6000.md: Only access a CONST_INT with INTVAL
16440 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
16442 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
16443 (compute_nearerout): Likewise.
16444 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
16445 size_t to unsigned long for formatting.
16447 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16449 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
16450 Allow the user to override call-used/fixed state of %g2-5
16451 registers from the command line (with the exception of %g4 for
16453 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
16454 there is a higher chance of having a leaf function.
16455 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
16456 for ARCH64 which has %ccr register.
16457 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
16459 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
16460 insn accept into delay slot any insn which does not use %[ol]
16461 registers. Accept some LO_SUM and shift left by 1 for the normal
16463 (output_function_epilogue): Likewise.
16464 (epilogue_renumber): Added argument which inhibits any renumbering
16465 and just tests if the rtx does not use any %[ol] registers.
16466 (output_return): Reflect above change.
16468 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16470 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
16471 aggregate passing for sizes <= 16 bytes.
16473 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
16475 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
16476 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
16477 * reload.c (find_dummy_reload): Likewise.
16478 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
16479 * reload1.c (reload_as_needed): Likewise.
16480 * stupid.c (stupid_find_reg): Likewise.
16481 * tm.texi (Obsolete Register Macros): Delete section.
16482 * gmicro.h: Remove all traces of the two macros.
16483 * i386.h: Likewise.
16484 * m88k.h: Likewise.
16485 * mips.h: Likewise.
16487 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
16489 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
16490 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
16491 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
16492 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
16493 units for the sparclite86x chip.
16494 (flush): Revert October 14th change; add SImode specifically.
16495 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
16496 * invoke.texi: Document it.
16498 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
16500 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
16501 psimode_truncation_operand.
16503 * config/mn10200/mn10200.c (psimode_truncation_operand): New
16504 function. Return true if the operand is either a MEM valid
16505 for a PSImode address or not a MEM at all.
16507 * config/mn10200/mn10200.md (truncsipsi2): Use
16508 psimode_truncation_operand.
16510 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16512 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
16513 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
16514 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
16515 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
16516 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
16517 (flow_loop_level_compute, low_loops_level_compute): Likewise.
16518 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
16519 * basic-block.h: Protect from multiple inclusion.
16520 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
16521 (struct loops, struct loop): Define structures.
16522 * sbitmap.c (sbitmap_a_subset_b_p): New function.
16523 * sbitmap.h: Protect from multiple inclusion.
16524 (sbitmap_a_subset_b_p): Add prototype.
16525 * Makefile.in (LOOP_H): New macro.
16526 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
16528 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
16530 * cppinit.c (CAT): The argument list of this macro may not contain
16533 1999-11-29 David S. Miller <davem@redhat.com>
16535 Move quantity tables and register equivalence chains into
16536 per-qty and per-register structure arrays respectively.
16537 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
16538 qty_const_insn, qty_comparison_code, qty_comparison_const,
16539 qty_comparison_qty): Delete, replace with...
16540 (qty_table): this structure table.
16541 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
16542 (reg_eqv_table): this structure table.
16543 (make_new_qty): Add argument MODE. Caller updated.
16544 Update to use qty_table and reg_eqv_table.
16545 (make_regs_eqv, delete_reg_equiv, insert_regs,
16546 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
16547 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
16548 cse_process_notes, cse_main, cse_basic_block): Likewise.
16550 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16552 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
16553 operation if C is negative.
16554 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
16555 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
16556 law for some divisions if constant is negative and change other
16557 divisions to the opposite rounding.
16559 * expr.c (store_constructor_field): If bit position is not multiple
16560 of alignment of TARGET's mode, use BLKmode.
16562 * expr.c (expand_expr_unaligned): Add more code from full case
16563 that is needed when OP0 is in a register.
16565 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16567 * dwarfout.c (field_byte_offset): Size can be zero if there was
16570 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16572 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
16573 (associate_trees): Delete unused var TEM.
16574 (extract_muldiv): Delete unused var CANCEL_P.
16576 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
16577 (target_isinf, target_isnan, target_negative): Add return types to
16578 function definitions.
16580 1999-11-29 Bruce Korb <autogen@linuxbox.com>
16582 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
16583 * fixinc/hackshell.tpl: ditto
16584 * fixinc/fixtests.c(double_slash_test): more C++ header testing
16585 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
16587 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16589 * reload.c (push_reload): When looking for a register to put into
16590 reg_rtx, make sure all hard regs in a multi-reg register are in the
16591 right class and nonfixed.
16593 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
16594 pending_read_insns, pending_write_insns, pending_read_mems,
16595 pending_write_mems, pending_list_length, last_pending_memory_flush,
16596 last_function_call, sched_before_next_call): Move static variables
16598 (bb_ prefixed versions): Replace with single array bb_deps.
16599 (struct deps): New structure.
16600 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
16601 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
16602 argument of type "struct deps *"; use that instead of global
16603 variables. All callers changed.
16604 (init_rgn_data_dependencies): Delete function.
16605 (init_rtx_vector): Delete function.
16606 (init_deps): New function.
16608 (free_pending_lists): Simplify, we always use the bb_deps array even
16609 if only one basic block.
16610 (compute_block_backward_dependences): Likewise.
16611 (schedule_region): Likewise.
16613 (propagate_deps): New function, broken out of
16614 compute_block_backward_dependences.
16615 (compute_block_backward_dependences): Use it.
16617 * alpha.md: Delete useless patterns that tried to work around
16618 register elimination problems.
16620 * unroll.c (loop_iterations): Don't abort if iteration variable
16623 From Joern Rennecke:
16624 * reload1.c (reloads_conflict): Reverse test comparing operand
16625 numbers when testing for conflict between output/outaddr reloads.
16627 1999-11-29 David S. Miller <davem@redhat.com>
16629 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
16631 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
16633 1999-11-28 Robert Lipe <robertl@cygnus.com>
16635 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
16636 table from .fini into .dtor.
16638 1999-11-28 Anthony Green <green@cygnus.com>
16640 * tree.h (struct tree_decl): Add malloc_flag.
16641 (DECL_IS_MALLOC): Define.
16642 * c-common.c (attrs): Add A_MALLOC attribute.
16643 (init_attributes): Add this attribute to the table.
16644 (decl_attributes): Handle malloc attribute.
16645 * calls.c (special_function_p): Check for the malloc attribute.
16646 * extend.texi (Function Attributes): Document malloc attribute.
16648 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
16650 * pa.md (reload shift-add patterns): Remove.
16652 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16654 * reorg.c (dbr_schedule) Print more statistics. Corrected
16655 problem when printing info when 3 delay slots are filled.
16657 1999-11-28 Jakub Jelinek <jakub@redhat.com>
16659 * combine.c (setup_incoming_promotions): Pass an outgoing
16660 regno to FUNCTION_ARG_REGNO_P which it expects.
16662 1999-11-28 Andreas Jaeger <aj@suse.de>
16664 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
16666 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
16668 * cccp.c (do_include): Avoid initialization of automatic variable.
16670 * integrate.c (mark_stores): Function definition made void, to match
16671 previous declaration.
16672 * regclass.c (dump_regclass): Ditto.
16673 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
16675 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16677 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
16678 known to be multiple of divisor.
16680 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
16682 * combine.c (try_combine): Add code to try to merge a set of a
16683 two-word pseudo to a constant with a setting of one of those words
16686 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
16687 (split_tree): Completely rework to make more general.
16688 (make_range, fold): Call negate_expr.
16689 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
16690 (fold, associate): Call new split_tree and associate_trees.
16691 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
16693 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
16695 * loop.c (try_copy_prop): Avoid GNU C extension.
16697 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16699 * except.c (init_eh_for_function): Still zero eh_return_context,
16700 eh_return_stack_adjust, and eh_return_handler.
16702 * except.h (eh_status): Adjust documentation for x_protect_list.
16703 (begin_protect_partials): New function.
16704 * except.c (enqueue_eh_entry): Fix formatting.
16705 (get_first_handler): Add consistency check.
16706 (add_partial_entry): Adjust usage of protect_list.
16707 (emit_cleanup_handler): Save and restore ehqueue.
16708 (expand_start_all_catch): Add comment.
16709 (begin_protect_partials): New function.
16710 (end_protect_partials): Adjust usage of protect_list.
16711 (init_eh_for_function): Use xcalloc.
16713 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16715 * c-common.c (check_format_info): Don't call a variadic function
16716 with a non-literal format string.
16718 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
16720 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
16721 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
16724 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
16727 * collect2.c (collect_wait): Likewise.
16729 * dbxout.c (dbxout_type): Likewise.
16731 * gcc.c (do_spec_1): Likewise.
16733 * genemit.c (gen_insn, gen_expand): Likewise.
16735 * genrecog.c (write_switch, write_subroutine): Likewise.
16737 * mips-tfile.c (catch_signal, botch): Likewise.
16739 * print-rtl.c (print_rtx): Likewise.
16741 * toplev.c (default_print_error_function, report_error_function,
16742 _fatal_insn): Likewise.
16744 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16746 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
16748 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16750 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
16751 operations when needed.
16752 * i386.md (fop_?f_comm): New.
16753 (fop_?f_1): Do not accept commutative operands.
16755 1999-11-25 Andreas Jaeger <aj@suse.de>
16757 * config/mips/mips.md (casesi_internal): Add missing brace.
16759 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
16761 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
16762 (splice_child_die): Handle moving a child DIE from the declaration
16763 DIE of a class to its specification.
16764 (gen_struct_or_union_type_die): Use 'complete' consistently.
16765 (gen_decl_die): Generate the virtual context DIE first.
16766 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
16768 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
16770 * config/mips/mips.md (call_value_multiple_interanal1): New.
16772 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16774 * dwarf2out.c (free_AT, free_die): New fns.
16775 (remove_children): Call them.
16776 (output_line_info): Disable removal of duplicate notes.
16778 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16779 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16780 means pretend the type isn't defined.
16781 Don't defer emitting types.
16782 (gen_type_die_for_member): New fn.
16783 (gen_decl_die): Call it.
16784 (splice_child_die): New fn.
16785 (gen_member_die): Call it rather than generate duplicate dies.
16787 Defer emitting information for the abstract instance of an inline
16788 until we either inline it or emit an out-of-line copy.
16789 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16790 from output_inline_function if DECL_ABSTRACT is also set.
16791 (block_ultimate_origin): Likewise.
16792 (gen_abstract_function): New fn.
16793 (gen_decl_die, gen_inlined_subroutine_die): Call it.
16794 (gen_subprogram_die): An abstract instance is not a declaration
16795 just because it doesn't match current_function_decl. Don't abort
16796 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
16797 has an abstract origin.
16798 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16799 abstract instance here.
16801 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
16803 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16804 where we need to reload fpul from a system register.
16806 1999-11-24 Andreas Jaeger <aj@suse.de>
16808 * config/mips/linux.h (CPP_PREDEFINES): Added.
16809 (LINK_SPEC): Remove -Y since this is only needed on sparc.
16811 1999-11-24 Andreas Jaeger <aj@suse.de>
16813 * config/mips/linux.h (TARGET_VERSION): Added.
16814 (HANDLE_SYSV_PRAGMA): Added.
16815 (DEFAULT_VTABLE_THUNKS): Added.
16817 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16819 * local-alloc.c (qty): New structure and static variable.
16820 (qty_phys_reg): Remove, all references changed to qty.
16821 (qty_n_refs): Likewise.
16822 (qty_min_class): Likewise.
16823 (qty_birth): Likewise.
16824 (qty_death): Likewise.
16825 (qty_size): Likewise.
16826 (qty_mode): Likewise.
16827 (qty_n_calls_crossed): Likewise.
16828 (qty_alternate_class): Likewise.
16829 (qty_changes_size): Likewise.
16830 (qty_first_reg): Likewise.
16831 (alloc_qty): Rename variable QTY to QTYNO.
16832 (finf_free_reg): Likewise.
16833 (local_alloc): Allocate qty, do not allocate the removed variables.
16835 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
16837 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
16838 when -membedded-pic is passed.
16840 * config/mips/mips.md (casesi): Handle 64-bit case too.
16841 (casesi_internal_di): New insn.
16843 * config/mips/mips.c (embedded_pic_offset): Always make the
16844 embedded-pic subtractions relative to the name of the current
16845 function by use of the magic string "..CURRENT_FUNCTION".
16846 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
16848 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
16850 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
16851 of (const_int 0), when what we really care about is
16852 whether it's a zero constant anyway.
16853 (div_trap_mips16): Likewise.
16855 1999-11-23 Mark Mitchell <mark@codesourcery.com>
16857 * loop.c (loop_optimize): Always find_loop_tree_blocks and
16858 unroll_block_trees when generating debuggable code.
16860 * tree.h (unsave_expr_1): New function.
16861 (lang_unsave): New variable.
16862 (get_callee_fndecl): New function.
16863 * tree.c (unsave_expr_now_r): New function.
16864 (lang_unsave): Define.
16865 (unsave_expr_1): Likewise.
16866 (unsave_expr_now_r): Split out from unsave_expr_now.
16867 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
16868 call unsave_expr_now_r.
16869 (get_callee_fndecl): Define.
16871 * Makefile.in (gencheck): Don't depend on lang_tree_files.
16872 (gencheck.o): Do depend on lang_tree_files.
16874 * integrate.h (copy_decl_for_inlining): New declaration.
16875 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
16876 (copy_decl_for_inlining): New function.
16877 (integrate_parm_decls): Use it.
16878 (integrate_decl_tree): Likewise.
16880 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
16882 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
16883 the second two from the first.
16884 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
16885 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
16886 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16888 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
16889 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16892 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
16894 * pa.md (call_internal_symref, call_value_internal_symref): No mode
16895 needed on the address operand.
16896 * pa.c (call_operand_address): Check for the correct mode.
16898 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
16900 * loop.c: Include "basic-block.h".
16901 (try_copy_prop, replace_loop_reg): New functions.
16902 (load_mems): Detect registers that just hold copies of the hoisted
16903 mem, and call try_copy_prop to eliminate them.
16904 * Makefile.in (loop.o): Update dependencies.
16906 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
16908 * Makefile.in (gencheck.o): Depend on gencheck.h.
16909 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
16910 (insn-peep.o): Depend on except.h and function.h.
16911 (insn-attrtab.o): Depend on RECOG_H.
16912 (insn-output.o): Depend on toplev.h and flags.h.
16913 (gengenrtl.o): Depend on real.h.
16914 (gen-protos.o): Depend on cpplib.h and cpphash.h.
16915 Unify all dependencies to be on RECOG_H rather than recog.h.
16917 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16919 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
16920 * configure.in: Try building a bi-arch 32/64-bit compiler on
16921 sparc-*-solaris2.7 and higher.
16922 * configure: Rebuild.
16924 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
16926 * config/freebsd.h: New, FreeBSD architecture independent file.
16927 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
16928 independent pieces.
16929 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
16930 directly by i386/freebsd.h.
16931 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
16932 independent configuration file.
16933 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
16934 directly by i386/freebsd.h.
16935 * configure: Rebuilt.
16937 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
16938 which is in the user's namespace.
16939 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
16940 `i386' which is not in our namespace.
16942 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
16944 * invoke.texi (ARM Options): Add in -mno-alignment-traps
16946 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16948 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
16949 (add_dwarf_attr, add_child_die): Just push onto the front.
16950 (reverse_die_lists): New fn.
16951 (add_sibling_attributes): Use it.
16952 (push_decl_scope): Reorganize.
16953 (add_name_and_src_coords_attributes): Don't set file and line for
16954 an artificial decl.
16955 (gen_subprogram_die): An artificial function doesn't need to match
16957 (gen_compile_unit_die): Return the generated die. Only add
16958 AT_comp_dir if the filename is relative.
16959 (remove_AT): Simplify loop. Also free string values.
16960 (output_die): A DIE ref can't be null.
16961 (output_value_format, value_format): Take a dw_attr_ref.
16962 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
16963 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
16964 AT_addr, AT_lbl): New fns.
16965 (various): Use them.
16966 (various): Constify.
16968 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16970 * combine.c (combine_simplify_rtx): When handling a SUBREG,
16971 take SUBREG_WORD into account.
16972 (if_then_else_cond): Likewise.
16974 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16976 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
16977 clause from BSD license, pursuant with
16979 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
16981 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
16983 * loop.c (load_mems): Reformat slightly.
16984 * basic-block.h (regset_head): New typedef.
16985 (INIT_REG_SET): New macro.
16987 1999-11-22 Bruce Korb <autogen@linuxbox.com
16989 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
16990 (mips-dec-bsd*): non-functional code
16991 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
16993 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
16994 added three replacement fixes
16995 (no_double_slash): removed comments that are not (any longer) pertinent
16996 (bad_lval): this fix currently runs against many files.
16997 The comment seems to indicate that we should select for files
16998 containing 'pragma extern_prefix'.
17000 * fixinc/fixinc.x86-linux-gnu: deleted
17001 * fixinc/inclhack.sh: regen
17002 * fixinc/fixincl.x: regen
17003 * fixinc/fixincl.sh: regen
17005 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
17007 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
17008 its code is INSN and it has no notes.
17010 1999-11-22 Andrew Haley <aph@cygnus.com>
17012 * varasm.c (function_defined): Remove.
17013 (make_function_rtl): Don't set function_defined.
17014 (make_decl_rtl): Remove global register warning.
17015 * regclass.c (no_global_reg_vars): New variable.
17016 (globalize_reg): Warn if function has already been defined.
17017 (regclass_init): Set no_global_reg_vars.
17019 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
17021 * regclass.c (reg_pref): New structure and static variable
17022 (prefclass): Delete.
17023 (altclass): Delete.
17024 (all uses of prefclass and altclass): Use reg_pref instead.
17026 1999-11-21 Nick Clifton <nickc@cygnus.com>
17028 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
17030 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
17031 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17032 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17034 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
17036 * varasm.c (output_constructor): Solve problem with long long
17037 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
17039 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17041 * global.c (allocno): New structure and static variable.
17042 (allocno_reg): Remove, all references replaced by allocno.
17043 (allocno_size): Likewise.
17044 (hard_reg_conflicts): Likewise.
17045 (hard_reg_preferences): Likewise.
17046 (hard_reg_copy_preferences): Likewise.
17047 (hard_reg_full_preferences): Likewise.
17048 (regs_someone_prefers): Likewise.
17049 (allocno_calls_crossed): Likewise.
17050 (allocno_n_refs): Likewise.
17051 (allocno_live_length): Likewise.
17052 (find_reg): Rename ALLOCNO to NUM.
17054 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
17055 references updated.
17056 (may_move_out_cost): New variable.
17057 (init_reg_sets_1): Initialize may_move_out_cost.
17058 (record_reg_classes): Use may_move_out_cost.
17060 * regclass.c (dump_regclass): New function.
17061 (regclass): New parameter DUMP, call DUMP_REGCLASS.
17062 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
17063 pass rtl_dump_file to regclass.
17064 * rtl.h (regclass): Update prototype.
17066 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17068 * i386.md (neg, not and abs patterns): Revmap to use
17069 ix86_expand_unary_operator and ix86_unary_operator_ok.
17070 (add?f and sub?f expanders): Force operand 1 to register.
17071 * i386.c (ix86_expand_unary_operator): Rewrite.
17072 (ix86_unary_operator_ok): Ensure that memory operands
17074 (ix86_binary_operator_ok): Do not allow operand 1 to
17075 come into memory and operand 0 not.
17076 (ix86_expand_binary_operator): Ensure that
17077 src1 is not non-matching memory.
17079 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
17080 to support integer registers and memory.
17081 (abss?2_integer): Likewise.
17083 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
17084 (REG_CLASS_NAMES): Likewise.
17085 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
17087 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
17088 (movsf): Likewise; unify 4th and 5th alternative.
17089 (pushdf): Likewise.
17090 (movdf_1): Likewise; rename to movdf_integer.
17091 (pushxf): Likewise; rename to pushxf_integer; fix output template;
17092 remove redundant splitter.
17093 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
17094 (movdf_nointeger): New.
17095 (movxf_nointeger): New.
17096 (pushxf_nointeger): New.
17098 * i386.md (extend?f?f): Split to expander and pattern, refuse two
17099 memory operands in patterns.
17100 (fop*): Refuse two memory operands.
17102 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
17103 on !TARGET_USE_CLTD CPUs.
17105 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
17107 * extend.texi: Document C++ restricted pointers and references.
17109 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
17111 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
17112 (invalidate_skipped_set): Call it unconditionally.
17113 (cse_set_around_loop): Likewise.
17115 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17117 * rtl.texi (mem): Add documentation for alias-set argument
17120 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17122 * i386.h (struct_processor_costs): New fields int_load, int_store,
17123 fp_move, fp_load and fp_store
17124 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
17126 (MEMORY_MOVE_COST): New macro.
17127 * i386.c (386_cost): Define new fields.
17128 (i486_cost): Likewise.
17129 (pentium_cost): Likewise.
17130 (pentiumpro_cost): Likewise.
17131 (k6_cost): Likewise.
17133 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
17134 Geoffrey Keating <geoffk@cygnus.com>
17136 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
17138 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
17141 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
17142 (TARGET_STRICT_ALIGNMENT): New macro.
17143 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
17144 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
17145 * invoke.texi (M680x0 Options): Document -mstrict-align.
17147 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
17148 Richard Henderson <rth@cygnus.com>
17150 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
17151 (ix86_split_long_move): Declare.
17152 * i386.c (split_xf, ix86_split_movdi): Remove.
17153 (ix86_split_to_parts, ix86_split_long_move): New.
17154 * i386.md (dimode move splitters): Use ix86_split_long_move.
17155 (dfmode move splitters): Likewise.
17156 (xfmode move splitters): Likewise.
17157 (movsf_1): Allow F->r.
17158 (movdf_1, movxf_1): Allow F->ro.
17160 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17162 * except.h (struct eh_entry): Add goto_entry_p.
17163 (eh_region_from_symbol): Remove prototype.
17164 * except.c (find_func_region_from_symbol): New function.
17165 (emit_cleanup_handler): Likewise.
17166 (eh_region_from_symbol): Make it static.
17167 (add_new_handler): Verify the argument.
17168 (find_func_region): Update comment.
17169 (expand_eh_region_end): Expand handlers here, rater than waiting
17170 until expand_leftover_cleanups or start_all_catch.
17171 (expand_leftover_cleanups): Don't expand here.
17172 (expand_start_all_catch): Or here.
17173 (expand_rethrow): Check the return value from find_func_region.
17174 * function.c (expand_function_end): Emit the catch_clauses.
17176 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
17178 * integrate.c (expand_inline_function): Add necessary check for NULL.
17180 1999-11-18 Nick Clifton <nickc@cygnus.com>
17182 * toplev.c (main): Correctly detect an unrecognised option.
17184 * cppinit.c (cpp_handle_option): Do not claim to have consumed
17185 a -f option if it has not been recognised.
17187 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
17189 * basic-block.h (update_life_extent): Remove trailing comma on
17190 enumeration type list.
17192 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17194 * varasm.c (output_constructor) Solved problem with long long
17195 bitfields. Corrected calculating this_time and shift. Also
17196 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
17198 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
17200 * flow.c (split_edge): Take looping structure into account when
17201 determining where to put the new block note.
17203 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
17205 * Makefile.in (ggc-none.o): Provide host specific version if
17208 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
17210 * cse.c (delete_trivially_dead_insns): Identify no-op insns
17211 containing subregs too.
17213 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17215 * invoke.texi: Add documentation for -muninit-const-in-rodata.
17216 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
17217 (TARGET_UNINIT_CONST_IN_RODATA): Define.
17218 (text_section): Add switches -munint-const-in-rodata and
17219 -mno-uninit-const-in-rodata.
17220 (ASM_OUTPUT_COMMON): Remove.
17221 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
17222 const objects should be placed in read-only data. Otherwise declare
17225 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
17227 * jump.c (jump_optimize_1): Revert last change.
17229 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
17231 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
17232 test if optimizing for size.
17234 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17236 * Makefile.in (toplev.o): Depend on except.h.
17237 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
17239 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17241 * i386.md (divmodsi4): Rewrite to expander.
17242 (*divmodsi4_nocltd): New.
17243 (*divmodsi4_cltd): New.
17244 (divmodsi4 splitter): Handle the case when input comes in edx.
17245 (udivmodhi4): Do not use constraints in exander.
17246 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
17248 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
17250 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
17251 for the common case.
17253 1999-11-16 Jakub Jelinek <jakub@redhat.com>
17255 * explow.c (hard_function_value): Add outgoing argument.
17256 * expr.h (hard_function_value): Declare it.
17257 * calls.c (expand_call, emit_library_call_value): Update callers.
17258 * function.c (aggregate_value_p): Ditto.
17259 (diddle_return_value): Must look at the outgoing registers
17260 on archs with register windows.
17262 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
17264 * alpha.c (alpha_build_va_list): Use make_lang_type and
17265 initialize TYPE_NAME for the va_list record.
17267 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
17269 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
17271 * ggc.h (struct ggc_statistics): Rearrange elements for better
17272 packing on 64-bit hosts.
17273 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
17274 (compute_nearerout): Likewise.
17276 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
17278 * config/rs6000/rs6000.c (first_reg_to_save): Save
17279 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
17281 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
17283 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
17284 notion of nesting to find the DIE for a type or function.
17285 DIEs can go in limbo even if we got a context_die.
17286 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
17287 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
17289 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
17290 (gen_type_die): Writing out the context doesn't cause member class
17291 template instantiations to be written out as well.
17293 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
17295 * rs6000.h (ASM_OUTPUT_DEF): New.
17296 Based on proposed addition from David Edelsohn.
17298 1999-11-15 Robert Lipe <RobertLipe@usa.net>
17299 Bruce Korb <autogen@linuxbox.com>
17301 * fixinc/inclhack.def
17302 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
17303 (unixware7_byteorder_fix): added. Removes conflicts for new defs
17305 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
17306 (svr4_endian): enabled with SVR5
17307 (svr4_mkdev): simplified syntax and enabled with SVR5
17309 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
17311 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
17312 * configure: Rebuilt.
17313 * config/t-freebsd-thread: New file.
17315 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
17317 * i386.c (ix86_decompose_address): Verify the base is a REG
17318 before trying to examine its register number.
17320 * basic-block.h: Remove all #defines and prototypes related to
17322 (free_bb_mem, compute_preds_succs): Remove prototype.
17323 * rtl.h (free_bb_mem): Remove prototype.
17324 * flow.c (alloc_int_list_node); Remove function.
17325 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
17326 (compute_preds_succs, free_bb_mem): Likewise.
17327 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
17328 * toplev.c (rest_of_compilation): Likewise.
17329 * haifa-sched.c (build_control_flow): Use flow generated edge
17330 list to build the haifa specific edge list.
17331 (find_rgns): Use new CFG data structures instead of pred/succ lists.
17332 (schedule_insns): Do not build pred/succ lists anymore. Instead
17333 build the edge table.
17335 * basic-block.h (dump_bb_data): Remove declaration.
17336 * flow.c (dump_bb_data): Remove function.
17337 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
17338 (sbitmap_union_of_predsucc): Likewise.
17340 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
17341 argument. All callers changed.
17342 (delete_null_pointer_checks_1): No longer need to compute the
17345 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
17346 All callers changed.
17347 (pre_expr_reaches_here_p_work): Likewise.
17348 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
17349 * lcm.c (compute_laterin): Fix initialization of LATER.
17350 (compute_nearerout): Similarly for NEARER.
17352 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17354 * cse.c (set_nonvarying_address_components): Delete unused function.
17355 (refers_to_p): Likewise.
17357 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
17359 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
17362 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17364 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
17365 definition in do while (0).
17367 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
17369 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
17371 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
17373 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
17375 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
17377 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
17378 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
17379 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
17380 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
17382 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
17383 saved on the stack. Output more accurate stack frame statistics
17384 into assembler file.
17386 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
17388 * genextract.c (record_insn_name): New function.
17389 (get_insn_name): No longer a stub.
17390 (main): Call record_insn_name for each insn. After each label
17391 written, print the insn name in a comment.
17393 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17395 * output.h (const_section, init_section, fini_section): Add
17398 * alpha/elf.h (const_section): Delete declaration.
17400 * svr4.h (const_section): Likewise.
17402 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
17404 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
17405 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
17406 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
17408 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
17409 variable-sized array bounds.
17411 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
17413 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
17416 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17418 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
17419 addresses the same way GO_IF_LEGITIMATE_INDEX does.
17421 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17423 * cse.c (hash_arg_in_struct): Delete.
17424 (struct table_elt): Delete elt in_struct.
17425 (struct set): Delete elt src_in_struct.
17426 (merge_equiv_classes): Don't set either hash_arg_in_struct or
17427 the corresponding in_struct elts.
17428 (canon_hash): Likewise.
17429 (safe_hash): Likewise.
17430 (find_best_addr): Likewise.
17431 (record_jump_cond): Likewise.
17432 (cse_insn): Likewise.
17434 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
17436 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
17438 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
17441 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
17443 * function.c (diddle_return_value): Put back check that the DECL_RTL
17444 for the function is a register.
17446 * function.c (diddle_return_value): Use hard_function_value to
17447 get an rtx suitable for use in the USE/CLOBBER insn.
17449 * global.c (global_conflicts): Update comments.
17450 (record_conflicts): No need to record conflicts between pseudos here.
17452 1999-11-11 Bruce Korb <autogen@linuxbox.com>
17454 * fixinc/fixincl.c: Added verbose levels for status messages
17456 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17458 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
17459 operand as argument to expand_and or expand_binop.
17461 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
17463 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
17464 gcc_add_string_root.
17466 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
17468 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
17470 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
17472 * flow.c (compute_flow_dominators): Initially put all blocks on
17474 * lcm.c (compute_antinout_edge, compute_available): Similarly.
17475 * gcse.c (compute_cprop_avinout): Remove.
17476 (compute_cprop_data): Use compute_available.
17477 (delete_null_pointer_checks_1): Use compute_available.
17479 * basic-block.h (compute_available): Returns a void now.
17480 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
17481 to return a value anymore.
17482 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
17483 worklists. Fix boundary cases. Compute maximal solutions.
17484 (compute_laterin, compute_nearerout): Similarly.
17486 * dwarf2out.c (add_AT_location_description): Allow
17487 (mem (plus (pseudo) (...)) too.
17489 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
17491 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
17493 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
17494 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17496 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
17498 * gansidecl.h: Likewise.
17504 * toplev.h: Likewise.
17506 * tree.c: Likewise.
17508 * tree.h: Likewise.
17510 * varray.c: Likewise.
17512 * varray.h: Likewise.
17514 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
17516 * gcov.c (struct arcdata): Add hits and total, remove prob.
17517 (output_branch_counts): New.
17518 (process_args): Set output_branch_counts if -c.
17519 (calculate_branch_probs): Store hits and total instead of
17521 (output_data): Emit counts if output_branch_counts is true.
17522 * gcov.texi (Invoking Gcov): Document -c switch..
17524 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
17526 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
17527 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
17529 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
17531 * invoke.texi (C Dialect Options): Add missing builtins from
17532 c-common.c to list.
17533 * extend.texi (Other Builtins): Copy to this list.
17535 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17537 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
17538 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
17539 redundant bitmap.h.
17541 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
17543 * flow.c (compute_flow_dominators): No longer treat basic block 0
17544 or (n_basic_blocks - 1) specially. Clear the AUX field before
17545 starting computation of doms/pdoms. Fix initial state for pdoms.
17547 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17549 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
17550 match rtl.o's: added ggc.h and toplev.h
17551 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
17552 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
17553 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
17555 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
17557 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
17558 from HAVE_DOS_BASED_FILESYSTEM.
17559 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
17560 HAVE_DOS_BASED_FILESYSTEM.
17562 (split_directories): Only special-case DOS file names if
17563 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
17564 instead of explicit tests. Conditionalize on !VMS.
17565 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
17566 tests. Conditionalize on !VMS.
17567 (process_command): Only use make_relative_prefix if !VMS.
17568 (free_split_directories): Conditionalize on !VMS.
17569 (DIR_UP): Conditionalize on !VMS.
17571 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
17573 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
17575 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
17577 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
17580 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
17582 * invoke.texi (Environment Variables): Document relative path
17584 * gcc.c (DIR_UP): If not defined, define as "..".
17585 (standard_bindir_prefix): New static, holds target location to
17587 (split_directories): New function to split a filename into
17588 component directories.
17589 (free_split_directories): New function, release memory allocated
17590 by split_directories.
17591 (make_relative_prefix): New function, make a relative pathname if
17592 the compiler is not in the expected location.
17593 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
17594 can figure out an appropriate prefix from argv[0].
17595 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
17596 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
17597 STANDARD_BINDIR_PREFIX.
17599 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17601 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
17603 * config/c4x/c4x.h: Moved prototypes to c4x.h.
17604 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
17605 c4x_secondary_memory_needed) Delete.
17606 (fp_zero_operand): Add mode argument.
17608 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
17610 * reload1.c (reload_reg_free_for_value_p): Don't use a register
17611 that is in reload_reg_used.
17613 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
17615 * config/arm/arm-protos.h: New file: Prototypes for functions
17616 defined in arm.c and pe.c.
17617 * config/arm/arm.h: Fix compile time warnings.
17618 * config/arm/arm.c: Fix compile time warnings.
17619 * config/arm/pe.h: Fix compile time warnings.
17620 * config/arm/aout.h: Fix compile time warnings.
17622 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
17624 * config/m32r/m32r-protos.h: New file: Prototypes for functions
17627 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
17628 Add support for subtargets.
17629 Add prototypes for new predicates.
17630 Add scheduling macros.
17632 * config/m32r/m32r.c: Fix compile time warnings.
17633 (int8_operand): New predicate function.
17634 (reg_or_cmp_int16_operand): New predicate function.
17635 (extend_operand): New predicate function.
17636 (m32r_adjust_code): New scheduling function.
17637 (m32r_adjust_priorty): New scheduling function.
17638 (m32r_sched_init): New scheduling function.
17639 (m32r_sched_reorder): New scheduling function.
17640 (m32r_sched_variable_issue): New scheduling function.
17641 (direct_return): New codegen function.
17642 (m32r_not_same_reg): New rtl testsing function.
17644 * config/m32r/m32r.md: Fix compile time warnings.
17645 Add support for pre decrement and post increment memory
17647 Add S<cc> patterns.
17650 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17652 * global.c (EXECUTE_IF_CONFLICT): Don't define.
17653 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
17654 (find_reg): Likewise.
17656 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
17658 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
17659 to avoid assembler errors.
17661 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
17663 * config/v850/v850-protos.h: New file: Prototypes for functions
17665 * config/v850/v850.h: Move prototypes to v850-protos.h
17666 * config/v850/v850.c: Move prototypes to v850-protos.h
17667 * config/v850/v850.md: Fix compile time warnings.
17669 * config/fr30/fr30-protos.h: New file: Prototypes for functions
17671 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
17672 * config/fr30/fr30.c: Fix compile time warnings.
17673 * config/fr30/fr30.md: Fix compile time warnings.
17675 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
17677 * tree.h (get_containing_scope): Declare it.
17678 * tree.c (get_containing_scope): New fucntion.
17679 (decl_function_context): Use it.
17680 * toplev.c (rest_of_compilation): Use get_containing_scope.
17682 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17684 * Makefile.in (rtl.o): Depend on toplev.h.
17686 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
17688 * cse.c (delete_trivially_dead_insns): Replace alloca with
17690 * except.c (update_rethrow_references): Likewise.
17691 (init_eh_nesting_info): Likewise.
17692 * function.c (identify_blocks): Likewise.
17693 * gcse.c (dump_hash_table): Likewise.
17694 * graph.c (print_rtl_graph_with_bb): Likewise.
17695 * loop.c (combine_movables): Likewise.
17696 (move_movables): Likewise.
17697 (count_loop_regs_set): Likewise.
17698 (strength_reduce): Likewise.
17699 * profile.c (compute_branch_probabilities): New function, split
17701 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
17702 * regclass.c (regclass): Likewise.
17703 * regmove.c (regmove_optimize): Likewise.
17704 * toplev.c (compile_file): Likewise.
17705 (main): Don't mess with the stack rlimit.
17707 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
17709 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
17710 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
17712 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
17714 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
17716 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
17718 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
17719 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
17722 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
17724 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
17726 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
17728 * gcse.c (post_dominators): Kill.
17729 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
17730 (compute_code_hoist_data): Use compute_flow_dominators. Do not
17731 pass in a pdom array since we do not need pdoms.
17732 * haifa-sched.c (schedule_insns): Similarly.
17733 * flow.c (compute_dominators): Remove dead function.
17734 (compute_flow_dominators): Do not compute doms or pdoms if the
17735 caller does not request them. Split up loop to build doms and
17736 pdoms. Use a worklist to compute doms and pdoms.
17737 * basic-block.h (compute_dominators): Remove prototype.
17739 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
17741 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
17742 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
17743 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
17744 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
17745 (cant_move, fed_by_spec_load, is_load_insn): Remove.
17746 (schedule_region): Remove unused variable.
17747 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
17749 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
17751 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
17752 (update_equiv_regs): Likewise.
17753 (block_alloc): Likewise.
17754 * reg-stack.c (reg_to_stack): Likewise.
17755 (convert_regs_2): Likewise.
17756 * reload1.c (reload_as_needed): Likewise.
17758 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
17760 * Makefile.in (dbxout.o): Depend on ggc.h.
17761 (dwarf2out.o): Likewise.
17762 (xcoffout.o): Likewise.
17763 * dbxout.c: Include ggc.h.
17764 (dbxout_init): Register lastfile as a root.
17765 * dwarf2out.c: Include ggc.h.
17766 (dwarf2out_line): Register lastfile as a root.
17767 * xcoffout.c: Include ggc.h.
17768 (xcoffout_source_line): Register xcoff_lastfile as a root.
17770 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
17772 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
17774 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
17776 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17778 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17780 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17782 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17783 (EXECUTE_IF_CONFLICT): Likewise.
17784 (ALLOCNO_LIVE_P): Avoid signed division.
17785 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17786 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17787 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17789 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
17791 * haifa-sched.c (schedule_block): Don't crash if there's no
17792 next insn for an interblock movement.
17793 (add_branch_dependences): Don't allow clobber insns to move either.
17795 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
17797 * i386.c (split_xf): New.
17798 * i386-protos.h: Declare it.
17799 * i386.md (movxf_1): Add general regs alternatives.
17800 (movxf_1+1): New splitter for same.
17802 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
17804 * function.c (purge_addressof_1): Add missing return values.
17806 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
17808 * function.c (is_addressof): New function. Returns true if
17809 the given piece of RTL is an ADDRESSOF.
17810 (purge_addressof_1): Make boolean. Return false if the
17811 ADDRESSOFs could not be purged.
17812 (purge_addressof): If ADDRESSOFs could not be purged from the
17813 notes attached to an insn, remove the offending note(s),
17814 unless they are attached to a libcall.
17816 1999-11-05 Andreas Jaeger <aj@suse.de>
17818 * genoutput.c (null_operand =): Initialize all fields.
17820 * errors.h: Add extern to prototypes.
17822 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
17824 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
17825 * configure: Rebuilt.
17827 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17829 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
17830 (mirror_conflicts): New function.
17831 (global_alloc): Call it.
17832 (expand_preferences): Remove redundant CONFLICTP test.
17833 (find_reg, dump_conflicts): Likewise.
17834 (prune_preferences): Process conflicts one word at a time.
17836 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
17838 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
17839 instead of an explicit loop.
17841 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
17843 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
17844 if REG_RETVAL check succeeds, then put classp in src_elt.
17846 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
17848 * function.c (pad_to_arg_alignment): Only update argument_pad
17849 if the argument's alignment is greater than STACK_BOUNDARY.
17851 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
17853 * bitmap.h (BITMAP_XFREE): New.
17854 * flow.c (life_analysis): Use it.
17855 (life_analysis_1): Free blocks.
17857 * combine.c (undo_commit): New.
17858 (try_combine): Use it. Don't zap undobuf.undos.
17859 (combine_instructions): Don't zap undobuf.undos; free the
17860 undobuf.frees list.
17862 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
17864 * stmt.c (cost_table_): New.
17865 (estimate_case_costs): Use it instead of xmalloc.
17867 * toplev.c (compile_file): Reuse dumpname memory instead
17870 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
17872 * reg-stack.c (convert_regs_1): Initialize target_stack->top
17873 after verifying an EH edge.
17875 * haifa-sched.c (init_rgn_data_dependences): Correctly
17876 size bb_pending_lists_length when zeroing.
17878 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
17880 * function.c (diddle_return_value): New.
17881 (expand_function_end): Use it.
17882 * stmt.c (expand_null_return): Likewise.
17883 (expand_value_return): Likewise.
17885 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
17887 * reload1.c (reload): Don't remove return value clobbers.
17889 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
17891 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
17893 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
17895 * cse.c (cse_main): Use xmalloc, not alloca.
17896 (cse_basic_block): Likewise.
17897 * local-alloc.c (local_alloc): Likewise.
17899 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
17900 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17902 * rtl.c: Include toplev.h.
17903 (fatal): Remove declaration.
17905 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
17907 * haifa-sched.c (schedule_block): Fix thinko.
17909 1999-11-03 James McKelvey <mckelvey@fafnir.com>
17911 * fixinc/fixincl.c(create_file): Allow for systems that do not have
17912 S_IR* defined values
17914 1999-11-03 Philippe De Muyter <phdm@macqel.be>
17916 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
17917 call `malloc' instead.
17919 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
17921 * flags.h (flag_renumber_insns): Declare.
17922 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
17924 * rtl.h (renumber_insns): Change prototype.
17925 * toplev.c (flag_renumber_insns): Define.
17926 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
17928 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
17930 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
17931 and fpsqrtd. Use them and create fdiv function unit to more
17932 accurately represent fpu sqrt pipeline semantics on UltraSparc.
17933 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
17935 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
17937 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
17939 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
17940 insn into ready list, do not use just a raw swap.
17942 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
17944 * rtl.h (renumber_insns): New function.
17945 (remove_unnecessary_notes): Likewise.
17946 * emit-rtl.c (renumber_insns): Define.
17947 (remove_unncessary_notes): Likewise.
17948 * toplev.c (rest_of_compilation): Remove dead code.
17949 Use renumber_insns and remove_unncessary_notes.
17951 * gcse.c (struct null_pointer_info): New type.
17952 (get_bitmap_width): New function.
17953 (current_block): Remove.
17954 (nonnull_local): Likewise.
17955 (nonnull_killed): Likewise.
17956 (invalidate_nonnull_info): Take a null_pointer_info as input.
17957 (delete_null_pointer_checks_1): New function.
17958 (delete_null_pointer_checks): Use it.
17960 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
17961 (split_edges): Likewise.
17962 (schedule_block): Likewise.
17963 (compute_block_backward_dependencies): Likewise.
17964 (schedule_region): Likewise.
17965 (schedule_insns): Likewise.
17967 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
17969 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
17970 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
17971 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
17972 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
17973 * jump.c (delete_unreferenced_labels): Don't delete if
17974 LABEL_ALTERNATE_NAME is set.
17975 * print-rtl.c (print_rtx): Dump alternate name.
17976 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
17977 * rtl.h (LABEL_ALTERNATE_NAME): Define.
17978 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
17979 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
17981 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17983 * fix-header.c (recognized_extern, recognized_function): Constify
17986 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
17987 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17988 (compute_available): Remove unused variable `last'.
17989 (compute_nearerout): Remove unused variable `temp_bitmap'.
17990 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17991 Remove unused variable `x'.
17993 * scan.h (recognized_function, recognized_extern): Constify a
17996 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
17998 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18000 * varasm.c (decode_rtx_const): Use XSTR to access the string
18003 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
18005 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
18007 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18009 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
18011 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
18013 * pa.c (ireg_operand): New function.
18014 * pa.h (PREDICATE_CODES): Handle ireg_operand.
18015 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
18016 Fix out of date comment.
18018 * pa.md (negdi2): Turn into expander + anonymous pattern.
18020 * reload.c (find_reloads): Fix typos in recent change.
18022 * dwarf2out.c: Do not include ctype.h.
18024 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18026 * regclass.c (record_reg_classes): Always use may_move_cost when
18027 seeing how operand fits with various register classes.
18029 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
18031 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
18032 * toplev.c: Revert Nov 1 13:22 change.
18034 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
18036 * config/pa/pa.md (height reduction patterns): Add checks for
18037 overlapping operands to avoid semantic-destroying splits for
18038 height reduction patterns.
18040 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18042 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
18043 have been an hyphen, fixed.
18044 * configure: Rebuilt.
18046 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
18048 * config/arm/tpe.h: Add prototypes for exported functions.
18049 * config/arm/pe.c: Fix compile time warnings.
18050 * config/arm/semi.h: Fix compile time warnings.
18051 * config/arm/arm.c: Fix compile time warnings.
18052 * config/arm/arm.h: Fix compile time warnings.
18053 * config/arm/arm.md: Fix compile time warnings.
18054 * config/arm/thumb.c: Fix compile time warnings.
18055 * config/arm/thumb.h: Fix compile time warnings.
18056 * config/arm/thumb.md: Fix compile time warnings.
18058 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
18060 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
18063 * unroll.c (unroll_loop): Remove LOOP notes when loop is
18064 completely unrolled.
18066 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18068 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
18070 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
18072 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
18073 * rtl.h (rtx_equal_p): Move prototype.
18074 * rtl.c (rtx_equal_function_value_matters): Move from
18076 (rtx_equal_p): Likewise.
18077 * rtlanal.c (rtx_equal_function_value_matters): Delete.
18078 (rtx_equal_p): Likewise.
18080 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
18082 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
18083 ! HAS_INIT_SECTION.
18085 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
18087 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
18089 * pa.h (ADDR_VEC_ALIGN): Define.
18091 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
18092 notes when presented with "if (foo) break; end_of_loop" and
18093 the break sequence gets moved out of the loop.
18095 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
18096 Remove explicit zero initializations of entries within MAP.
18098 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
18100 * reg-stack.c (convert_regs_1): Handle EH edges specially.
18102 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
18104 * bitmap.h (BITMAP_XMALLOC): New macro.
18105 * flow.c (CLEAN_ALLOCA): Remove.
18106 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
18107 (life_analysis): Likewise.
18108 (update_life_info): Don't use CLEAN_ALLOCA.
18109 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
18110 (calculate_global_regs_live): Likewise.
18111 (print_rtl_with_bb): Likewise.
18112 (verify_flow_info): Likewise.
18113 * global.c (global_alloc): Likewise.
18114 (global_conflicts): Likewise.
18115 * integrate.c (save_for_inline_nocopy): Likewise.
18116 (expand_inline_function): Likewise.
18117 * jump.c (jump_optimize_1): Likewise.
18118 (duplicate_loop_exit_test): Likewise.
18119 (thread_jumps): Likewise.
18120 * loop.c (loop_optimize): Likewise.
18121 (combine_givs): Likewise.
18122 (recombine_givs): Likewise.
18123 * reorg.c (dbr_schedule): Likewise.
18124 * unroll.c (unroll_loop): Likewise.
18126 * combine.c (combine_instructions): Use xmalloc instead of alloca.
18128 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
18130 * toplev.c (rest_of_compilation): Don't optimize the CFG
18131 when rebuilding, just before dbr.
18133 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18135 * output.h (assemble_end_function, assemble_destructor,
18136 assemble_constructor, assemble_gc_entry, assemble_global,
18137 assemble_label, output_constant_pool) Constify a char*.
18139 * varasm.c (assemble_destructor, assemble_constructor,
18140 assemble_gc_entry, assemble_end_function, assemble_global,
18141 assemble_label, output_constant_pool): Likewise.
18143 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
18145 * config/arm/thumb.c (thumb_expand_prologue): Add comments
18146 explaining what is goin on in this function.
18148 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18150 * regclass.c (record_reg_classes): In matching case, recompute
18151 costs since the direction of movement is different.
18153 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
18155 * resource.c (mark_target_live_regs): For unconditional branches,
18156 the resources found at the branch target should be added to the
18157 resources found so far, not intersected.
18159 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
18161 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
18163 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
18164 (sys/mman.h): Include this file only if #HAVE_MMAP.
18165 (run_compiles): Initialize `esac_fmt' with one old KR string, not
18166 with automatically concatenated ANSI strings.
18168 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
18170 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
18171 (DIV_ROUND_UP): Robustify.
18172 (ggc_recalculate_in_use_p): New function.
18173 (release_pages): Don't inline it.
18174 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
18176 (ggc_pop_context): Use ggc_recalculate_in_use_p.
18177 (clear_marks): Always save in_use_p.
18178 (sweep_pages): Use ggc_recalculate_in_use_p.
18179 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
18180 Release pages before counting statistics.
18182 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
18184 * toplev.c (rest_of_compilation): Fix thinko in this change:
18186 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18188 (rest_of_compilation): If inside an inlined external function,
18189 pretend we are just being declared.
18191 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
18193 * flow.c (calculate_global_regs_live): Fix thinko.
18195 * integrate.c (expand_inline_function): Fix bugs in previous
18196 change from Oct 28, 1999.
18198 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
18200 * stmt.c (expand_value_return): Fix typo in this change:
18202 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18203 (expand_value_return): Correctly convert VAL when promoting function
18204 return; support RETURN_REG being a PARALLEL.
18206 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
18208 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
18210 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18212 * hard-reg-set.h (reg_names): Constify a char*.
18214 * regclass.c (reg_names): Likewise.
18216 * regs.h (reg_names): Likewise
18218 * a29k/a29k.c (reg_names): Delete declaration.
18220 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
18222 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
18223 arc_output_function_epilogue): Likewise.
18225 * elxsi/elxsi.c (reg_names): Likewise.
18227 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
18229 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
18232 * m88k/m88k.c (output_function_profiler): Likewise.
18234 * sparc/sparc.c (sparc_flat_output_function_prologue,
18235 sparc_flat_output_function_epilogue): Likewise.
18237 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
18239 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
18240 warning from -Wuninitialized and put it under -W.
18241 * function.c (uninitialized_vars_warning): Warn only when the
18242 corresponding flag is set.
18244 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
18246 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
18247 is nonzero and the single set does not have an elt, then assign
18250 * simplify-rtx.c: New file.
18251 * Makefile.in (OBJS): Add simplify-rtx.o
18252 (simplify-rtx.o): Add dependencies.
18253 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
18254 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
18255 (cse_gen_binary, simplify_unary_operation): Delete.
18256 (simplify_binary_operation, simplify_plus_minus): Likewise.
18257 (check_fold_consts, simplify_relation_operation): Likewise.
18258 (simplify_ternary_operation): Likewise.
18259 (delete_trivially_dead_insns): Simplify the contents of the
18260 REG_EQUAL note before trying to substitute it into the source
18261 of the reg-reg copy at the end of a libcall sequence.
18263 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
18264 references/callers changed.
18266 * mn10200.c (mn10200_va_arg): Force the return value into a
18269 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
18271 * cccp.c (macroexpand): Avoid out of range accesses for omitted
18274 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
18276 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
18278 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
18280 * fold-const.c (fold): Fix thinko when optimizing comparisons
18283 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
18285 * gcc.texi (Passes): Update front-end files to their current
18288 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
18290 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
18291 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
18292 (PREDICATE_CODES): Add addition_operation.
18293 * alpha-protos.h (addition_operation): Declare.
18294 (secondary_reload_class): Likewise.
18295 * alpha.c (addition_operation): New.
18296 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
18297 * alpha.md (adddi3): Turn into expander.
18298 (*lda, *adddi_2): New.
18299 (movsf, movdf patterns): Don't preference integer regs.
18300 (movsi, movdi patterns): Don't preference fp regs.
18302 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
18304 * genrecog.c (write_switch): Check for duplicate CODE cases.
18306 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
18308 * ggc-common.c: Update pre-function commentary.
18309 * ggc-page.c: Likewise.
18311 (poison_pages): Use memset directly.
18312 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
18313 (ggc_collect): Poison before sweeping.
18314 * ggc-simple.c: Update pre-function commentary.
18315 (ggc_alloc_obj): Poison non-zeroed memory.
18317 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
18319 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
18320 match format string, even on 64-bit hosts.
18321 * gcc-page.c (ggc_page_print_statistics): Likewise.
18323 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
18325 * config/i386/i386.c (ix86_cpu): Revert last patch.
18326 * config/i386/i386.h (ix86_cpu): Ditto.
18328 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
18330 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
18331 TYPE_SIZE, convert type of result to sizetype.
18333 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
18335 * flow.c (count_or_remove_death_notes): Equate NULL with the
18338 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
18339 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
18342 * i386.c (pic_label_no): Delete.
18343 (ix86_attr_length_default): Don't use single_set to peek
18346 * recog.c (peephole2_optimize): Allow recog_next_insn to index
18347 the first insn after bb->end.
18348 * i386.md (push mem peeps): Scratch is live after evaluation
18350 (cmp mem peep): Similarly.
18352 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
18354 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
18355 * function.c (pad_to_arg_alignment): Add missing braces.
18357 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18359 * alpha/alpha-protos.h (literal_section): Add prototype.
18360 (alpha_need_linkage, alpha_start_function,alpha_end_function):
18363 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
18365 (alpha_start_function, alpha_end_function, float_strings,
18366 alpha_need_linkage): Constify a char*
18368 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
18370 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
18372 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
18374 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
18376 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18378 * flow.c (debug_flow_info): Add prototype.
18380 * gcc.c (main): Likewise.
18382 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
18385 * reload1.c (failed_reload, set_reload_reg): Likewise.
18387 * mips-tfile.c (main): Likewise.
18388 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
18389 with ATTRIBUTE_NORETURN.
18391 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
18393 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
18394 DECL is not a memory ref.
18396 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
18398 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
18399 * config/i386/i386.c (ix86_cpu): Add extern attribute.
18401 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
18403 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
18404 * config/mips/elf64.h: ditto.
18406 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
18408 * expr.c (emit_push_insn): New argument alignment_pad.
18409 Update all callers. Adjust stack pointer based on alignment pad.
18410 * function.c (pad_to_arg_alignment): New argument alignment_pad.
18411 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
18412 (locate_and_pad_parm): New argument alignment_pad. Update all
18414 * expr.h (emit_push_insn): Update prototype.
18415 (locate_and_pad_parm): Update prototype.
18416 * calls.c (arg_data): Add new field alignment_pad.
18417 (initialize_argument_information): Initialize alignment_pad.
18419 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
18421 * except.c (free_eh_nesting_info): Free the info itself.
18422 * function.c (free_after_compilation): Don't free NULL.
18423 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
18424 (pre_edge_insert): Free inserted.
18425 * stmt.c (free_stmt_status): Don't free NULL.
18427 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18429 * gcov.c (DIR_SEPARATOR): Provide default.
18430 (output_data): Add test for MS-DOS format absolute filename.
18431 (fancy_abort): Correct program name.
18432 (open_files): Open all files in binary mode.
18433 * libgcc2.c (__bb_exit_func): Likewise.
18435 * profile.c (init_branch_prob): Specify binary when opening files.
18437 * flags.h (flag_unwind_tables): New decl.
18438 * toplev.c (flag_unwind_table): New definition.
18439 (f_options): Add -funwind-tables.
18440 (decode_g_option): Clarify warning when unknown -g option is given.
18441 (rest_of_compilation): If inside an inlined external function,
18442 pretend we are just being declared.
18444 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
18445 (dwarf2out_frame_finish): Likewise.
18447 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
18449 * fold-const.c (merge_ranges): If not in0, but in1, handle
18450 upper bounds equal like subset case.
18452 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
18454 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
18455 passed in a register but moved to the stack.
18457 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
18459 * gcc.c (pass_exit_codes, greatest_status): New variables.
18460 (struct option_map): Add entry for "--pass-exit-codes".
18461 (execute): Update greatest_status if error.
18462 (display_help): Add documentation for -pass-exit-codes.
18463 (process_command): Handle -pass-exit-codes.
18464 (main): Look at pass_exit_codes and greatest_status on call to exit.
18466 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18468 * reload.c (find_reloads): Refine test for no input reload
18469 case to not includes reloads emitted after insn.
18471 * function.c (find_temp_slots_from_address): Handle sum involving
18472 a register that points to a temp slot.
18473 (update_temp_slot_address): Make recursive call if both old and
18474 new are PLUS with a common operand.
18475 * calls.c (expand_call): Mark temp slot for result as having
18478 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
18480 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
18481 component as well as "BINUTILS".
18483 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
18484 * integrate.c (copy_rtx_and_substitute): Likewise.
18485 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
18486 All callers changed.
18487 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
18489 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
18490 gdb extensions, write size of type; also be more consistent
18491 in using references when this is a subtype.
18493 * pa.md (extv, extzv, insv): Use define_expand to reject constant
18494 that is out of range.
18496 * loop.c (unknown_constant_address_altered): New variable.
18497 (prescan_loop): Initialize it.
18498 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
18499 (invariant_p, case MEM): Remove handling for volatile and readonly;
18500 check new variable if readonly.
18501 (check_dbra_loop): Chdeck unknown_constant_address_altered.
18503 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
18504 (addr_affects_sp_p): Removed from note_mem_written and only
18505 define #ifdef AUTO_INC_DEC.
18507 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
18509 * regclass.c (record_reg_classes): Properly handle register move
18512 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
18513 Don't think valid if both operands are invalid.
18514 (struct constant_descriptor): New field RTL.
18515 (mark_const_hash_entry): Mark it.
18516 (record_constant{,_rtx}): Initialize it.
18517 (output_constant_def): Allocate RTL in permanent obstack and
18519 ({record,compare}_constant_1): Modes must match for
18520 CONSTRUCTOR of ARRAY_TYPE.
18522 * c-common.h (initializer_constant_valid_p): Delete decl from here.
18523 * output.h (initializer_constant_valid_p): Move decl to here.
18524 * c-common.c (initializer_constant_valid_p): Delete function from here.
18525 * varasm.c (initializer_constant_valid_p): Move function to here.
18527 * tree.h (STRIP_SIGN_NOPS): New macro.
18528 * fold-const.c (optimize_minmax_comparison): New function.
18529 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
18530 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
18531 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
18532 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
18533 widening conversions.
18534 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
18535 to look at size of mode, not precision of type; also add missing cases.
18536 (optimize_bit_field_compare, decode_field_reference): Don't try to
18537 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
18539 * dwarf2out.c (ctype.h): Include.
18540 (dwarf2out_set_demangle_name_func): New function.
18541 (size_of_line_info): Deleted.
18542 (output_line_info): Compute size of line info table from difference
18544 (base_type_die, add_name_attribute): Call demangle function, if any.
18545 (field_byte_offset): Use bits per word for variable length fields.
18546 (gen_array_type_die): Add array name.
18547 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
18548 (dwarf2out_add_library_unit_info): New function.
18550 * explow.c (set_stack_check_libfunc): New function.
18551 (stack_check_libfunc): New static variable.
18552 (probe_stack_range): Allow front-end to set up a libfunc to call.
18554 * combine.c (simplify_comparison): When making comparison in wider
18555 mode, check for having commuted an AND and a SUBREG.
18556 (contains_muldiv): New function.
18557 (try_combine): Call it when dividing a PARALLEL.
18558 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
18559 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
18561 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
18562 use one of the CLOBBERs instead.
18563 (if_then_else_cond): If comparing against zero, just return thing
18566 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
18567 Don't generate shifts and subtract if have conditional arithmetic.
18569 * rtl.h (delete_barrier): New declaration.
18570 * jump.c (jump_optimize): Set up to handle conditional call.
18571 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
18572 (delete_barrier): New function.
18574 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
18576 * recog.c (nonmemory_operand): Accept ADDRESSOF.
18578 * tree.c (build_type_attribute_variant): Push to obstack of
18579 ttype around type_hash_canon call.
18581 * expr.c (placeholder_list): Move decl to file scope.
18582 (expand_expr): Don't force access to volatile just because its
18584 If ignoring reference operations, just expand the operands.
18585 (expand_expr, case COMPONENT_REF): Propagate
18586 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
18587 Refine test for using bitfield operations vs pointer punning.
18588 (expand_expr, case CONVERT_EXPR): If converting to
18589 BLKmode UNION_TYPE from BLKmode, just return inner object.
18590 Use proper mode in store_field call.
18591 Properly set sizes of object to store and total size in store_field
18592 call for convert to union.
18593 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
18594 memory (like for ADDR_EXPR). Also, don't put constant in register if
18595 we'll want it in memory.
18596 (readonly_fields_p): New function.
18597 (expand_expr, case INDIRECT_REF): Call it if LHS.
18598 (expand_assignment): Handle a RESULT_DECL where
18599 DECL_RTL is a PARALLEL.
18600 (do_jump, case WITH_RECORD_EXPR): New case.
18601 (get_inner_reference): Always go inside a CONVERT_EXPR
18602 and NOP_EXPR if both modes are the same.
18603 (store_field): Use bitfield operations if size of bitsize is not same
18604 as size of RHS's type.
18605 Check for bitpos not a multiple of alignment in BLKmode case.
18606 Do block move in largest possible alignment.
18607 (store_constructor): Set BITSIZE to -1 for variable size and properly
18608 in case of array of BLKmode.
18609 (expand_expr_unaligned): New function.
18610 (do_compare_and_jump): Call it.
18612 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
18613 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
18614 does not include 'o'.
18616 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
18617 both SET_DEST and SET_SRC reference a virtual register.
18618 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
18620 * integrate.c (expand_inline_function): Handle case of setting
18621 virtual stack vars register (from built in setjmp); when parameter
18622 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
18623 (subst_constant): Add new parm, MEMONLY.
18624 (expand_inline_function, integrate_parm_decls): Pass new parm.
18625 (integrate_decl_tree): Likewise.
18626 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
18627 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
18628 (copy_rtx_and_substitute, case SET): Add explicit calls to
18629 copy_rtx_and_substitute for both sides.
18631 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
18633 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
18634 within INDEX_TYPE, instead of before.
18635 (fixup_gotos): Use f->target_rtl, not the next insn,
18636 since latter may be from a later fixup.
18637 (expand_value_return): Correctly convert VAL when promoting function
18638 return; support RETURN_REG being a PARALLEL.
18639 (expand_return): When checking for result in regs and having
18640 cleanup, consider PARALLEL in DECL_RTL as being in regs.
18642 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
18644 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
18645 last_nominal_fname): Mark const.
18646 (struct include_hash: name, nshort, control_macro): Mark
18648 (struct macrodef: symnam): Mark const.
18649 (struct if_stack: fname): Mark const.
18650 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
18651 (IStable): New character-syntax array which encompasses all
18652 the old is_foo arrays.
18653 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
18654 is_space): New macros for interrogating IStable.
18655 (check_macro_name): Kill last argument. All callers changed.
18657 * cppinit.c (initialize_char_syntax): Delete.
18658 (is_idchar, is_idstart, is_hor_space, is_space,
18659 trigraph_table): Delete.
18660 (IStable): New. Initialize with clever macros to avoid
18661 information duplication.
18662 (builtin_array): Table of builtins to get rid of explicit list
18663 in initialize_builtins.
18664 (initialize_builtins): Use builtins_array.
18665 (cpp_start_read): Call init_IStable, and set IStable['$'] if
18666 opts->dollars_in_ident.
18668 * cppexp.c: Change all refs to is_xyz[] arrays to use new
18670 (cpp_parse_expr): Avoid 'format string is not constant'
18671 warning. Use ISGRAPH to identify printable chars.
18672 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
18674 (read_and_prescan): Map trigraphs to chars with open-coded
18675 if-else-if-... sequence, not a lookup table.
18676 * cpphash.c: Change all refs to is_xyz[] arrays to use new
18678 * cpplib.c: Change all refs to is_xyz[] arrays to use new
18679 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
18680 (check_macro_name): Remove ability to report an invalid
18681 assertion name, which is never used.
18682 (do_line): Constify a couple of char *'s.
18683 * cppmain.c (main): Call cpp_cleanup before returning.
18685 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
18687 * ggc.h (struct ggc_statistics): New type.
18688 (ggc_get_size): New function.
18689 (ggc_print_statistics): Likewise.
18690 * ggc-common.c (ggc_stats): New variable.
18691 (ggc_mark_rtx_children): Keep statistics.
18692 (ggc_mark_tree_children): Likewise.
18693 (ggc_print_statistics): New function.
18694 * ggc-page.c (struct globals): Add bytes_mapped field.
18695 (alloc_anon): Update it.
18696 (release_pages): Likewise.
18697 (ggc_get_size): New function.
18698 (ggc_page_print_statistics): New function.
18699 * ggc-simple.c (ggc_get_size): New function.
18701 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
18703 * flow.c (propagate_block): When the last reference to a label
18704 before an ADDR_VEC is deleted because the reference is a dead
18705 store, delete the ADDR_VEC.
18707 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
18709 * resource.c (find_free_register): Don't use the frame pointer
18710 if frame_pointer_needed.
18712 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
18714 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
18715 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
18717 * config/i960/i960.c (i960_va_start): New locals base, num.
18718 Use INDIRECT_REF instead of ARRAY_REF on valist.
18719 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
18721 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
18723 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
18725 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
18727 * tree.def (PLACEHOLDER_EXPR): Update comments.
18729 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18731 * c-common.c (check_format_info): Avoid non-literal format string
18732 warnings when `first_arg_num' is zero.
18734 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18736 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
18738 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
18740 * arm.md (casesi_insn): Add a clobber of the condition code
18743 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
18745 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
18746 used by both cc1 and cc1plus.
18748 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
18750 * config/arm/arm.c: Initialise arm_structure_size_boundary to
18751 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
18752 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
18753 to the value 32 if it has not already been defined.
18754 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
18755 Override definition in arm.h with a value of 8.
18757 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
18759 * c-pragma.c (push_alignment): Don't check the return value
18762 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
18764 * sparc.h (ADJUST_COST): Fix thinko.
18766 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
18768 * cccp.c (rescan): Fixed obp pointer handling around call to
18769 check_expand subroutine.
18771 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
18773 * gcse.c (delete_null_pointer_checks): Only record non-null info
18774 for pseudos when examining stores.
18776 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18777 splitters for these patterns. Use "#" for output templates.
18778 (addsi3_carryin_shift): New pattern.
18780 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
18782 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18783 of the function return register into a plain REG until
18784 after function inlining is done.
18786 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18788 * jump.c (jump_optimize_1): If we did cross-jumping, and
18789 the data will matter, rebuild the CFG.
18790 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18791 not optimizing. Don't run shorten_branches.
18792 * toplev.c (rest_of_compilation): Run shorten_branches after
18795 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
18797 * rtl.h (note_stores): Add additional paramter.
18798 * rtlanal.c (reg_set_p_1): Take additional paramter.
18799 (reg_set_last_1): Likewise.
18800 (reg_set_p): Adjust call to note_stores.
18801 (reg_set_last): Likewise.
18802 (note_stores): Pass data parameter to worker function.
18803 * alias.c (record_set): Take additional parameter.
18804 (init_alias_analysis): Pass it.
18805 * caller-save.c (mark_set_regs): Take additional parameter.
18806 (save_call_clobbered_regs): Pass NULL to note_stores.
18807 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
18809 (record_dead_and_set_regs_1): Likewise.
18810 (reg_dead_at_p_1): Likewise.
18811 (combine_instructions): Adjust calls to note_stores.
18812 (try_combine): Likewise.
18813 (record_dead_insn): Remove.
18814 (record_dead_and_set_regs): Adjust calls to note_stores.
18815 (reg_dead_at_p): Likewise.
18816 * cse.c (invalidate_skipped_set): Take additional parameter.
18817 (cse_check_loop_start): Likewise.
18818 (cse_check_loop_start_value): Remove.
18819 (cse_set_around_loop): Adjust calls to note_stores.
18820 * flow.c (notice_stack_pointer_modification): Take additional
18821 parameter. Remove duplicate declaration.
18822 (record_volatile_insns): Adjust calls to note_stores.
18823 * gcse.c (record_set_info): Take additional parameter.
18824 (record_last_set_info): Likewise.
18825 (invalidate_nonnull_info): Likewise.
18826 (record_set_insn): Remove.
18827 (compute_sets): Adjust calls to note_stores.
18828 (last_set_insn): Remove.
18829 (compute_hash_table): Adjust calls to note_stores.
18830 (insert_insn_end_bb): Likewise.
18831 (delete_null_pointer_checks): Likewise.
18832 * global.c (mark_reg_store): Take additional parameter.
18833 (mark_reg_clobber): Likewise.
18834 (reg_becomes_live): Likewise.
18835 (global_conflicts): Adjust calls to note_stores.
18836 (build_insn_chain): Likewise.
18837 * integrate.c (note_modified_parmregs): Take additional parameter.
18838 (mark_stores): Likewise. Make it static.
18839 (save_for_inline_nocopy): Adjust calls to note_stores.
18840 (try_constants): Likewise.
18841 * integrate.h (mark_stores): Remove declaration.
18842 * jump.c (mark_modified_reg): Take additional parameter.
18843 (thread_jumps): Adjust calls to note_stores.
18844 * local-alloc.c (validate_equiv_mem_from_store): Take additional
18846 (no_equiv): Likewise.
18847 (reg_is_set): Likewise.
18848 (validate_equiv_mem): Adjust calls to note_stores.
18849 (update_equiv_regs): Likewise.
18850 (block_alloc): Likewise.
18851 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
18852 (note_addr_stored): Take additional parameter.
18853 (note_set_pseudo_multiple_uses): Likewise.
18854 (record_initial): Likewise.
18855 (prescan_loop): Adjust calls to note_stores.
18856 (strength_reduce): Likewise.
18857 (check_dbra_loop): Likewise.
18858 * regmove.c (flags_set_1): Take additional paramter.
18859 (mark_flags_life_zones): Adjust calls to note_stores.
18860 * reload1.c (mark_not_eliminable): Take additional parameter.
18861 (forget_old_reloads_1): Likewise.
18862 (reload_cse_invalidate_rtx): Likewise.
18863 (reload_cse_check_clobber): Likewise.
18864 (reload_combine_note_store): Likewise.
18865 (move2add_note_store): Likewise.
18866 (reload): Adjust calls to note_stores.
18867 (reload_as_needed): Likewise.
18868 (emit_reload_insns): Likewise.
18869 (reload_cse_regs_1): Likewise.
18870 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
18871 (reload_combine): Adjust calls to note_stores.
18872 * resource.c (update_live_status): Take additional paramter.
18873 (mark_target_live_regs): Adjust calls to note_stores.
18874 * stupid.c (find_clobbered_regs): Take additional parameter.
18875 (stupid_life_analysis): Adjust calls to note_stores.
18877 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
18879 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
18882 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
18885 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
18886 of the variable arm_structure_size_boundary.
18888 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
18890 * alias.c (init_alias_analysis): Allocate reg_known_value and
18891 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
18893 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
18894 * cse.c (cse_main): Call end_alias_analysis.
18895 * haifa-sched.c (schedule_insns): Likewise.
18896 * local-alloc. (update_equiv_regs): Likewise.
18897 * reload1.c (reload_cse_regs): Likewise.
18899 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18901 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
18902 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
18903 mapping from MASK_FPU.
18905 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
18907 * sparc.md (call): Don't bound structure return size to 0xfff.
18909 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
18911 * resource.c (mark_target_live_regs): Check that the target
18912 insn wasn't created after compute_bb_for_insn.
18914 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
18916 * ggc-page.c (poison_pages): Don't be overzealous.
18918 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
18920 * alias.c: Update comments for ADDRESS.
18921 (nonlocal_reference_p): Look inside the ADDRESS to determine if
18922 it is a local memory reference.
18924 * c-typeck.c (build_function_call): Check that the built-in
18925 function is of class BUILT_IN_NORMAL before trying to recongize
18926 it as BUILT_IN_ABS.
18927 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
18928 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
18930 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
18932 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
18934 (pre_gcse): Likewise.
18935 (hoist_expr_reaches_here_p): Likewise.
18936 (hoist_code): Likewise.
18937 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
18939 (pre_expr_reaches_here_p_work): ... here.
18940 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
18942 (expr_reaches_here_p_work): ... here.
18944 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
18946 * resource.c (find_basic_block): Delete.
18947 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
18948 (init_resource_info): Call compute_bb_for_insn.
18950 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
18952 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
18953 with already adjacent blocks, but no fallthru.
18954 (merge_blocks_move_successor_nojumps): Simplify.
18955 (debug_flow_info): New.
18957 * toplev.c (rest_of_compilation): Open jump1 dump file before
18958 jump and close after, as opposed to just using dump_rtl.
18960 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18962 * reload.h (earlyclobber_operand_p): Declare.
18963 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
18964 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
18965 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
18966 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
18968 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
18969 Richard Henderson <rth@cygnus.com>
18971 * emit-rtl.c (emit_block_insn_before): New.
18972 (emit_block_insn_after): New.
18973 * basic-block.h: Declare them.
18975 * bitmap.h: Protect from multiple inclusion.
18977 * recog.c (scratch_operand): Handle VOIDmode correctly.
18979 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
18981 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
18982 * function.c (assign_parms): Likewise.
18983 * global.c (global_conflicts): Clarify STACK_REGS commentary.
18985 * reg-stack.c (max_uid): Remove.
18986 (blocks, block_begin, block_end, block_drops_in): Remove.
18987 (block_stack_in, block_out_reg_set, block_number): Remove.
18988 (struct block_info_def, BLOCK_INFO): New.
18989 (enum emit_where): New.
18990 (current_block): New.
18991 (BLOCK_NUM): Remove.
18992 (mark_regs_pat, record_label_references): Remove.
18993 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
18995 (goto_block_pat, print_blocks, dump_stack_info): Remove.
18996 (reg_to_stack): Simplified test for existance of fp code. Use
18997 flow.c code. Call shorten_branches after cross-jump opt.
18998 (check_asm_stack_operands): Renamed from record_asm_reg_life.
18999 Return false if the asm doesn't use stack regs. Don't do life
19000 analysis on the asm.
19001 (emit_pop_insn): Replace function pointer arg `when' with
19002 enum `where'. Update all callers.
19003 (change_stack): Likewise. Update basic block end.
19004 (emit_swap_insn): Use current_block->head to limit reverse search
19005 for start of block. Use emit_block_insn_after.
19006 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
19007 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
19008 structure assignment instead of bcopy.
19009 (print_stack): New.
19010 (convert_regs_entry, convert_regs_exit): New.
19011 (convert_regs_1, convert_regs_2): Split out from convert_regs.
19012 Work on basic blocks and the CFG.
19013 (convert_regs): Use them.
19015 * i386.c (output_fix_trunc): Remove code for DImode input operand
19016 not at top-of-stack.
19017 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
19019 (fix_truncdi_1): Allow any mode scratch.
19021 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
19023 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
19024 * linux.h, netbsd.h, vms.h: Not here.
19026 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
19028 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
19029 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
19030 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
19031 CONDITIONAL_REGISTER_USEAGE): Use them.
19032 * config/mips/mips.c (mips_move_1word,mips_move_2words,
19033 gen_conditional_branch,override_options) : Use them.
19034 * config/mips/mips.md : Use them.
19036 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
19038 * i386.md (zero_extendqihi2): Use SImode register name with andl.
19040 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
19042 * integrate.c (function_cannot_inline_p): Don't allow inlining
19045 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19047 * c-parse.in (cast_expr): Constify.
19049 * cccp.c (special_symbol): Likewise.
19051 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
19053 * dwarf2out.c (base_type_die): Likewise.
19055 * global.c (allocno_compare): Likewise.
19057 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
19059 * regclass.c (fix_register): Likewise.
19061 * rtl.h (fix_register): Likewise.
19063 * stupid.c (stupid_reg_compare): Likewise.
19065 * toplev.c (decode_f_option): Likewise.
19067 * tree.c (build_complex_type): Likewise.
19069 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
19071 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
19073 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19075 * reload.c (find_reloads): Compute mode and nregs fields of all
19077 * reload1.c (calculate_needs_all_insns): Simplify a bit.
19078 (calculate_needs): Use precomputed mode/nregs values.
19079 (allocate_reload_reg): Likewise.
19081 (failed_reload, set_reload_reg): ... new functions.
19082 (choose_reload_regs_init): New function, mostly broken out from...
19083 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
19084 Also lose one #if 0 block.
19086 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
19088 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
19091 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
19093 * tree.h (BLOCK_TYPE_TAGS): Remove.
19094 (BLOCK_END_NOTE): Likewise.
19095 (BLOCK_LIVE_RANGE_FLAG): Likewise.
19096 (BLOCK_LIVE_RANGE_START): Likewise.
19097 (BLOCK_LIVE_RANGE_END): Likewise.
19098 (tree_block): Remove live_range_flag, live_range_var_flag, and
19099 type_tags. Remove end_note, live_range_start, and live_range_end.
19100 (remember_end_note): Remove prototype.
19101 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
19102 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
19104 * ggc-common.c (ggc_mark_tree_children): Don't mark
19105 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
19106 * integrate.c (adjust_copied_decl_tree): Remove.
19107 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
19108 * stmt.c (last_block_end_note): Remove.
19109 (init_stmt): Don't add a GC root for it.
19110 (expand_fixup): Don't set it.
19111 (remember_end_note): Remove.
19112 (expand_end_bindings): Don't set last_block_end_note.
19114 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19116 * reload1.c (reload_reg_free_for_value_p): Show
19117 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
19120 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
19122 * expmed.c (extract_bit_field): Allow for the case of non-integer
19123 objects that are smaller than a word (like SFmode on a 64-bit
19126 * loop.c (basic_induction_var): A non-integer variable which is
19127 being set by a paradoxical subreg is probably not a biv.
19129 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19131 * prefix.c (translate_name) Check for empty prefix string.
19133 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
19135 * Makefile.in (CPP_CROSS_NAME): New variable.
19136 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
19138 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
19139 names of the files to be uninstalled.
19141 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
19143 * collect2.c (IS_DIR_SEPARATOR): Define.
19144 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
19146 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
19149 * haifa-sched.c (add_dependence): Update the true dependency
19150 cache the first time we add a true dependence to the LOG_LINKS chain.
19152 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
19154 * fold-const.c (fold): Fix comment.
19156 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19158 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
19159 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
19160 dbxout_start_new_source_file, dbxout_source_file,
19161 dbxout_source_line, dbxout_finish, dbxout_type_fields,
19162 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
19164 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
19165 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
19166 (dbxout_block): Initialize variable `blocknum'.
19168 * dbxout.h (dbxout_init, dbxout_finish,
19169 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
19170 dbxout_args, dbxout_source_line): Constify a char*.
19172 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
19173 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
19174 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
19175 low_pc_attribute, high_pc_attribute, body_begin_attribute,
19176 body_end_attribute, comp_dir_attribute, sf_names_attribute,
19177 src_info_attribute, mac_info_attribute, producer_attribute,
19178 lookup_filename, generate_macinfo_entry, fundamental_type_code,
19179 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
19180 dwarfout_undef): Constify a char*.
19181 (add_incomplete_type, retry_incomplete_types): Add prototypes.
19183 * dwarfout.h (dwarfout_define, dwarfout_undef,
19184 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
19186 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
19188 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
19189 (MULTILIB_ISA_DEFAULT): New.
19190 (MULTILIB_DEFAULTS): Use it.
19191 * config/mips/mips.c (): Remove the now unnecessary definition
19192 of MIPS_ISA_DEFAULT.
19193 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
19194 unnecessary definition.
19196 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
19198 * arm.md (pic_load_addr): Add constraints to operand 1.
19200 1999-10-25 Bruce Korb <autogen@linuxbox.com>
19202 * fixinc/genfixes: Provide a means for specifying -D options to
19205 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
19207 * arm.c (arm_override_options): Correct initialization of
19208 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
19209 arm_is_strong, and arm_is_6_or_7.
19211 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
19212 (note_set_pseudo_multiple_uses): New function.
19213 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
19214 if a pseudo set in the loop exit is used elsewhere.
19216 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
19218 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
19220 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
19222 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
19223 a single load-address pattern.
19225 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
19227 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
19228 depending on whether or not line-number notes are present.
19230 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19232 * cccp.c (progname, file_buf, default_include, include_file,
19233 macrodef, definition, hashval, wchar_type, user_label_prefix,
19234 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
19235 expand_to_temp_buffer, is_system_include, base_name,
19236 absolute_filename, read_name_map, open_include_file,
19237 record_control_macro, check_precompiled, check_preconditions,
19238 pcfinclude, pass_thru_directive, create_definition,
19239 check_macro_name, comp_def_part, collect_expansion,
19240 check_assertion, read_token_list, assertion_install,
19241 assertion_lookup, eval_if_expression, conditional_skip,
19242 validate_else, skip_quoted_string, quote_string, macarg1,
19243 error_from_errno, install, lookup, hashf, dump_defn_1,
19244 perror_with_name, pfatal_with_name, main, trigraph_pcp,
19245 check_white_space, rescan, handle_directive, monthnames,
19246 special_symbol, do_include, remap_include_file, write_output,
19247 arglist, do_assert, do_unassert, do_line, do_error, do_once,
19248 do_ident, do_sccs, do_xifdef, skip_if_group,
19249 output_line_directive, macroexpand, macarg, change_newlines,
19250 initialize_builtins, make_definition): Constify a char*.
19252 * pcp.h (stringdef): Likewise.
19254 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
19256 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
19259 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
19260 Richard Henderson <rth@cygnus.com>
19262 * alias.c: Include ggc.h.
19263 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
19264 (record_set): Verify enough room in reg_base_value.
19265 (init_alias_analysis): Allocate reg_base_value with xcalloc.
19266 Register it as a GC root.
19267 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
19268 * Makefile.in (alias.o): Depend on ggc.h.
19270 * unroll.c (unroll_loop): Verify the insn before a barrier
19271 is a JUMP_INSN before checking JUMP_LABEL.
19273 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19275 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
19276 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
19277 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
19278 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
19279 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
19280 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
19282 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19284 * output.h (ctors_section, dtors_section, bss_section): Prototype.
19286 * alpha/alpha-interix.h (text_section): Delete prototype.
19287 * alpha/elf.h (text_section): Likewise.
19288 * arm/linux-elf.h (text_section): Likewise.
19289 * arm/linux-telf.h (text_section): Likewise.
19290 * c4x/c4x.h (text_section): Likewise.
19291 * dsp16xx/dsp16xx.h (bss_section): Likewise.
19292 * elfos.h (text_section): Likewise.
19293 * i386/aix386ng.h (text_section): Likewise.
19294 * i386/i386-interix.h (text_section): Likewise.
19295 * i386/sco5.h (text_section): Likewise.
19296 * i386/svr3gas.h (text_section): Likewise.
19297 * nextstep.h (text_section): Likewise.
19298 * psos.h (text_section): Likewise.
19299 * ptx4.h (text_section): Likewise.
19300 * svr3.h (text_section): Likewise.
19301 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
19303 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19305 * final.c (peephole): Delete prototype.
19307 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
19308 (pre_insert_copies): Remove unused variable `bb'.
19310 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
19313 * output.h (peephole): Add prototype.
19315 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
19317 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
19320 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
19322 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
19323 for inlined declarations.
19325 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
19327 * arm.c (logical_binary_operator): New fucntion.
19328 * arm.h (logical_binary_operator): Declare it.
19329 (PREDICATE_CODES): Handle logical_binary_operator.
19330 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
19331 output constraints. Add appropriate splitters.
19332 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
19333 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
19334 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
19336 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19338 * genoutput.c (struct operand_data): New elt eliminable.
19339 (output_operand_data): Write it.
19340 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
19341 (compare_operands): Take it into account.
19342 * recog.h (struct insn_operand_data): New elt eliminable.
19343 * reload1.c (check_eliminable_occurrences, elimination_effects): New
19345 (old_asm_operands_vec, new_asm_operands_vec): Delete.
19346 (eliminate_regs): Move code that detects changes to elimination
19347 target regs into new function elimination_effects.
19348 Delete one #if 0 block.
19349 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
19350 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
19351 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
19352 Only call eliminate_regs for real operands of the insn, not for parts
19353 of its structure or parts matched by things like match_operator.
19354 Use elimination_effects and check_eliminable_occurrences. Use
19355 copy_insn to duplicate the pattern when not in the final pass.
19357 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
19359 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
19362 1999-10-22 Bruce Korb <autogen@linuxbox.com>
19364 * fixinc/README: document the "mach" machine matching test
19365 * fixinc/fixfixes.c: Implement the #else/#endif label fix
19366 * fixinc/fixtests.c: Implement the #else/#endif label test
19367 * fixinc/inclhack.def: utilize these tests and fixes
19368 * fixinc/inclhack.sh: regen
19369 * fixinc/fixincl.x: regen
19370 * fixinc/fixincl.sh: regen
19372 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
19374 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
19377 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
19379 * gcc.1: Document exit codes.
19381 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19383 * calls.c: Include tm_p.h later, so everything we need is defined.
19384 * expr.c: Likewise.
19385 * function.c: Likewise.
19387 * except.c: Include tm_p.h.
19389 * sparc.c: Likewise.
19390 (dwarf2out_cfi_label): Don't prototype.
19391 (check_return_regs, epilogue_renumber,
19392 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
19393 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
19394 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
19395 ultra_schedule_insn): Add static prototype.
19396 (data_segment_operand, text_segment_operand): Call itself with the
19397 proper number of arguments.
19398 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
19400 * sparc.h: Move all declarations to sparc-protos.h.
19401 (SELECT_RTX_SECTION): Pass a missing MODE argument to
19404 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
19406 * config/svr4.h (text_section, ctors_section, dtors_section): Add
19408 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
19409 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
19410 ASM_OUTPUT_ASCII): Constify a char*.
19412 * sparc-protos.h: New file for sparc prototypes.
19414 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19416 * function.c (record_insns, contains): Always declare and define.
19417 (record_insns): Mark with ATTRIBUTE_UNUSED.
19419 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19421 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
19422 to .section when outputting a .bss section to deal with multiple
19423 .bss input sections (as happens with -fdata-sections)
19424 Also output %progbits, not @progbits so the assembler doesn't treat as
19426 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
19428 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
19429 thumb parts even when building with non-thumb CPUs, by forcing
19432 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
19434 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
19435 (movdf_const_intreg_sp64): Similarly.
19437 * local-alloc.c (update_equiv_regs): Check the correct insn
19438 for pre-existing REG_EQUIV notes.
19440 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
19442 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
19443 block reached by a branch if we're not going to actually process
19446 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
19448 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
19449 a local extern function declaration.
19451 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
19453 * i386.c (ix86_expand_prologue): Properly wrap USE around
19454 reg for CALL_INSN_FUNCTION_USAGE.
19456 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
19458 * config/mips/mips.md (movdf_internal1a): Allow floating-point
19459 move between GP_REGs.
19461 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
19463 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
19464 the mode size when finding out if an offset is legal.
19466 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
19468 * basic-block.h (PROP_*): Move constants from ...
19469 * flow.c: ... here.
19470 (compute_bb_for_insn): Free the array before reallocating.
19471 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
19472 (allocate_reg_life_data): Reset all reg variables collected by
19474 (get_block_head_tail): Don't convert from bb to block.
19475 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
19476 (find_insn_reg_weight): Take block not bb.
19477 (schedule_block): Don't set block num for moved insns.
19478 (schedule_region): Don't update_life_info or find_insn_reg_weight.
19479 (schedule_insns): Do it here instead.
19480 * combine.c (combine_instructions): Invoke compute_bb_for_insn
19481 before update_life_info.
19482 * recog.c (split_all_insns, peephole2_optimize): Update for
19483 new arg to update_life_info.
19484 * rtlanal.c (remove_note): Cope with NULL note.
19485 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
19488 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
19490 * jump.c (jump_optimize_1): More accurately detect casesi insns.
19492 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
19493 block records so that merge_blocks_nomove will clean up correctly.
19494 (split_edge): Handle casesi insns.
19496 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
19498 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
19500 * pa.md (call, call_value): Do not emit a blockage after restoring
19503 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
19505 * c-typeck.c (c_expand_asm_operands): Fix typo.
19507 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19509 * arm.c (fpu_rhs_operand): Verify modes.
19510 (fpu_add_operand): Likewise.
19511 (di_operand): Likewise.
19512 (soft_df_operand): Likewise.
19514 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
19516 * arm.c (arm_return_in_memory): APCS rules state that the elements
19517 of a structure returned in a register must be 'integer-like'.
19519 1999-10-19 Bruce Korb <autogen@linuxbox.com>
19521 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
19522 in the source tree when the generated targets are out of date
19523 * fixinc/genfixes: Alter it to run individual fixes for make.
19524 * fixinc/README: rewrite
19525 * fixinc/inclhack.def: moved initial comments to README
19527 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
19529 * toplev.c (main): Do not generate an error message if an
19530 unrecognised command line switch is recognisable by another
19531 language. If extra_warnings are enabled, then generate a
19532 warning message instead.
19534 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
19536 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
19537 (insert_pack_attributes): Delete prototype.
19539 * c-pragma.c (default_alignment): New static variable.
19540 (push_alignment): Initialize to current effective alignment.
19541 (pop_alignment): Use to set new alignment.
19542 (insert_pack_attributes): Delete function.
19543 (handle_pragma_token): Set default_alignment as well each time
19544 a #pragma pack(<n>) is encountered.
19546 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
19548 * reg-stack.c (stack_result): Aggregates are not returned in
19551 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19553 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
19555 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
19557 * basic-block.h (set_block_num): Declare.
19558 * flow.c (update_life_info): Don't call compute_bb_for_insn
19559 or free_basic_block_vars.
19560 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
19561 (insn_orig_block): Remove.
19562 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
19563 (schedule_block): Keep BLOCK_NUM up-to-date.
19564 (schedule_insns): Use compute_bb_for_insn.
19565 * recog.c (split_all_insns): Likewise.
19566 (peephole2_optimize): Likewise.
19568 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
19570 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
19571 if the pic register is used.
19573 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19575 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
19576 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
19577 if that tests TREE_PERMANENT.
19579 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
19581 * cse.c (invalidate_for_call): Do not remove memory references from
19582 the table here. It's handled elsewhere.
19584 * haifa-sched.c (add_dependence): Protect references to the
19585 true dependency cache with #ifdef INSN_SCHEDULING.
19586 (remove_dependence): Similarly.
19588 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
19589 to the cfg code that this is a return instruction.
19590 * mn10300.md (return_internal): Similarly.
19592 * combine.c (get_last_value): If the last set of a register
19593 is after subst_low_cuid, then we can not use it to determine
19594 the register's last value.
19596 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19598 * Makefile.in: Back out previous change.
19600 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
19602 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
19604 * haifa-sched.c (add_dependence): Only check/update the cache
19606 (remove_dependence): Likewise.
19607 (schedule_insns): Only create the true_dependency_cache if the
19608 average number of instructions in a basic block is very large.
19610 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19612 * Makefile.in (ggc-common.o): Depend on genrtl.h.
19613 (ggc-simple.o): Likewise.
19614 (ggc-page.o): Likewise.
19616 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
19618 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
19619 Prototype for exported functions.
19620 (pre_lcm, pre_rev_lcm): Remove prototypes.
19621 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
19622 (compute_available): Move to lcm.c, and change parameter order.
19623 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
19624 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
19625 (gcse_main): No longer call compute_preds_succs. Rebuild the
19626 set table after reach pre pass.
19627 (pre_insert_map, pre_delete_map, edge_list): New.
19628 (alloc_pre_mem): Allocate edge vectors.
19629 (free_pre_mem): Delete edge vectors.
19630 (compute_pre_data): Call new edge based lcm routines.
19631 (process_insert_insn): New function.
19632 (insert_insn_end_bb): Use it.
19633 (pre_edge_insert): New function.
19634 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
19636 (pre_insert_copies): Revamp using new edge based lcm outputs.
19637 (pre_delete): Likewise.
19638 (one_pre_gcse_pass): Insert & remove fake edges to the exit
19640 (compute_code_hoist_vbeinout): New new edge based routines.
19641 * lcm.c: Remove all the old LCM functions. Replace with new ones
19642 that work with the new cfg datastructures and work with edges
19645 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19647 * reload.h (struct reload): Add new fields "mode" and "nregs".
19648 * reload1.c: Change all occurrences of reload_mode and reload_nregs
19649 to reference the "mode" and "nregs" field within struct reload.
19651 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
19653 * haifa-sched.c (true_dependency_cache): New.
19654 (add_dependence): Use the true dependency cache to avoid expensive
19655 walks down the LOG_LINKS dependency list. Add entries to the
19656 cache as necessary.
19657 (remove_dependence): Remove entries from the true dependency cache
19659 (schedule_insns): Allocate and initialize and free the true
19662 * haifa-sched.c (schedule_insns): Do not remove inter-block
19663 dependencies anymore.
19665 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19667 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
19668 * i386/t-winnt: Likewise.
19670 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
19672 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
19674 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
19676 * Makefile.in (LANGUAGES): Omit "proto".
19677 (clean): Remove stale comment about removing unprotoize.c.
19679 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19681 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
19682 using arithmetic on void pointers.
19684 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
19686 * haifa-sched.c (compute_block_forward_dependencies): Only check
19687 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
19689 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
19691 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
19692 (expr_equiv_p): Reject memories with different alias sets.
19694 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
19696 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
19697 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
19698 (f_options): Add "bounded-pointers" and "bounds-check" entries.
19699 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
19700 (lang_init): Set default for flag_bounds_check if still "unspecified".
19702 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19704 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
19706 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19708 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
19711 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19713 * config/c4x/c4x.md (*db_noclobber,
19714 *decrement_and_branch_until_zero_noclobber): New patterns and
19715 associated splitters.
19717 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19719 * config/c4x/c4x.md (parallel instruction patterns): Rework
19720 constraints to keep reload happy.
19722 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19724 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
19725 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
19726 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
19727 Add new patterns and associated post-reload splitters.
19729 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19731 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
19733 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19735 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
19737 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
19739 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19741 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
19744 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
19746 * pa.c (move_operand): Rely on memory_address_p to determine the
19747 validity of non-indexed memory addresses.
19748 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
19749 operand in DFmode and SFmode when generating PA2.0 code.
19751 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
19753 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
19755 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
19757 * mips.c (function_prologue): Fix argument types.
19758 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
19759 (casesi_internal): Write to the scratch register.
19761 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
19763 * cppexp.c (cpp_parse_escape): Make static. Change second arg
19765 (parse_charconst): Delete unnecessary cast when calling
19767 (cpplib.h): Kill prototype of cpp_parse_escape.
19769 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
19771 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
19772 * unroll.c (unroll_loop): Cast return value of alloca.
19773 * i370/i370.c: Include function.h and toplev.h.
19774 (i370_label_scan): Remove c++ commented abort.
19775 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19776 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19777 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19778 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19780 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
19782 * config/t-freebsd: Do not override USER_H.
19783 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19785 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19786 Mumit Khan <khan@xraylith.wisc.edu>
19788 * c-parse.in (component_decl): Support anonymous struct/union.
19790 * c-parse.y: Regenerate.
19791 * c-parse.c: Likewise.
19792 * objc/objc-parse.y: Likewise.
19793 * objc/objc-parse.c: Likewise.
19794 * c-decl.c (finish_struct): Don't sort the fields.
19795 (field_decl_cmp): Delete unused function.
19797 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
19799 * sparc.md (movsf_const_intreg): Revert last constraint change.
19800 (movdf_const_intreg_sp32): Likewise.
19802 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
19804 * cse.c: Include hashtab.h instead of splay-tree.h
19805 (struct cse_reg_info): No longer use variant union. Add new
19806 field "regno". All references changed to avoid union.
19807 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
19808 (free_cse_reg_info): Remove.
19809 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
19810 (get_cse_reg_info): Revamp to use expandable hash tables instead
19811 of splay trees. Initialize new fields in cse_reg_info structure.
19812 (new_basic_block): Similarly.
19814 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
19816 * genrecog.c (message_with_line): Prototype.
19817 (validate_pattern): Pass along the set for the dest, not a flag.
19818 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
19819 Check for PC/CC0 as sources.
19820 (nodes_identical): Check for children position match before
19821 allowing the combination.
19823 * rtl.c (read_rtx): Track line number across \\\n.
19825 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
19827 * mips.h (SPECIAL_MODE_PREDICATES): New.
19828 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
19829 (movdi+1, movsi+1): Add output reload constraint.
19830 (casesi_internal): Likewise. Fix commentary.
19831 (return_internal): Use pmode_register_operand.
19833 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
19835 * 1750a.md (movstrqi): Add missing output reload constraint.
19836 (call_value): Likewise.
19837 * a29k.md (cpxxx patterns): Add missing match_operator mode.
19838 (jmpfdec): Add missing inout reload constraint.
19839 * elxsi.md (addsi patterns): Add missing output reload constraint.
19840 (move from sp): Use @ alternates.
19841 (call_value): No constraint on output.
19842 * fr30.md (movsi_pop): Add missing output reload constraint.
19843 (movsf_constant_store): Likewise.
19844 (splits): Remove constraints.
19845 (subsi3): Add missing mode.
19846 * i370.md (cmpstrsi+1): Add missing output reload constraint.
19847 (call_value): Likewise.
19848 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
19849 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
19850 * m32r.md (movsicc_internal): Add output reload constraint.
19851 (movstrsi_internal): Add inout reload constraints.
19852 * m88k.h (reg_names): Don't declare.
19853 (SPECIAL_MODE_PREDICATES): New.
19854 * m88k.md (*): Use register_operand not reg_or_0_operand
19856 * mn10200.h (PREDICATE_CODES): New.
19857 * ns32k.md (ffs pattern): Add output reload constraint.
19858 * pdp11.md (sob pattern): Add inout reload constraint.
19859 * sh.md (splits): Remove constraints.
19860 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
19861 * v850.md (pattern_is_ok_for_epilogue): Likewise.
19862 * vax.md (jgequ pattern): Add inout reload constraint.
19864 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
19866 * configure.in (djgpp): Revert previous patch.
19867 * configure: Rebuit.
19868 * config/i386/djgpp.h: Revert previous patch.
19870 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
19872 * fixinc/inclhack.def: Restore patch lost during last merge of
19873 "no_bogosity" branch.
19874 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
19876 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
19878 * fixincludes: Add a HPUX 11 fix for inttypes.h.
19879 * fixinc/inclhack.def: Same.
19880 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
19882 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
19884 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
19885 as the base of a PLUS.
19887 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19889 * config/c4x/c4x.md: Define mode for remaining unspec operators.
19890 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
19892 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
19894 * pa.md (post_stw+1): Use pmode_register_operand.
19895 (dcacheflush, icacheflush): Likewise.
19897 * i386.md (movstricthi_1): Allow r/r.
19899 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
19901 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
19902 to (not (and (arg0) (arg1))). Similary for and.
19904 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
19905 fallthrough to associate code.
19906 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
19909 * combine.c (simplify_logical): Convert XOR to IOR if operands have
19910 no bits in common; remove XOR to ROTATE conversion.
19912 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19914 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
19916 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19918 * config/c4x/c4x.c (dst_operand): New.
19919 (PREDICATE_CODES): Update.
19920 * config/c4x/c4x.h (dst_operand): Declare it.
19921 * config/c4x/c4x.md: Define mode for each unspec usage.
19922 (move patterns): Use dst_operand predicate instead of src_operand.
19923 (movqi_update, movqf_update): Delete.
19925 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
19927 * recog.c (pmode_register_operand): New.
19928 * recog.h: Declare it.
19929 * genrecog.c (pred_codes): Likewise.
19930 (special_mode_pred_table): Likewise.
19931 (validate_pattern): Don't warn no mode for address_operand.
19933 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
19934 if the operand is not insn-like.
19936 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
19937 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
19939 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
19941 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
19943 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
19944 instead of general_operand in a SET_DEST. Use const_double_operand
19945 instead of an explicit test against CONST_DOUBLE.
19946 (movsf_const_lo): Add missing register mode.
19947 (goto_handler_and_restore): Add auxiliary test for Pmode.
19948 (flush): Adjust to use address_operand.
19949 (return_sf_no_fpu): Add missing output constraint.
19951 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
19953 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
19954 for call return value.
19955 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
19957 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
19959 * toplev.c (main): Only warn about options for other languages.
19960 * collect2.c (main): Pass -w to sub-gcc.
19962 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
19964 * flow.c (propagate_block): Add call-clobbered registers to
19967 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
19968 zapping mem_set_list.
19969 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
19970 (mark_set_1, mark_used_regs): Likewise.
19972 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
19974 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
19976 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
19978 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
19979 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
19980 options. Also add a new item "C-only Warning Options" to the
19983 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
19985 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
19986 from multiple calls.
19988 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
19990 * i386.md (call value patterns): Move to the end of the file.
19991 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
19993 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
19995 * configure.in (djgpp configuration): Define extra_objects..
19996 * configure: Rebuilt.
19997 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
19998 (DTORS_SECTION_ASM_OP): Define.
19999 (INIT_SECTION_ASM_OP): Define.
20000 (FINI_SECTION_ASM_OP): Define.
20001 (DATA_SECTION_ASM_OP): Define.
20002 (TEXT_SECTION_ASM_OP): Define.
20003 (EH_FRAME_SECTION_ASM_OP): Define.
20004 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
20005 (STARTFILE_SPEC): Add crtbegin.o.
20006 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
20007 to here from LINK_COMMAND_SPEC.
20008 (DO_GLOBAL_CTORS_BODY): Define.
20009 (CRTSTUFF_USE_FINI_SECTION): Define
20010 (HAS_INIT_SECTION): Delete.
20012 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
20014 * Makefile.in (all.cross): Depend on xcpp$(exeext).
20016 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
20018 * pa.h (PREDICATE_CODES): New.
20020 * genrecog.c (validate_pattern): Condense the destination
20021 non-lvalue message.
20023 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
20025 * alpha.md (call-1): Supply missing mode for operator.
20026 (*): Add missing output reload constraints. Remove constraints
20027 from define_splits.
20029 * i386.h (SPECIAL_MODE_PREDICATES): New.
20030 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
20031 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
20032 (addsi_lea_3): Add missing mode for op 3.
20033 (prologue_set_got, prologue_get_pc): Add missing modes.
20034 (*) Add missing output reload constraints.
20036 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
20038 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
20039 check for member bit-size overflow and use var_size if it occurs.
20040 (layout_record): Use bitsize_int() to define the type size in bits.
20041 Likewise for computation and assignment to DECL_FIELD_BITPOS.
20042 (layout_decl): Likewise when assigning to DECL_SIZE.
20044 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
20046 * genrecog.c (validate_pattern): Typo last change. Verify
20047 that output operands have output reloads.
20049 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
20051 * genrecog.c (special_mode_pred_table): New.
20052 (NUM_SPECIAL_MODE_PREDS): New.
20053 (find_operand): New.
20054 (validate_pattern): New argument `insn'. Warn for assignment to
20055 any predicate accepting non-lvalues. Conditionaly warn for
20056 match_operand without a mode. Try much harder to match source
20057 and destination modes on a set.
20058 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
20060 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
20062 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
20064 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
20066 * combine.c (simplify_logical): Recognize xor pattern that encodes
20069 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20071 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
20074 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
20076 * ggc-page.c (MAP_FAILED): Provide default.
20078 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
20080 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
20081 * sparc.h (PREDICATE_CODES): Update.
20083 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
20085 * alpha.c (some_ni_operand): New.
20086 * alpha-protos.h: Declare it.
20087 * alpha.h (PREDICATE_CODES): Update.
20088 * alpha.md (sXaddq reload insns): Use some_ni_operand
20089 for SET_DEST instead of some_operand.
20091 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
20092 Jim Wilson <wilson@cygnus.com>
20094 * genrecog.c (maybe_both_true_2): Don't compare modes of
20096 (process_tree): Elide peephole2_insns. Invoke simplify_tests
20097 after find_afterward.
20098 (debug_decision_1): Dump next and afterward codes.
20100 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
20102 * rtl.c (dump_and_abort): Remove.
20103 (fatal_with_file_and_line): New.
20104 (fatal_expected_char): New.
20105 (read_rtx_lineno, read_rtx_filename): New.
20106 (read_skip_spaces): Track line number.
20107 (read_name): Use fatal_with_file_and_line.
20108 (read_rtx): Use fatal_expected_char. Track line number.
20109 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
20111 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
20112 if it isn't a CODE_LABEL.
20114 * genattr.c (main): Set read_rtx_filename.
20115 * genattrtab.c (main): Likewise.
20116 * gencodes.c (main): Likewise.
20117 * genconfig.c (main): Likewise.
20118 * genemit.c (main): Likewise.
20119 * genextract.c (main): Likewise.
20120 * genflags.c (main): Likewise.
20121 * genopinit.c (main): Likewise.
20122 * genoutput.c (main): Likewise.
20123 * genpeep.c (main): Likewise.
20125 * genrecog.c (decision_test.u.insn): Add `lineno'.
20126 (pattern_lineno, error_count): New variables.
20127 (message_with_line): New.
20128 (add_to_sequence): Break out checking code to ...
20129 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
20130 (merge_insn): Use message_with_line.
20131 (make_insn_sequence): Use validate_pattern. Record insn lineno.
20132 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
20134 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20136 * expr.c (store_constructor): Clear union if constructor is empty.
20138 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
20140 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
20141 Add !endian checks. Change %{...} to %(...).
20143 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
20145 * i386.md (*addsi3_cc): Renamed from addcsi3.
20146 (*addsi3_carry): Renamed from addxsi3.
20147 (*subsi3_cc): Renamed from subcsi3.
20148 (*subsi3_carry): Renamed from subxsi3.
20149 (*xorqi_cc_1): Renamed from xorcqi_1.
20150 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
20151 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
20153 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
20155 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
20156 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
20158 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
20160 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
20161 climb up the chain of insns.
20163 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
20165 * genrecog.c (write_subroutine): Careful for null trees.
20166 (process_tree): Don't elide empty functions.
20168 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
20170 * Makefile.in (genrtl.o): Depend on ggc.h.
20171 * configure.in (valloc): Probe for it.
20172 (with-gc): Use ggc-page if valloc present.
20173 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
20174 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
20175 (ggc_alloc_string): Moved from ggc-page.c.
20176 * ggc-none.c (ggc_alloc_obj): New.
20177 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
20178 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
20179 (struct globals): Likewise for dev_zero_fd.
20180 (init_ggc): Likewise for it's initialization.
20181 (ggc_allocated_p): Move careful dereference from ...
20182 (ggc_lookup_page_table): ... here. Delete.
20183 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
20184 (alloc_anon): Use valloc if no mmap.
20185 (release_pages): Use free if using valloc.
20186 (ggc_alloc_obj): Renamed from alloc_obj.
20187 (ggc_set_mark): Renamed from mark_obj.
20188 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
20189 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
20190 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
20191 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
20192 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
20193 (ggc_collect): Use fp printing instead of our own rounding.
20194 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
20195 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
20196 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
20197 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
20198 (struct ggc_string, struct ggc_any): Delete.
20199 (offsetof): Provide default definition.
20200 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
20202 (struct ggc_mem): New, from corpse of ggc_any.
20203 (struct ggc_status): Delete.
20204 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
20205 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
20206 (n_strings_collected, n_anys_collected): Delete.
20207 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
20208 (ggc_alloc_string, ggc_alloc): Delete.
20209 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
20210 (ggc_free_string, ggc_free_any): Delete.
20211 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
20212 (ggc_compare_addresses, ggc_mark_string): Delete.
20213 (ggc_mark_string_if_gcable, ggc_mark): Delete.
20214 (search_data): Delete.
20215 (struct globals): New.
20216 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
20217 (tree_insert, tree_lookup): New.
20218 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
20219 (clear_marks, sweep_objs): New.
20220 (ggc_collect): Gut. Use clear_marks, sweep_objs.
20221 (init_ggc): Set allocated_last_gc.
20222 (ggc_push_context): Gut. Use G.context.
20223 (ggc_pop_context): Likewise.
20224 (ggc_pop_context_1): New.
20225 (debug_ggc_tree): New.
20226 (debug_ggc_balance, tally_leaves): New.
20227 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
20228 (ggc_mark_string_if_gcable): Remove decl.
20229 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
20230 (ggc_mark_rtvec_children): New.
20231 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
20232 (ggc_mark_if_gcable): New decl.
20233 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
20234 (ggc_alloc_tree, ggc_alloc): Likewise.
20235 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
20236 (ggc_alloc_obj): New decl.
20237 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
20238 (ggc_alloc_tree, ggc_alloc): Likewise.
20239 (ggc_set_mark): New decl.
20240 * rtl.h (struct rtx_def): Remove gc_mark.
20241 (struct rtvec_def): Likewise.
20242 * tree.h (struct tree_common): Likewise.
20244 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
20246 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
20247 float_format and thread_file definitions.
20248 * configure: Rebuilt.
20250 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
20252 * extend.texi (Function Names): Document types of function names.
20254 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20256 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
20257 an earlyclobbered output conflict with RELOAD_INPUT reloads.
20259 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20261 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
20263 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20265 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
20267 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
20269 * collect2.c (main): Do prelimnary link on AIX if rflag.
20271 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20273 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
20274 __CTOR_LIST__ in opposite order, which is the correct order for sorted
20276 (__do_global_dtors): similarly for __DTOR_LIST__.
20278 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20279 Diego Novillo <dnovillo@cygnus.com>
20281 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
20284 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
20286 * fixincl/*: Merged "no_bogosity" branch
20287 * fixincl/fixlib.h: protect against doubly defining t_bool
20288 * fixincl/server.h: protect against doubly defining t_bool
20290 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
20292 * genoutput.c: Include toplev.h.
20294 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
20296 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
20298 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
20299 * configure: Regenerate.
20301 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
20303 * gcse.c (delete_null_pointer_checks): Returns void.
20305 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20307 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
20308 * emit-rtl.c (copy_insn_1): Likewise.
20310 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20312 * config/mips/mips.c (mips_build_va_list): Correct
20313 TREE_CHAIN setting when hard-float.
20314 (mips_va_start): Use corrected setting.
20315 (mips_va_arg): Likewise. Also pass a tree to build of
20316 POSTINCREMENT_EXPR rather than a naked 'int'.
20318 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
20320 * ggc.h (ggc_push_context): Fix comment.
20321 (ggc_pop_context): Likewise.
20322 (mark_string_if_gcable): Likewise.
20323 * ggc-common.c (ggc_mark_rtx_children): Use
20324 ggc_mark_string_if_gcable.
20325 * ggc-page.c (ggc_lookup_page_table): New function.
20326 (ggc_allocated_p): Likewise.
20327 (mark_obj): Fix formatting.
20328 (ggc_mark_string_if_gcable): New function.
20329 * ggc-simple.c (ggc_allocated_strings): New variable.
20330 (ggc_strings_used): Likewise.
20331 (ggc_compare_addresses): New function.
20332 (ggc_pop_context): Pop the `any' memory too.
20333 (ggc_mark_string_if_gcable): New function.
20334 (ggc_collect): Initialize and tear down ggc_allocated_strings.
20336 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
20338 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
20339 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
20340 * rs6000.c (expand_block_move): Match movstrsi_?reg register
20343 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
20345 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
20346 (sched_reg_live_length, sched_reg_basic_block): Delete.
20347 (current_block_num, bb_live_regs, old_live_regs): Delete.
20348 (dead_notes, struct sometimes): Delete.
20349 (sched_note_set, birthing_insn_p): Delete.
20350 (adjust_priority): Gut useless reg lifetime code.
20351 (create_reg_dead_note, attach_deaths): Delete.
20352 (attach_deaths_insn, new_sometimes_live): Delete.
20353 (finish_sometimes_live): Delete.
20354 (find_pre_sched_live, find_post_sched_live): Delete.
20355 (update_reg_usage): Delete.
20356 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
20357 (schedule_insns): Delete reg lifetime code.
20358 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
20359 (unlink_other_notes): Adjust REG_NOTE commentary.
20360 (reemit_notes): Use REG_SAVE_NOTE.
20361 (schedule_block): Likewise.
20362 (schedule_region): Allocate bitmap of blocks in region. Use
20363 count_or_remove_death_notes. Use update_life_info.
20365 * rtl.h (REG_SAVE_NOTE): New.
20366 * rtl.c (reg_note_name): Update.
20368 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
20370 * combine.c (refresh_blocks, need_refresh): New.
20371 (combine_instructions): Allocate refresh_blocks. Invoke
20372 update_life_info if needed.
20373 (distribute_notes): Mark refresh_blocks instead of installing
20375 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
20376 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
20378 * Makefile.in (recog.o): Depend on basic-block.h.
20380 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
20382 * genrecog.c (add_to_sequence): Thinko last change: delete
20383 shadowing allow_const_int variable.
20385 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20387 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
20388 __GNUC__ and __GNUC_MINOR__.
20390 * gansidecl.h: Likewise.
20396 * toplev.h: Likewise.
20398 * tree.c: Likewise.
20400 * tree.h: Likewise.
20402 * varray.c: Likewise.
20404 * varray.h: Likewise.
20406 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20408 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
20409 use one before a jump table.
20411 * rtl.def (ADDRESS): Change documentation to match reality.
20412 * md.texi: Don't document it.
20413 * gmicro.md (load address pattern): Use 'p' constraint, delete use
20416 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
20418 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
20420 * genrecog.c (add_to_sequence): Move allow_const_int test outside
20421 known predicate block; default allow_const_int true.
20422 (debug_decision_list): New.
20424 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
20426 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
20428 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
20430 * gcse.c (gcse_main): Avoid global optimizations if we have a
20431 large number of basic blocks and the ratio of edges to blocks
20433 (delete_null_pointer_checks): Likewise.
20435 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
20437 * c-common.c (check_format_info): Warn if format string isn't a
20440 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20442 * configure.in (arm*-*-*): Don't let autoconf remove brackets
20443 * configure: regenerate
20445 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
20447 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
20448 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
20449 (peepholes): Re-enable.
20451 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
20453 * Makefile.in (flow.o): Depend on TREE_H.
20454 * basic-block.h (REG_SET_EQUAL_P): New.
20455 (XOR_REG_SET): New.
20456 (n_edges): Declare.
20457 (free_regset_vector): Remove declaration.
20458 (flow_delete_insn_chain): Declare.
20459 (enum update_life_extent): New.
20460 (update_life_info, count_or_remove_death_notes): Declare.
20461 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
20462 Verify register live at bb->global_live_at_start before adding USE.
20463 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
20464 (CLEAN_ALLOCA): New.
20466 (PROP_*): New flags.
20467 (find_basic_blocks_1): Use alloc_EXPR_LIST.
20468 (clear_edges): Zero n_edges.
20469 (make_edge): Increment n_edges.
20470 (split_edge): Don't allocate bb->local_set. Increment n_edges.
20471 (flow_delete_insn_chain): Export.
20472 (delete_block): Decrement n_edges.
20473 (merge_blocks_nomove): Likewise.
20474 (life_analysis): Give life_analysis_1 PROP flags.
20475 (verify_wide_reg_1, verify_wide_reg): New.
20476 (verify_local_live_at_start): New.
20477 (update_life_info): Rewrite to call into propogate_block.
20479 (mark_regs_live_at_end): After reload, if epilogue as rtl,
20480 always mark stack pointer. Conditionally mark PIC register.
20481 After reload, mark call-saved registers, return regsiters.
20482 (life_analysis_1): Accept PROP flags not remove_dead_code.
20483 Call mark_regs_live_at_end before zeroing regs_ever_live.
20484 Use calculate_global_regs_live. Copy global_live_at_end before
20485 calling final propagate_block. Zero reg_next_use on exit.
20486 (calculate_global_regs_live): New.
20487 (allocate_bb_life_data): Don't allocate bb->local_set.
20488 (init_regset_vector, free_regset_vector): Remove.
20489 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
20490 Test flags before every operation. Warn if prologue/epilogue insn
20491 would have been deleted.
20492 (mark_set_regs, mark_set_1): Accept and use FLAGS.
20493 Use alloc_EXPR_LIST.
20494 (mark_used_regs): Accept and use FLAGS, not FINAL.
20495 Remove special handling for RETURN.
20496 (try_pre_increment): Use alloc_EXPR_LIST.
20497 (dump_flow_info): Dump n_edges.
20498 (unlink_insn_chain, split_hard_reg_notes): Remove.
20499 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
20500 (find_insn_with_note, new_insn_dead_notes): Remove.
20501 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
20502 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
20503 (replace_insns): Remove.
20504 (count_or_remove_death_notes): New.
20505 (verify_flow_info): Abort on error after all checks.
20506 (remove_edge): Decrement n_edges.
20507 (remove_fake_edges): Tweak format.
20508 * haifa-sched.c (schedule_insns): Use split_all_insns.
20509 * output.h (update_life_info): Remove declaration.
20510 * recog.c (split_all_insns): From the corpse of split_block_insns,
20511 do the whole function block by block. Use update_life_info.
20512 (recog_last_allowed_insn): New.
20513 (recog_next_insn): Mind it.
20514 (peephole2_optimize): Set it. Walk backwards through blocks.
20515 Use update_life_info.
20516 * rtl.h (update_flow_info, replace_insns): Remove declarations.
20517 (split_all_insns): Declare.
20518 * toplev.c (rest_of_compilation): Thread prologue before flow2.
20519 Use split_all_insns.
20521 * i386.md (or -1 peep2s): Disable.
20523 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
20525 * config/mips/mips.md (movstrsi+[123]) : Combine these into
20526 a single pattern. Scrap the 'd' versions as unnecessary.
20528 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
20529 tablejump_mips162,tablejump_internal4): The operands to a
20530 label_ref must be VOIDmode.
20532 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20534 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
20536 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20538 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
20540 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20542 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
20543 cache every function if ggc_p.
20545 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20547 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
20548 instead of copy_rtx. Accept sequences that contain asm statements.
20549 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
20550 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
20551 orig_asm_operands_vector, copy_asm_operands_vector,
20552 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
20554 * rtl.h (copy_insn, copy_insn_1): Declare.
20556 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20558 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
20560 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
20561 arguments to `current_file_function_operand'.
20563 * genrecog.c: Include hard-reg-set.h and resource.h in the
20564 generated output file.
20566 * real.c: Include tm_p.h.
20568 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20570 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
20573 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
20575 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
20576 before the fctiwz insn.
20578 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20579 Mark Mitchell <mark@codesourcery.com>
20581 * tree.c (make_lang_type_fn): New funtion pointer.
20582 (make_lang_type): Call it.
20583 * tree.h (make_lang_type): Declare.
20584 (make_lang_type_fn): Likewise.
20585 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
20587 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
20589 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
20590 make sure that HIGH instructions are copied into BASE_REGS.
20592 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
20594 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
20596 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
20598 * c-decl.c (finish_struct): Use simpler method of
20599 removing elements of a singly-linked list.
20601 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
20603 * alpha.md (peephole2's): Comment out peephole2's that generate
20606 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
20608 * genrecog.c (add_to_sequence): Disable mode check for
20611 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20613 * ggc-simple.c (init_ggc): Set empty_string.
20615 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
20617 * configure.in: Detect mmap. Add --with-gc=foo to select
20618 garbage collector; default to page if mmap available.
20619 * Makefile.in (GGC): Substitute.
20621 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
20623 * c-decl.c (ggc_p): Enable.
20625 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20627 * flow.c (verify_flow_info): Make it extern & unconditionally define.
20629 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
20631 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
20632 string for little-endian-data.
20634 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
20636 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
20637 case somebody tries to compile --enable-checking code with gcc
20640 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
20642 * genrecog.c (add_to_sequence): Verify operand to label_ref is
20645 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
20647 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
20648 * jump.c (jump_optimize_1): Document why.
20650 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20652 * collect2.c (scan_prog_file, scan_libraries): Prototype function
20653 pointers and casts for `int_handler' and `quit_handler'.
20655 * flow.c (verify_flow_info, split_hard_reg_notes,
20656 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
20657 remove_edge, remove_fake_successors): Add static prototypes.
20658 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
20659 (mark_set_1): Initialize variable `regno'.
20660 (unlink_insn_chain): Likewise for variable `curr'.
20661 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
20663 * loop.c (strength_reduce): Initialize variable
20664 `unrolled_insn_copies'.
20665 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
20666 prototypes. Change these functions to take const PTR parameters
20667 to avoid prototype conflict when used as the comparson argument
20669 (check_dbra_loop): Initialize variable `comparison_val'.
20671 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
20672 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
20673 (find_valid_class): Initialize variable `best_class'.
20674 (find_reloads): Call memcpy, not bcopy.
20676 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
20677 (hard_reg_use_compare): Don't needlessly cast away const.
20678 (reload_reg_class_lower): Likewise.
20679 (choose_reload_regs): Initialize variable `regno'.
20681 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
20683 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
20685 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
20687 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
20688 ({,d}discard): Add forward declarations. Declare parameter as
20690 (main_without_main): Explicitly declare return type to be int.
20691 (memcpy): Properly declare.
20693 * libgcc2.c (toplevel): If inhibit_libc is defined and not
20694 building the trampoline support, declare malloc, free, and
20696 (__clear_cache): Mark arguments as potentially unused.
20698 * frame.c (toplevel): If inhibit_libc is defined, declare
20701 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
20703 * flow.c (make_edge): Accept an optional 2D bitmap in which
20704 to cache edge existence. Update all callers.
20705 (make_label_edge, make_eh_edge): Pass through the edge cache.
20706 (make_edges): Provide the cache.
20708 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20710 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
20712 (local_mbtowc): Change the type of variable `i' from int to size_t.
20714 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
20715 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
20717 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
20719 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
20720 after other includes that define the appropriate types. Include
20721 tm_p.h for getting user prototypes.
20722 * ggc-callbacks.c (toplevel): Ditto.
20723 * ggc-none.c (toplevel): Ditto.
20724 * gcc-page.c (toplevel): Ditto.
20725 * ggc-simple.c (toplevel): Ditto.
20727 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
20728 Jonathan Larmour <jlarmour@cygnus.co.uk>
20730 * config/mips/mips.c (mips_move_2words): Split doubles if
20731 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
20733 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
20735 * genrecog.c (struct decision_test): New.
20736 (struct decision): Remove test-related members, sort the rest by size.
20737 (IS_SPLIT): Simplify.
20738 (new_decision, new_decision_test): New.
20739 (add_to_sequence): Use them. No special handling for args of
20741 (maybe_both_true): Renamed from not_both_true; return sense changed.
20742 (maybe_both_true_1, maybe_both_true_2): New. Broken out
20743 of maybe_both_true and adjusted for decision_test.
20744 (position_merit): Remove.
20745 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
20746 (merge_accept_insn): New, broken out of merge_trees.
20747 (merge_trees): Use them. No special case for c_test; no node
20748 splitting; use test type instead of position_merit.
20749 (factor_tests): New.
20750 (simplify_tests): New.
20751 (break_out_subroutines): Don't write code now.
20752 (find_afterward): New.
20753 (write_afterward, write_switch, write_cond): New.
20754 (write_action, is_unconditional): New.
20755 (write_node): New. Use them.
20756 (write_tree_1): Rewrite. Use the new functions above.
20757 (write_tree): Remove afterward processing.
20758 (write_subroutine): Simplify function variant emission.
20759 (write_subroutines): New.
20760 (same_codes, clear_codes): Remove.
20761 (same_modes, clear_modes): Remove.
20762 (write_header): New, broken out of main.
20763 (make_insn_sequence): Use new_decision and new_decision_test.
20764 (process_tree): New, broken out of main.
20765 (main): Adjust for merge_trees interface change.
20766 Don't #define operands in the output file.
20767 (record_insn_name): New, broken out of make_insn_sequence.
20768 (debug_decision_2, debug_decision_1, debug_decision_0): New.
20769 (debug_decision): New.
20771 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
20773 * resource.c (find_free_register): Mark class_str argument const.
20774 * resource.h: Update prototype to match.
20776 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20777 * i386.md: Give all anonymous insns names.
20779 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
20781 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20784 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
20786 * toplev.c (dbr_sched_time): Unconditional.
20787 (peephole2_time): New.
20788 (compile_file): Add pass numbers to all of the dump file suffixes.
20789 Dump peephole2_time. Don't dump times for non-applicable passes.
20790 (rest_of_compilation): Add pass numbers to dump file suffixes.
20791 Conditionalize calls to the scheduler.
20792 * invoke.texi: Update.
20794 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
20796 * flow.c (make_edges): Fix insn iteration.
20797 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20798 (find_basic_blocks_1): Fix spelling mistake.
20800 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
20802 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20803 always have side-effects. Use memset not bzero.
20804 (make_node): Likewise.
20806 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
20808 * stmt.c (expand_anon_union_decl): When any of the elements of the
20809 union is addressable, so is the entire union.
20811 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
20813 * sbitmap.c (sbitmap_ones): Don't set too many bits.
20815 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
20816 * bitmap.c (bitmap_operation): Return true iff TO changed.
20817 (bitmap_equal_p): New.
20818 (bitmap_bit_p): Tidy arithmetic.
20819 (debug_bitmap_file): Likewise.
20821 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
20823 * toplev.c (rest_of_compilation): Turn on cse_not_expected
20824 before cse2 instead of after.
20826 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
20828 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
20831 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20833 * cppinit.c (is_idchar initializer): Loosen tests to accept
20836 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
20838 * mips.md: Define conditional move patterns for floating point
20839 operands and DI mode conditions.
20841 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
20843 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
20844 always have side-effects.
20846 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
20848 * mn10200.c (asm_file_start): Fix typo.
20850 * cppinit.c (is_idchar initializer): Tighten tests for when
20851 to put the table into initialized memory.
20853 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
20854 not an array of rtunion.
20855 * gcc-page.c (ggc_alloc_rtvec): Similarly.
20856 * gcc-simple (ggc_free_rtvec): Similarly.
20858 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
20861 * mbchar.h: Add missing #endif.
20863 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
20864 (FPBIT, DPBIT): Define.
20866 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20868 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
20870 * profile.c (instrument_arcs, output_gcov_string,
20871 tablejump_entry_p): Add static prototypes.
20872 (output_gcov_string): Constify a char*.
20874 * regmove.c (replacement_quality, fixup_match_2): Add static
20877 * resource.h (reg_dead_p): Add extern prototype.
20879 * rtl.c (trim_filename): Add static prototype.
20881 * scan-decls.c (skip_to_closing_brace): Likewise.
20883 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
20884 (expand_end_case): Initialize variable `range'.
20885 (emit_case_nodes): Remove unused prototype `rtx_fn'.
20887 * varasm.c (asm_emit_uninitialised): Add static prototype.
20888 (asm_emit_uninitialised, assemble_variable): Mark parameter with
20891 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20893 * cpplib.c (if_directive_nameo): Add static prototype.
20895 * cse.c (cse_insn): Remove unused variable `p'.
20897 * except.c (create_rethrow_ref, push_entry,
20898 receive_exception_label, new_eh_region_entry, find_func_region,
20899 clear_function_eh_region, process_nestinfo): Add static prototypes.
20900 (get_reg_for_handler): Hide definition.
20901 (process_nestinfo): Initialize variable `extra_handlers'.
20903 * expr.h (expand_builtin_longjmp): Add extern prototype.
20905 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
20907 * function.c (prepare_function_start): Likewise.
20908 (pop_function_context_from): Mark parameter `context' with
20910 (push_temp_slots_for_block, flush_addressof): Hide definition.
20912 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
20913 solve_program_flow_graph, calculate_branch_probs,
20914 function_summary, main, fancy_abort): Add prototypes.
20916 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
20917 (add_hash): Constify a char*.
20919 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
20920 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
20921 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
20923 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
20925 * lists.c (free_list, zap_lists): Likewise.
20927 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20929 * alias.c (nonlocal_reference_p): Add static prototype.
20931 * bitmap.c (bitmap_element_allocate): Prototype args in function
20934 * builtins.c (stabilize_va_list): Add static prototype.
20935 (expand_builtin_va_arg): Constify a char*.
20937 * c-lex.c (getch, put_back, extend_token_buffer_to,
20938 read_line_number, token_getch, token_put_back): Add static
20941 * c-parse.gperf (hash, is_reserved_word): Likewise.
20943 * cccp.c (is_dir_separator): Likewise.
20945 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20947 * graph.h: New file to prototype functions exported by graph.c.
20949 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
20951 * graph.c: Include graph.h.
20953 * toplev.c: Likewise. Remove redundant prototypes.
20955 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
20957 * invoke.texi: Removed duplicated description for -Q.
20959 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
20961 * extend.texi: Grammar fix in __extension__ text.
20963 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
20965 * md.texi (define_peephole2): New section.
20967 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
20969 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
20970 (mov $-1 to or peepholer): Enable for pentium when optimizing for
20973 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
20975 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
20977 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
20979 * i386.md (ffs expander): Emit Pentium friendly code for
20982 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
20984 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
20986 (build1): Likewise.
20988 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20990 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
20992 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
20994 * config/m68k/m68k.c (use_return_insn): Return false if the pic
20995 register is in use.
20997 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20999 * md.texi (No Constraints): Delete section.
21000 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
21001 * final.c (final_scan_insn): We always have register constraints.
21002 * genattrtab.c: Don't include "insn-config.h".
21003 (write_attr_case): We always have register constraints.
21004 * genconfig.c (register_constraint_flag): Delete.
21005 (walk_insn_part): Don't check whether we have register constraints.
21006 (main): Don't write out "#define REGISTER_CONSTRAINTS".
21007 * genoutput.c (have_constraints): Delete.
21008 (main): Don't set it.
21009 (output_operand_data): We always have constraints.
21010 (scan_operands): Likewise.
21011 (compare_operands): Likewise.
21012 * local-alloc.c (block_alloc): We always have constraints.
21013 (requires_inout): Always compile this function.
21014 * recog.c (extract_insn): We always have constraints.
21015 (constrain_operands, reg_fits_class_p): Always compile these
21017 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
21019 (struct insn_operand_data): Likewise.
21020 * regclass.c (regclass): We always have constraints.
21021 (record_reg_classes, copy_cost, record_address_regs,
21022 auto_inc_dec_reg_p): Always compile these functions.
21023 * regmove.c (regmove_optimize): We always have constraints.
21024 * reload.c (find_reloads): Likewise.
21025 * reload1.c (reload): Likewise.
21026 (reload_cse_simplify_operands): Likewise.
21027 * i860.c (output_delay_insn): Likewise.
21029 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
21031 * iris6.h (BUILD_VA_LIST_TYPE): Define.
21033 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21035 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
21036 for the va_list record.
21038 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
21040 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
21043 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
21045 * alias.c: Include insn-flags.h.
21046 * Makefile.in (alias.o): Update.
21048 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
21050 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
21051 to LTU and GEU. Handle more cases using sbb.
21053 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
21055 * i386.md (truncatexfdf splitters): Do not use subreg.
21056 (fop XFmode patterns): Fix mode in operand testing.
21058 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
21060 * jump.c (jump_optimize_1): Amend last change to test only the
21061 form of the operand, not the insn.
21063 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
21064 not register_operand to determine when B may need preloading.
21066 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
21068 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
21069 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
21070 (call-value patterns): Move to end of file.
21071 (*): Remove mode from label_ref in (pc) context.
21072 (movstrqi): Use memory not general_operand for BLKmode operands.
21073 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
21074 to register_operand operands.
21075 (peep2 patterns): Convert from commented-out peephole patterns.
21077 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21079 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
21080 to BUILT_IN_INIT_DWARF_REG_SIZES.
21081 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
21082 Renamed from BUILT_IN_DWARF_REG_SIZE; call
21083 expand_builtin_init_dwarf_reg_sizes.
21084 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
21085 with __builtin_init_dwarf_reg_size_table.
21086 * dwarf2out.c (struct reg_size_range): Delete.
21087 (expand_builtin_init_dwarf_reg_sizes): New function.
21088 (expand_builtin_dwarf_reg_size): Delete.
21089 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
21090 (expand_builtin_dwarf_reg_size): Don't declare.
21091 * libgcc2.c (dwarf_reg_size_table_initialized): New.
21092 (dwarf_reg_size_table): New.
21093 (init_reg_size_table): New function.
21094 (copy_reg): Use dwarf_reg_size_table.
21095 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
21098 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
21100 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
21101 Correctly build argument list to constructor and destructor functions.
21103 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
21105 * c-tree.h (warn_float_equal): Declare.
21106 * c-decl.c (warn_float_equal): Define.
21107 (c_decode_option): Recognize -W[no-]float-equal.
21108 * c-typeck.c (build_binary_op): Conditionally warn
21109 about equality tests of floating point types.
21110 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
21111 * invoke.texi: Add docs for -Wfloat-equal warning.
21113 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
21115 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
21116 generating RTL directly.
21117 * mips.h (INIT_TARGET_OPTABS): Likewise.
21118 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
21120 * expr.h (init_mov_optab): Delete declaration
21122 * h8300.c (WORD_REG_USED): Update to avoid useless register
21123 saves in interrupt functions and functions which never return.
21125 * cse.c (struct set): Delete inner_dest_loc field.
21126 (cse_insn): Remove assignments to inner_dest_loc field.
21128 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
21130 * ggc-page.c: Don't include <unistd.h> etc taken care of
21131 by "system.h". Include <sys/mman.h> afterward.
21133 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
21135 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
21138 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
21140 * xcoffout.c (xcoffout_declare_function): Add documentation.
21141 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
21142 TARGET_64BIT. Compare constant to -1, not bit pattern.
21143 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
21144 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
21147 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
21149 * dwarf2out.c (add_abstract_origin_attribute): Abort if
21150 origin_die is NULL.
21151 (gen_inlined_enumeration_type_die): Do not abort if the type has
21152 not been writeen out.
21153 (gen_inlined_structure_type_die): Do not abort if the type has
21154 not been writeen out.
21155 (gen_inlined_union_type_die): Do not abort if the type has
21156 not been writeen out.
21157 (gen_tagged_type_instantiation_die): Do not abort if the type
21158 has not been written out.
21160 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21162 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
21164 * reg-stack.c (straighten_stack): Copy hard reg set with
21167 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
21169 * builtins.c (stabilize_va_list): Stabilize array type va_list
21170 to a pointer type, not the base record type.
21171 (expand_builtin_va_copy): Dereference the pointers explicitly;
21172 use the correct size for the copy.
21174 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
21175 (rs6000_va_arg): Likewise.
21177 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
21179 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
21181 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
21183 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
21185 (DECL_BUILT_IN_CLASS): Adjust accordingly.
21187 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
21189 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
21190 (init_ggc): Use it instead of a constant.
21191 (ggc_collect): Bound allocated_last_gc by it.
21193 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
21195 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
21198 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
21200 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
21201 (mips*-*-openbsd*): Let big endian configuration be a fragment.
21202 * configure: Regen.
21203 * config/mips/openbsd.h: New, OpenBSD little endian target.
21204 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
21205 * config/mips/xm-openbsd.h: New, OpenBSD host.
21207 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
21209 * config/m68k/m68k.c (output_function_prologue,
21210 output_function_epilogue): Use
21211 current_function_uses_pic_offset_table instead of regs_ever_live
21212 to decide whether to save/restore pic register.
21213 (legitimize_pic_address): Don't modify regs_ever_live any more.
21215 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
21217 * function.h (struct function): Add x_dont_save_pending_sizes_p.
21218 * stor-layout.c (variable_size): Don't add sizes to the pending
21219 sizes list if x_dont_save_pending_sizes_p is set.
21221 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
21223 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
21224 for symbolic_operand().
21225 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
21227 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21229 * combine.c (gen_rtx_combine): Add missing call to va_end().
21231 * final.c (asm_fprintf): Likewise.
21233 * genattrtab.c (attr_rtx): Likewise.
21235 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
21237 * cse.c: Update comments.
21238 (cse_insn): When converting a conditional/computed jump into
21239 an unconditional jump, always make sure a BARRIER immediately
21240 follows the converted jump. Do not delete unreachable code.
21241 (cse_basic_block): Do not delete unreachable code.
21242 * toplev.c (rest_of_compilation): Move call to
21243 delete_trivially_dead_insns after the conditional call to
21246 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21248 * collect2.c (make_temp_file): Don't prototype.
21250 * gcc.c (make_temp_file): Likewise.
21252 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
21254 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
21256 * varasm.c (asm_emit_uninitialised): New function: Generate
21257 the assembler statements necessary to declare an uninitialised
21259 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
21261 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
21262 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
21264 (assemble_variable): Use asm_emit_uninitialised to emit an
21265 uninitialised variable.
21267 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
21269 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
21270 constant on a 64 bit host. Patch supplied by Geoffrey Keating
21271 <geoffk@cygnus.com>.
21273 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21275 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
21276 * c-common.h (builtin_function): Don't declare.
21278 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
21280 (pushdecl): Likewise.
21281 (finish_decl): Likewise.
21282 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
21283 int. All callers changed.
21284 Set the builtin's DECL_BUILT_IN_CLASS.
21285 * tree.h (enum built_in_class): New.
21286 (enum built_in_function): Delete NOT_BUILT_IN.
21287 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
21289 (DECL_SET_FUNCTION_CODE): Likewise.
21290 (DECL_BUILT_IN_CLASS): New macro.
21291 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
21292 (struct tree_decl): Split builtin function code field into a
21294 (builtin_function): Declare.
21296 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
21298 * optabs.c (init_traps): Fix typo in last change.
21300 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
21302 * toplev.c (rest_of_decl_compilation): Update comment.
21304 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
21306 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
21307 in .sbss if appropriate.
21308 (EXTRA_SECTION_FUNCTIONS): Add sbss.
21309 (SBSS_SECTION_ASM_OP): New macro.
21310 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
21311 (EXTRA_SECTIONS): Add in_sbss.
21312 * config/mips/mips.h: Prototype sbss_section.
21314 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
21316 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
21319 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
21321 * optabs.c (init_traps): Register trap_rtx as a GC root.
21323 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21325 * config/mips/mips.c (function_arg_pass_by_reference): Define
21326 unconditionally, since it's called unconditionally.
21328 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21330 * toplev.c (documented_lang_options): Add -fshort-wchar.
21331 * c-decl.c (c_decode_option): Likewise.
21332 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
21334 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
21335 * gcc.c (default_compilers): If -fshort-wchar,
21336 override __WCHAR_TYPE__.
21337 * tm.texi (C Dialect Options): Add -fshort-wchar.
21339 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
21340 symbol for a variable.
21342 * cpplib.h (CPP_PREPROCESSED): New macro.
21343 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
21344 we're seeing this input for a second time.
21346 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
21348 * emit-rtl.c (init_emit_once): Initialize modes first.
21350 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
21352 * config/i386/i386.c (pic_label_name): Change to char pointer.
21353 (global_offset_table): New variable.
21354 (load_pic_register): Fill global_offset_table if it hasn't
21355 already been done. Allocate pic_label_name dynamically.
21356 * ggc.h (empty_string): New variable.
21357 * ggc-simple.c (empty_string): Likewise.
21358 (init_ggc): Allocate empty_string and add as root.
21359 * stmt.c (digit_strings): New variable.
21360 (init_stmt): Add last_block_end_note as root. Allocate and
21361 initialize digit_strings.
21362 (expand_asm_operands): Use empty_string instead of string
21363 constant. Use digit_strings instead of string constants.
21364 * profile.c (init_arc_profiler): Allocate string with
21365 ggc_alloc_string instead of xmalloc.
21366 (output_func_start_profiler): Likewise.
21367 * c-typeck.c (digest_init): Check if init is error_mark_node.
21369 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
21370 Richard Henderson <rth@cygnus.com>
21372 * ggc-page.c: New file.
21373 * Makefile.in (ggc-page.o): New.
21375 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
21377 * invoke.texi: Document -fdelete-null-pointer-checks
21378 * toplev.c (flag_delete_null_pointer_checks): New.
21379 (f_options): Add entry for -fdelete-null-pointer-checks.
21380 (rest_of_compilation): Conditionalize null pointer check
21381 elimination on flag_delete_null_pointer_checks.
21382 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
21384 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
21386 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
21387 copyright notice and special exception to GPL.
21389 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21391 * abi64.h (mips_function_value): Add prototype arguments.
21393 * mips-protos.h: New file with mips prototypes.
21395 * mips.c: Include "tm_p.h".
21396 (mktemp, lookup_name): Add prototype arguments.
21397 (extern_list, string_constant, mips_fill_delay_slot,
21398 mips_output_external, mips_output_external_libcall,
21399 mips_output_filename, mips_declare_object, function_prologue,
21400 mips_expand_prologue, function_epilogue, mips16_constant,
21401 build_mips16_function_stub, mips_output_conditional_branch):
21403 (mips_va_start): Remove unused variable `u'.
21404 (mips_va_arg): Cast value to unsigned when comparing against one.
21406 (save_restore_insns, mips_expand_prologue): Add missing arg in
21407 call to `large_int'.
21409 * mips.h: Move prototypes to mips-protos.h.
21410 (data_section, memory_address_p, rdata_section,
21411 readonly_data_section, simple_epilogue_p, text_section): Delete
21412 prototypes delcared elsewhere.
21413 (mips_epilogue_delay_slots, print_options): Delete unused decls.
21415 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
21417 * mips.md: Delete extra args in call to `mips_move_2words'.
21419 * xm-iris6.h (alloca): Add prototype argument.
21421 * genpeep.c: Include "tm_p.h" in generated output file.
21423 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21425 * basic-block.h (find_edge_index): Change parameters.
21426 * flow.c (verify_edge_list): Pass basic_block parameters to
21427 find_edge_index instead of integers.
21429 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
21431 * combine.c (simplify_comparison): Use an unsigned shift to adjust
21434 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
21436 * gcc.1: Fix a formatting error.
21438 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21440 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
21441 i786, mn10200, mn10300, pdp11, v850.
21443 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
21445 * libgcc2.c (num_digits): Add prototype with
21446 __attribute__((const)).
21447 (__terminate): Add prototype.
21449 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
21451 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
21453 * alpha/alpha.c (print_operand): Fix type of `code'.
21454 (alpha_output_filename): Constify.
21455 * alpha/alpha.h: Move all function declarations ...
21456 * alpha/alpha-protos.h: ... here. New file.
21457 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
21458 (SECTION_FUNCTION_TEMPLATE): Likewise.
21460 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21462 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
21463 * expr.c (expand_expr): Likewise.
21464 (do_jump): Likewise.
21465 (do_store_flag): Pass ccp_store_flag to can_compare_p.
21466 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
21468 (enum can_compare_purpose): New.
21469 (can_compare_p): Adjust prototype.
21470 (prepare_cmp_insn, prepare_operand): Declare.
21471 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
21472 * optabs.c (cmp_available_p): Deleted.
21473 (expand_abs): Pass ccp_jump to can_compare_p.
21474 (can_compare_p): New arg PURPOSE. Check for combined optabs.
21475 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
21476 Call can_compare_p rather than cmp_available_p.
21477 (prepare_operand): No longer static.
21478 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
21479 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
21480 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
21481 sequence to use emit_cmp_and_jump_insns.
21482 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
21484 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
21486 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
21487 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
21488 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
21489 (plus (reg) (const_int 0))
21490 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
21492 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
21494 * rs6000.c (expand_block_move): DImode loads and stores require
21495 word-aligned displacements. Increment address registers with
21496 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
21498 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
21500 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
21501 is no name for the base type, rather than segfault. If we are
21502 writing out a complex integer type, use DW_ATE_lo_user.
21504 * expr.c (emit_move_insn_1): If we are copying a complex that fits
21505 in one word or less (complex char, complex short, or on 64 bit
21506 systems complex float) to/from a hard register, copy it through
21507 memory instead of dying in gen_{real,imag}part. If we have a
21508 short complex type, prevent inlining since it allocates stack
21511 * tree.c (build_complex_type): If we are writing dwarf2 output,
21512 generate a name for complex integer types.
21514 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21516 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
21517 * flow.c (remove_edge): Remove extra whitespace.
21518 (remove_fake_edges): Fix comment.
21519 (add_noreturn_fake_exit_edges): Use the correct name.
21521 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
21523 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
21524 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
21525 (clean): Depend on INTL_CLEAN.
21526 (maintainer-clean): Adjust.
21528 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21530 * configure.in (AC_PREREQ): Bump to 2.13.
21531 (AC_C_STRINGIZE): Call this instead of using a custom macro.
21533 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
21535 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
21537 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
21539 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
21540 (HAVE_STRINGIZE): Define.
21542 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
21544 * c-parse.in: save and restore warn_pointer_arith on __extension__
21545 along with pedantic.
21546 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
21547 Set the type of extension to itype rather than $<itype>1 kludge.
21548 * extend.texi (Alternate Keywords): Adjust documentation.
21549 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
21551 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
21553 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
21554 most assembler templates.
21556 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
21557 FP loads and stores.
21558 (following_call): Always return zero for the PA8000.
21559 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
21560 FP loads and stores.
21561 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
21563 * pa.h (BRANCH_COST): Define.
21565 * pa.md (return, return_internal): Use bve for PA2.0.
21567 * pa.md (fused multiply): Add variants which reduce height for the
21568 fused multiply, but which still generate 2 insns.
21569 (fnegabs): Similarly.
21571 * pa.md (subsi3): Turn into an expander. Create two anonymous
21572 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
21573 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
21575 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
21577 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
21579 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
21580 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
21582 * regclass.c (init_regs): Add "top_of_stack" as a garbage
21585 * flow.c (record_active_eh_regions): Terminate loop after finding
21586 the last insn in the last basic block.
21588 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21590 * config/c4x/c4x.md: Delete parallel instruction peepholes.
21592 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21594 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
21596 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21598 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
21599 splitting to not use output template.
21601 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21603 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
21604 * config/c4x/c4x.c (c4x_va_start): New function.
21606 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
21608 * genrecog.c (not_both_true): Handle correctly cases when called for
21609 tests with different positions in the insn.
21611 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21613 * machmode.h (HOST_PTR_PRINTF): Move from here ...
21615 * system.h (HOST_PTR_PRINTF): ... to here.
21617 * mips-tfile.c: Don't include machmode.h.
21619 * Makefile.in (MACHMODE_H): New variable. Update to use it.
21620 (mips-tfile.o): Don't depend on machmode.h.
21622 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21624 * haifa-sched.c (sched_analyze): Rename local variable `region' to
21625 avoid conflicts with typedef struct `region' at the top level scope.
21627 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
21629 * basic-block.h (basic_block): Add eh_beg, eh_end.
21630 * flow.c (entry_exit_blocks): Update.
21631 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
21632 Call new functions.
21633 (find_basic_blocks_1): Don't record eh_list at each bb. Use
21634 lists.c functions to allocate insn lists.
21635 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
21637 (make_eh_edge): ... here. New.
21638 (move_stray_eh_region_notes): New.
21639 (record_active_eh_regions): New.
21640 (delete_unreachable_blocks): Split out block merging ...
21641 (try_merge_blocks): ... here. New.
21642 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
21643 Dump debugging data.
21644 (merge_blocks_move_successor_nojumps): Likewise.
21645 (merge_blocks): Use eh_beg+eh_end to validate block movement.
21647 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21649 * extend.texi (Bound member functions): Document unbound pmf
21652 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21654 * flow.c (split_edge): Handle insertion on a fallthrough edge which
21655 has the EXIT_BLOCK as a dest.
21657 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21659 * flow.c (remove_edge): New function to remove an edge from the
21661 (remove_fake_successors): New function to remove fake successor edges.
21662 (remove_fake_edges): New function to remove all fake edges from the
21664 (add_fake_exit_edges): New function to add fake edges from all blocks
21665 with no successors to the exit block.
21666 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
21667 prototypes for new functions.
21669 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21671 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
21672 Use Pmode to determine whether to output .dword or .word.
21674 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
21676 * tree.c (built_in_filename): New variable.
21677 (BUILT_IN_FILENAME): New macro.
21678 (init_tree_codes): Allocate built_in_filename.
21679 (make_node): Use built_in_filename instead of string constant.
21681 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
21683 * configure.in: Add fr30 target.
21684 * configure: Regenerate.
21685 * config/fr30: New directory.
21686 * config/fr30/crti.asm: New file.
21687 * config/fr30/fr30.c: New file.
21688 * config/fr30/crtn.asm: New file.
21689 * config/fr30/fr30.h: New file.
21690 * config/fr30/fr30.md: New file.
21691 * config/fr30/lib1funcs.asm: New file.
21692 * config/fr30/t-fr30: New file.
21693 * config/fr30/xm-fr30.h: New file.
21695 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
21697 * flow.c (merge_blocks_move_successor_nojumps): Delete the
21698 BARRIER at the end of the successor, not the BARRIER before
21701 * pa.c (pa_add_gc_roots): Fix thinko in last change.
21703 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
21705 * stmt.c (any_pending_cleanups): Don't crash when
21706 current_function->stmt is unset.
21708 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21710 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
21711 other initializations that may use it for relative offsets.
21713 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21715 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
21716 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
21717 * config/i386/sol2dbg.h: Removed.
21718 * config/i386/sol2gas.h: New file, to enable gas work-around.
21719 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
21720 Don't use sol2dbg.h.
21721 * configure: Rebuilt.
21723 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
21725 * invoke.texi (-fthis-is-variable): Remove documentation.
21727 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
21729 * basic-block.h (compute_bb_for_insn): Declare.
21730 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
21731 to use; set size of basic_block_for_insn directly.
21732 (find_basic_blocks): Update.
21734 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21736 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
21738 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21740 * crtstuff.c (ON_EXIT): Delete empty macro definition.
21741 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
21743 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
21745 * c-decl.c (c_decode_option): Extend comment.
21747 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
21749 * toplev.c (progname): Make 'const char *'
21750 (flag_print_mem): Move out of main.
21751 (version_flag): Move out of main.
21752 (filename): Move out of main.
21753 (debug_args): Remove g prefix from options.
21754 (documented_lang_options): Remove cpplib specific options.
21755 (display_help): Add g prefix to debug options.
21756 (check_lang_option): Delete this function.
21757 (decode_d_option): New function: Decode -d... option.
21758 (decode_f_option): New function: Decode -f... option.
21759 (decode_W_option): New function: Decode -W... option.
21760 (decode_g_option): New function: Decode -g... option.
21761 (independent_decode_option): New function: Decode a language
21762 independent command line option.
21763 (main): Invoke lang_decode_option and then
21764 independent_decode_option on each command line option in
21767 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
21769 Revert this change. Gavin's patch to operand_equal_p is a better fix.
21770 * fold-const.c (fold_range_test): Do not try to fold the range
21771 test if the rhs or lhs has side effects.
21773 * basic-block.h (compute_flow_dominators): Declare.
21775 * gcse.c (alloc_code_hoist_mem): New function.
21776 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21777 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21778 (hoist_code, one_code_hoisting_pass): Likewise.
21779 (gcse_main): If optimizing for size, then hoist expressions
21780 computed in multiple dominated basic blocks.
21782 * gcse.c (invalid_nonnull_info): New function.
21783 (delete_null_pointer_checks): Likewise.
21784 * rtl.h (delete_null_pointer_checks): Declare.
21785 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21787 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21788 (merge-blocks_move_successor_nojumps): Likewise.
21789 (merge_blocks): Allow merging of some blocks, even if it requires
21790 physical movement of the blocks, but not if it requires new jumps.
21792 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21793 Callers and prototype changed.
21794 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21796 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21798 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21799 -YP when both -p and -pg are present. From i386/sol2.h.
21801 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21803 * Makefile.in (distclean): Delete tm_p.h.
21804 * configure.in: Create a new file, "tm_p.h", from a list in
21805 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
21806 "i386/i386-protos.h".
21808 * alias.c: Include "tm_p.h".
21809 * c-typeck.c: Likewise.
21810 * calls.c: Likewise.
21812 * emit-rtl.c: Likewise.
21813 * explow.c: Likewise.
21814 * expmed.c: Likewise.
21815 * expr.c: Likewise.
21816 * final.c: Likewise.
21817 * flow.c: Likewise.
21818 * fold-const.c: Likewise.
21819 * function.c: Likewise.
21820 * gcse.c: Likewise.
21821 * global.c: Likewise.
21822 * haifa-sched.c: Likewise.
21823 * integrate.c: Likewise.
21824 * jump.c: Likewise.
21825 * local-alloc.c: Likewise.
21826 * loop.c: Likewise.
21827 * optabs.c: Likewise.
21828 * recog.c: Likewise.
21829 * reg-stack.c: Likewise.
21830 * regclass.c: Likewise.
21831 * regmove.c: Likewise.
21832 * reload.c: Likewise.
21833 * reload1.c: Likewise.
21834 * reorg.c: Likewise.
21835 * resource.c: Likewise.
21836 * stmt.c: Likewise.
21837 * stor-layout.c: Likewise.
21838 * toplev.c: Likewise.
21839 * tree.c: Likewise.
21840 * unroll.c: Likewise.
21841 * genattrtab.c (main): Make generated file include "tm_p.h".
21842 * genemit.c (main): Likewise.
21843 * genoutput.c (main): Likewise.
21844 * genrecog.c (main): Likewise.
21846 * i386.h: Delete all prototypes.
21847 * i386.c: Include "tm_p.h".
21848 (ix86_attr_length_default): Call constant_call_address_operand
21849 with correct number of arguments.
21850 * i386-protos.h: New file.
21851 * i386.md (unnamed patterns): Call constant_call_address_operand
21852 with correct number of arguments.
21853 (exception_receiver): Call load_pic_register with correct number
21856 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
21858 * c-pragma.c (mark_align_stack): Dereference the void* properly.
21860 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
21862 * rtl.h (insns_safe_to_move_p): New function.
21863 * loop.c (find_and_verify_loops): Use it.
21864 * rtlanal.c (insns_safe_to_move_p): Define it.
21866 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
21868 * c-pragma.c: Include ggc.h.
21869 * Makefile.in (c-pragma.o): Update.
21871 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21873 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
21874 (LIB_SPEC): Likewise.
21875 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
21876 Reindent -YP/-p/-pg.
21877 Copied from config/sparc/sol2.h.
21879 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
21881 * c-pragma.c (mark_align_stack): New.
21882 (init_pragma): New.
21883 * c-pragma.h (init_pragma): Declare it.
21884 * c-lex.c (init_parse): Call it.
21886 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21888 * configure.in: Pick up thread library on Solaris/x86 just
21889 like on Solaris/sparc.
21890 * configure: Rebuilt.
21892 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
21894 * rtl.h (global_rtx_index): New enum.
21895 (global_rtl): Change to array of rtx.
21896 (pc_rtx, cc0_rtx): Redefine accordingly.
21897 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
21898 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
21899 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
21900 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
21901 (const_int_rtx): Change to array of rtx.
21902 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
21904 * emit-rtl.c (global_rtl): Change to array of rtx.
21905 (const_int_rtx): Change to aray of rtx.
21906 (gen_rtx_CONST_INT): Redefine accordingly.
21907 (init_emit_once): Allocate and initialize global_rtl. Likewise
21908 for const_int_rtx. Add both as GC roots.
21909 * genattrtab.c (global_rtl): Update declaration.
21911 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
21913 * Makefile (USER_H): Add iso646.h back.
21915 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
21917 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
21918 zapping the LOG_LINKS of sched_before_next_call.
21920 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
21921 * pa.c (insn_refs_are_delayed): Renamed from
21922 insn_sets_and_refs_are_delayed.
21924 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
21926 * functiion.h (struct function): Add x_whole_function_mode_p.
21927 (retrofit_block): Declare.
21928 * function.c (retrofit_block): New function.
21929 (identify_blocks): Add assertions. Allow an incomplete set of
21930 block notes if we're still generating code for the function.
21931 * integrate.c: Include loop.h.
21932 (expand_inline_function): Call find_loop_tree_blocks to map block
21933 notes to blocks when in whole-function mode. Use retrofit_block
21934 to insert new BLOCKs for the inlined function, rather than
21936 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
21937 * Makefile.in (integrate.o): Depend on loop.h.
21939 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
21941 * tree.h (warn_about_unused_variables): Declare.
21942 * stmt.c (warn_about_unused_variables): New function, split out
21944 (expand_end_bindings): Here.
21946 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
21948 * stmt.c (preserve_subexpressions_p): Don't crash when
21949 current_function->stmt is unset.
21951 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
21953 * stmt.c (expand_start_bindings): Allow callers to pass a flag
21954 indicating that no NOTE_INSN_BLOCK_BEG note is required.
21955 (expand_start_target_temps): Use it.
21956 * except.c (expand_eh_region_start_for_decl): Likewise.
21957 * expr.c (expand_expr): Likewise.
21959 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21961 * fold-const.c (operand_equal_p): Pay attention to side effects.
21963 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
21965 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
21966 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
21968 * tlink.c (scan_linker_output): Look for keywords before accepting
21969 a mangled name in quotes.
21971 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
21973 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
21974 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
21976 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
21978 * alpha.md: Revert Thu Nov 26 change that came in through the
21979 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
21980 Avoid earlyclobber when possible.
21982 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21984 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
21986 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
21987 Define HAVE_ON_EXIT.
21989 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21991 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
21992 CTYPE_CONV in all ctype macros.
21994 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
21997 * cexp.y (initialize_random_junk): Likewise.
21999 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
22001 * i370.c (handle_pragma): Likewise.
22003 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
22005 * v850.c (override_options): Likewise.
22007 * doprint.c (_doprnt): Likewise.
22009 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
22012 * fixinc/server.c (load_data): Likewise.
22014 * fold-const.c (real_hex_to_f): Likewise.
22016 * genattr.c (write_upcase, gen_attr): Likewise.
22018 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
22019 write_upcase): Likewise.
22021 * genemit.c (print_code): Likewise.
22023 * genopinit.c (gen_insn): Likewise.
22025 * genpeep.c (print_code): Likewise.
22027 * genrecog.c (print_code): Likewise.
22029 * optabs.c (init_libfuncs): Likewise.
22031 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
22033 * haifa-sched.c (sched_analyze): Keep the list of notes organized
22035 (reemit_notes): Likewise.
22037 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
22039 * ggc.h (ggc_root): Move to ggc-common.c.
22041 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
22042 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
22043 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
22044 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
22045 * ggc-common.c (ggc_root): Move from ggc.h.
22046 (roots): Declare, static.
22047 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
22048 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
22049 null or check/set mark bit.
22050 (ggc_mark_roots): New.
22051 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
22053 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
22055 * m32r.c: Include toplev.h.
22056 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
22057 (gen_compare): Rename swap_p to must_swap to match uses.
22058 Add default abort case.
22059 (m32r_output_function_epilogue): Remove unused variables.
22060 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
22061 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
22062 define to empty parameter list. Update all uses.
22063 (predicate decls): Use enum machine_mode not int.
22064 * m32r.md (movsi): Call abort, not fatal_insn.
22065 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
22067 1999-09-14 Andrew Haley <aph@cygnus.com>
22069 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
22070 use $0 instead of 0.
22072 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22074 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
22075 computation out of loop over hard regs.
22077 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
22079 * function.c (identify_blocks): Don't shadow a variable in an
22081 * integrate.c (integrate_decl_tree): Don't use pushlevel,
22082 pushdecl, or poplevel to build up the new BLOCK tree.
22083 (expand_inline_function): Likewise.
22084 (integrate_parm_decls): Likewise.
22086 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
22088 * c-typeck.c (qualify_type): Merge qualifiers from both types.
22090 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
22092 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
22093 * invoke.texi: Document this change.
22095 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
22097 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
22099 (mark_emit_status): Renamed from mark_emit_state.
22100 * except.c (mark_eh_status): Renamed from mark_eh_state.
22101 Check not null before marking.
22102 (free_eh_status): New.
22103 * expr.c (mark_expr_status, free_expr_status): New.
22104 * function.c (free_machine_status): New.
22105 (free_after_parsing): New.
22106 (free_after_compilation): Move bits to free_after_parsing; call
22107 free_eh_status, free_expr_status; zero the marked members of the
22109 (prepare_function_start): No can_garbage_collect.
22110 Call init_eh_for_function.
22111 (expand_dummy_function_end): Free up current_function state.
22112 (mark_function_status): Renamed from mark_function_state.
22113 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
22114 * function.h (struct function): No can_garbage_collect.
22115 (free_machine_status, free_after_parsing): Declare.
22116 (free_eh_status, free_expr_status): Declare.
22117 * ggc.h (mark_expr_status): Declare.
22118 * stmt.c (free_stmt_status): Free the struct.
22119 (mark_stmt_status): Renamed from mark_stmt_state.
22120 (init_stmt): Don't call init_eh.
22121 (init_stmt_for_function): Don't call init_eh_for_function.
22122 * toplev.c (compile_file): Call init_eh.
22123 (rest_of_compilation): Free basic block info before ggc_collect.
22124 Call free_after_parsing; conditionally call free_after_compilation.
22125 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
22126 Check not null before marking.
22127 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
22129 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
22131 * c-lex.c (yylex): Initialize warn.
22133 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
22135 * pa.c (emit_move_sequence): Properly set the mode of the scratch
22136 register when performing secondary reloads for the SAR register.
22138 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
22140 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
22141 (NOTE_BLOCK): New macro.
22142 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
22143 * function.h (identify_blocks): Change prototype.
22144 * function.c (identify_blocks): Simplify.
22145 (reorder_blocks): Likewise.
22146 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
22147 NOTE_INSN_BLOCK_{BEG,END}.
22148 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
22149 the list of saved notes if the note isn't a
22150 NOTE_INSN_BLOCK_{BEG,END}.
22151 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
22153 (reemit_notes): Adjust recreation of notes to reflect new saved
22155 * print-rtl.c (print_rtx): Print the address of the BLOCK when
22156 printing a block note.
22157 * stmt.c (block_vector): Remove.
22158 (find_loop_tree_blocks): Simplify.
22159 (unroll_block_trees): Likewise.
22160 * tree.h (reorder_block): Change prototype.
22162 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
22164 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
22165 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
22166 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
22167 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
22168 (atexit, exit): Simplify.
22169 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
22170 * config/lots: Remove defns of HAVE_ATEXIT.
22172 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
22174 * calls.c (precompute_arguments): Fix typo in comment.
22175 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
22178 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
22180 * dsp16xx.c (override_options): Fix typos in GC root registration.
22182 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
22184 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
22185 from config/svr4.h.
22186 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
22187 (FUNCTION_PROFILER): Redefine appropriately for Linux.
22188 (CC1_SPEC): Likewise.
22190 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22192 * genattr.c (main): Add extern prototype. Call return, not exit.
22193 * genattrtab.c (main): Likewise.
22194 * gencheck.c (main): Likewise.
22195 * gencodes.c (main): Likewise.
22196 * genconfig.c (main): Likewise.
22197 * genemit.c (main): Likewise.
22198 * genextract.c (main): Likewise.
22199 * genflags.c (main): Likewise.
22200 * gengenrtl.c (main): Likewise.
22201 * genopinit.c (main): Likewise.
22202 * genoutput.c (main): Likewise.
22203 * genpeep.c (main): Likewise.
22204 * genrecog.c (main): Likewise.
22206 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
22207 * genattrtab.c (get_insn_name): Likewise.
22208 * gencodes.c (get_insn_name): Likewise.
22209 * genconfig.c (get_insn_name): Likewise.
22210 * genemit.c (get_insn_name): Likewise.
22211 * genextract.c (get_insn_name): Likewise.
22212 * genflags.c (get_insn_name): Likewise.
22213 * genopinit.c (get_insn_name): Likewise.
22214 * genpeep.c (get_insn_name): Likewise.
22216 * gencheck.c (usage): Add static prototype.
22217 * genextract.c (print_path): Constify a char*.
22218 * genopinit.c (optabs): Likewise.
22219 * genoutput.c (operand_data, data, output_predicate_decls,
22220 compare_operands): Likewise.
22221 * genrecog.c (write_tree): Add default case in switch.
22223 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22225 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
22227 * print-rtl.c (get_insn_name): Remove prototype.
22229 * toplev.h (progname): Declare const.
22231 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
22232 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
22233 dump_sched_info, dump_local_alloc, regset_release_memory,
22234 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
22235 error_with_file_and_line, error_with_decl, error_for_asm, error,
22236 fatal, warning_with_file_and_line, warning_with_decl, warning,
22237 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
22238 Remove redundant prototypes.
22240 (notice, check_lang_option, report_file_and_line, vnotice,
22241 mark_file_stack): Add static prototype.
22242 (set_fatal_function): Add prototype.
22243 (vnotice, report_file_and_line, set_fatal_function,
22244 check_lang_option): Constify a char*.
22245 (main): Prototype. Call return, not exit.
22247 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22249 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
22251 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
22253 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
22255 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
22257 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22259 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
22260 behave as if it's zero in all cases.
22261 (expand_function_start): Adjust call to assign_parms.
22262 * tree.h (assign_parms): Adjust prototype.
22263 * objc/objc-act.c (hack_method_prototype): Adjust call to
22266 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
22268 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
22269 arg_pointer_rtx fixed if the argument pointer register is
22271 (NONZERO_BASE_PLUS_P): Likewise.
22273 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
22275 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
22276 match_insn2 to match_insn.
22277 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
22279 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
22281 * Makefile.in (USER_H): Remove va-foo.h.
22283 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
22284 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
22285 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
22286 va-spur.h,va-v850.h}: Remove.
22288 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
22290 * sparc/sparc.md (eligible_for_return_delay): New attribute.
22291 (in_return_delay): Use it instead of match_insn.
22293 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22295 * config/alpha/va_list.h (va-alpha.h): Do not include.
22296 (__gnuc_va_list): Typedef as in varargs.h.
22298 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
22300 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
22301 DECL_LIVE_RANGE_RTL.
22303 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
22305 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
22306 not NOTE_BLOCK_NUMBER.
22307 (expand_eh_region_end): Likewise.
22308 (find_exception_handler_labels): Likewise.
22309 (scan_region): Likewise.
22310 (exception_optimize): Likewise.
22311 (update_rethrow_references): Likewise.
22312 (set_insn_eh_region): Likewise.
22313 * final.c (final_scan_insn): Likewise.
22314 * flow.c (make_edges): Likewise.
22315 * integrate.c (expand_inline_function): Likewise.
22316 * print-rtl.c (print_rtx): Likewise.
22318 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
22320 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
22321 terms of builtin functions and types.
22323 * mips.c (mips_build_va_list): New.
22324 (mips_va_start, mips_va_arg): New.
22325 * mips.h (BUILD_VA_LIST_TYPE): New.
22326 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22328 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
22329 (sh_build_va_list, sh_va_start, sh_va_arg): New.
22330 * sh.h (BUILD_VA_LIST_TYPE): New.
22331 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22333 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
22335 * recog.h (struct recog_data): Make dup_num, operand_address_p,
22336 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
22337 (struct insn_data): Likewise with n_operands, n_dups,
22338 n_alternatives, output_format.
22339 * regclass.c (scan_one_insn): Cast n_operands to int before
22340 arithmetic inside comparison.
22342 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
22344 * toplev.c (compile_function): Unconditionally emit nop.
22346 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22348 * haifa-sched.c (actual_hazard): Move declaration of variable
22349 `this_cost' into the scope where it is used.
22351 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22353 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
22354 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
22355 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
22357 * genrecog.c (make_insn_sequence): Call memset, not bzero.
22359 * jump.c (find_insert_position): Don't declare or define unless
22360 !HAVE_conditional_arithmetic.
22361 (returnjump_p_1, delete_prior_computation): Add static prototypes.
22363 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
22365 * recog.c (offsettable_address_p): Prototype function pointer.
22366 (preprocess_constraints): Call memset, not bzero.
22368 * tree.c (tree_node_kind_names): Constify a char*. Make static.
22369 (gcc_obstack_init): Don't declare.
22370 (fix_sizetype): Add static prototype.
22371 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
22372 (tree_cons): Call memset, not bzero.
22374 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
22375 definition in macro ASM_WEAKEN_LABEL.
22376 (mark_const_hash_entry): Add static prototype.
22378 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22380 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
22382 * unroll.c (find_common_reg_term, subtract_reg_term,
22383 loop_find_equiv_value): Add static prototypes.
22384 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
22385 (copy_loop_body): Remove unreachable break statement.
22387 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
22389 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
22391 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22393 Undo some changes from the gcc2 merge:
22394 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
22395 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
22399 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
22400 * emit-rtl.c (gen_lowpart_common): Disable optimization of
22401 initialized float-int union if the value is a NaN.
22403 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
22405 * gthr-win32.h: New file.
22407 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
22408 shared as a valid attribute.
22409 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
22410 * extend.texi: Document `shared' variable attribute.
22412 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
22414 * configure.in: Handle --enable-threads on FreeBSD.
22415 * configure: Rebuit.
22417 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22419 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
22421 * configure: Rebuilt.
22423 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
22424 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
22425 Rosimildo DaSilva <rdasilva@connecttel.com>
22427 * configure.in (m68k-*-rtemscoff*): Added.
22428 * configure.in (mips64orion-*-rtems*): Converted to ELF.
22429 * configure.in (sparc-*-rtemsaout*): Added as alias for old
22430 sparc-rtems configuration.
22431 * configure.in (sparc-*-rtemself*): Added.
22432 * configure.in (sparc-*-rtems*): Now ELF not a.out.
22433 * config/i386/rtems.h: Added comment.
22434 * config/sparc/rtemself.h: New file.
22436 * configure.in (m68k-rtemself): Added.
22437 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
22438 and DWARF_DEBUGGING_INFO.
22439 * config/m68k/crti.s: New file.
22440 * config/m68k/crtn.s: New file.
22441 * config/m68k/t-crtstuff: New file.
22442 * config/m68k/rtemself.h: New file.
22444 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
22445 global ctor/dtor and C++ exception handling.
22446 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
22447 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
22449 * config/i386/t-rtems-i386: New File.
22451 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
22453 * stmt.c (expand_end_case): Return right away if the case stack is
22456 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
22458 * Makefile.in (version.c): Remove rule incorrectly brought in from
22461 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
22463 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
22464 * msdos/top.sed: Take into account a prepended $(SHELL) to
22466 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
22468 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
22470 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22472 * regmove.c (fixup_match_1): Don't change an unchanging register.
22473 (stable_but_for_p): Renamed to:
22474 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
22475 Changed all callers.
22477 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
22479 * loop.c (strength_reduce): Don't call reg_used_between_p if the
22480 insn from BL2 is after the insn from BL.
22482 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
22484 * recog.h (INSN_OUTPUT_FORMAT_*): New.
22485 (struct insn_data): Merge `template' and `outfun' into `output'.
22486 Add `output_format'.
22487 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
22488 (struct data): Remove `outfun'; add `output_format'.
22489 (name_for_index): Remove declaration.
22490 (output_insn_data): Handle output formats.
22491 (process_template): Emit the bare array for @.
22492 (gen_expand, gen_split): Set output_format to NONE.
22493 * output.h (get_insn_template): Declare.
22494 * final.c (get_insn_template): New.
22495 (final_scan_insn): Use it.
22496 * toplev.c (compile_file): Likewise.
22498 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22499 * i860/i860.c (output_delayed_branch): Likewise.
22500 (output_delay_insn): Likewise.
22502 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22504 * rtl.c (obstack_alloc_rtx): Removed.
22506 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
22508 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
22510 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
22512 * i386.c (call_insn_operand): Reject const_int.
22513 (expander_call_insn_operand): Use call_insn_operand.
22515 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22517 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
22519 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
22521 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
22522 Use DImode operation.
22524 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
22526 * gcc.c: Include sys/resource.h.
22527 (report_times): New flag.
22528 (execute): If report_times is set, calculate and report the
22529 CPU time consumed by each subprocess.
22531 (rus, prus): New globals.
22532 (option_map): Add --time.
22533 (display_help): Document -time.
22534 (process_command): Set report_times if -time is given.
22535 Turn off -pipe if -time is given.
22537 * invoke.texi: Document new option -time.
22539 * configure.in: Check for getrusage. Check if we have to
22540 prototype getrusage.
22541 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
22542 * configure: Regenerate.
22543 * config.in: Regenerate.
22545 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
22547 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
22550 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
22552 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
22553 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
22554 (nan): Return _thenan_sf or _thenan_df as appropriate.
22555 (L_thenan_sf): Define _thenan_sf.
22556 (L_thenan_df): Define _thenan_df.
22558 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
22559 (DPBIT_FUNCS): Add _thenan_df.
22561 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
22563 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
22566 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22568 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
22571 (lang_specific_driver): Don't take a function pointer parameter.
22572 All callers changed.
22574 * gcc.c: Include gcc.h.
22575 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
22576 lang_specific_extra_outfiles, fatal): Don't declare.
22577 (multilib_defaults_raw): Constify.
22578 (read_specs): Call memset, rather than bzero.
22579 (main): Call return, not exit.
22580 (lookup_compiler): Call memcpy, not bcopy.
22581 (fatal): Make extern.
22583 * cppspec.c: Include gcc.h.
22584 (lang_specific_driver): Initialize variable `quote'. Constify a
22585 char*. All calls to the function pointer parameter now
22586 explicitly call `fatal'.
22588 * gccspec.c (lang_specific_driver): Include gcc.h.
22590 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
22592 * arm.c (note_invalid_constants): Use recog_data.operand_type
22595 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22597 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
22600 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
22601 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22602 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22603 reload_secondary_in_reload, reload_secondary_out_reload,
22604 reload_secondary_in_icode, reload_secondary_out_icode,
22605 reload_reg_rtx, reload_when_needed): Delete declarations.
22606 (struct reload): New structure.
22607 (rld): Declare new array.
22608 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
22609 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22610 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22611 reload_secondary_in_reload, reload_secondary_out_reload,
22612 reload_secondary_in_icode, reload_secondary_out_icode,
22613 reload_reg_rtx, reload_when_needed): Delete definitions.
22615 (whole file): Replace uses of the deleted arrays with uses of rld.
22616 * reload1.c (whole file): Replace uses of the deleted arrays with
22618 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
22619 explicit loops, not with bcopy.
22621 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
22623 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
22624 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
22625 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
22626 insn_name): Delete and consolidate into new structures.
22627 (insn_operand_predicate_fn): New.
22628 (insn_output_fn): New.
22629 (insn_gen_fn): New.
22630 (struct insn_operand_data): New.
22631 (struct insn_data): New.
22633 (OUT_FCN): Update for insn_data change.
22634 * builtins.c (expand_builtin_strlen): Likewise.
22635 (expand_builtin_memcmp): Likewise.
22636 * combine.c (make_extraction, simplify_comparison): Likewise.
22637 * cse.c (canon_reg, cse_insn): Likewise.
22638 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
22639 * expmed.c (store_bit_field, extract_bit_field): Likewise.
22640 (emit_store_flag): Likewise.
22641 * expr.c (convert_move, emit_block_move): Likewise.
22642 (clear_storage, emit_push_insn, expand_increment): Likewise.
22643 (do_store_flag): Likewise.
22644 * expr.h (GEN_FCN): Likewise.
22645 (insn_gen_function): Die.
22646 * final.c (final_scan_insn): Update for insn_data change.
22647 (output_asm_name): Likewise.
22648 * function.c (fixup_var_refs_1): Likewise.
22649 * loop.c (check_dbra_loop): Likewise.
22650 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
22651 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
22652 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
22653 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
22654 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
22655 * regmove.c (gen_add3_insn): Likewise.
22656 * reload.c (push_secondary_reload, combine_reloads): Likewise.
22657 (find_reloads, find_reloads_address_1): Likewise.
22658 (debug_reload_to_stream): Likewise.
22659 * reload1.c (emit_reload_insns, gen_reload): Likewise.
22660 * stmt.c (expand_end_case): Likewise.
22661 * toplev.c (compile_file): Likewise.
22663 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22664 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22666 * print-rtl.c (insn_name_ptr): Remove declaration.
22667 (get_insn_name): Declare.
22668 (print_rtx): Use it.
22669 * genoutput.c (insn_name_ptr): Remove.
22670 (next_operand_number): New.
22671 (struct operand_data): New.
22672 (null_operand, odata, odata_end): New.
22673 (struct data): Use struct operand_data.
22674 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
22675 (get_insn_name): Renamed from name_for_index.
22676 (output_prologue): Define NO_MD_PROTOTYPES.
22677 (output_predicate_decls): Break out from output_epilogue.
22678 Iterate over the operands list.
22679 (output_operand_data): Break out from output_epilogue. Emit
22680 just the operands list.
22681 (output_insn_data): Break out from output_epilogue. Emit just
22683 (output_epilogue): Remove.
22684 (output_get_insn_name): New.
22685 (constraints, op_n_alternatives, predicates, address_p): Die.
22686 (modes, strict_low, seen): Die.
22687 (scan_operands): Take new param `d' instead of writing to
22688 seven global variables.
22689 (compare_operands): New.
22690 (place_operands): New.
22691 (validate_insn_alternatives): Update for struct data change.
22692 (gen_insn): Don't zero or copy 7 global arrays. Update for
22693 scan_operands; call place_operands.
22694 (gen_peephole, gen_expand, gen_split): Likewise.
22695 (main): Update for new output routines.
22697 * genattr.c (insn_name_ptr): Remove.
22698 (get_insn_name): New function.
22699 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
22700 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
22701 * genrecog.c: Likewise.
22703 * alpha.md (adddi3): Make `pattern' array static.
22705 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22707 * config/c4x/c4x.h (c4x_rpts_cycles_string,
22708 c4x_cpu_version_string): Constify char *.
22709 * config/c4x/c4x.c (c4x_rpts_cycles_string,
22710 c4x_cpu_version_string): Likewise.
22712 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
22714 * tree.c (save_tree_status): Revert 10 Sep change.
22715 (restore_tree_status): Likewise. Call obstack_free with NULL
22716 before freeing the obstack proper.
22718 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
22720 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
22722 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
22723 surrounding context.
22725 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
22727 * tree.c (type_hash_canon): Put all types in the hash-table, when
22730 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
22732 * recog.h (struct recog_data, recog_data): New.
22733 (recog_foo variables): Kill.
22734 * recog.c (recog_operand, recog_operand_loc): Kill.
22735 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
22736 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
22737 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
22738 (recog_data): Define.
22739 (extract_insn): Update all recog_foo references to use recog_data.
22740 (preprocess_constraints, constrain_operands): Likewise.
22741 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
22742 * genattrtab.c (main): Likewise.
22743 * genextract.c (main): Likewise.
22744 * genoutput.c: Likewise.
22745 * genrecog.c (write_subroutine, main): Likewise.
22746 * local-alloc.c (block_alloc): Likewise.
22747 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
22748 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
22749 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
22750 * reload.c (find_reloads, find_reloads_toplev): Likewise.
22751 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
22752 (reload_cse_simplify_operands): Likewise.
22754 * arc/arc.c (arc_final_prescan_insn): Likewise.
22755 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
22756 * h8300/h8300.c (notice_update_cc): Likewise.
22757 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
22758 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22759 * mn10200/mn10200.c (notice_update_cc): Likewise.
22760 * mn10300/mn10300.c (notice_update_cc): Likewise.
22761 * romp/romp.c (update_cc): Likewise.
22762 * sparc/sparc.c (check_pic): Likewise.
22763 * v850/v850.c (notice_update_cc): Likewise.
22765 * genemit.c (main): Don't declare recog_operand.
22767 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
22769 * ggc.h (rtvec_def): Forward declare.
22770 (tree_node): Likewise.
22771 (ggc_root): Define.
22773 (ggc_set_mark_rtx): Add prototype.
22774 (ggc_set_mark_rtvec): Likewise.
22775 (ggc_set_mark_tree): Likewise.
22776 * ggc-simple.c (ggc_root): Don't define.
22777 (roots): Don't declare.
22778 (ggc_mark_rtx): Remove.
22779 (ggc_mark_rtvec): Likewise.
22780 (ggc_mark_tree): Likewise.
22781 (ggc_mark_varray): Likewise.
22782 (ggc_mark_tree_hash_table_entry): Likewise.
22783 (ggc_mark_tree_hash_table): Likewise.
22784 (ggc_set_mart_rtx): New function.
22785 (ggc_set_mark_rtvec): Likewise.
22786 (ggc_set_mark_tree): Likewise.
22787 (ggc_add_root): Remove.
22788 (ggc_add_rtx_root): Likewise.
22789 (ggc_remove_tree_root): Likewise.
22790 (ggc_add_string_root): Likewise.
22791 (ggc_add_tree_varray_root): Likewise.
22792 (ggc_add_tree_hash_table_root): Likewise.
22793 (ggc_del_root): Likewise.
22794 (ggc_mark_rtx_ptr): Likewise.
22795 (ggc_mark_tree_ptr): Likewise.
22796 (ggc_mark_string_ptr): Likewise.
22797 (ggc_mark_tree_varray_ptr): Likewise.
22798 (ggc_mark_tree_hash_table_ptr): Likewise.
22799 * ggc-common.c: New file.
22800 * Makefile.in (OBJS): Add ggc-common.o.
22801 (ggc-common.o): List dependencies.
22803 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
22805 * cppalloc.c (xstrdup): Use memcpy.
22806 * cpperror.c (cpp_print_containing_files): Don't use
22808 * cpplib.c (conditional_skip): Set temp->lineno.
22809 (do_endif): Make error message less obscure.
22810 (if_directive_name): New function.
22811 (cpp_get_token [case EOF]): Unwind the if stack and generate
22812 error messages for each unterminated conditional in this file.
22813 (parse_string): Do not behave differently if -traditional.
22815 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
22817 * builtins.c (expand_builtin_va_arg): Cope with an array-type
22818 va_list decomposing to pointer-type.
22819 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
22820 (rs6000_va_arg): Likewise.
22822 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
22824 * except.c (start_dynamic_handler): Compute size using
22825 STACK_SAVEAREA_MODE.
22827 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22829 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
22830 include directory headers. Don't define strrchr. Don't provide
22831 my_* replacement functions. Prefer PTR over `pointer_type'.
22832 Don't prototype system functions. Don't redefine getopt.
22834 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
22835 safe_read, safe_write, save_pointers, restore_pointers,
22836 is_id_char, in_system_include_dir, directory_specified_p,
22837 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
22838 find_corresponding_lparen, referenced_file_is_newer,
22839 save_def_or_dec, munge_compile_params, gen_aux_info_file,
22840 process_aux_info_file, identify_lineno, check_source,
22841 seek_to_line, forward_to_next_token_char, output_bytes,
22842 output_string, output_up_to, other_variable_style_function,
22843 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
22844 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
22845 find_static_definition, connect_defs_and_decs, add_local_decl,
22846 add_global_decls, needs_to_be_converted, visit_each_hash_node,
22847 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
22848 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
22849 scan_for_missed_items, edit_file, string_list_cons): Add static
22851 (standard_exec_prefix, target_machine, target_version,
22852 default_syscalls_dir, string_list, string_list_cons, find_file,
22853 do_cleaning): Constify a char*.
22854 (safe_read, safe_write): Use PTR, not a char*.
22855 (is_id_char): Take an int, not a char.
22856 (main): Add prototype. Call return, not exit.
22858 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
22860 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
22861 when comparing types.
22863 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
22865 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
22866 (strength_reduce): Release the varrays from the no-bivs early exit.
22868 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
22869 the loop over the registers.
22871 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
22873 (restore_tree_status): Check that instead when freeing the obstack.
22875 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
22877 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
22880 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22882 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
22883 operand size modifiers.
22885 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22887 * c-common.c (c_common_nodes_and_builtins): Don't build
22889 * c-common.h (enum c_tree_index and related accesor macros): Remove
22890 everything now declared in tree.h.
22891 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22892 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
22893 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
22894 (error_mark_node, void_type_node, char_type_node, integer_type_node,
22895 unsigned_type_node, ptr_type_node, va_list_type_node,
22896 integer_zero_node, null_pointer_node, integer_one_node): Delete.
22897 (init_decl_processing): Call build_common_tree_nodes and
22898 build_common_tree_nodes_2 instead of building their nodes here.
22899 Don't add roots for these nodes.
22900 * stor-layout.c (size_zero_node, size_one_node): Delete.
22901 (set_sizetype): Make a new node for bitsizetype each time.
22902 * tree.c (global_trees): New variable.
22903 (init_obstacks): Add a gc root for it.
22904 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22905 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
22906 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
22907 (build_common_tree_nodes): New function.
22908 (fix_sizetype): New function.
22909 (build_common_tree_nodes_2): New function.
22910 * tree.h (enum tree_index): New.
22911 (global_trees): Declare.
22912 Add accessor macros for all nodes now moved to global_trees.
22913 Delete their declarations.
22915 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
22917 * c-decl.c (finish_function): When processing a nested function,
22918 push and pop GC context around rest_of_compilation.
22920 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
22922 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
22923 Default ix86_arch to PROCESSOR_I386.
22924 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
22925 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
22926 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
22927 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
22928 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
22929 (EXTRA_SPECS): Remove deleted specs.
22931 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
22933 * function.c (assign_stack_local_1): Allocate from
22934 function->x_frame_offset, not frame_offset.
22936 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
22938 * ggc.h (lang_cleanup_tree): Remove.
22939 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
22940 * ggc-callbacks.c (lang_cleanup_tree): Remove.
22942 * c-decl.c (finish_struct): Use ggc_alloc to allocate
22943 TYPE_LANG_SPECIFIC when garbage collecting.
22944 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
22945 (lang_cleanup_tree): Remove.
22947 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
22949 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
22950 * crtstuff.c: Not here.
22951 * dwarf2out.c: Or here.
22952 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
22955 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
22957 * function.h (free_after_compilation): Remove decl parameter.
22958 (free_varasm_status0: Likewise.
22959 (free_emit_status): Likewise.
22960 (free_stmt_status): Likewise.
22961 (free_after_compilation): Likewise.
22962 (init_lang_status): New variable.
22963 (free_lang_status): Likewise.
22964 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
22965 * function.c (init_lang_status): New variable.
22966 (free_lang_status): Likewise.
22967 (push_function_context_to): Don't set function::decl here.
22968 (free_after_copmilation): Make decl parameter implicit. Call
22969 free_lang_status if defined.
22970 (prepare_function_start): Call init_lang_status if defined.
22971 (init_function_start): Set function::decl here.
22972 * profile.c (output_func_start_profiler): Don't call pushdecl
22973 until we've actually started the function.
22974 * stmt.c (free_stmt_status): Make decl parameter implicit.
22975 * toplev.c (rest_of_compilation): Don't pass decl to
22976 free_after_compilation.
22977 * varasm.c (free_varasm_status): Likewise.
22979 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22981 * except.c (call_get_eh_context): Add root when allocating static
22984 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
22986 * arm.c: Include "ggc.h".
22987 (arm_add_gc_roots): New function.
22988 (arm_override_options): Call it.
22989 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
22991 * arm.md (define_asm_attributes): Add a pool_range attribute.
22993 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
22995 * extend.texi (Volatiles): New node.
22997 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
22999 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
23000 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
23001 (struct ggc_any): Replace `mark' with `magic_mark'.
23002 (ggc_alloc_string): Use memcpy, not bcopy.
23003 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
23004 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
23005 (ggc_free_any): New.
23006 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
23007 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
23008 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
23009 Use IS_MARKED. Use ggc_free_any.
23011 1999-09-09 Scott Bambrough <scottb@netwinder.org>
23013 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
23015 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
23017 * toplev.c (main): Always init_ggc.
23019 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
23021 * except.c (find_all_handler_type_matches): Free the list if
23022 we found no matches.
23024 * combine.c (SUBST): Break out to a real function do_SUBST.
23025 (SUBST_INT): Likewise.
23026 * gcse.c (free_pre_mem): Free `temp_bitmap'.
23027 (pre_insert): Free `inserted'.
23028 * loop.c (basic_induction_var): Always set `location'.
23030 * function.c (expand_function_end): Add initial_trampoline as a root.
23031 * rtl.h (init_varasm_once): Declare.
23032 * toplev.c (compile_file): Call it.
23033 * ggc-simple.c (ggc_mark_string_ptr): New.
23034 (ggc_add_string_root): New.
23035 (ggc_collect): Disable collection avoidance temporarily.
23036 * ggc.h (ggc_add_string_root): Declare.
23037 * except.c (create_rethrow_ref): Use ggc_alloc_string.
23038 * optabs.c (init_libfuncs): Likewise.
23039 * varasm.c (named_section): Use ggc_alloc_string.
23040 (make_function_rtl): Likewise.
23041 (make_decl_rtl): Likewise.
23042 (assemble_static_space): Likewise.
23043 (assemble_trampoline_template): Likewise.
23044 (output_constant_def): Likewise.
23045 (force_const_mem): Likewise.
23046 (mark_const_hash_entry): New.
23047 (mark_pool_sym_hash_table): New.
23048 (mark_varasm_state): Use it.
23049 (init_varasm_once): New.
23051 * expr.h (init_one_libfunc): Declare.
23052 * optabs.c (init_one_libfunc): New.
23053 (init_optabs): Use it.
23054 * config/gofast.h: Likewise.
23055 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
23056 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
23058 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
23060 * Makefile.in (cppexp.o): Depend on cpphash.h.
23061 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
23063 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
23064 * cpplib.c (do_define): Generalise to handle poisoned definitions,
23065 redefining poisoned identifiers, etc.
23066 (do_undef): Don't allow poisoned identifiers to be undefined.
23067 (do_pragma): Add #pragma poison.
23068 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23070 * cccp.c: Add T_POISON node type.
23071 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
23073 (do_define): Generalise to handle poisoned definitions,
23074 redefining poisoned identifiers, etc.
23075 (do_undef): Don't allow poisoned identifiers to be undefined.
23076 (do_pragma): Add #pragma poison.
23077 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23079 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
23080 * c-pragma.h: Add ps_poison state. We now always have generic
23083 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
23085 * ggc.h (ggc_alloc): New function.
23086 (ggc_mark): Likewise.
23087 * ggc-simple.c (ggc_any): New structure.
23088 (ggc_status): Add anys.
23089 (n_anys_collected): New variable.
23090 (ggc_alloc): Define.
23091 (ggc_mark): Likewise.
23092 (ggc_collect): Collect the anys.
23094 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23096 * c-decl.c (mark_binding_level): Make static to match prototype.
23098 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
23100 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
23102 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
23104 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
23105 will use into account. Expand the max width to 5.
23108 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
23110 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
23111 for the rtx length.
23113 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
23115 * alpha.md (call value patterns): Remove the result predicates.
23117 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
23119 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
23122 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23124 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
23125 changed from extern char *, to extern PTR. Also fix typo in
23126 NEED_DECLARATION_REALLOC test.
23128 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
23130 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23132 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
23133 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
23134 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
23135 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
23137 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
23139 * cccp.c (pcfinclude): Likewise.
23141 * global.c (allocno_compare): Likewise.
23143 * haifa-sched.c (rank_for_schedule): Likewise.
23145 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
23147 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
23149 * stupid.c (stupid_reg_compare): Likewise.
23151 * tree.c (_obstack_allocated_p): Likewise.
23153 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
23155 1999-09-08 Bruce Korb autogen@linuxbox.com
23157 * Makefile.in: Give the hapless gperf user a hint about
23158 why "gperf -F" fails.
23160 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
23162 * lists.c: Include ggc.h.
23164 (init_EXPR_INSN_LIST_cache): Install it.
23166 * ggc-simple.c (init_ggc): Absorb the old init.
23167 (ggc_push_context): Use xcalloc.
23168 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
23169 (ggc_collect): Add [rvts] tags to the collection stats.
23171 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
23173 * cccp.c (main): Fix handling of -include and -imacros options.
23175 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
23177 * cpplib.c (cpp_push_buffer): Fix order of arguments.
23179 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23181 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
23184 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23186 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
23187 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
23188 and SET_DEST. Update comment.
23190 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23192 * config/c4x/c4x.c: Include ggc.h.
23193 (c4x_add_gc_roots): New function.
23194 (c4x_override_options): Call c4x_add_gc_roots.
23196 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
23198 * defaults.h (TARGET_ESC): Move ...
23199 * system.h: ... here, where Linas had it in the first place. Silly me.
23201 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
23203 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
23204 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
23205 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
23206 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
23207 * defaults.h (TARGET_ESC): Add default.
23209 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
23211 * configure.in: add i370-*-openedition, i370-*-mvs and
23212 i370-*-linux targets
23214 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
23216 * dsp16xxx.c: Include ggc.h
23217 (override_options): Mark GC roots.
23218 * mn10200.c: Include ggc.h.
23219 (asm_file_start): Mark GC roots.
23220 * tahoe.c: Include ggc.h.
23221 (extensible_operand): Mark GC roots.
23223 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
23225 * README: Add section discussing status of ELF ABI.
23226 * i370.c: Fix misc spelling mistakes.
23227 (i370_label_scan): Updated notes, exception handling.
23228 (i370_function_prolog): Simplify ELF stack handling.
23229 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
23230 (STACK_GROWS_DOWNWARD): ELF stack grows down.
23231 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
23232 * i370.md: (movdi): Add notes.
23233 (floatsidf2): Use stack not rtca for scratch float area.
23234 (iorsi3): Correct operand constraints.
23235 * x-oe: Restore TAROUTOPTS which are used by pax.
23237 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
23239 * rs6000.c: Include ggc.h.
23240 (rs6000_add_gc_roots): New function.
23241 (override_options): Call it.
23243 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
23245 * alpha.h (alpha_compare): New.
23246 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
23247 * alpha.c: Likewise for the definitions.
23248 (alpha_emit_conditional_branch): Update for alpha_compare.
23249 (alpha_emit_conditional_move): Likewise.
23250 * alpha.md (cmpdf, cmpdi): Likewise.
23251 (setcc patterns): Likewise. Zero alpha_compare after use.
23252 (sne): Optimize (x != 0) into (0U < x).
23254 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
23256 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
23257 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
23258 (INIT_EXPANDERS): Remove.
23259 * alpha.c: Include ggc.h.
23260 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
23261 (alpha_init_machine_status, alpha_mark_machine_status): New.
23262 (override_options): Install them.
23263 (struct machine_function): Moved to alpha.h.
23264 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
23265 (alpha_init_expanders): Remove.
23266 (alpha_return_addr): Adjust to use current_function->machine.
23267 (alpha_ra_ever_killed): Likewise.
23268 (alpha_expand_epilogue): Likewise.
23269 * alpha.md (eh_epilogue): Likewise.
23271 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
23272 Melissa O'Neill <oneill@cs.sfu.ca>
23273 Geoffrey Keating <geoffk@cygnus.com>
23275 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
23276 call-used registers (call-saved registers must still be contiguous
23277 and end with r31, of course).
23279 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
23281 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
23282 (self_promoting_type_p): Delete.
23283 (self_promoting_args_p): Move ...
23284 * c-common.c: ... here.
23285 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
23286 (simple_type_promotes_to): New.
23287 * builtins.c (lang_type_promotes_to): New.
23288 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
23289 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
23290 * c-common.h: ... here.
23291 (self_promoting_args_p, simple_type_promotes_to): Declare.
23292 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
23293 (grokdeclarator): Likewise.
23294 * tree.h (lang_type_promotes_to): Declare.
23296 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
23298 Add some machine-dependent GC roots.
23299 * sparc.c: Include ggc.h.
23300 (sparc_add_gc_roots): New function.
23301 (mark_ultrasparc_pipeline_state): Likewise.
23302 (override_options): Call sparc_add_gc_roots.
23303 * pa.c: Include ggc.h.
23304 (pa_add_gc_roots): New function.
23305 (mark_deferred_plabels): Likewise.
23306 (override_options): Call pa_add_gc_roots.
23307 * mips.c: Include ggc.h.
23308 (mips_add_gc_roots): New function.
23309 (override_options): Use it.
23311 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23313 * cpperror.c (cpp_file_line_for_message): Constify a char*.
23315 * cppexp.c (parse_number, parse_charconst, cpp_lex,
23316 cpp_parse_expr): Add static prototypes.
23317 (parse_charconst): Don't cast away const-ness.
23318 (token): Constify a char*.
23320 * cppfiles.c (file_name_list, include_hash, find_include_file,
23321 finclude, initialize_input_buffer): Constify a char*.
23322 (file_cleanup, find_position): Add static prototypes.
23324 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
23325 collect_expansion): Add static prototypes.
23326 (cpp_install, create_definition, monthnames): Constify a char*.
23328 * cpphash.h (cpp_install): Likewise.
23330 * cppinit.c (known_suffixes, default_include,
23331 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
23332 (base_name, dump_special_to_buffer, initialize_dependency_output):
23333 Add static prototypes.
23335 * cpplib.c (my_strerror): Constify a char*.
23336 (null_underflow, null_cleanup, skip_comment, copy_comment,
23337 copy_rest_of_line, handle_directive, pass_thru_directive,
23338 get_directive_token, read_line_number, cpp_print_file_and_line,
23339 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
23340 v_cpp_warning_with_line, detect_if_not_defined,
23341 consider_directive_while_skipping): Add static prototypes.
23342 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
23343 cpp_pedwarn_with_file_and_line): Constify a char*.
23345 * cpplib.h (cpp_options, include_hash, progname, definition,
23346 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
23347 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
23348 find_include_file, deps_output, include_hash): Constify a char*.
23350 * cppmain.c (progname): Constify.
23351 (main): Add prototype. Use return, not exit.
23353 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
23354 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
23355 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
23356 check_protection): Add static prototype.
23358 (progname, recognized_macrom, recognized_extern): Constify a char*.
23359 (main): Add prototype.
23361 * gen-protos.c (progname): Constify a char*.
23363 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
23365 * emit-rtl.c (free_emit_status): Take decl as a parameter.
23366 (init_emit_once): Add more GC roots.
23367 * except.c (mark_func_eh_entry): New function.
23368 (mark_eh_node): Mark false_label and rethrow_label.
23369 (init_eh): Add more GC roots.
23370 * function.c (free_after_compilation): Take decl as a paramter.
23371 Call free_stmt_status.
23372 (mark_function_state): Don't assume x_parm_reg_stack_loc is
23374 * function.h (free_after_compilation): Change prototype.
23375 (free_varasm_status): Likewise.
23376 (free_emit_status): Likewise.
23377 (free_stmt_status): New function.
23378 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
23379 Remove, replacing with ...
23380 (ggc_status): New structure.
23381 (ggc_chain): New variable.
23382 (init_gcc): Define.
23383 (ggc_push_context): New function.
23384 (ggc_pop_context): Likewise.
23385 (ggc_alloc_rtx): Adjust for use of ggc_chain.
23386 (ggc_alloc_rtvec): Likewise.
23387 (ggc_alloc_tree): Likewise.
23388 (ggc_alloc_string): Likewise.
23389 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
23390 (ggc_mark_tree): Give language-dependent code a chance to mark
23392 (ggc_mark_tree_varray): Handle empty arrays.
23393 (ggc_collect): Adjust for use of ggc_chain. Clear
23394 bytes_alloced_since_last_gc.
23395 * ggc.h (ggc_pop_context): New function.
23396 (ggc_push_context): Likewise.
23397 * print-tree.c (print_node): Don't print obstacks when GC'ing.
23398 * stmt.c (free_stmt_status): New function.
23399 (init_stmt_for_function): Clear last_expr_value.
23400 * toplev.c (rest_of_compilation): Always call free_after_compilation.
23401 Conditionalize call to ggc_collect.
23402 (main): Call init_ggc.
23403 * tree.c (push_obstacks): Do the push, even when GC'ing.
23404 (push_obstacks_nochange): Likewise.
23405 (pop_obstacks): Liekwise.
23406 * varasm.c (free_varasm_status): Take decl as a parameter.
23408 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
23410 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
23411 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
23412 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
23413 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
23415 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
23417 * pa/x-pa-mpeix: New file for the MPE port.
23419 * pa/quadlib.asm: New file for long double support.
23421 * configure.in: Add hppa1.0-*-mpeix for MPE port.
23422 * configure: Rebuilt.
23424 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
23426 * final.c (shorten_branches): Fix last change.
23428 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
23430 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
23432 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
23434 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
23437 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23439 * c-aux-info.c (concat): Don't define.
23441 * cccp.c (my_strerror): Likewise. All callers changed to use
23443 (do_include): Call xstrdup, not xmalloc/strcpy.
23444 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
23445 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
23447 * collect2.c (my_strsignal): Likewise. All callers changed to use
23449 (locatelib): Call xstrdup, not xmalloc/strcpy.
23451 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
23453 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
23455 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
23457 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
23459 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
23461 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
23463 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
23465 (find_all_handler_type_matches): Likewise. Don't check return
23467 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
23468 xmalloc, not malloc.
23469 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
23471 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
23472 (init_spec): Call xcalloc, not xmalloc/bzero.
23473 (set_spec): Call xstrdup, not save_string.
23474 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
23475 (find_a_file): Call xstrdup, not xmalloc/strcpy.
23476 (process_command): Call xstrdup, not save_string.
23477 (main): Call xcalloc, not xmalloc/bzero.
23479 * gcov.c (xmalloc): Don't define.
23480 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
23481 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
23482 (output_data): Call xcalloc, not xmalloc/bzero.
23484 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
23486 * mips-tdump.c (xmalloc): Don't define.
23487 (print_symbol): Call xmalloc, not malloc.
23488 (read_tfile): Call xcalloc, not calloc.
23490 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
23491 Don't define. All callers of xfree/my_strsignal changed to use
23492 free/strsignal instead.
23493 (allocate_cluster): Call xcalloc, not calloc.
23495 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
23496 Fix memory leak, free allocated memory.
23498 * prefix.c (translate_name): Call xstrdup, not save_string.
23499 (update_path): Likewise.
23501 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
23503 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
23504 Don't define. Callers of xfree/savestring2 changed to use
23505 free/concat instead.
23507 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
23508 (init_elim_table): Likewise.
23510 * resource.c (init_resource_info): Likewise.
23512 * stupid.c (stupid_life_analysis): Likewise.
23514 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
23515 (open_dump_file): Call concat, not xmalloc/strcpy/...
23516 (clean_dump_file): Likewise.
23517 (compile_file): Call xstrdup, not xmalloc/strcpy.
23519 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
23521 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
23522 * v850.c (v850_va_arg): New.
23524 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23526 * haifa-sched.c: Tidy comments.
23528 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23530 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
23531 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
23532 $(out_object_file)): Depend on ggc.h.
23533 * c-common.c: Include "ggc.h".
23534 (combine_strings): If doing GC, use ggc_alloc_string.
23535 * c-decl.c: Include "ggc.h".
23536 (ggc_p): Define with value 0.
23537 (mark_binding_level): New function.
23538 (init_decl_processing): Add GC roots.
23539 (mark_c_function_context): New function.
23540 (lang_mark_false_label_stack): New function.
23541 (lang_mark_tree): New function.
23542 (lang_cleanup_tree): New function.
23543 * c-lang.c: Include "ggc.h".
23544 (lang_init): Call c_parse_init.
23545 * c-lex.c: Include "ggc.h".
23546 (check_linenum): If doing GC, don't copy filenames to permanent
23548 * c-parse.in: Include "ggc.h".
23549 (c_parse_init): New function.
23550 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
23551 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
23553 * except.c (mark_eh_state): Mark more state.
23554 * function.c (mark_function_state): Likewise.
23555 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
23556 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
23557 * toplev.c (mark_file_stack): New function.
23558 (compile_file): If doing GC, use ggc_alloc_string on input filename.
23559 (main): Add root for input_file_stack.
23561 * i386.c: Include "ggc.h".
23562 (ix86_mark_machine_status): New function.
23563 (override_options): Set mark_machine_status.
23565 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23567 * tree.c (copy_node): Copy node contents also if doing GC.
23569 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23571 * collect2.c (scan_libraries): Fix double-thinko :-).
23573 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
23575 * collect2.c (scan_libraries): Fix thinko.
23577 * cse.c (delete_trivially_dead_insns): Do not skip the last
23578 insn if it is a real insn.
23580 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
23582 * Makefile.in (ggc-simple.o): Depend on hash.h.
23583 * ggc.h (ggc_add_tree_hash_table_root): Declare.
23584 (ggc_mark_tree_varray): Likewise.
23585 (ggc_mark_tree_hash_table): Likewise.
23586 * ggc-simple.c: Include hash.h.
23587 (ggc_mark_tree_hash_table_ptr): New function.
23588 (ggc_mark_tree_hash_table_entry): Likewise.
23589 (ggc_mark_tree_hash_table): Likewise.
23590 (ggc_add_tree_hash_table_root): Likewise.
23591 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
23592 rtx, when defining fields.
23594 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23596 * profile.c (output_func_start_profiler): Remove apparently
23597 nonsensical call to start_sequence.
23599 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
23601 * clipper/clipper.c (clipper_va_start): Fix typos.
23603 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
23604 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
23605 (spur_va_arg): New stub.
23607 * configure.in: Comment out pyramid.
23609 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
23611 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
23612 don't conflict with the bits that win32, cygwin, and dgux
23615 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
23616 Bernd Schmidt <bernds@cygnus.co.uk>
23618 * integrate.c (function_cannot_inline_p): Do not inline
23619 functions with forced labels.
23621 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
23622 Bernd Schmidt <bernds@cygnus.co.uk>
23623 Mark Mitchell <mark@codesourcery.com>
23625 * Makefile.in (ggc-simple.o): Depend on varray.h.
23626 (rtl.o): Depend on ggc.h.
23627 (genattrtab.o): Depend on ggc.h.
23628 (print-tree.o): Likewise.
23629 (fold-const.o): Likewise.
23630 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23631 (make_insn_raw): Don't cache insns when GC'ing.
23632 (emit_insn_before): Likewise.
23633 (emit_insn_after): Likewise.
23634 (emit_insn): Likewise.
23635 (start_sequence): Use xmalloc to allocate the sequence_stack.
23636 (end_sequence): Add free to free it.
23637 (gen_sequence): Don't cache insns when GC'ing.
23638 (clear_emit_caches): Don't use sequence_element_free_list.
23639 (init_emit): Use xcalloc, not xmalloc+bzero.
23640 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
23641 * function.c (pop_function_context_from): Use free to free the
23642 fixup_var_refs_queue.
23643 (put_reg_into_stack): Allocate it with xmalloc.
23644 * genattrtab.c: Include ggc.h.
23645 (operate_exp): Don't use obstack_free when GC'ing.
23646 (simplify_cond): Likewise.
23647 (simplify_text_exp): Likewise.
23648 (optimize_attrs): Likewise.
23649 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
23651 (gencode): Generate a #include for ggc.h.
23652 * ggc-callbacks.c (ggc_p): Define it to zero.
23653 * ggc-none.c (ggc_p): Likewise.
23654 * ggc-simple.c: Include varray.h.
23655 (ggc_mark_tree_varray): New function.
23656 (ggc_add_tree_varray_root): Likewise.
23657 (ggc_mark_tree_varray_ptr): Likewise.
23658 * ggc.h (ggc_p): Declare.
23659 (varray_head_tag): Likewise.
23660 (ggc_add_tree_varray_root): Declare.
23661 * print-tree.c (print_node): Don't check for TREE_PERMANENT
23662 inconsistencies when GC'ing.
23663 * rtl.c: Include ggc.h.
23664 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
23665 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
23666 (rtx_free): Don't call obstack_free when GC'ing.
23667 * toplev.c (rest_of_compilation): Call ggc_collect after every
23669 * tree.c (push_obstacks): Do nothing, if GC'ing.
23670 (pop_obstacks_nochange): Likewise.
23671 (pop_obstacks): Likewise.
23672 (make_node): Use ggc_alloc_tree when GC'ing.
23673 (copy_node): Likewise.
23674 (get_identifier): Use ggc_alloc_string when GC'ing.
23675 (build_string): Likewise.
23676 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
23677 (tree_cons): Likewise.
23678 (build1): Likewise.
23679 (type_hash_canon): Don't call obstack_free when GC'ing.
23681 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
23683 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
23684 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
23686 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
23687 Bernd Schmidt <bernds@cygnus.co.uk>
23688 Mark Mitchell <mark@codesourcery.com>
23690 * Makefile.in (stor-layout.o): Depend on ggc.h.
23691 (expr.o): Depend on ggc.h.
23692 (profile.o): Depend on ggc.h.
23693 (stor-layout.o): Depend on ggc.h.
23694 * emit-rtl.c (init_emit_once): Add gc roots.
23695 * expr.c: Include ggc.h.
23696 (emit_block_move): Add gc roots.
23697 (clear_storage): Likewise.
23698 * expr.h (init_stor_layout_once): New function.
23699 * profile.c: Include ggc.h.
23700 (init_arc_profiler): profiler_label is a root.
23701 * scan.c (make_sstring_space): Trust xrealloc to function
23702 correctly with first parameter NULL.
23703 * stor-layout.c: Include ggc.h.
23704 (set_sizetype): Add gc root.
23705 (init_stor_layout_once): New function.
23706 * toplev.c (compile_file): Call it.
23708 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
23709 Bernd Schmidt <bernds@cygnus.co.uk>
23710 Mark Mitchell <mark@codesourcery.com>
23712 * Makefile.in (tree.o): Depend on ggc.h.
23713 (varasm.o): Likewise.
23714 (function.o): Likewise.
23715 (stmt.o): Likewise.
23716 (except.o): Likewise.
23717 (optabs.o): Likewise.
23718 (emit-rtl.o): Likewise.
23719 * emit-rtl.c: Include ggc.h.
23720 (sequence_element_free_list): Remove, and all references.
23721 (mark_sequence): New functions.
23722 (mark_emit_state): New function.
23723 * except.c: Include ggc.h.
23724 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
23725 (mark_tree_label_node): New functions.
23726 (mark_eh_state): New function.
23727 * function.c: Include ggc.h.
23728 (mark_temp_slot, mark_function_chain): New functions.
23729 (mark_function_state): New function.
23730 (init_function_once): New function.
23731 * function.h (init_function_once): New function.
23732 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
23733 * ggc.h (label_node): Declare.
23734 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
23735 (lang_mark_false_label_stack): New function.
23736 (mark_temp_slot): Remove declaration.
23737 (mark_function_chain): Likewise.
23738 (mark_eh_state): Adjust prototype.
23739 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
23741 * optabs.c: Include ggc.h.
23742 (mark_optab): New function.
23743 (init_optabs): Add gc roots.
23744 * stmt.c: Include ggc.h.
23745 (mark_cond_nesting, mark_loop_nesting): New functions.
23746 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
23747 (mark_stmt_state): New function.
23748 * toplev.c (compile_file): Call init_function_once.
23749 * tree.c: Include ggc.h.
23750 (type_hash): Move declaration earlier in file.
23751 (TYPE_HASH_SIZE, type_hash_table): Likewise.
23752 (init_obstacks): Add gc roots.
23753 (mark_type_hash): New function.
23754 * varasm.c: Include ggc.h.
23755 (mark_pool_constant): New function.
23756 (mark_varasm_state): New function.
23758 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23760 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
23762 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23764 * c-decl.c (struct language_function): Renamed from struct c_function.
23766 (c_function_chain): Delete.
23767 (push_c_function_context): New arg F. Don't warn about nested
23768 functions here. Fill LANGUAGE elt of F. Delete code to update
23769 c_function_chain. Don't call push_function_context.
23770 (pop_c_function_context): New arg F. Restore from there instead of
23771 from c_function_chain. Don't call pop_function_context. Clear out
23772 LANGUAGE field of F when done.
23773 * c-lang.c: Include "function.h"
23774 (lang_init): Initialize save_lang_status and restore_lang_status.
23775 * c-parse.in (nested_function, nested_function_notype): Warn about
23776 nested functions. Call push_function_context/pop_function_context
23777 instead of the _c_ variants.
23778 * c-tree.h (push_c_function_context, pop_c_function_context): Update
23780 * Makefile.in (c-lang.o): Update dependencies.
23782 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23783 regno_pointer_flag, regno_pointer_align.
23784 (gen_reg_rtx): Use xrealloc to enlarge them.
23785 (free_emit_status): New function.
23786 * function.c (mark_machine_status, mark_lang_status): New variables.
23787 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
23788 in some bits from assign_stack_local. All callers changed to use new
23790 (assign_stack_local): Just call assign_stack_local_1.
23791 (free_after_compilation): New function.
23792 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23793 (trampoline_address): Likewise.
23794 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23795 (prepare_function_start): Explicitly clear some more variables.
23796 * function.h (struct function): New elt can_garbage_collect.
23797 (mark_machine_status, mark_lang_status): Declare variables.
23798 (free_after_compilation, free_emit_status, free_varasm_status,
23799 init_varasm_status): Declare functions.
23800 * toplev.c (rest_of_compilation): Call free_after_compilation when
23801 done with the current function.
23802 * varasm.c (free_varasm_status): New function.
23804 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
23806 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
23807 (EXPAND_BUILTIN_VA_ARG): Define.
23808 * sparc.c (sparc_va_start): New.
23809 (sparc_va_arg): New.
23811 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23813 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
23815 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23817 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
23819 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
23821 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
23822 (OBJS): Add $(GGC).
23823 (ggc-callbacks.o): New target.
23824 * ggc-callbacks.c: New file.
23826 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23828 * expr.h: Collapse individual optab and libfunc vars to arrays.
23829 (optab_index, libfunc_index): New enumerations.
23830 (optab_table, libfunc_table): New arrays.
23831 Add accessor macros for both.
23833 * optabs.c (optab_table, libfunc_table): New.
23834 Delete declarations for individual optab and libfunc vars.
23836 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
23838 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
23840 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
23842 * Makefile.in (GGC, GGC_LIB): New.
23843 (HOST_RTL): Include ggc-none.o.
23844 (ggc-simple.o): New target.
23845 (ggc-none.o): Likewise.
23846 * tree.h (tree_common): Add gc_mark.
23847 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
23848 (struct rtvec_def): Add gc_mark.
23849 * emit-rtl.c (global_rtl): Update static initializers to contain
23850 enough initializers.
23851 * ggc.h, ggc-none.c, ggc-simple.c: New files.
23852 * toplev.c (gc_time): New variable.
23853 (all_time): New variable.
23854 (compile_file): Print gc time.
23855 (print_time): Calculate percentage of the whole.
23857 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23859 Change obstack memory management and varasm constant pool handling so
23860 that nested functions are treated like any other functions.
23861 * function.c (init_machine_status): New variable.
23862 (push_function_context_to): Set contains_functions for the outer
23863 function. Don't call save_varasm_status.
23864 (pop_function_context_from): Don't call restore_varasm_status. Don't
23865 set current_function_contains_functions.
23866 (prepare_function_start): Call init_varasm_status rather than
23867 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
23869 * function.h (struct function) Add field varasm. Delete fields
23870 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
23871 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
23872 (init_machine_status): Declare.
23873 (save_varasm_status, restore_varasm_status): Delete declarations.
23874 (save_tree_status, restore_tree_status): Delete last argument.
23875 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
23876 code. All callers changed.
23877 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
23878 save_constants_in_decl_trees, restore_constants, save_constants,
23879 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
23881 (inlining): New variable.
23882 (reg_map, label_map, insn_map, orig_asm_operands_vector,
23883 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
23885 (save_for_inline_nocopy): Don't save constants.
23886 Don't set inl_emit field in current_function.
23887 (expand_inline_function): Use emit field, not inl_emit, of the inlined
23888 function. Set new variable inlining before
23889 calling copy_rtx_and_substitute.
23890 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
23891 constant pool references if inlining is nonzero.
23892 Delete ADDRESS and (most of the) CONST cases.
23893 (output_inline_function): Save and restore current_function/
23894 current_function_decl. Delete restore_constants code. Don't call
23895 init_const_rtx_hash_table.
23896 * output.h (init_const_rtx_hash_table): Don't declare.
23897 * rtl.h (struct function): Declare.
23898 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
23899 * toplev.c (rest_of_compilation): Don't treat nested functions or
23900 functions containing them specially. Delete all code to deal with
23901 save_for_inline_copying.
23902 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
23903 inline_obstacks): Delete variables.
23904 (save_tree_status): Lose arg CONTEXT. All callers changed.
23905 Simply allocate a new function_maybepermanent_obstack for the new
23906 function, delete all the special cases.
23907 Don't save inline_obstacks.
23908 (restore_tree_status): Lose arg CONTEXT. All callers changed.
23909 Delete special handling for function_maybepermanent_obstack; simply
23911 Don't restore inline_obstacks.
23912 (permanent_allocation): Delete code that frees inline_obstacks.
23913 (print_inline_obstack_statistics): Delete function.
23914 (dump_tree_statistics): Don't call it.
23915 * varasm.c (struct varasm_status): New.
23916 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
23917 last_pool, pool_offset, const_double_chain): Delete global
23918 variables, replace with accessor macros.
23919 (immed_double_const): Don't walk const_double_chain outside a
23920 function, but don't treat nested functions specially anymore.
23921 (immed_real_const_1): Likewise.
23922 (clear_const_double_mem): Don't treat nested functions specially.
23923 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
23924 (save_varasm_status, restore_varasm_status): Delete functions.
23925 (init_varasm_status): New function.
23926 (force_const_mem): Don't treat nested functions specially.
23927 (find_pool_constant): Accept new arg F, search for constants in
23928 that function's pool rather than the current one. All callers
23930 (get_pool_constant_for_function, get_pool_mode_for_function): New
23933 * i386.c (init_386_machine_status): New function, mostly from
23934 clear_386_stack_locals.
23935 (struct machine_functions): Rename element names to avoid name
23937 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
23938 macros, replacing global variables.
23939 (clear_386_stack_locals, save_386_machine_status,
23940 restore_386_machine_status): Delete functions.
23941 (override_options): Initialize init_machine_status.
23942 * i386.h (INIT_EXPANDERS): Delete macro.
23943 (save_386_machine_status, restore_386_machine_status,
23944 clear_386_stack_locals): Delete declarations.
23946 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23948 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
23949 (doloop_begin): Simplify pattern and use emit_jump_insn.
23950 (doloop_end): Simplify pattern, switch operand order,
23951 and use emit_jump_insn.
23953 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23955 * function.h (struct function): Add new element LANGUAGE.
23956 (save_lang_status): Declare new variable.
23957 (restore_lang_status): Likewise.
23958 * function.c (save_lang_status): Define.
23959 (restore_lang_status): Likewise.
23960 (push_function_context_to): Call language-specific save function.
23961 (pop_function_context_from): Call language-specific restore function.
23963 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23965 * i386.md (movsf_1): Check REG_P before use of REGNO.
23966 (movdf_1): Likewise.
23967 (movxf_1): Likewise.
23968 (extendsfdf2): Likewise.
23969 (extendsfxf2): Likewise.
23970 (extenddfxf2): Likewise.
23972 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23974 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
23975 constants into memory.
23976 (c4x_shiftable_constant): New function.
23977 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
23978 (c4x_shiftable_constant): Declare.
23979 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
23980 ashlqi3_noclobber): Add new patterns and associated splitters.
23982 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
23984 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
23985 * dwarf2out.c (dwarf2out_frame_init): Likewise.
23986 * final.c (shorten_branches): Likewise.
23987 * global.c (global_alloc): Likewise.
23988 * haifa-sched.c (build_control_flow): Likewise.
23989 * stmt.c (check_for_full_enumeration_handling): Likewise.
23990 (estimate_case_costs): Likewise.
23992 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
23994 * rtl.h (RTL_CHECKC2): Fix typo in last change.
23996 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
23998 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
23999 (recompute_reg_usage): Likewise.
24000 * rtlanal.c (find_regno_fusage): Likewise.
24002 * rtl.c (rtl_check_failed_code1): New function.
24003 (rtl_check_failed_code2): New.
24004 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
24005 (RTL_CHECKC1, RTL_CHECKC2): New.
24006 (XC*): New accessor macros.
24007 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
24008 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
24009 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
24010 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
24011 (TRAP_*, RANGE_INFO_*): Likewise.
24013 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24015 * Makefile.in (tlink.o): Don't depend on toplev.h.
24017 * collect2.c (c_file, o_file, export_file, import_file, ldout,
24018 output_file, nm_file_name, ldd_file_name, strip_file_name,
24019 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
24020 add_prefix, prefix_from_env, prefix_from_string, do_wait,
24021 fork_execute, maybe_unlink, add_to_list,
24022 extract_init_priority, write_list, dump_list,
24023 dump_prefix_list, write_list_with_asm, write_c_file,
24024 write_c_file_stat, write_c_file_glob, scan_prog_file,
24025 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
24026 ignore_library, extract_string, notice, dump_file, target_machine,
24027 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
24028 read_file, print_load_command): Constify a char*.
24029 (fdopen, error, fatal, fatal_perror): Don't prototype.
24030 (my_strerror): Remove. All callers use xstrerror instead.
24031 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
24032 (main): Add prototype. Constify lots of char* ptrs. Change calls
24033 to xcalloc/strcpy/strcat/... to one call to concat.
24034 (main, scan_prog_file, scan_libraries): Use an intermediate
24035 `const char **' to build an argv array.
24036 (mapfile, libselect, libcompare, locatelib): Add prototypes.
24038 * collect2.h (collect_execute, collect_wait, dump_file,
24039 file_exists): Constify a char*.
24040 (ldout, c_file_name, temporary_obstack, permanent_obstack,
24041 temporary_firstobj, vflag, debug): Add extern declarations.
24042 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
24044 * tlink.c: Don't include toplev.h.
24045 (vflag, debug, ldout, c_file_name, temporary_obstack,
24046 permanent_obstack, temporary_firstobj): Don't declare.
24047 (tlink_execute, frob_extension, symbol_hash_lookup,
24048 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
24049 recompile_files, read_repo_files, demangle_new_symbols,
24050 scan_linker_output): Constify a char*.
24051 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
24052 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
24054 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
24056 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
24057 (relative) rather than jsr (absolute) subroutine call insns.
24058 * config/m68k/m68k-coff.h: Ditto.
24060 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
24062 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
24063 now rework these too.
24064 (arm_reorg): If an insn can't reach the end of the current pool,
24065 ensure that we emit that pool before the insn.
24067 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
24069 * tlink.c (scan_linker_output): Skip the initial underscore in
24070 a mangled name if appropriate.
24072 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24074 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
24075 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
24076 error_with_ivar, gen_declarator, create_builtin_decl,
24077 my_build_string, generate_descriptor_table, generate_ivars_list,
24078 generate_dispatch_table, check_protocols, TAG_GETCLASS,
24079 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
24080 dump_base_name, lang_decode_option, build_encode_expr,
24081 start_class, finish_class, encode_pointer, really_start_method,
24082 gen_declaration, dump_interface, handle_class_ref, handle_impent):
24084 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
24085 Add static prototypes.
24086 (build_objc_string_decl, build_selector_reference_decl,
24087 encode_bitfield, build_class_reference_decl): Remove unused
24088 parameter, all callers changed.
24089 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
24090 (objc_printable_name): Likewise. Change second parameter to type int.
24091 (init_objc): Use memcpy, not bcopy, to avoid casts.
24093 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
24095 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
24096 reg notes on a deleted insn.
24097 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
24099 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
24101 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
24103 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24105 * stmt.c (expand_asm_operands): Fix index into inout_mode when
24108 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
24110 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
24111 * tm.texi (MD_ASM_CLOBBERS): Document it.
24113 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
24115 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
24116 * except.c (expand_rethrow): Remove unused variable.
24117 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
24118 * flow.c (replace_insns): Likewise.
24119 (create_edge_list, verify_edge_list): Likewise.
24120 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
24122 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
24123 is special code to run.
24124 (main): Don't define operands to emit_operand.
24125 * genrecog.c (main): Don't emit an empty peephole2_insn function.
24127 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
24129 * alpha/alpha.h (normal_memory_operand): Declare.
24130 (reg_no_subreg_operand): Declare.
24131 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
24133 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
24135 * c-parse.in (compstmt_primary_start): New, broken out of first
24136 part of compstmt handling in primary.
24137 (primary): Use it. Add an error clause.
24138 (compstmt_nostart): Renamed from compstmt; remove all
24139 initial invocations of compstmt_start.
24142 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
24144 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
24147 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
24149 * combine.c (simplify_shift_const): Remove extra semicolon.
24150 * dwarf2out.c (remove_AT): Likewise.
24151 * expmed.c (expand_mult): Likewise.
24152 * gcov.c (create_program_flow_graph): Likewise.
24153 * reorg.c (mostly_true_jump): Likewise.
24155 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
24157 * fold-const.c (fold_range_test): Do not try to fold the range
24158 test if the rhs or lhs has side effects.
24160 * combine.c (simplify_rtx): Recognize another case of a synthesized
24163 * varasm.c (mark_constant_pool): When marking indirect references,
24164 only look at SYMBOL_REFs.
24166 * except.c (expand_fixup_region_end): Do not peek at
24167 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
24169 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
24171 * flags.h: New variables align_loops, align_loops_log,
24172 align_jumps, align_jumps_log, align_labels, align_labels_log,
24173 align_functions, align_functions_log.
24174 * toplev.c: Define them.
24175 (f_options): Handle -falign-* when they have no argument.
24176 (main): Add logic to set variables for -falign-functions,
24177 -falign-jumps, -falign-labels, -falign-loops.
24178 Make it -fsched-verbose=<n> and -finline-limit=<n>.
24179 (display_help): Change help to match options.
24180 * final.c (LABEL_ALIGN): Default to align_labels_log.
24181 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
24182 (LOOP_ALIGN): Default to align_loops_log.
24183 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
24184 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
24185 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
24186 * varasm.c (assemble_start_function): Handle align_functions.
24188 * config/sparc/sparc.h: Don't declare sparc_align_*.
24189 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
24190 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
24192 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
24194 * config/sparc/sparc.c: Delete sparc_align_loops,
24195 sparc_align_jumps, sparc_align_funcs and the corresponding string
24197 (sparc_override_options): Default align_functions on ultrasparc.
24198 Delete -malign-* handling.
24200 * config/mips/mips.c (override_options): On 64-bit targets,
24201 try to align code to 64-bit boundaries.
24202 (print_operand): New substitution, %~,
24203 which aligns labels to align_labels_log.
24204 * config/mips/mips.md (div_trap_normal): Use %~.
24205 (div_trap_mips16): Likewise.
24207 (absdi2): Likewise.
24208 (ffssi2): Likewise.
24209 (ffsdi2): Likewise.
24210 (ashldi3_internal): Likewise.
24211 (ashrdi3_internal): Likewise.
24212 (lshrdi3_internal): Likewise.
24213 (casesi_internal): Likewise.
24215 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
24217 Merge new ia32 backend from the branch!
24219 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
24220 See ChangeLog.P2 on new_ia32_branch for details.
24222 * rtl.h (stack_regs_mentioned_p): Delete prototype.
24223 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
24224 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
24225 * i386/gas.h (ASM_FILE_START): Define.
24226 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
24227 for name change of ix86_valid_decl_attribute_p.
24228 (i386_pe_valid_type_attribute_p): Similarly.
24230 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
24232 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
24233 to step through CC modes.
24235 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24237 * regmove.c (fixup_match_1): Don't move INSN in front of P if
24238 it would end up in the shadow of a live flags regsiter.
24240 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24242 * reload1.c: Fix many indentation problems.
24243 * reload.c: Likewise.
24245 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
24247 * alias.c (non_local_reference_p): Constify fmt.
24249 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
24251 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
24253 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
24255 * cse.c (delete_trivially_dead_insns): Do not delete stores to
24256 the internal_arg_pointer.
24258 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
24260 Merge peephole2 from new_ia32_branch:
24261 * Makefile.in (STAGESTUFF): Add *.peephole2.
24262 (mostlyclean): Likewise.
24263 (recog.o): Depend on resource.h.
24265 * final.c (peephole): Conditionalize decl on HAVE_peephole.
24266 (final_scan_insn): Likewise for the invocation of peephole.
24267 * genconfig.c (main): Look for peephole and peephole2 patterns.
24268 Emit HAVE_peephole* accordingly.
24269 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
24270 * flags.h (flag_peephole2): Declare.
24271 * toplev.c: New pass peephole2. New flag -fpeephole2.
24273 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
24274 * gencodes.c (main): Likewise.
24275 * genextract.c (main): Likewise.
24276 * genoutput.c (main): Likewise.
24277 * genemit.c (max_operand_1): Look for the max scratch operand.
24278 (gen_rtx_scratch): New.
24279 (gen_exp): Use it, and pass on new arg subroutine_type.
24280 (gen_expand): Take max scratch into account.
24281 (gen_split): Emit peephole2 functions.
24282 (output_peephole2_scratch): New.
24283 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
24284 * genrecog.c (routine_type): Add PEEPHOLE2.
24286 (make_insn_sequence): Match outer parallel for peep2. Discard
24287 top level scratches and dups.
24288 (add_to_sequence): New args insn_type and top. Update all callers.
24289 Handle toplevel peep2 matching insns.
24290 (write_subroutine): Handle peep2.
24291 (write_tree_1): Likewise.
24292 (write_tree): Likewise.
24294 (change_state): New arg afterward. Update all callers.
24295 Handle matching separate insns.
24296 * recog.c (recog_next_insn): New.
24297 (peephole2_optimize): New.
24298 * rtl.def (DEFINE_PEEPHOLE2): New.
24299 * resource.c (find_free_register): New argument last_insn. Use it
24300 to find a register available through the entire span.
24301 * resource.h (find_free_register): Update prototype.
24303 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
24305 * i386.c (output_strlen_unroll): Don't write xops[7]
24306 label if it wasn't set.
24308 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
24310 * cpplib.c (struct directive): Const-ify name pointer and
24311 function pointer prototype.
24312 (validate_else, do_define, do_line, do_include, do_undef,
24313 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
24314 do_elif, do_endif, do_sccs, do_assert, do_unassert,
24315 do_warning): Const-ify second arg.
24316 (directive_table): Mark const. Reorder entries by frequency
24317 of usage, record statistics.
24319 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
24321 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
24322 bounds- check RTL accesses if --enable-checking.
24323 (RTVEC_ELT): Bounds check if --enable-checking.
24324 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
24325 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
24326 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
24328 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
24329 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
24331 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
24332 (NOTE_SOURCE_FILE): Use X0STR.
24333 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
24334 MEM_ALIAS_SET): Use X0INT.
24335 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
24336 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
24338 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
24339 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
24340 (rtl_check_failed_bounds, rtl_check_failed_type1,
24341 rtl_check_failed_type2, rtvec_check_failed_bounds): New
24343 (fancy_abort): Fix comment.
24345 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
24346 (cse_insn): Decrement LABEL_NUSES for jump target before
24347 deleting jump insn.
24348 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
24349 * final.c (alter_subreg): Compute regno before changing x to
24350 REG; set REGNO(x) after changing it.
24351 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
24352 notes containing CONST_INTs.
24353 (delete_eh_regions): Use NOTE_EH_HANDLER.
24354 * function.c (put_reg_into_stack): Make reg a MEM before
24356 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
24358 (gen_mem_addressof): Make reg a MEM before initializing it.
24359 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
24361 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
24362 deleting an insn, not after.
24363 (block_alloc): Only look at PATTERN(insn) if we have to, and
24364 only if it's format class 'i'.
24365 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
24366 CONST_INT before using its INTVAL.
24367 * print-rtl.c (print_rtx): Use X0STR.
24368 * regmove.c (fixup_match_1): Don't look at PATTERN of
24369 non-class-'i' insn chain elements.
24370 * reload.c (loc_mentioned_in_p): Take address of
24371 in->fld[1].rtx directly.
24372 * reload1.c (reload): Change reg to a MEM before initializing
24374 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
24376 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
24378 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
24380 * config/mips/mips.c (machine_dependent_reorg): Force a
24381 barrier to output the local constant pool if a barrier hasn't
24382 been found at a natural point in the instruction stream.
24384 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24386 * c-parse.in (language_string): Constify.
24388 * dwarf2out.c (language_string): Remove declaration.
24390 * dwarfout.c (language_string): Likewise.
24392 * toplev.c (language_string, init_parse, finish_parse): Likewise.
24394 * tree.h (language_string, init_parse, finish_parse): Declare.
24396 * i386/sun386.h (language_string): Remove declaration.
24398 * mips.h (language_string): Likewise.
24400 * nextstep.h (language_string): Likewise.
24402 * nextstep21.h (language_string): Likewise.
24404 * rs6000.c (language_string): Likewise.
24406 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24408 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
24409 (getpwd.o): Remove target.
24411 * getpwd.c: Delete file. Its in libiberty now.
24413 * dbxout.c (getpwd): Don't prototype.
24414 * dwarf2out.c (getpwd): Likewise
24415 * dwarfout.c (getpwd): Likewise
24416 * final.c (getpwd): Likewise.
24417 * protoize.c (getpwd): Likewise.
24419 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24421 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
24423 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
24425 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
24426 mark_set_resources.
24428 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
24430 * fixinc/Makefile.in (subdir): New.
24431 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
24434 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
24436 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
24437 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
24440 * invoke.texi: Fix typo.
24442 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
24443 changed. Handle autoincrement addressing modes.
24445 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
24446 just like we would the virtual incoming args register when
24449 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
24451 * rs6000.h (ASM_FILE_START): Specify complete filename, including
24452 path, in .file directive.
24454 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
24456 * gcc.texi (External Bugs): Remove obsolete note about Perl on
24459 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
24461 * stdbool.h: Make the typedef name _Bool, with bool a #defined
24464 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24466 * tree.c (tree_code_name): Constify a char*.
24468 * tree.h (tree_code_name, decl_printable_name): Likewise.
24470 * function.h (struct function): Likewise.
24472 * toplev.c (decl_name, decl_printable_name): Likewise.
24474 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
24476 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
24477 (init_objc): Remove function pointer cast.
24479 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24481 * pa.md (interspace_jump): New pattern.
24482 (builtin_longjmp): New expander.
24484 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
24486 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
24487 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
24488 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
24490 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
24492 * jump.c (delete_prior_computation): Also check calls
24493 to constant functions. Don't bother checking for a
24494 REG_UNUSED note before adding it.
24495 (delete_computation): Handle multi-word hard registers
24496 when synthesizing missing REG_DEAD notes for a register
24497 which is both set and used by an insn.
24499 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24501 * loop.c (this_loop_info): New variable.
24502 (loop_has_call, loop_has_volatile, loop_has_tablejump,
24503 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
24505 (prescan_loop, strength_reduce): New argument loop_info. All callers
24507 (scan_loop): New variable loop_info, initialise to address of
24509 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
24510 Delete variable loop_has_multiple_exit targets and replace with
24511 field in this_loop_info.
24512 (find_and_verify_loops): Rename this_loop to this_loop_num.
24513 (strength_reduce): Delete loop_iteration_info. Replace variable
24514 loop_info with function argument of same name.
24515 (insert_bct): Rework test for loop being completely unrolled.
24517 * loop.h (struct loop_info): New fields num, loops_enclosed,
24518 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
24519 has_indirect_jump, and cont. Redefine use of unroll_number.
24520 (loop_unroll_number): Delete.
24522 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
24523 field of loop_info.
24524 (loop_iterations): Delete variable vtop and instead use
24525 loop_info->vtop computed in prescan_loop.
24527 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
24529 * fix-header.c (main): Do not pass a null pointer to strcmp.
24531 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
24533 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
24535 * configure: Rebuilt.
24537 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
24539 * jump.c (jump_optimize_1): Do not delete assignments to
24540 internal_arg_pointer.
24541 * cse.c (delete_trivially_dead_insns): Always consider a set of
24542 the internal_arg_pointer live.
24544 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
24546 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
24547 (update_life_info) [REG_WAS_0]: Search the original insns rather
24548 than the new insns for the note. Fix typos finding note_dest.
24549 If no dest found, discard the note rather than abort.
24550 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
24551 (replace_insns): Remove the old insn list after update_life_info
24554 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
24556 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
24557 sched_analyze_insn.
24558 (sched_analyze_1): Let add_dependence care for not adding dups.
24559 (sched_analyze_2): Likewise.
24560 (add_branch_dependences): Likewise.
24562 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
24564 * i386/winnt.c (export_list): New type.
24565 (exports_head): Rename to
24566 (export_head): this.
24567 (i386_pe_record_exported_symbol): Add is_data flag.
24568 (i386_pe_asm_file_end): Emit directive for exported variables.
24569 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
24571 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
24572 (ASM_DECLARE_OBJECT_NAME): Likewise.
24573 (ASM_DECLARE_FUNCTION_NAME): Likewise.
24574 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
24576 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
24578 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
24580 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
24583 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
24585 * config/openbsd.h: Define SET_ASM_OP.
24586 * tm.texi: cross-reference SET_ASM_OP in the index.
24588 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
24590 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
24591 for a CONST_DOUBLE, at compile time. Initialize rtx_length
24592 and class_narrowest_mode at compile time. Kill init_rtl.
24593 Mark rtx_length, mode_class, mode_size, mode_unit_size,
24594 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
24595 rtx_format as const. Kill all references to EXTRA_CC_MODES or
24597 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
24599 * rtl.h: Declare rtx_length and rtx_format as const.
24600 * machmode.def: Define CC(). Use CC() to define CCmode. If
24601 EXTRA_CC_MODES is defined, expand it here.
24602 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
24603 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
24604 const. Kill all references to EXTRA_CC_MODES.
24606 * toplev.c: Don't prototype or call init_rtl.
24607 * optabs.c: Don't call init_mov_optab.
24608 * genemit.c: Don't generate init_mov_optab. Don't call
24610 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
24612 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
24613 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
24614 genrecog.c: Don't call init_rtl.
24616 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
24617 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
24618 definition of EXTRA_CC_MODES.
24620 * md.texi: Kill ref to EXTRA_CC_NAMES.
24621 * tm.texi: Document new way to define EXTRA_CC_MODES.
24623 * genrecog.c: Do not look up the name of a define_split.
24624 (Unrelated bugfix.)
24626 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
24628 * config/v850/v850.md: Fix typo introduced by previous delta.
24630 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24632 * gcc.c (fatal): Make definition static to match prototype.
24634 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24636 * combine.c (get_last_value): Don't look for earlier sets if the last
24637 known set is somewhere in between the insns being combined.
24639 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
24641 * configure.in: Don't use shell ! to negate exit codes
24642 * configure: Regenerate
24644 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
24646 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
24647 the fact that ALIGN is measured in bits, not bytes.
24649 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
24651 * errors.c: New file; defines functions error, warning, and
24652 fatal, variables have_error and progname.
24653 * errors.h: New file; prototypes and decls for stuff in errors.c.
24655 * Makefile: Add rules to build errors.o and
24656 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
24657 genopinit, genrecog, genextract, genpeep, genattr, and
24658 genoutput with errors.o. Add errors.h to deps of genconfig.o,
24659 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
24660 genpeep.o, genattr.o, and genoutput.o.
24662 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
24663 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
24664 define or prototype fatal. Set progname at beginning of main.
24665 * genoutput.c: Likewise, and don't define or prototype error
24668 * c-typeck.c (c_expand_start_case): Return immediately if exp
24670 * fold-const.c (operand_equal_p): Return immediately if arg1
24671 or arg0 are ERROR_MARKs.
24672 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
24673 fields of type ERROR_MARK when calculating if the record can
24676 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
24677 with much help from Jeffrey A Law and Richard Henderson
24679 * i386.md: In the 6 insns which call output_fix_trunc,
24680 earlyclobber operands[0].
24682 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
24684 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
24685 creating new registers.
24687 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
24689 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
24690 i386_reg_alloc_order, i386_regparm_string,
24691 i386_align_loops_string, i386_align_jumps_string,
24692 i386_align_funcs_string, i386_preferred_stack_boundary_string,
24693 and i386_branch_cost_string as type "const char *".
24694 * i386.c: Define all above strings as type "const char *".
24696 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
24698 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
24699 when emitting alignment padding. Emit padding byte of 0 instead of 4.
24701 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
24703 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
24704 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
24706 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
24708 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
24709 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
24710 (dwarf2out_line, dwarf2out_finish): Likewise.
24711 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
24713 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
24715 * tree.c (lang_unsave_expr_now) : Correct return type.
24716 * tree.h (lang_unsave_expr_now) : Same.
24718 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
24720 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
24721 instead of duplicating code.
24723 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24725 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
24727 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
24729 * tree.h: fancy_abort always takes three args.
24730 * resource.c: Move include of system.h before toplev.h.
24732 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
24734 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
24737 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
24739 * system.h: Don't redefine abort or trim_filename.
24740 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
24741 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
24742 whether or not __FUNCTION__ is available.
24743 * tree.h: Duplicate rtl.h's definition of abort, for files
24744 that don't include rtl.h. Delete all code to perform type
24745 checking with a compiler other than GCC.
24746 * varray.h: Delete all code to perform type checking with a
24747 compiler other than GCC. Make VARRAY_CHECK() always evaluate
24748 its arguments exactly once, using a statement expression.
24749 Adjust the VARRAY_<type> accessor macros to match.
24750 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
24751 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
24752 caller's location. Define fatal_insn and fatal_insn_not_found
24753 as macros that use _fatal_insn and _fatal_insn_not_found.
24754 (fancy_abort, trim_filename): Kill prototypes.
24756 * rtl.c (trim_filename): Move here from toplev.c.
24757 (fancy_abort): New function.
24758 (DIR_SEPARATOR): Provide default definition.
24759 * tree.c (tree_check_failed, tree_class_check_failed): Go
24760 through fancy_abort.
24761 (tree_check, tree_class_check, cst_or_constructor_check,
24762 expr_check): Delete.
24763 * varray.c (varray_check_failed): New function.
24764 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
24765 _fatal_insn and _fatal_insn_not_found. Go through
24767 (trim_filename, fancy_abort): Delete.
24769 * builtins.c (expand_builtin_args_info): Report ICE with abort.
24770 * except.c (start_catch_handler): Report ICE with error/abort
24772 * final.c (output_operand_lossage): Likewise.
24773 * flow.c (verify_flow_info): Likewise.
24775 * gcc.c: Prototype fatal.
24776 * gengenrtl.c: Undef abort after including rtl.h not system.h.
24777 * genattr.c, genattrtab.c, genemit.c, genextract.c,
24778 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24779 Don't define fancy_abort.
24781 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
24783 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24786 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
24788 * m88k.h (VERSION_INFO2): Kill.
24789 (VERSION_STRING): Kill.
24791 (VERSION_INFO1): Tidy.
24792 (TARGET_VERSION): Update.
24793 * m88k/dgux.h (VERSION_INFO2): Kill.
24794 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24795 * m88k/luna.h (VERSION_INFO1): Tidy.
24796 * m88k/sysv4.h (VERSION_INFO1): Likewise.
24797 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24798 (output_file_start): Adjust for death of VERSION_STRING.
24800 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
24802 * cpplib.c (detect_if_not_defined): New function.
24803 (do_if): Use it to detect potential once-only headers.
24805 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
24807 * c-common.c (combine_strings): Always set TREE_CONSTANT.
24809 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24811 * combine.c (nonzero_bits) : Allow single-ly set registers to be
24812 anywere in the function only if they are pseudos and set before
24813 being used (not live at the start of the function).
24814 (num_sign_bit_copies) : Same.
24815 (get_last_value_validate) : Same.
24816 (get_last_value) : Same.
24818 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
24820 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
24821 where N and M are constant and N is an integer multiple of M.
24823 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24825 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
24826 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
24827 sbitmap_union_of_preds): Add prototypes.
24828 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
24829 the intersection of successors with the new flow graph structures.
24830 (sbitmap_intersection_of_preds): New function to compute the
24831 intersection of predecessors with the new flow graph structures.
24832 (sbitmap_union_of_succs): New function to compute the union of
24833 successors with the new flow graph structures.
24834 (sbitmap_union_of_preds): New function to compute the union of
24835 predecessors with the new flow graph structures.
24836 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
24837 (expr_reaches_here_p): Use edge and basic_block structures instead
24838 of s_preds and s_succs.
24839 (compute_cprop_avinout): Use new sbitmap routines.
24840 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
24841 of s_preds and s_succs.
24842 * flow.c (compute_flow_dominators): Compute dominators using
24843 edges and basic blocks instead of s_preds and s_succs.
24845 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24847 * lists.c (unused_insn_list, unused_expr_list): New file for
24848 maintaining various types of lists. New statics for maintaining a
24849 cache of available INSN_LIST and EXPR_LIST nodes.
24850 (free_list): Static function for freeing a list of INSN/EXPR nodes.
24851 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
24852 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
24853 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
24854 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
24855 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
24856 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
24857 (free_INSN_LIST_node): Free an individual INSN_LIST node.
24858 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
24859 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
24860 (remove_dependence, free_pending_lists): Use new global routines.
24861 (flush_pending_lists, sched_analyze_insn): Use new global routines.
24862 (sched_analyze, compute_block_backward_dependences): Use new routines.
24863 (sched_analyze_1, sched_analyze_2): Use new routines.
24864 (schedule_insns): Use new global routines.
24865 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
24867 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
24868 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
24870 * toplev.c (rest_of_compilation): Initialize node cache.
24871 * Makefile.in (OBJS): Add lists.o to list of object files.
24872 (lists.o): Add dependancies.
24874 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
24876 * config/v850/v850.md: Fix compile time warning messages.
24877 * config/v850/v850.c: Fix compile time warning messages.
24878 * config/v850/v850.h: Fix compile time warning messages.
24880 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24882 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
24883 Remove unused prototype for `init_lengths'.
24885 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24887 * calls.c (emit_call_1): Mark parameter `stack_size' with
24889 (expand_call): Initialize variable `insn'.
24890 (emit_library_call): Likewise for variable `high_to_save'.
24891 (emit_library_call_value): Likewise.
24892 (store_one_arg): Likewise for variables `lower_bound' and
24895 * combine.c (try_combine): Likewise for variables `i2_code_number'
24896 and `other_code_number'.
24897 (find_split_point): Likewise for variables `pos', `unsignedp' and
24899 (simplify_if_then_else): Likewise for variables `op' and `c1'.
24900 (simplify_and_const_int): Remove unused variable `width'.
24901 (merge_outer_ops): Likewise.
24903 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
24904 HOST_WIDE_INT' when comparing against one.
24905 (simplify_relational_operation): Likewise.
24906 (cse_insn): Initialize variables `src_eqv_volatile',
24907 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
24909 * final.c (init_final): Constify parameter `filename'.
24910 (final_start_function): Mark parameter `optimize' with
24912 (profile_function): Likewise for parameters `first' and `optimize'.
24913 (output_source_line): Likewise for parameter `file'.
24915 * integrate.c (subst_constants): Cast a value to `size_t' when
24916 comparing against one.
24917 (mark_stores): Initialize variable `mode'. Cast a value to
24918 `size_t' when comparing against one.
24920 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
24922 * loop.c (move_movables): Initialize variable `first'.
24923 (strength_reduce): Likewise for variable `increment'.
24924 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
24925 value to `size_t' when comparing against one.
24926 (load_mems): Initialize variable `end_label'.
24928 * output.h (init_final): Constify parameter.
24930 * reload.c (decompose): Initialize variable `base'.
24932 * reload1.c (reload): Likewise for variable `is_scalar'.
24933 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
24934 (choose_reload_regs): Initialize variable `mode'.
24935 (emit_reload_insns): Likewise for variable `store_insn'.
24936 (reload_cse_noop_set_p): Mark parameter `insn' with
24938 (reload_combine): Initialize variable `set'.
24940 * unroll.c (unroll_loop): Likewise for variable `local_label'.
24941 (copy_loop_body): Cast a value to `size_t' when comparing against
24944 * varasm.c (assemble_variable): Initialize variable `size_tree'.
24945 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
24946 (remove_from_pending_weak_list): Mark parameter `name' with
24949 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24951 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
24954 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
24956 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
24957 (ASM_DECLARE_FUNCTION_NAME): Define.
24958 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
24959 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
24960 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
24961 not already defined.
24963 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24965 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
24966 of n_popped when call/call_value are not defined.
24968 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
24970 * tm.texi: GNU CC -> GCC conversion.
24971 (CC1_SPEC): Indicate it is used for all language front ends.
24973 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
24975 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
24976 NOTE_INSN_EH_REGION_END correctly.
24978 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
24979 Jeff Law <law@cygnus.com>
24981 * loop.c (strength_reduce): Automatically unroll loops if the
24982 unrolled loop size is smaller than the rolled loop size.
24984 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
24985 and delete comment that code should be rewritten.
24987 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
24989 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
24992 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
24994 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
24996 * fixinc/mkfixinc.sh: Don't fix uwin headers.
24997 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
24998 (LINK_SPEC): Add -u _main when building executables.
24999 (ASM_DECLARE_FUNCTION): Update from Cygwin.
25000 (ASM_FILE_END): Use the default for ix86-pe.
25001 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
25003 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
25005 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
25006 and ASM_CLOSE_PAREN are empty strings.
25008 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
25009 Geoffrey Keating <geoffk@cygnus.com>
25011 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
25012 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
25013 (unprotoize.o): Ditto.
25014 (test-protoize-simple): Don't define STD_PROTO_DIR.
25015 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
25016 changes to make 'test-protoize-simple' pass.
25017 (STD_PROTO_DIR): Remove define.
25018 (STANDARD_EXEC_PREFIX): Supply default define.
25019 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
25020 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
25021 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
25022 (GET_ENV_PATH_LIST): New macro.
25023 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
25024 (do_processing): Initialize default_syscalls_dir using new
25025 macros. Use it to initialize syscalls_absolute_filename.
25027 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
25029 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
25030 B into a register before emit_conditional_move.
25032 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
25034 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
25035 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
25036 multiplicand out of (+ (* a b) (* c d)).
25038 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
25039 Richard Henderson <rth@cygnus.com>
25041 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
25042 (new_insn_dead_notes): Likewise.
25043 (update_n_sets): Likewise.
25044 (update_flow_info): Move to flow.c, renamed to update_life_info;
25045 extend to handle multiple source insns.
25046 * flow.c: Include resource.h
25047 (unlink_insn_chain): New.
25048 (split_hard_reg_notes): New.
25049 (maybe_add_dead_note): New.
25050 (maybe_add_dead_note_use): New.
25051 (find_insn_with_note): New.
25052 (new_insn_dead_notes): New.
25053 (update_n_sets): New.
25054 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
25055 (maybe_remove_dead_notes): New.
25056 (update_life_info): New.
25057 (prepend_reg_notes): New.
25058 (replace_insns): New.
25059 * output.h (update_life_info): Declare.
25060 * recog.c (split_block_insns): Use update_life_info.
25061 * resource.c (find_free_register): Use reg_alloc_order, don't use
25062 fixed regs, make sure the mode is supported, don't use new regs.
25064 * rtl.h (replace_insns): Declare.
25066 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
25068 * expr.c (expand_expr): Cope with COND_EXPRs with one
25069 non-returning branch.
25071 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
25073 * expr.c (store_expr): Always pass down the target, even when not
25076 1999-08-24 Nick Clifton <nickc@cygnus.com>
25078 * configure.in: Define target_cpu_default for v850 targets.
25079 * configure: Regenerate
25081 * config/v850/v850.h (TARGET_CPU_generic): Define.
25082 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
25083 addresses are 4 byte aligned.
25085 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
25088 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25090 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
25091 (main): Add prototypes.
25093 * genattrtab.c (substitute_address, write_const_num_delay_slots,
25094 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
25095 (write_attr_get): Emit prototypes along with function definition.
25096 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
25097 (write_complex_function): Emit static prototype along with
25098 function definition.
25100 * genemit.c (gen_split): Emit prototypes along with function
25103 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
25104 Likewise for predicates and `insn_operand_predicate'.
25105 (process_template): Emit static prototype along with function
25108 * genrecog.c (make_insn_sequence): Constify a char*. Add
25109 prototypes for get_split_*().
25110 (write_subroutine): Emit prototypes along with function
25113 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25115 * gcse.c (find_avail_set): Follow chains of register-register copies.
25116 Use oprs_not_set_p to guarantee that the returned value can be
25118 (cprop_insn): Don't verify the return value of find_avail_set with
25121 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
25122 (cprop_cc0_jump): New function.
25123 (cprop_insn): Break out new function cprop_jump and use it.
25124 Also use cprop_cc0_jump for machines with CC0.
25125 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
25127 * tree.h (current_function_calls_setjmp,
25128 current_function_calls_longjmp): Delete declarations.
25129 * dsp16xx.c: Include "function.h".
25130 * elxsi.c: Likewise.
25131 * gmicro.c: Likewise.
25132 * h8300.c: Likewise.
25133 * i370.c: Likewise.
25134 * m32r.c: Likewise.
25135 * mn10200.c: Likewise.
25136 * mn10300.c: Likewise.
25137 * ns32k.c: Likewise.
25138 * spur.c: Likewise.
25139 * v850.c: Likewise.
25141 * rtl.h (rtx_equal_function_value_matters): Declare.
25142 * toplev.c (rtx_equal_function_value_matters): Don't declare.
25144 * function.c: Likewise.
25145 * emit-rtl.c: Likewise.
25147 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
25149 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
25152 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25154 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
25157 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
25159 * cpp.texi: Add a node documenting macro varargs (copied
25162 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
25164 * cppspec.c: Put a null pointer at the end of the new argv.
25166 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
25168 * configure.in: Remove code to select/de-select the haifa
25169 scheduler. Every scheduled port gets haifa now.
25170 * configure: Rebuilt.
25171 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
25173 * Makefile.in: Corresponding changes.
25175 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25177 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
25178 All callers changed.
25179 (prepare_float_lib_cmp): Likewise.
25180 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
25181 * expr.h (emit_float_lib_cmp): Delete declaration.
25182 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
25183 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
25184 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
25186 (cmptf): Now conditional on TARGET_HARD_QUAD.
25188 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
25190 * resource.c (mark_target_live_regs): Use
25191 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
25193 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25195 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
25197 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
25199 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
25201 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25203 * rtl.h (rtx_format): Constify a char*.
25205 * rtl.c (rtx_format): Likewise.
25206 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
25207 (init_rtl): Use accessor macro, not `rtx_format'.
25209 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
25212 * caller-save.c (mark_referenced_regs): Likewise.
25214 * combine.c (subst, make_compound_operation, known_cond,
25215 gen_rtx_combine, update_table_tick, get_last_value_validate,
25216 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
25218 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
25219 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
25220 count_reg_usage): Likewise.
25222 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
25225 * final.c (leaf_renumber_regs_insn): Likewise.
25227 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
25228 dump_edge_info, count_reg_references): Likewise.
25230 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
25231 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
25234 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
25235 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
25236 add_label_notes): Likewise.
25238 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
25239 clear_struct_flag, count_sub_rtxs, count_alternatives,
25240 compares_alternatives_p, contained_in_p, walk_attr_value,
25241 write_expr_attr_cache): Likewise.
25243 * genconfig.c (walk_insn_part): Likewise.
25245 * genemit.c (max_operand_1, gen_exp): Likewise.
25247 * genextract.c (walk_rtx): Likewise.
25249 * genflags.c (num_operands): Likewise.
25251 * genoutput.c (scan_operands): Likewise.
25253 * genpeep.c (match_rtx): Likewise.
25255 * genrecog.c (add_to_sequence): Likewise.
25257 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
25260 * integrate.c (save_constants, copy_for_inline,
25261 copy_rtx_and_substitute, subst_constants, restore_constants):
25264 * jump.c (mark_jump_label, invert_exp, redirect_exp,
25265 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
25267 * local-alloc.c (contains_replace_regs, memref_referenced_p):
25270 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
25271 add_label_notes, replace_call_address, count_nonfixed_reads,
25272 invariant_p, find_single_use_in_loop, find_mem_givs,
25273 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
25276 * print-rtl.c (reg_names, print_rtx): Likewise.
25278 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
25280 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
25281 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
25282 print_blocks): Likewise.
25284 * regclass.c (fix_register, record_address_regs,
25285 reg_scan_mark_refs): Likewise.
25287 * regmove.c (stable_but_for_p): Likewise.
25289 * reload.c (loc_mentioned_in_p, operands_match_p,
25290 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
25291 copy_replacements, refers_to_regno_for_reload_p,
25292 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
25293 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
25296 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
25297 delete_address_reloads_1, count_occurrences,
25298 reload_cse_mem_conflict_p, reload_combine_note_use,
25299 add_auto_inc_notes): Likewise.
25301 * resource.c (mark_referenced_resources, mark_set_resources):
25304 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
25305 reg_mentioned_p, regs_set_between_p, modified_between_p,
25306 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
25307 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
25308 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
25309 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
25311 * sched.c (sched_analyze_2, attach_deaths): Likewise.
25313 * stupid.c (stupid_mark_refs): Likewise.
25315 * unroll.c (remap_split_bivs): Likewise.
25317 * varasm.c (mark_constants): Likewise.
25319 * a29k/a29k.c (uses_local_reg_p): Likewise.
25321 * alpha/alpha.c (summarize_insn): Likewise.
25323 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
25324 eliminate_lr2ip): Likewise.
25326 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
25328 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
25329 reg_mentioned_in_mem): Likewise.
25331 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
25332 symbolic_reference_mentioned_p): Likewise.
25334 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
25336 * sh/sh.c (regs_used, mark_use): Likewise.
25338 * vax/vax.c (vax_rtx_cost): Likewise.
25340 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25342 * machmode.h (mode_name): Constify a char*.
25344 * rtl.c (mode_name): Likewise.
25346 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
25348 * optabs.c (init_libfuncs): Constify a char*.
25350 * print-tree.c (mode_name): Remove redundant declaration.
25351 (print_node): Use accessor macro, not `mode_name'.
25353 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
25355 (new_spill_reg): Constify a char*.
25357 * tree.c (mode_name): Remove redundant declaration.
25359 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25361 * rtl.c (rtx_name): Constify a char*.
25363 * rtl.h (rtx_name, fix_sched_param): Likewise.
25365 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
25366 (mypr): Use accessor macro, not `rtx_name'.
25368 * genemit.c (print_code): Constify a char*.
25370 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
25372 * genpeep.c (print_code): Constify a char*.
25374 * genrecog.c (print_code): Likewise.
25376 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
25377 end_bb): Add static prototype.
25378 (draw_edge): Constify a char*.
25379 (end_bb): Remove unused parameter.
25381 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
25382 print_block_visualization): Constify a char*.
25384 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
25386 * c-common.c (c_get_alias_set): Update comment.
25388 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25390 * linux.h (LIB_SPEC): Added.
25392 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25394 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
25396 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
25398 * tree.c (expr_check): Fix typo in last change.
25400 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
25402 * rtl.def (NOTE): Change format to "iuu0n".
25403 (ADDR_DIFF_VEC): Change format to "eEee0".
25404 (ADDRESSOF): Change format to "eit".
25406 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
25407 (RTVEC_ELT): Change to match.
25408 (XVECEXP): Use XVEC and RTVEC_ELT.
25409 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
25410 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
25411 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
25412 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
25413 TRAP_CONDITION, TRAP_CODE): Use XEXP.
25414 (INTVAL): Use XWINT.
25415 (ADDRESSOF_DECL): Use XTREE.
25416 (SET_ADDRESSOF_DECL): Delete.
25417 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
25418 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
25419 ifdefed out since 2.6 at least.
25420 (gen_rtvec_vv): Delete prototype.
25422 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
25424 (copy_most_rtx): Handle 't' format letter.
25425 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
25426 (gen_rtvec_vv): Delete function. All callers changed to use
25427 gen_rtvec_v instead.
25428 * print-rtl.c (print_rtx): Move special casing of NOTEs to
25429 the '0' format letter.
25431 * function.c (gen_mem_addressof): Don't use
25432 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
25434 * integrate.c (copy_rtx_and_substitute): Likewise.
25435 Copy 't' slots with XTREE.
25436 (subst_constants): Treat 't' slots like '[swi]' slots.
25437 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
25438 * jump.c (rtx_equal_for_thread_p): Likewise.
25439 * rtlanal.c (rtx_equal_p): Likewise.
25440 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
25441 only four arguments.
25442 * gengenrtl.c (type_from_format): Provide correct types for
25446 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
25447 If a recent gcc is in use (always in stage2 and beyond), use
25448 statement expressions, so we don't make a function call unless
25449 the check fails. Evaluate arguments exactly once.
25450 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
25451 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
25453 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
25454 they evaluate their arguments exactly once, irrespective of
25455 the compiler in use.
25457 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
25458 is used by the currently-enabled check macros. This is:
25459 (tree_check_failed, tree_class_check_failed): For gcc.
25460 (tree_check, tree_class_check, cst_or_constructor_check,
25461 expr_check): For other compilers.
25463 * gencheck.c: Do not define any *_CHECK1 macros.
25465 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
25466 Mark Mitchell <mark@codesourcery.com>
25468 * c-common.c (c_get_alias_set): Fix support for poitners and
25471 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
25473 * alias.c: Include tree.h.
25474 (nonlocal_reference_p, mark_constant_function): New functions.
25475 * flow.c (life_analysis): Call mark_constant_function.
25476 * rtl.h (mark_constant_function): Declare it.
25478 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
25480 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
25481 unrecognisable switches.
25483 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25485 * loop.c (recombine_givs): Set ix field after sorting.
25486 (recombine_givs): Remove bogus index / giv lockstep looping.
25488 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25490 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
25492 (emit_store_flag_force): Use do_compare_rtx_and_jump.
25493 (do_cmp_and_jump): Formatting fixes.
25494 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
25495 do_compare_rtx_and_jump instead of compare_from_rtx.
25496 (do_compare_rtx_and_jump): New function; mostly copied from
25498 (do_jump_for_compare): Delete.
25499 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
25501 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
25502 of compare/do_jump_for_compare pairs.
25503 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
25504 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
25505 compare_from_rtx/do_jump_for_compare pairs.
25506 (do_jump_by_parts_equality): Likewise.
25507 (do_jump_by_parts_equality_rtx): Likewise.
25508 * expr.h (do_compare_rtx_and_jump): Declare.
25509 * optabs.c (prepare_cmp_insn): New function, contains most of the code
25510 that used to be in emit_cmp_insn.
25511 (cmp_available_p): New function.
25512 (prepare_operand): New function.
25513 (emit_cmp_and_jump_insn_1): New function, contains some code that used
25514 to be in emit_cmp_insn.
25515 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
25516 parameters to be pointers; don't emit final compare but modify some of
25517 the values pointed to by the args so the caller can perform the
25518 correct comparison.
25519 (expand_binop): Call emit_store_flag_force with signed forms of
25521 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
25522 emit_jump_insn pair.
25523 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
25524 emit_cmp_and_jump_insn_1. Call emit_queue.
25525 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
25527 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
25528 jump sets cc0 before deleting it.
25529 * integrate.c (expand_inline_function): Likewise.
25530 * unroll.c (unroll_loop): Similar changes in several places.
25531 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
25532 before deleting it.
25534 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25536 * Makefile.in (insn-recog.o): Update dependencies.
25537 * genrecog.c (main): Make generated file include "function.h".
25539 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
25541 * cse.c (cse_insn): Call never_reached_warning when a jump is
25542 changed to be unconditional.
25543 * flags.h: Declare warn_notreached.
25544 * flow.c (delete_block): Call never_reached_warning when
25545 a block is deleted.
25546 * jump.c (delete_barrier_successors): Call never_reached_warning
25547 when we delete everything after a BARRIER.
25548 (never_reached_warning): New function.
25549 * rtl.h: Declare never_reached_warning.
25550 * toplev.c (warn_notreached): New variable.
25551 (lang_independent_options): Set warn_notreached
25552 when -Wunreachable-code.
25553 (compile_file): We need line numbers for -Wunreachable-code.
25555 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
25557 * haifa-sched.c (insn_unit): Fix typo on out of range test.
25558 * sched.c (insn_unit): Likewise.
25560 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
25562 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
25564 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25566 * flow.c (create_edge_list): Use xmalloc, not malloc.
25568 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
25570 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
25571 C-style comments. Do not lose the character before double slash.
25573 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25575 * basic-block.h (struct edge_list): Stucture to maintain a vector
25577 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
25578 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
25579 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
25580 New function prototypes.
25581 * flow.c (create_edge_list): Function to create an edge list.
25582 (free_edge_list): Discards memory used by an edge list.
25583 (print_edge_list): Debug output showing an edge list.
25584 (verify_edge_list): Internal consistency check for an edge list.
25585 (find_edge_index): Function to find an edge index for a pred and succ.
25587 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
25589 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
25592 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
25594 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
25596 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
25598 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25600 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
25602 * toplev.c (rest_of_compilation): Allow machine dependent
25603 reorganisation pass to place information into the RTL dump
25604 file if it so wishes.
25606 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
25608 * explow.c (hard_function_value): Use VOIDmode instead of
25610 * stmt.c (expand_return): Likewise.
25611 * stor-layout.c (get_best_mode): Likewise.
25613 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
25614 emit call instead of emit_insn call.
25616 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25618 * configure.in: Handle --disable/enable-win32-registry.
25619 * install.texi: Document --disable/enable-win32-registry.
25620 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
25621 (WIN32_REGISTRY_KEY): New macro.
25622 * prefix.c: Use to enable/disable win32-specific code.
25623 (lookup_key): Use versioned key.
25624 * configure: Regenerate.
25625 * config.in: Likewise.
25627 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
25629 * cpplib.c (read_line_number): New fn, split out of...
25632 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
25634 tree.c (lang_unsave_expr_now) : New.
25635 (unsave_expr_now): Call lang_unsave_expr_now.
25636 tree.h (lang_unsave_expr_now) : New.
25638 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
25640 * toplev.c (flag_new_exceptions): On by default.
25642 1999-08-13 Michael Meissner <meissner@cygnus.com>
25644 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
25646 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25648 * dwarfout.c (fundamental_type_code): Return FT_boolean for
25649 INTEGER_TYPE with precision==1, it's __java_boolean.
25651 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25653 * global.c (prune_preferences): Move some invariants out of the
25656 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
25658 * configure.in (alpha*-dec-osf*): Add osf5.
25660 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
25662 * configure.in: Rework handling of ARM GNU/Linux slightly.
25663 (arm*-*-linux-gnuoldld): New target.
25664 * configure: Regenerate.
25665 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
25666 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
25667 * config/arm/linux-oldld.h: New file.
25668 * config/arm/linux-elf26.h: Don't include linux-elf.h.
25669 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
25671 * config/arm/linux-elf.h (ASM_SPEC): Define.
25672 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
25673 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
25674 for 26-bit APCS and old linker.
25675 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
25677 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
25678 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
25679 don't define `arm' or `arm_elf'.
25680 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
25681 MULTILIB_DIRNAMES): Define. Fix typo in comment.
25683 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
25685 * rtl.texi: Fix typo.
25687 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
25689 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
25691 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
25693 * extend.texi (C++ Signatures): Remove node.
25694 * invoke.texi: Remove discussion of -fhandle-signatures,
25695 signature, sigof, __signature__, and __sigof__.
25697 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
25699 * Makefile.in (JAVAGC): Removed.
25701 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
25703 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25705 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
25707 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25709 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
25711 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
25712 a register that is already known to be a pointer.
25714 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
25716 * fixinc/inclhack.tpl: Only install assert.h conditionally.
25717 * fixinc/inclhack.sh: Regenerated.
25718 * fixinc/fixincl.sh: Regenerated.
25720 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
25722 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
25723 Fix documentation of -ansi flag to describe its C++ behavior.
25724 Remove bogus reference to GCC 2.9.
25726 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
25728 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
25729 note if it is non-NULL.
25731 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25733 * except.h (eh_nesting_info): Add new structure defintion.
25734 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
25735 (reachable_handlers, update_rethrow_references): Add function
25737 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
25738 a rethrow symbol instead of an integer exception region number.
25739 * flow.c (Make_edges): Use new exception nesting routines to determine
25740 which handlers are reachable from a CALL or asynchronous insn.
25741 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
25743 (delete_eh_regions): Update rethrow labels, and don't delete
25744 regions which are the target of a rethrow.
25745 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
25746 avoid overloading the SYMBOL_REF_USED flag.
25747 (rethrow_symbol_map): Use new rethrow_ref field.
25748 (rethrow_used): Use new rethrow_ref field.
25749 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
25750 of an integer. Fix formatting.
25751 (output_exception_table_entry): Use new rethrow_ref field.
25752 (can_throw): Check for EH_REGION_NOTE before deciding
25753 whether a CALL can throw or not.
25754 (scan_region): Call rethrow_used() instead of accessing data structure.
25755 (update_rethrow_references): New function to make sure only regions
25756 which are still targets of a rethrow are flagged as such.
25757 (process_nestinfo): New static function to initialize a handler
25758 list for a specific region.
25759 (init_eh_nesting_info): New function to allocate and initialize
25760 the list of all EH handlers reachable from all regions.
25761 (reachable_handlers): New function to retrieve the list of handlers
25762 reachable from a specific region and insn.
25763 (free_eh_nesting_info): New function to dispose of a list of
25764 reachable handlers.
25766 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25768 * flow.c (split_edge): Set JUMP_LABEL field.
25769 (commit_one_edge_insertion): Set head correctly for insert_before.
25770 When inserting insns, update insn block numbers if allocated.
25772 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25774 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
25775 retry_incomplete_types): Add static prototype.
25776 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25777 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25778 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25779 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25780 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25783 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25784 dwarf2out_start_source_file, dwarf2out_line): Likewise.
25786 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25788 * output.h (assemble_name): Constify a char*.
25790 * varasm.c (UNIQUE_SECTION, assemble_start_function,
25791 assemble_variable, assemble_name): Likewise.
25793 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25795 * arm/pe.c (arm_pe_unique_section): Likewise.
25797 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25799 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25801 * i386/interix.c (i386_pe_unique_section): Likewise.
25803 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25805 * i386/winnt.c (i386_pe_unique_section): Likewise.
25807 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
25809 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
25811 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
25813 * pa/pa.c (output_call): Likewise.
25815 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
25817 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
25819 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
25822 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
25825 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
25827 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
25828 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
25830 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
25832 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25834 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
25836 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25838 * tree.h (lang_identify): Constify a char*.
25839 (print_error_function): Add extern prototype. Constify a char*.
25841 * c-lang.c (lang_identify): Constify a char*.
25843 * objc/objc-act.c (lang_identify): Constify a char*.
25845 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25847 * genpeep.c (main): Make generated file include "function.h".
25848 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
25850 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25852 * Makefile.in: Update dependencies.
25853 * alias.c: Include "function.h"
25854 * c-decl.c: Likewise.
25855 * caller-save.c: Likewise.
25856 * calls.c: Likewise.
25857 * combine.c: Likewise.
25859 * explow.c: Likewise.
25860 * final.c: Likewise.
25861 * global.c: Likewise.
25862 * graph.c: Likewise.
25863 * local-alloc.c: Likewise.
25864 * loop.c: Likewise.
25865 * optabs.c: Likewise.
25866 * profile.c: Likewise.
25867 * recog.c: Likewise.
25868 * regclass.c: Likewise.
25869 * regmove.c: Likewise.
25870 * reload.c: Likewise.
25871 * reorg.c: Likewise.
25872 * resource.c: Likewise.
25873 * sched.c: Likewise.
25874 * stupid.c: Likewise.
25875 * config/1750a/1750a.c: Likewise.
25876 * config/a29k/a29k.c: Likewise.
25877 * config/arc/arc.c: Likewise.
25878 * config/arm/arm.c: Likewise.
25879 * config/arm/thumb.c: Likewise.
25880 * config/c4x/c4x.c: Likewise.
25881 * config/clipper/clipper.c: Likewise.
25882 * config/convex/convex.c: Likewise.
25883 * config/fx80/fx80.c: Likewise.
25884 * config/i860/i860.c: Likewise.
25885 * config/m68k/m68k.c: Likewise.
25886 * config/m88k/m88k.c: Likewise.
25887 * config/mips/mips.c: Likewise.
25888 * config/pdp11/pdp11.c: Likewise.
25889 * config/pyr/pyr.c: Likewise.
25890 * config/romp/romp.c: Likewise.
25891 * config/sh/sh.c: Likewise.
25892 * config/tahoe/tahoe.c: Likewise.
25893 * config/vax/vax.c: Likewise.
25894 * config/we32k/we32k.c: Likewise.
25895 * config/sparc/sparc.c: Include "function.h".
25896 (mem_min_alignment): Test current_function rather than
25897 regno_pointer_align.
25898 * config/pa/pa.c: Likewise.
25899 (compute_frame_size): Delete declaration of
25900 current_function_outgoing_args_size.
25901 * config/arc/arc.h (current_function_varargs): Delete declaration.
25902 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
25904 * config/i370/i370.h (current_function_outgoing_args_size): Delete
25906 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
25907 current_function_uses_pic_offset_table.
25908 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
25909 of current_function_returns_pointer.
25910 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25911 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25912 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25913 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25914 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25915 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25916 * config/m88k/m88k.c: Include "function.h"
25917 (call_used_regs, current_function_pretend_args_size,
25918 current_function_outgoing_args_size, frame_pointer_needed): Delete
25920 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
25922 * config/mips/mips.h (current_function_calls_alloca): Delete
25924 * config/mn10200/mn10200.h (current_function_needs_context,
25925 rtx_equal_function_value_matters): Delete declarations.
25926 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
25927 flag_pic): Delete declarations.
25928 * config/pa/pa.h (current_function_pretend_args_size,
25929 current_function_decl): Delete declarations.
25930 * config/pa/som.h (current_function_varargs): Delete declaration.
25931 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
25933 * config/pyr/pyr.h (current_function_pretend_args_size,
25934 current_function_args_size, current_function_calls_alloca): Delete
25936 * config/sh/sh.h (current_function_varargs): Delete declaration.
25937 * config/sparc/sparc.h (current_function_outgoing_args_size,
25938 current_function_calls_alloca, current_function_decl): Delete
25940 * config/spur/spur.h (current_function_pretend_args_size,
25941 current_function_calls_alloca): Delete declarations.
25942 * config/v850/v850.c (current_function_outgoing_args_size): Delete
25944 * config/vax/vms.h (current_function_name): Delete declaration.
25945 * gcse.c: Include "function.h".
25946 (current_function_name, current_function_calls_setjmp): Delete
25948 * haifa-sched.c: Include "function.h".
25949 (forced_labels): Delete declaration.
25950 * jump.c: Likewise.
25951 * reg-stack.c: Likewise.
25952 * reload1.c: Likewise.
25953 * genemit.c (main): Make generated file include function.h.
25954 * genoutput.c (output_prologue): Likewise.
25956 * builtins.c (saveregs_value, apply_args_value): Delete variables.
25957 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
25958 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
25959 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
25960 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
25961 macros for some of them.
25962 (emit_filename, emit_lineno): Delete declarations.
25963 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
25964 regno_pointer_* variables through current_function.
25965 (gen_inline_header_rtx): Delete function.
25966 (save_emit_status): Delete function.
25967 (set_new_last_label_num): New function.
25968 (clear_emit_caches): New function.
25969 (restore_emit_status): Just clear last_labelnum and call
25971 (get_last_insn_anywhere): Variable sequence_stack is now accessed
25972 through macro seq_stack.
25973 (add_insn_after): Likewise.
25974 (add_insn_before): Likewise.
25975 (remove_insn): Likewise.
25976 (pop_topmost_sequence): Likewise.
25977 (in_sequence_p): Likewise.
25978 (start_sequence_for_rtl_expr): Likewise.
25979 (start_sequence): Likewise, and likewise for
25980 sequence_rtl_expr/seq_rtl_expr.
25981 (push_topmost_sequence): Likewise.
25982 (end_sequence): Likewise.
25983 (init_virtual_regs): Now takes a "struct emit_status *" argument.
25984 All callers changed. Store into that pointer instead of globals.
25985 (init_emit): Allocate emit elt of current_function.
25986 Changes for sequence_rtl_expr/sequence_stack renaming.
25987 Call clear_emit_caches instead of doing it in-line.
25988 Access regno_pointer_* variables through current_function.
25989 (init_emit_once) Don't clear sequence_stack.
25991 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
25993 (arg_pointer_save_area): Delete declaration.
25994 (finish_expr_for_function): Renamed from init_queue; no longer static.
25995 (init_expr): Don't call init_queue.
25996 (save_expr_status, restore_expr_status): Delete functions.
25997 (expand_expr): Changes to reflect new layout of struct function.
25998 Don't access current_function_check_memory_usage when current_function
26000 * expr.h (forced_labels, save_expr_regs, saveregs_value,
26001 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
26002 current_function_outgoing_args_size, current_function_arg_offset_rtx,
26003 current_function_uses_const_pool, function_call_count,
26004 current_function_uses_pic_offset_table, nonlocal_labels,
26005 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
26006 current_function_check_memory_usage, nonlocal_goto_handler_slots,
26007 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
26009 (finish_expr_for_function): Declare.
26010 * flags.h (current_function_has_nonlocal_label,
26011 current_function_has_nonlocal_goto, current_function_is_thunk,
26012 current_function_has_computed_jump): Delete declarations.
26013 * flow.c (forced_labels): Delete declaration.
26014 * function.c (current_function_pops_args,
26015 current_function_returns_struct, current_function_returns_pcc_struct,
26016 current_function_needs_context, current_function_calls_setjmp,
26017 current_function_calls_longjmp, current_function_has_nonlocal_label,
26018 current_function_has_nonlocal_goto, current_function_is_thunk,
26019 current_function_has_computed_jump, current_function_calls_alloca,
26020 current_function_contains_functions, current_function_returns_pointer,
26021 current_function_epilogue_delay_list, current_function_args_size,
26022 current_function_pretend_args_size, current_function_arg_offset_rtx,
26023 current_function_outgoing_args_size, current_function_varargs,
26024 current_function_stdarg, current_function_args_info, cleanup_label,
26025 current_function_name, current_function_uses_const_pool,
26026 current_function_instrument_entry_exit, current_function_return_rtx,
26027 current_function_uses_pic_offset_table, nonlocal_labels,
26028 current_function_internal_arg_pointer, current_function_cannot_inline,
26029 current_function_check_memory_usage, function_call_count,
26030 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
26031 nonlocal_goto_stack_level, return_label, save_expr_regs,
26032 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
26033 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
26034 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
26035 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
26036 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
26038 (push_function_context_to): Don't save them. Don't call
26039 save_storage_status, save_emit_status or save_expr_status.
26040 (pop_function_context_from): Don't restore them. Don't call
26041 restore_storage_status or restore_expr_status.
26042 (get_func_frame_size): New function.
26043 (get_frame_size): Use it.
26044 (assign_outer_stack_local): Reflect some member name changes in struct
26046 (put_reg_into_stack): Likewise.
26047 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
26049 (fixup_var_refs): Likewise.
26050 (fix_lexical_addr): Likewise.
26051 (trampoline_address): Likewise.
26052 (prepare_function_start): Clear field inlinable of current_function.
26053 (init_function_for_compilation): New function.
26054 (expand_dummy_function_end): New function.
26055 (expand_function_end): Call finish_expr_for_function.
26056 * function.h (struct emit_status): New; fields moved here from struct
26057 function and from global variables. Add accessor macros for some of
26059 (struct expr_status): Likewise.
26060 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
26061 (struct function): Add fields expr and emit, inlinable, inl_emit,
26062 original_arg_vector, original_decl_initial, inl_last_parm_insn,
26063 inl_max_label_num. Add many comments.
26064 Add accessor macros for all elts of struct function that no longer
26065 have a global variable.
26066 (cleanup_label, return_label, frame_offset, tail_recursion_label,
26067 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
26068 stack_slot_list): Delete declarations.
26069 (get_func_frame_size): Declare.
26070 (save_expr_status, restore_expr_status, save_emit_status,
26071 save_storage_status, restore_storage_status): Delete declarations.
26072 (init_virtual_regs): Declare.
26073 * output.h (current_function_pops_args,
26074 current_function_returns_struct, current_function_returns_pcc_struct,
26075 current_function_needs_context, current_function_calls_setjmp,
26076 current_function_calls_longjmp, current_function_calls_alloca,
26077 current_function_has_nonlocal_label, current_function_varargs,
26078 current_function_has_computed_jump, current_function_returns_pointer,
26079 current_function_contains_functions, current_function_args_size,
26080 current_function_pretend_args_size, current_function_stdarg,
26081 current_function_outgoing_args_size, current_function_args_info,
26082 current_function_name, current_function_return_rtx,
26083 current_function_epilogue_delay_list,
26084 current_function_uses_const_pool, current_function_cannot_inline):
26085 Delete declarations.
26086 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
26087 regno_reg_rtx): Delete declaration.
26088 (REGNO_POINTER_FLAG): Delete macro.
26089 * stmt.c (expand_goto): Changes to reflect that some fields in struct
26090 function were renamed.
26091 * stor-layout.c (save_storage_status, restore_storage_status): Delete
26093 * toplev.c: Include "function.h".
26094 (current_function_decl): Delete declaration.
26095 (compile_file): Call init_dummy_function_start and
26096 expand_dummy_function_end around some initializations that need to
26098 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
26099 Call init_function_for_compilation.
26100 * unroll.c: Include "function.h"
26101 (unroll_loop): Access regno_pointer_* variables through
26104 * tree.h (struct tree_decl): Add elt f to saved_insns member.
26105 (DECL_SAVED_INSNS): use it.
26106 (expand_dummy_function_end): Declare.
26107 (init_function_for_compilation): Declare.
26108 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
26109 that it's no longer an INLINE_HEADER.
26110 (expand_call): Likewise.
26111 * integrate.c (finish_inline): Delete function.
26112 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
26113 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
26114 args. Don't generate an INLINE_HEADER rtx, just return the arg
26115 vector. All callers changed.
26116 (save_for_inline_copying): Create a duplicate struct emit_status to
26117 hold the emit state for compiling the current function. Use this and
26118 the other new fields in struct function that are for integration
26119 instead of an INLINE_HEADER.
26120 Use memcpy instead of bcopy.
26121 Store the current struct function in DECL_SAVED_INSNS of fndecl.
26122 (save_for_inline_nocopy): Similar changes, except no new emit_status
26124 (expand_inline_function): Get information from function structure,
26125 not from an inline header rtx.
26126 (output_inline_function): Lose code to extract the necessary
26127 information from an inline header; simply put back the function
26128 structure into current_function. Clear its inlinable elt.
26129 * rtl.def (INLINE_HEADER): Delete.
26130 * rtl.h: Delete all accessors for an INLINE_HEADER.
26131 (gen_inline_header_rtx): Delete declaration.
26132 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
26133 Delete declarations.
26134 (REGNO_POINTER_ALIGN): Delete.
26135 (clear_emit_caches): Declare.
26136 (set_new_last_label_num): Declare.
26138 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
26140 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
26142 * except.c (expand_eh_region_start_for_decl): Always start a new block.
26143 * stmt.c (is_eh_region): Make sure current_function is present, too.
26145 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
26147 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
26148 for 64bit PA targets.
26150 * pa.h (SELECT_SECTION): Define.
26151 * som.h (SELECT_SECTION): Delete.
26153 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26155 * alias.c (init_alias_analysis): Wrap call to
26156 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
26158 1999-08-07 Bruce Korb <autogen@linuxbox.com>
26160 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
26161 <sys/asm.h> contains an asm comment with an apostrophe
26162 * fixinc/inclhack.sh: regen
26163 * fixinc/fixincl.x: regen
26165 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
26167 * function.c (init_function_start): Clear prologue & epilogue.
26168 (prologue_epilogue_contains): New function.
26169 * alias.c (init_alias_analysis): Use it.
26170 * rtl.h (prologue_epilogue_contains): Declare it.
26172 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
26174 * jump.c (onlyjump_p): New function.
26175 * rtl.h: Declare it.
26176 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
26177 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
26179 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
26181 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
26182 to invert loops. Simplify block scanning.
26184 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26186 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
26187 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
26189 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
26191 * config/sparc/liteelf.h: New file to support sparclite-elf target
26192 * config/sparc/t-sp86x: New file to support sparc86x targets
26193 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
26194 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
26195 * configure.in: Support above target triplets
26196 * configure: Regenerated
26198 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
26200 * fixinc/server.c (server_setup): Do not prefix function used as
26201 parameter with `&'.
26203 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
26205 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
26206 Remove fp reg alternatives.
26208 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
26210 * Makefiin (TAROUTOPTS): Kill.
26211 (install-headers-tar): Use "xpf" for tar headerfile extraction
26212 * i370/x-oe (TAROUTOPTS): Delete.
26213 * m68k/x-apollo68 (TAROUTOPTS): Delete.
26214 * m68k/x-hp320 (TAROUTOPTS): Delete.
26215 * m68k/x-hp320g (TAROUTOPTS): Delete.
26216 * gcc.texi: Update bug reporting text.
26218 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
26220 * reg-stack.c (change_stack) Fixed problem with negative array index.
26222 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
26224 * extend.texi, install.texi: Fix spelling mistakes.
26226 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
26227 (s-attrtab); No longer try to use pre-made insn-attrtab file.
26228 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
26229 PREMADE_ATTRTAB_MD.
26230 * mips/t-ecoff: Likewise.
26231 * mips/t-elf: Likewise.
26232 * mips/t-mips: Likewise.
26233 * mips/t-osfrose: Likewise.
26234 * mips/t-r3900: Likewise.
26235 * mips/t-svr3: Likewise.
26236 * mips/t-svr4: Likewise.
26237 * mips/t-ultrix: Likewise.
26239 * gcc.texi: Document recommend means to provide software floating
26240 point libraries in libgcc.a
26242 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
26244 * c-lex.c (yylex): We can have a number with no digits.
26246 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
26248 * jump.c (delete_prior_computation): New function, broken
26249 out of delete_computation. Check for side effects with
26250 side_effects_p instead of FIND_REG_INC_NOTE. Handle
26251 multi-word hard registers.
26252 (delete_computation): Use it. Check for side effects with
26253 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
26254 missing REG_DEAD note for a register which is both set and
26257 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
26259 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
26260 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
26261 (ASM_FILE_START): Import _mcount with the right type.
26262 (ASM_DECLARE_FUNCTION_NAME): Define.
26263 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
26264 * pa.c (output_function_prologue): Always emit the function's label
26266 * pa.h (TEXT_SPACE_P): Define.
26267 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26268 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
26269 * som.h (TEXT_SPACE_P): Delete.
26270 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26271 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
26273 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
26275 * expr.c (emit_group_load): Allow src to be a CONCAT.
26277 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26279 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
26280 (___mulsi3): Use '!' comment character.
26282 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26284 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
26286 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
26288 * gcc.c: Update URLs and mail addresses.
26289 * gcc.texi: Likewise.
26291 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
26293 * rs6000.c (current_file_function_operand): Return zero for
26295 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
26297 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
26300 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
26302 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
26303 allocate space in the stack frame for the PIC register.
26305 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
26307 * m68k.md (xordi3, anddi3): These patterns are not available on
26310 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
26312 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
26313 (PUT_REAL): Likewise.
26315 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26317 * final.c (shorten_branches): Don't add an alignment for loops
26318 that have no label inside.
26320 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26322 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
26323 prototypes in macro HAVE_cmpstrsi.
26325 * cpplib.c (cpp_get_token): Remove unused label `op3'.
26327 * emit-rtl.c (operand_subword): Remove unused variable
26330 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
26332 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
26334 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
26336 * cpphash.c (macroexpand): Delete leading whitespace when arg
26337 is concatenated before.
26338 (unsafe_chars): Correct test for whether + and - can extend a
26341 * cppinit.c (cpp_start_read): Do dependencies for
26342 -include/-imacros files also.
26344 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
26345 tokenizing non-directive lines.
26346 (cpp_expand_to_buffer): Temporarily disable no-output mode.
26347 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
26350 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26352 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
26354 * c-lex.c: Sync with C++ frontend.
26355 (linemode): New variable.
26356 (parse_float): imag, conversion_errno, and type are output only.
26357 (yylex): Adjust. Move initial '.' case into main switch.
26359 (handle_generic_pragma): Just deal with tokens.
26360 (readescape): Use ISXDIGIT and ISGRAPH.
26361 * c-parse.in: Add END_OF_LINE token.
26363 * c-lex.c (lang_init): Generalize.
26364 (nextchar): Remove. Replace uses with UNGETC.
26365 (skip_white_space): Handle linemode here. Optimize for cpplib.
26366 (skip_white_space_on_line): Remove.
26367 (extend_token_buffer_to): New fn.
26368 (extend_token_buffer): Use it.
26369 (read_line_number, check_newline): Just deal with tokens.
26370 (token_getch, token_put_back): New fns.
26371 (yylex): Use them. More cpplib optimizations. Simplify.
26373 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26374 Jason Merrill <jason@yorick.cygnus.com>
26376 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
26377 (consume_string): Make this smart about USE_CPPLIB.
26378 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
26379 (yylex): Rewrite to be intelligent about USE_CPPLIB.
26380 Also, clean up cases where we redundantly set token_buffer[0].
26381 (read_line_number): New fn.
26382 (ignore_escape_flag): New variable.
26384 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
26386 * a29k/t-a29kbare: Fix some comments.
26387 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
26388 (FPBIT, DPBIT): Define.
26389 * a29k/t-vx29k: Likewise.
26390 * arc/t-arc: Likewise.
26391 * arm/t-arm-elf: Likewise.
26392 * arm/t-bare: Likewise.
26393 * arm/t-pe: Likewise.
26394 * arm/t-pe-thumb: Likewise.
26395 * arm/t-semi: Likewise.
26396 * arm/t-thumb: Likewise.
26397 * arm/t-thumb-elf: Likewise.
26398 * arm/t-thumb-linux: Likewise.
26399 * h8300/t-h8300: Likewise.
26400 * i960/t-i960: Likewise.
26401 * i960/t-vxworks960: Likewise.
26402 * m32r/t-m32r: Likewise.
26403 * mips/t-ecoff: Likewise.
26404 * mips/t-elf: Likewise.
26405 * mips/t-r3900: Likewise.
26406 * pa/t-pro: Likewise.
26407 * rs6000/t-aix43: Likewise.
26408 * rs6000/t-beos: Likewise.
26409 * rs6000/t-newas: Likewise.
26410 * rs6000/t-ppccomm: Likewise.
26411 * rs6000/t-rs6000: Likewise.
26412 * rs6000/t-winnt: Likewise.
26413 * rs6000/t-xnewas: Likewise.
26414 * rs6000/t-xrs6000: Likewise.
26415 * sh/t-sh: Likewise.
26416 * sparc/t-elf: Likewise.
26417 * sparc/t-sparcbare: Likewise.
26418 * sparc/t-sparclite: Likewise.
26419 * sparc/t-splet: Likewise.
26420 * v850/t-v850: Likewise.
26421 * mn10200/t-mn10200: Fix comments.
26422 * mn10300/t-mn10300: Likewise.
26424 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
26425 dummy operand. Allocate a new pseudo for the dummy operand.
26426 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
26428 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
26430 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
26432 * configure: Rebuilt.
26433 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
26435 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
26437 * recog.c (preproces_constraints): Zero recog_op_alt before
26438 processing the constraints.
26440 * arm.c (typedef minipool_node): Renamed from pool_node.
26441 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
26442 (add_minipool_constant): New function.
26443 (dump_minipool): New function.
26444 (find_barrier): Remove special case for getting the insn size of
26445 an insn that references the constant pool.
26446 (minipool_fixup): New structure.
26447 (push_minipool_barrier): New function.
26448 (push_minipool_fix): New function.
26449 (note_invalid_constants): New function.
26450 (add_pool_constant, dump_table, fixit, broken_move): Delete.
26451 (arm_reorg): Rewrite code to fix up the constant pool into a
26452 series of mini-pools embedded in the insn stream.
26453 (arm_output_epilogue): New function, made mainly from the body
26454 of output_func_epilogue.
26455 (output_func_epilogue): Move insn generation part of epilogue code
26456 to arm_output_epilogue.
26457 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
26458 * arm.md (pool_range): New attribute.
26459 (zero_extendqidi2): Add attribute pool_range.
26460 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
26461 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
26462 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
26463 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
26464 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
26465 (epilogue): New expand.
26466 (epilogue_insn): New insn. Call arm_output_epilogue.
26468 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
26469 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
26471 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26473 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
26475 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
26477 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
26479 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
26481 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
26483 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
26485 * global.c: Fix comment.
26487 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
26489 * gcc.c (access_check): New static function.
26490 (find_a_file): Use it when searching a directory list.
26491 * collect2.c (find_a_file): Don't accept directories found when
26492 searching a directory list.
26494 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
26496 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
26497 function parameters with `&'.
26498 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
26500 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
26502 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
26503 or tidy_fallthru_edge if the last insn in the block is not
26504 an unconditional jump or a simple conditional jump.
26506 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26508 * Makefile.in (c-decl.o): Depends on defaults.h.
26510 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
26512 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
26514 (CLASS_MAX_NREGS): Likewise.
26516 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
26518 * cse.c (cse_insn): Fix dumb thinko in last change.
26520 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26522 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
26525 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
26527 * dwarf2out.c (add_location_or_const_value_attribute): Correct
26528 test for sizes of passed and declared parameter types.
26530 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26532 * fixincludes: Fix the return type of bsearch, char* -> void*.
26534 * fixinc/inclhack.def: Likewise.
26536 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
26538 * invoke.texi (-fdump-translation-unit): New option.
26540 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
26542 * expr.h (PROMOTE_PROTOTYPES): Move ...
26543 * defaults.h: ... to here.
26544 * c-decl.c: Include defaults.h instead of expr.h.
26545 * c-typeck.c: Include defaults.h.
26547 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
26549 * toplev.h (errorcount): Declare.
26550 (warningcount): Likewise.
26551 (sorrycount): Likewise.
26552 * c-lex.c (errorcount): Don't declare.
26553 * dwarf2out.c (errorcount): Don't declare.
26555 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
26557 * config/libgloss.h: Add a note discouraging use with ELF.
26558 * configure.in: Don't use libgloss.h for ELF targets.
26559 Always use_collect2 on a.out targets.
26561 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
26563 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
26564 (force_to_mode, case ASHIFTRT): Add shiftrt label.
26566 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26568 * loop.c (strength_reduce): When doing biv->giv conversion, update
26569 reg note of NEXT->insn.
26571 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26573 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
26575 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26577 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
26578 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
26579 Ensure expr.h is included.
26580 * c-typecheck.c (convert_arguments): Ditto.
26582 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
26584 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
26585 * config/convex/convex.h: Ditto.
26586 * config/dsp16xx/dsp16xx.h: Ditto.
26587 * config/fx80/fx80.h: Ditto.
26588 * config/gmicro/gmicro.h: Ditto.
26589 * config/i370/i370.h: Ditto.
26590 * config/i386/i386.h: Ditto.
26591 * config/m32r/m32r.h: Ditto.
26592 * config/m68k/m68k.h: Ditto.
26593 * config/m88k/m88k.h: Ditto.
26594 * config/mips/mips.h: Ditto.
26595 * config/pa/pa.h: Ditto.
26596 * config/pyr/pyr.h: Ditto.
26597 * config/tahoe/tahoe.h: Ditto.
26598 * config/we32k/we32k.h: Ditto.
26600 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
26601 based on arch size.
26603 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
26605 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
26608 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
26610 1999-08-02 Richard Henderson <rth@cygnus.com>
26612 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
26613 for the register spill block.
26614 (m32r_va_arg): New.
26615 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
26616 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
26618 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
26619 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
26620 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
26622 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26624 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
26625 MAX_WCHAR_TYPE defined in sparc.h.
26626 * config/sparc/linuxaout.h: Likewise.
26627 * config/sparc/linux64.h: Likewise.
26628 Also default to -mvis if CPU is UltraSPARC.
26630 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26632 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
26633 (RTX_OK_FOR_OLO10): Likewise.
26634 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
26635 %lo(), allow it in addresses...
26636 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
26637 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
26638 does not make sense.
26639 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
26640 (sparc_output_scratch_registers): New function.
26641 (output_function_prologue, sparc_flat_output_function_prologue): Use
26643 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
26645 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
26646 * configure.in: Add check for .register pseudo-op support in as and
26647 check for offsetable %lo().
26648 * acconfig.h: Add templates for the above checks.
26649 * configure: Regenerate.
26651 1999-08-02 Richard Henderson <rth@cygnus.com>
26653 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
26654 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
26655 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
26657 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26659 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26662 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26664 * config/float-sparc.h: New file.
26665 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
26666 sparc-*-linux-gnu and sparc64-*-linux*.
26668 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26670 * rs6000.c (rs6000_va_list): Type is an array.
26671 (rs6000_va_start): Don't doubly adjust for varargs.
26672 (rs6000_va_arg): Evaluate long long GPR adjustment.
26674 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
26676 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
26677 -maix64 and -maix32.
26678 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
26679 LINK_SPEC): Change appropriately.
26680 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
26681 (u_short_cint_operand): Likewise.
26682 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
26684 * rs6000/t-aix43 (MULTILIB): Change to -m64.
26686 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
26688 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
26690 * rs6000/rs6000.c (num_insns_constant_wide): Correct
26691 for type promotion.
26692 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
26693 (non_add_cint_operand): Likewise.
26694 (logical_operand): Likewise.
26695 (non_logical_cint_operand): Likewise.
26696 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
26697 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
26698 (rs6000_select_rtx_section): Suppress warning.
26699 (small_data_operand): Suppress warning.
26700 (rs6000_got_register): Suppress warning.
26701 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
26702 type, so `J' is generally the wrong constraint for a SImode value;
26704 (andsi3_internal2): Likewise.
26705 (andsi3_internal3): Likewise.
26706 (iorsi3_internal1): Likewise.
26707 (xorsi3_internal1): Likewise.
26709 (movsf_softfloat): Likewise.
26710 (scc insns): Likewise.
26711 (movsi+2): Preserve sign bits of SImode constant.
26712 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
26713 (movdf+1): Sign-extend properly.
26714 (movdi_32+1): Sign-extend properly.
26715 (scc insns): Sign-extend properly.
26717 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
26720 1999-08-02 Richard Henderson <rth@cygnus.com>
26722 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
26723 -mcpu parsing code.
26724 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
26725 * alpha.md (all fp insns): Likewise.
26727 1999-08-02 Nick Clifton <nickc@cygnus.com>
26729 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
26732 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
26734 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
26735 pic_load_label generator directly.
26736 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
26737 No longer a named pattern.
26739 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
26741 * explow.c (force_reg): Call force_operand if X does not
26742 satisfy general_operand.
26744 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
26746 * fix-header.c (main): When testing for CONTINUED, use string
26747 equality, not pointer equality.
26749 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
26751 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
26753 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
26755 * cse.c (cse_insn): Fix loop which deletes insns after a jump
26756 that has become an unconditional jump.
26758 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
26759 (output_function_epilogue): Similarly.
26761 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26763 * tree.h (init_dummy_function_start): Declare.
26765 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26767 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
26768 last_expr_type, last_expr_value, block_start_count, block_stack,
26769 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
26770 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
26771 dynamically in stmt elt of struct function for each function.
26772 (struct nesting): Rename function_call_count elt to n_function_calls,
26773 target_temp_slot_level to block_target_temp_slot_level. All users
26775 (struct stmt_status): New structure definition.
26776 Add many accessor macros for stmt_status elements which previously
26777 were global variables.
26778 (init_stmt_for_function): Allocate stmt elt for current_function.
26779 Reflect that block_start_count was renamed to
26780 current_block_start_count.
26781 (save_stmt_status, restore_stmt_status): Delete functions.
26782 (preserve_subexpressions_p): Don't access loop_stack when outside
26784 (expand_start_bindings): Reflect that block_start_count was renamed to
26785 current_block_start_count.
26786 (expand_fixup): Likewise.
26787 (expand_decl): Don't access block_stack when outside a function.
26788 (expand_decl_cleanup): Likewise.
26789 (expand_dcc_cleanup): Likewise.
26790 (expand_dhc_cleanup): Likewise.
26791 (expand_anon_union_decl): Likewise.
26792 (set_file_and_line_for_stmt): New function.
26793 (in_control_zone_p): New function.
26795 * function.h (struct function): Add new elt stmt.
26796 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26797 case_stack, nesting_stack, nesting_depth, block_start_count,
26798 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26799 emit_lineno, goto_fixup_chain.
26800 (save_eh_status, restore_eh_status, save_stmt_status,
26801 restore_stmt_status): Delete declarations.
26802 * function.c (push_function_context_to): Don't call save_stmt_status.
26803 (pop_function_context_to): Don't call restore_stmt_status.
26804 * tree.h (in_control_zone_p): Declare.
26805 * rtl.h (set_file_and_line_for_stmt): Declare.
26807 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
26808 call set_file_and_line_for_stmt.
26810 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
26812 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
26813 Also update copyright.
26815 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26817 * c-pragma.c: Don't include "except.h".
26818 * emit-rtl.c: Likewise.
26819 * stor-layout.c: Likewise.
26820 * tree.c: Likewise.
26821 * varasm.c: Likewise.
26823 * flow.c: Include "function.h".
26824 * tree.h (init_dummy_function_start): Declare new function.
26826 * except.h (struct eh_status): New structure.
26827 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
26829 (eh_return_stub_label, ehstack, catchstack, ehqueue,
26830 catch_clauses, false_label_stack, caught_return_label_stack,
26831 protect_list, current_function_ehc): Add accessor macros for the
26832 corresponding fields in current_function->eh; delete declarations
26833 for all items that used to be declared here.
26834 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
26835 catch_clauses, false_label_stack, caught_return_label_stack,
26836 protect_list, current_function_ehc): Delete variables.
26837 (init_eh_for_function): Allocate current_function->eh.
26838 (save_eh_status, restore_eh_status): Delete functions.
26840 * function.h (struct function): Add fields next_global and eh.
26841 Delete all exception handling related fields.
26842 * function.c (current_function): New variable.
26843 (all_functions): New variable.
26844 (push_function_context_to): Don't allocate a struct function,
26845 use current_function instead. Call init_dummy_function_start when
26846 outside a function. Clear current_function before returning.
26847 (pop_function_context_from): Restore current_function.
26848 Don't free the restored struct function.
26849 (prepare_function_start): New function.
26850 (init_dummy_function_start): New function.
26851 (init_function_start): Break out some code into prepare_function_start
26854 * stmt.c (save_stmt_status): Don't call save_eh_status.
26855 (restore_stmt_status): Don't call restore_eh_status.
26857 * Makefile.in: Update dependencies.
26859 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
26861 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
26862 of depending on a magic constant value. Update comments.
26863 (hppa_expand_prologue): Similarly.
26865 * pa.md (reload_indi, reload_outdi): Allow any register for the
26866 original reload register.
26868 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
26870 * cccp.c (print_help): Change marcos to macros.
26872 1999-07-30 Richard Henderson <rth@cygnus.com>
26874 * c-typeck.c (initializer_constant_valid_p): Move ...
26875 * c-common.c (initializer_constant_valid_p): ... here. Use
26876 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
26877 of label addresses.
26878 * c-common.h (initializer_constant_valid_p): Declare.
26879 * c-tree.h (initializer_constant_valid_p): Remove.
26881 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
26883 * config/i386/sol2-c1.asm: Align the stack.
26884 * config/i386/sol2-gc1.asm: Likewise.
26886 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
26888 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
26889 -Asparclite for sparc86x.
26890 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
26892 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
26894 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
26896 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
26897 the user if using the non-default arch size in BI_ARCH configuration.
26898 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
26900 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
26901 Fix patterns so that they actually match.
26902 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
26903 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
26904 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
26906 (mulsidi3): Reflect this in the expand.
26907 (smulsi3_highpart): Only on TARGET_ARCH32.
26908 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
26909 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
26910 (umulsidi3): Reflect this in the expand.
26911 (umulsi3_highpart): Only on TARGET_ARCH32.
26912 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
26913 don't require g0 to be zero.
26914 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
26915 ({,u}divsi3): New expands.
26916 ({,u}divsi3_sp64): New patterns.
26917 (after lshrdi3_v8plus): Four new patterns to help combiner
26918 optimizing nested mixed mode shifts.
26920 * config/sparc/sparc.c (sparc_override_options): Use deprecated
26921 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
26922 speed things up. Don't use them by default on plain v9 in 64bit
26923 mode, according to what SPAMv9 sais.
26925 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
26926 top 32 bits of %[og][0-7] in signal handlers.
26927 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
26929 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
26931 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
26932 (ashlsi3): Corresponding changes.
26934 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
26936 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
26938 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
26940 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26942 * arm.h (Hint): Delete macro.
26943 Substitute HOST_WIDE_INT for Hint in some prototypes.
26944 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
26946 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
26948 * builtins.c (expand_builtin_setjmp): Use force_operand to
26949 make sure that the buffer address is in a suitable form to be
26950 passed to force_reg.
26952 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
26954 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
26957 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
26959 * pa.md (indirect_jump): Remove mode from match_operand. Verify
26960 proper mode in the condition string.
26961 (icacheflush, dcacheflush): Remove modes from match_operands.
26963 * pa.c (emit_move_sequence): Always convert scratch_reg to the
26964 proper mode before using it.
26966 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
26969 * pa.c (store_reg): Do not call add_high_const generator directly.
26970 (load_reg, set_reg_plus_d): Likewise.
26971 * pa.md (add_high_const): No longer a named pattern.
26973 * pa.c (legitimize_address): Consistently use Pmode rather than
26974 SImode. Do not call gen_pic2_highpart directly anymore.
26975 * pa.md (pic2_highpart): No longer a named pattern.
26976 (pic2_lo_sum): Similarly. Reformat to make more readable.
26978 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
26983 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26985 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
26987 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
26989 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
26990 and tag the spill mems.
26991 (hppa_va_start): New.
26992 (hppa_va_arg): New.
26993 * pa.h (EXPAND_BUILTIN_VA_START): New.
26994 (EXPAND_BUILTIN_VA_ARG): New.
26996 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
26998 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
26999 and tag the spill mems.
27000 (mn10300_va_start): New.
27001 (mn10300_va_arg): New.
27002 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
27003 (EXPAND_BUILTIN_VA_ARG): New.
27005 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
27007 * mn10200.c (mn10200_va_arg): New.
27008 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
27010 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
27012 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
27013 rather than play with TREE_INT_CST_LOW.
27015 1999-07-27 Philip Blundell <pb@nexus.co.uk>
27017 * config/arm/telf.h: Include dbxelf.h.
27018 (CPP_PREDEFINES): Only define if not already defined.
27019 (ASM_IDENTIFY_GCC): Likewise.
27020 (SUBTARGET_EXTRA_SECTIONS): Likewise.
27021 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
27022 * config/arm/thumb.h (LINK_SPEC): Only define if not already
27024 (DBX_DEBUGGING_INFO): Don't define.
27025 * config/arm/linux-telf.h: New file.
27026 * config/arm/linux-tgas.h: New file.
27027 * config/arm/t-thumb-linux: New file.
27028 * config/arm/uclinux-elf.h: New file.
27029 * config/arm/uclinux-telf.h: New file.
27030 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
27031 thumb-*-uclinux): New targets.
27032 * configure: Regenerate.
27034 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
27036 * pa.md (post_store, pre_load): New expanders.
27037 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
27038 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
27039 need to directly generate RTL for them.
27040 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
27043 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
27045 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
27046 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
27047 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
27048 (secndary_reload_class): Make TARGET_ELF conditional compile.
27049 (print_operand_address): Similar.
27050 (output_toc): Print all values as hex.
27051 (get_issue_rate): Rearrange and add RS64A and PPC630.
27052 * rs6000.h (processor_type): Add RS64A and PPC630.
27053 (PROCESSOR_POWERPC64): New.
27054 (PROMOTE_MODE): Use word_mode.
27055 (RTX_COSTS): Add RS64A and PPC630.
27056 * rs6000.md (scheduling information): Add lmul and ldiv
27057 representing 64-bit integer multiply and divide. Add rs64a and
27058 PPC630 information.
27059 (ashldi3): Add support for "rldic" instruction.
27060 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
27062 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
27064 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
27065 instead of V8 for sparclite86x in cpu_table.
27067 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27069 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
27070 output_file_directive.
27072 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
27074 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
27075 tree for op1, not the rtl.
27077 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
27079 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
27080 to m88k_va_start, leaving only the register spill.
27081 (m88k_build_va_list): New.
27082 (m88k_va_start): New.
27083 (m88k_va_arg): New.
27084 * m88k.h (BUILD_VA_LIST_TYPE): New.
27085 (EXPAND_BUILTIN_VA_START): New.
27086 (EXPAND_BUILTIN_VA_ARG): New.
27088 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
27090 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
27091 Rename from expand_builtin_saveregs.
27092 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
27094 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
27096 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
27097 for the register spill block.
27098 (i960_build_va_list): New.
27099 (i960_va_start): New.
27100 (i960_va_arg): New.
27101 * i960.h (BUILD_VA_LIST_TYPE): New.
27102 (EXPAND_BUILTIN_VA_START): New.
27103 (EXPAND_BUILTIN_VA_ARG): New.
27104 * i960.md (store_multiple): Use change_address on individul mems.
27106 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
27108 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
27110 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
27111 (expand_builtin_va_end): Evaluate arg for side effects.
27112 * c-common.c (c_common_nodes_and_builtins): Construct a
27113 va_list_arg_type_node to handle array decomposition to pointer.
27115 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
27117 * except.c (st_dynamic_cleanup): Use force_operand on the
27120 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
27122 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
27123 * c4x.c (c4x_va_arg): New.
27125 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
27127 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
27128 has manual_pop set.
27130 1999-07-26 Nathan Sidwell <nathan@acm.org>
27132 * eh-common.h (__eh_matcher): Prototype correctly.
27134 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
27136 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
27137 (TARGET_SINGLE_PIC_BASE): Likewise.
27138 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
27140 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
27141 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
27142 (TARGET_OPTIONS): Add -mpic-register=N.
27143 (OUTPUT_INT_ADDR_CONST): New macro.
27144 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
27145 LEGITIMATE_PIC_OPERAND_P): Likewise.
27146 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
27147 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
27148 output_addr_const directly.
27149 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
27151 (thumb_pic_register, thumb_pic_register_string): Declare.
27153 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
27155 (label_mentioned_p): New function: Imported from arm.c.
27156 (legitimize_pic_address): New function: Imported from arm.c.
27157 (is_pic):New function: Imported from arm.c.
27158 (thumb_finalize_pic):New function: Imported from arm.c.
27159 (add_constant): Cope with PIC constants.
27160 (fixit): Cope with PIC constants.
27161 (output_return): Do not treat the PIC register as live if
27162 TARGET_SINGLE_PIC_BASE is true.
27163 (thumb_function_prologue): Do not treat the PIC register as live if
27164 TARGET_SINGLE_PIC_BASE is true.
27165 (thumb_expand_prologue): Do not treat the PIC register as live if
27166 TARGET_SINGLE_PIC_BASE is true.
27167 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
27168 TARGET_SINGLE_PIC_BASE is true.
27169 (thumb_print_operand): Accept '|'.
27170 (thumb_override_options): Process PIC options.
27172 * config/arm/thumb.md (movsi): Support PIC.
27173 (call_insn): Change "i" constraint to "X".
27174 (call_value_insn): Likewise.
27175 (consttable_4, consttable_8, consttable_end): Set and clear
27176 "making_const_table" as appropriate.
27177 (pic_load_addr, pic_add_dot_plus_four): New insns.
27179 * invoke.texi (Thumb Options): Fix spelling. Document new
27180 options -msingle-pic-base and -mpic-register=.
27182 1999-07-26 Andrew Haley <aph@cygnus.com>
27184 * config/m32r/initfini.c (__init): Use a full word immediate for
27185 __fini: this allows it to be placed in any memory region.
27187 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
27188 -mmodel=medium. This is OK for all memory models.
27190 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
27192 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
27193 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
27195 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
27197 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
27200 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
27202 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
27204 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
27205 (BUILD_VA_LIST_TYPE): New.
27206 (EXPAND_BUILTIN_VA_START): New.
27207 (EXPAND_BUILTIN_VA_ARG): New.
27208 * i860.c (output_delayed_branch): Disable.
27209 (output_delay_insn): Likewise.
27210 (i860_saveregs): New.
27211 (i860_build_va_list): New.
27212 (i860_va_start): New.
27213 (i860_va_arg): New.
27214 * i860.md: Disable all peepholes using output_delayed_branch.
27215 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
27217 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
27219 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
27220 (BUILD_VA_LIST_TYPE): New.
27221 (EXPAND_BUILTIN_VA_START): New.
27222 (EXPAND_BUILTIN_VA_ARG): New.
27223 * clipper.c (clipper_builtin_saveregs): Only dump registers.
27224 Return the address of the save area.
27225 (clipper_build_va_list): New.
27226 (clipper_va_start): New.
27227 (clipper_va_arg): New.
27229 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
27231 * arc.h (EXPAND_BUILTIN_VA_START): New.
27232 (EXPAND_BUILTIN_VA_ARG): New.
27233 * arc.c (arc_setup_incoming_varargs): Set alias set of
27235 (arc_va_start): New.
27238 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
27240 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
27241 (BUILD_VA_LIST_TYPE): New.
27242 (EXPAND_BUILTIN_VA_START): New.
27243 (EXPAND_BUILTIN_VA_ARG): New.
27244 * alpha.c (alpha_builtin_saveregs): Delete.
27245 (alpha_build_va_list): New.
27246 (alpha_va_start): New.
27247 (alpha_va_arg): New.
27249 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
27251 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
27253 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
27254 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
27256 * gcc.texi: More changes related to list conversion.
27257 * invoke.texi: Likewise.
27259 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
27261 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
27262 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
27263 (expand_builtin_next_arg): Accept ARGLIST not EXP.
27264 (stabilize_va_list): New function.
27265 (std_expand_builtin_va_start): New function.
27266 (expand_builtin_va_start): New function.
27267 (get_varargs_alias_set): New function.
27268 (std_expand_builtin_va_arg): New function.
27269 (expand_builtin_va_arg): New function.
27270 (expand_builtin_va_end): New function.
27271 (expand_builtin_va_copy): New function.
27272 (expand_builtin): Call them.
27273 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
27274 __builtin_{varargs_start,stdarg_start,end,copy}.
27275 (build_va_arg): New function.
27276 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
27277 (build_va_arg): Declare.
27278 * c-decl.c (ptr_type_node, va_list_type_node): New.
27279 * c-parse.gperf (__builtin_va_arg): New.
27280 * c-parse.in (VA_ARG): New token.
27281 (unary_expr): Recognize it.
27282 * expr.c (expand_expr): Expand VA_ARG_EXPR.
27283 * expr.h (std_expand_builtin_va_start): Declare.
27284 (std_expand_builtin_va_arg): Declare.
27285 (expand_builtin_va_arg): Declare.
27286 (get_varargs_alias_set): Declare.
27287 * tree.def (VA_ARG_EXPR): New.
27288 * tree.h (BUILT_IN_VARARGS_START): New.
27289 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
27290 (ptr_type_node, va_list_type_node): Declare.
27291 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
27292 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
27293 * m88k.h, m88k.c: Likewise.
27294 * mn10300.h, mn10300.c: Likewise.
27295 * pa.h, pa.c: Likewise.
27296 * rs6000.h, rs6000.c: Likewise.
27297 * sh.h, sh.c: Likewise.
27298 * sparc.h, sparc.c: Likewise.
27300 * emit-rtl.c (operand_subword): Copy alias set.
27301 (change_address): Likewise.
27303 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
27305 * pa.c (compute_frame_size): Scan all the used callee saved registers,
27306 not just the first one.
27308 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
27310 * config/arm/arm.h (TARGET_SWITCHES): Add
27311 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
27312 (TARGET_OPTIONS): Add -mpic-register=.
27313 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
27314 (arm_pic_register_string): Declare.
27315 (NEED_PLT_GOT): Delete, replace with ...
27316 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
27317 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
27318 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
27319 * config/arm/arm.c (arm_override_options): Add new option
27321 (arm_pic_register_string): New variable.
27322 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
27323 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
27324 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
27325 (output_return_instruction): Likewise.
27326 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
27327 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
27328 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
27330 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
27331 mention of -msched-prolog. Document new options -msingle-pic-base
27332 and -mpic-register=.
27334 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
27336 * haifa-sched.c (reemit_notes): Tidy.
27337 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
27340 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
27342 * explow.c (trunc_int_for_mode): New function.
27343 (plus_constant_wide): Use it.
27344 * combine.c (simplify_and_const_int): Likewise.
27345 (merge_outer_ops): Likewise.
27346 (simplify_shift_const): Likewise.
27347 * cse.c (simplify_unary_operation): Likewise.
27348 (simplify_binary_operation): Likewise.
27349 * emit-rtl.c (operand_subword): Likewise.
27350 * rtl.h: Declare it.
27352 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27354 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
27355 (use NUM_REGS instead of NUM_INTS).
27357 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27359 * builtins.c: New file.
27360 * expr.c (saveregs_value, apply_args_value): Delete definition,
27361 moved into builtins.c.
27362 (string_constant): No longer static.
27363 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
27364 apply_args_size, apply_result_size, result_vector,
27365 expand_builtin_apply_args, expand_builtin_apply,
27366 expand_builtin_return): Delete functions, moved into builtins.c.
27367 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
27368 * expr.h (saveregs_value, apply_args_value): Declare variables.
27369 (expand_builtin, string_constant): Declare functions.
27370 * Makefile.in: Update to build builtin.o.
27372 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
27374 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
27375 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
27376 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
27377 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
27379 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
27382 1999-07-21 Michael Meissner <meissner@cygnus.com>
27384 * print-rtl.c (print_rtx): Print the names of the virtual
27387 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
27389 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
27390 introduced in previous delta.
27392 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27394 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
27395 to avoid name clash.
27397 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
27399 * c-lex.c (yylex) : Correct the test for overflow when lexing
27402 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
27404 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
27405 (adjust_priority): Always call ADJUST_PRIORITY.
27406 (schedule_insn): Only put insns into the ready at cost 0.
27407 (schedule_block): Remove redundant initial sort. Give clock_var
27408 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
27410 * tm.texi (MD_SCHED_REORDER): Update docs.
27412 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
27413 * sparc.c (ultra_reorder_called_this_block): Delete.
27414 (ultrasparc_sched_init): Don't set it.
27415 (ultrasparc_sched_reorder): Don't check it.
27417 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
27419 * rs6000.h (struct rs6000_args): Add sysv_gregno.
27420 * rs6000.c (init_cumulative_args): Init sysv_gregno.
27421 (function_arg_boundary): Align DFmode.
27422 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
27423 to get fp reg and stack overflow correct.
27424 (function_arg): Likewise.
27425 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
27426 (setup_incoming_varargs): Restructure for ABI_V4; use
27427 function_arg_advance to skip final named argument.
27428 (expand_builtin_saveregs): Properly unskip the last integer arg
27429 when doing varargs. Adjust overflow location calculation.
27431 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
27432 explicitly unsigned.
27433 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
27434 (__VA_GP_REGSAVE): Similarly.
27435 (__va_longlong_p): Delete.
27436 (__va_arg_type_violation): New declaration.
27437 (va_arg): Restructure. Flag promotion errors. Align double.
27438 TFmode passed by reference.
27440 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
27441 in the HOST_BITS_PER_WIDE_INT > 32 case.
27443 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
27445 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
27447 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
27449 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
27450 * toplev.c (documented_lang_options): Add -fpreprocessed.
27451 * cpplib.h (struct cpp_buffer): Add preprocessed.
27452 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
27453 (cpp_start_read): Don't expand macros or emit an initial #line
27454 directive if -fpreprocessed.
27456 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
27458 * cpplib.h (struct cpp_buffer): Added manual_pop for
27459 better C++ tokenization.
27460 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
27461 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
27462 * c-common.c (cpp_token): Make non-static.
27464 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27466 * c-common.h: New file.
27467 * c-common.c (permanent_obstack): Delete unused declaration.
27468 (c_global_trees): New array.
27469 (c_common_nodes_and_builtins): New function; split off common code
27470 from init_decl_processing in both c-decl.c and cp/decl.c.
27471 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
27472 c_global_trees and accessor macros defined in c-common.h.
27473 Include c-common.h.
27474 * c-decl.c: Delete definitions for tree nodes that were replaced by
27476 (init_decl_processing): Build void_list_node.
27477 Call c_common_nodes_and_builtins; delete code to generate the common
27479 * objc/objc-act.c (build_module_descriptor): Rename variable
27480 void_list_node to avoid clash with c-common.h.
27482 * Makefile.in: Update dependencies.
27483 * objc/Make-lang.in: Likewise.
27485 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
27487 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
27488 (UNIQUE_SECTION_P): Likewise.
27489 (UNIQUE_SECTION): Likewise.
27491 1999-07-19 Linas Vepstas <linas@linas.org>
27493 * config/i370/README: New file.
27494 * config/i370/linux.h: New file.
27495 * config/i370/mvs.h: New file.
27496 * config/i370/oe.h: New file.
27497 * config/i370/t-linux: New file.
27498 * config/i370/t-mvs: New file.
27499 * config/i370/t-oe: New file.
27500 * config/i370/x-oe: New file.
27501 * config/i370/xm-linux.h: New file.
27502 * config/i370/xm-mvs.h: New file.
27503 * config/i370/xm-oe.h: New file.
27505 * i370.c (label_node_t): Add first_ref_page, label_addr,
27506 label_first_ref, label_last_ref members.
27507 (mvs_need_base_reload): Renamed from mvs_label_emitted.
27508 (MAX_MVS_LABEL_SIZE): Define.
27509 (MAX_LONG_LABEL_SIZE): Define.
27510 (alias_node_t, alias_anchor, alias_number): New.
27511 (mvs_function_table): Reorder for EBCDIC.
27512 (ascebc, ebcasc): Unconditionally define.
27513 (i370_branch_dest, i370_branch_length): New functions.
27514 (i370_short_branch, i370_label_scan): New functions.
27515 (mvs_get_label): Renamed from mvs_add_label. Search for
27516 an existing label before creating a new one.
27517 (mvs_add_label): New function.
27518 (mvs_get_label_page): New function.
27519 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
27520 over the entire list.
27521 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
27522 (mvs_check_page) [TARGET_ELF_ABI]: New function.
27523 (mvs_add_alias, mvs_need_alias): New functions.
27524 (mvs_get_alias, mvs_check_alias): New functions.
27525 (handle_pragma): New function.
27526 (mvs_function_check): New function.
27527 (unsigned_jump_follows_p): Search harder.
27528 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
27529 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
27530 * i370.h (TARGET_VERSION): Delete.
27531 (CPP_SPEC, CPP_PREDEFINES): Delete.
27532 (mvs_label_emitted): Delete.
27533 (TARGET_EBCDIC): Delete.
27534 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
27535 (HANDLE_PRAGMA): Define.
27536 (HARD_REGNO_NREGS): Handle complex modes.
27537 (HARD_REGNO_MODE_OK): Likewise.
27538 (CLASS_MAX_NREGS): Likewise.
27539 (RET_REG): Likewise.
27540 (EXTRA_CONSTRAINT): Define.
27541 (RETURN_IN_MEMORY): True for DImode.
27542 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
27543 (FUNCTION_PROFILER): Delete.
27544 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
27545 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
27546 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
27547 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
27548 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
27549 (ASM_FILE_START): Add "RMODE ANY".
27550 (ASM_OUTPUT_EXTERNAL): Check for aliases.
27551 (ASM_GLOBALIZE_LABEL): Likewise.
27552 (ASM_OUTPUT_LABELREF): Likewise.
27553 (ASM_OUTPUT_COMMON): Likewise.
27554 (PRINT_OPERAND): Handle 'K', 'W', default.
27555 (PRINT_OPERAND_ADDRESS): New.
27556 (Lots of defines): Add support for TARGET_ELF_ABI.
27557 * i370.md (attr length): New. Define for all patterns.
27558 (*): Lots of tweeks to assembly output and constraints.
27560 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
27562 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
27563 Disable patterns performing SImode comparisons with SImode values
27564 if TARGET_POWERPC64 and instruction does not sign-extend or does
27565 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
27566 differ for signed quantities.
27567 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
27568 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
27569 (decrement_and_branch_on_count): Add 64-bit variant.
27571 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27573 * final.c (output_asm_insn): When searching for the matching string
27574 for a given dialect, don't run past the end of the list of
27575 alternatives if there are fewer alternatives in the template than
27578 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
27580 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
27581 Removed paragraph about compression of files and size limitation,
27582 duplicated in the FAQ. Use gcc-patches for posting patches.
27583 * gcc.c (main): Updated URL with bug reporting instructions to
27584 gcc.gnu.org. Removed e-mail address.
27585 * system.h (abort): Likewise.
27587 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27589 * Makefile.in (stmp-multilib-sub): Make the files extracted
27590 from $(LIBGCC1) writable.
27592 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
27594 * config/arm/aout.h: Reformat for improved readability.
27596 * config/arm/arm.h: Reformat for improved readability.
27597 Replace uses of fprintf with asm_fprintf where appropriate.
27598 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
27599 function declaration assembler actions.
27600 (NUM_INTS): New macro: Convert from bytes to words.
27601 (NUM_REGS): New macro: Compute number of registers required to
27602 hold a quanitity of tyep MODE.
27603 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
27605 (NUM_ARG_REGS): New macro: The number of argument registers
27607 (ARG_REGISTER): New macro: Compute the register number of the Nth
27609 (LAST_ARG_REGNUM): New macro: The number of the last argument
27611 (SP_REGNUM): New macro: Register number of the stack pointer.
27612 (FP_REGNUM): New macro: Register number of the frame pointer.
27613 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
27614 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
27615 CUMULATIVE_ARGS so that it counts registers not bytes.
27617 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
27619 Replace uses of fprintf with asm_fprintf where appropriate.
27620 (output_ascii_pseudo_op): Replace with version from thumb.c
27622 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
27624 * config/arm/elf.h (CPP_PREDEFINES): Replace with
27625 SUBTARGET_CPP_SPEC.
27626 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
27627 (ASM_FILE_START): Emit ASM_APP_OFF.
27629 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
27631 * pa.c (compute_frame_size): Round frame according to
27632 STACK_BOUNDARY rather than a hardwired value.
27634 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
27636 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
27638 * configure: Rebuilt.
27640 * configure.in (hppa*-*-linux*): New configuration.
27641 * configure: Rebuilt.
27642 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
27643 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
27644 * pa/pa-linux.h: New file.
27645 * pa/t-linux: New file.
27646 * pa/xm-linux.h: New file.
27648 * pa.c (hppa_legitimize_address): Change references from SImode to
27649 either Pmode or word_mode as appropriate.
27650 (emit_move_sequence, store_reg, load_reg): Likewise.
27651 (set_reg_plus_d, hppa_expand_prologue): Likewise.
27652 (output_mul_insn): Likewise.
27653 * pa.h (PROMOTE_MODE): Likewise.
27654 (INITIALZE_TRAMPOLINE): Likewise.
27655 (Pmode): Define to word_mode.
27657 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
27658 value of 4. Allocate 8 bytes for each FP register save.
27659 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
27661 (hppa_expand_prologue): Likewise.
27662 * pa.h (PROMOTE_MODE): Likewise.
27663 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
27664 (FUNCTION_ARG_BOUNDARY): Likewise.
27666 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
27668 * pa.c (out_of_line_prologue_epilogue): Delete.
27669 (override_options): Remove -mspace related code.
27670 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
27671 (compute_frame_size): Only allocate space for register that
27672 actually need to be saved.
27673 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
27674 (TARGET_SWITCHES): Remove -mspace, -mno-space
27675 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
27676 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
27677 * pa/ee.asm, pa/ee_fp.asm: Delete.
27679 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
27681 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
27682 directive in column zero.
27684 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
27686 * m68k.c (output_function_prologue): Fix computation of save mask
27687 when generating PIC code.
27689 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
27691 * tree.c (build_type_attribute_variant): Move current_obstack restore
27692 after build_qualified_type call.
27694 1999-07-15 Mark Mitchell <mark@codesourcery.com>
27696 * configure.in: Use t-iris6, even with GNU LD.
27697 * config/mips/iris6gld.h: Fix typo in linker spec.
27698 * config/mips/t-iris6gld: Remove.
27700 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
27702 * rs6000.md (insv, extzv): Remove SImode dependence in named
27703 patterns. Explicitly generate DImode RTL if PowerPC64 and
27705 (insvdi): Reverse start and size in instruction template.
27707 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
27709 * invoke.texi: Typo fixes.
27711 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
27713 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
27714 handle at this time instead of silently generating incorrect code.
27715 (gen_imagpart): Likewise.
27717 * reload.c (find_reloads): Emit a USE for a pseudo register without
27718 a hard register if we could not create an optional reload for the
27721 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27723 * c-typeck.c (output_init_element, process_init_element):
27724 When advancing constructor_unfilled_fields for a RECORD_TYPE,
27725 check for nameless bit fields.
27727 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
27729 * regclass.c (scan_one_insn): Notice subregs that change the
27730 size of their operand.
27731 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
27733 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
27735 * configure.in (alpha*-*-*): Include alpha/t-ieee.
27736 * configure: Rebuilt.
27737 * alpha/t-ieee: New file.
27739 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
27741 * rs6000.c (find_addr_reg): Do not select r0 as an address
27744 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
27746 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
27748 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
27750 * rs6000.md (movsf): Do not force easy FP constants into memory.
27752 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
27753 immed_double_const to ensure they are properly truncated then
27756 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27758 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
27759 always unless NO_DEBUG is used. Compile this code
27761 (replace_symbols_in_block): Compile it unconditionally.
27763 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
27765 * configure.in (i?86-*-elf*): New target.
27766 * configure: Rebuilt.
27767 * i386/i386elf.h, i386/t-i386elf: New files.
27769 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
27771 * toplev.c (main): Don't complain about saying -gdwarf.
27772 (rest_of_compilation): Remove redundant code.
27774 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
27776 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27778 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
27780 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27781 "Li960R:", to avoid name clash.
27783 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27785 * loop.c (check_dbra_loop): When reversing a loop, delete all
27786 REG_EQUAL notes referencing the reversed biv except those which are
27787 for a giv based on it.
27789 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
27791 * version.c: Drop "gcc-" prefix from version #.
27793 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
27795 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27796 the label if we're being verbose.
27798 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
27800 * m68k.c (output_function_prologue): Add pic register to mask
27801 if live and flag_pic.
27802 (output_function_epilogue): Likewise.
27804 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
27806 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
27807 directives in column zero.
27809 * pa/elf.h (ASM_FILE_START): Define.
27810 * pa/som.h (ASM_FILE_START): Include .level directives.
27811 * pa/hpux10.h (ASM_FILE_START): Delete.
27812 * pa/hpux11.h (ASM_FILE_START): Delete.
27814 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
27816 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27818 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
27819 when reload_out equals reload_in.
27821 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
27823 * invoke.texi (Spec Files): New node: Describe the contents of
27826 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
27828 * invoke.texi (DEC Alpha Options): Put @end table at
27829 beginning of line, to avoid confusing texi2html.
27831 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
27833 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
27834 introduced in previous delta.
27836 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27838 * reload1.c (gen_reload): When synthesizing a 3 operand add
27839 sequence, improve test for when to reload OP1 into the reload
27840 register instead of OP0.
27842 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
27844 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
27846 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
27848 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
27851 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
27853 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
27854 (va_dcl): Use __builtin_va_alist_t.
27856 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
27858 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
27859 on the permanent_obstack.
27860 * dwarfout.c (output_type): Likewise.
27862 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
27864 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27865 Merged from c-typeck.c and cp/typeck.c.
27866 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27867 Merged into c-common.
27869 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
27871 * c-lex.c (errorcount): Declare it.
27872 (finish_parse): Update errorcount when using CPPLIB.
27874 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
27876 * fixinc/inclhack.def(end_else_label): Double the backslash so
27877 sed gets a chance to see it.
27878 * fixinc/inclhack.sh: regen
27879 * fixinc/fixincl.x: regen
27881 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
27883 Add framework to support armv5 architecture when it becomes
27886 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
27887 (arm_arch5): New variable.
27888 (all_architectures): Add armv5 line.
27889 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
27890 -march=armv5 is specified on the command line.
27891 (arm_arch5): Export this variable.
27892 * invoke.texi: Document new string accepted by -march= switch for
27895 * config/arm/arm.h: Replace use of constant 12 as a register
27896 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27897 * config/arm/arm.c: Replace use of constant 12 as a register
27898 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27900 * config/arm/elf.h: Tidy up.
27901 * config/arm/coff.h: Tidy up.
27903 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
27905 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
27906 * gcc/config/mips/t-iris6gld: New file.
27907 * gcc/config/mips/iris6gld.h: Likewise.
27909 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
27911 * c-decl.c (widest_integer_literal_type_node,
27912 widest_unsigned_literal_type) : New.
27913 (init_decl_processing): Handle/use the two new types.
27914 * c-common.c (type_for_size,type_for_mode) : Same.
27915 * c-lex.c (yylex) : Same.
27916 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27918 * c-tree.h (widest_integer_literal_type_node,
27919 widest_unsigned_literal_type) : New.
27921 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
27923 * dwarfout.c (field_byte_offset): Correctly compute the object's
27924 byte offset for the first bit of a field which crosses an alignment
27925 boundary on a !BYTES_BIG_ENDIAN target.
27927 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
27929 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
27932 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
27933 Jeff Law <law@cygnus.com>
27935 * ginclude/varargs.h (va_dcl): Use word_mode for type of
27938 * except.c: Include intl.h.
27939 (expand_eh_return): Set current_function_cannot_inline.
27940 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
27941 * function.h (struct function): Add eh_return_stub_label.
27942 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
27943 * Makefile.in (except.o): Depend on intl.h.
27945 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
27947 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
27948 same as offsettable in cases 1 and 2.
27950 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
27952 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
27953 (extlh, extwh): Likewise.
27955 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
27957 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
27959 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
27961 * configure.in: Add arm-pe and thumb-pe targets.
27962 * configure: Regenerate.
27964 * thumb.c (arm_naked_function_p): New function: Determines if
27965 a function is naked (has no gcc generated prologue/epilogue).
27966 (is_called_in_ARM_mode): Return true if the func has the
27967 interfacearm attribute.
27968 (output_return): Do not generate a return for naked functions.
27969 (thumb_function_prologue): Do not generate a prologue for
27971 (thumb_expand_prologue): Do not generate a prologue for naked
27973 (thumb_expand_epilogue): Do not generate an epilogue for naked
27975 (arm_valid_machine_decl_attribute): New function, copied from
27976 arm.c: Permit naked and interfacearm attributes.
27978 * config/arm/pe.c: New file: Support code for arm-pe target.
27979 * config/arm/pe.h: New file: Header file for arm-pe target.
27980 * config/arm/tpe.h: New file: Header file for thumb-pe target.
27981 * config/arm/t-thumb-pe: New file: Makefile fragment for
27984 1999-07-01 Mark Kettenis <kettenis@gnu.org>
27986 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
27987 -fPIC or -fpic is specified.
27989 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
27991 * expr.c (emit_block_move): Use copy_to_mode_reg for
27992 !TARGET_MEM_FUNCTIONS case too.
27994 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
27996 * configure: Rebuilt.
27997 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
27998 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
27999 definitions made redundant by dbxelf.h inclusion. Delete
28000 lots of definitions related to assembly output that are
28001 specific to the SOM object format.
28002 * pa.c (output_function_prologue): Do not emit the function's
28004 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
28005 * pa-pro.h: Deleted.
28006 * som.h: New file with SOM specific definitions.
28007 * elf.h: New file with ELF specific definitions.
28009 * elfos.h (const_section): Output a tab before assembler directives.
28010 (ctors_section, dtors_section): Likewise.
28011 (ASM_OUTPUT_SECTION_NAME): Likewise.
28013 * pa/pa1.h: Delete unused file.
28015 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
28017 * configure.in (hppa*-hp-hpux11*): New configuration.
28018 * configure: Rebuilt.
28019 * pa/pa-hpux11.h: New file.
28020 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
28023 * mips.md (leasi, leadi): New patterns.
28025 * expr.c (emit_block_move): Properly handle case where one of the
28026 block move arguments has a queued increment or decrement.
28027 (clear_storage): Similarly. Fix formatting goof.
28029 1999-06-28 "David O'Brien" <obrien@NUXI.com>
28031 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
28032 semicolon from the BSD VA_LIST replacement expression.
28034 * fixinc/inclhack.sh: regen
28035 * fixinc/fixincl.x: regen
28037 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
28038 now use the fixincl program.
28040 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
28042 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
28043 case. Also make the PIC register call_used.
28045 * m68k.h (FINALIZE_PIC): Delete.
28046 * m68k.c (finalize_pic): Delete.
28048 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
28050 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
28053 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
28055 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
28057 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
28059 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
28061 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
28063 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
28065 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
28067 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
28069 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
28071 * rs6000.c (output_toc): Always use hex values for floating-point
28072 constants. Store single-precision values in upper-half of TOC
28073 entry in 64-bit mode.
28074 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
28075 to final constraints.
28076 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
28077 (fctiwz): Improve accuracy of RTL for pattern.
28079 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
28081 * expr.c (expand_expr): Allow RTL_EXPR's through the
28082 MAX_INTEGER_COMPUTATION_MODE checks.
28084 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
28086 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
28087 such that MASK_SUPPORT_ARCH is not negative.
28089 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
28091 * loop.c (verify_dominator): Properly handle ADDR_VEC and
28092 ADDR_DIFF_VEC insns that appear inside loops.
28094 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
28095 Jeff Law <law@cygnus.com>
28097 * rs6000.md (movdf_hardfloat32): Revert previous patch.
28098 Handle LO_SUM the same as offsettable in cases 1 and 2.
28099 * rs6000.c (find_addr_reg): Revert previous patch.
28101 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
28103 * system.h (strstr): New external function declaration.
28104 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
28105 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
28106 * config.in, configure: Rebuilt.
28108 1999-06-24 Tom Tromey <tromey@cygnus.com>
28110 * gcc.c (main): Read user-specified specs files after computing
28111 additional startfile_prefixes.
28113 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
28115 Revert these two patches:
28117 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28118 * loop.c (strength_reduce): When doing biv->giv conversion, update
28119 reg note of NEXT->insn.
28121 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28122 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28124 (recombine_givs): Set ix field after sorting.
28126 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28128 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
28129 for the parts of an UNSPEC / UNSPEC_VOLATILE.
28131 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
28133 *fixinc/inclhack.def: Add fix development commentary
28134 (read_ret_type): reactivate and add selection clause
28135 (zzz_*): tweak output file name to match what is used in hackshell.tpl
28136 *fixinc/{fixincl.x|inclhack.sh}: regen
28138 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
28140 * expr.c (expand_expr): STRIP_NOPS before checking against
28141 MAX_INTEGER_COMPUTATION_MODE
28142 (check_max_integer_computation_mode): Likewise.
28144 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
28146 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
28148 1999-06-22 Jim Wilson <wilson@cygnus.com>
28150 * expr.c (store_expr): When target is a promoted subreg, return a
28151 promoted subreg as a result.
28153 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
28155 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
28157 (dwarf2out_define): Mark unused parameters appropriately.
28158 (gen_unspecified_parameters_die): Ditto.
28159 (gen_subprogram_die): Fix signed/unsigned warnings.
28160 (gen_variable_die): Ditto.
28162 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
28164 * fixinc/inclhack.def(end_else_label): combined else_label
28165 and endif_label and fixed the sed expression.
28166 *fixinc/{fixincl.x|inclhack.sh}: regen
28168 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
28170 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
28171 'x' when handling non-offsettable addresses
28173 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
28175 * final.c (shorten_branches): Don't try to split an insn that has
28178 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
28180 * config/mips/mips.c (symbolic_expression_p): New function.
28181 (mips_select_rtx_section): Put symbolic expressions in the
28182 data section, not the read-only data section.
28184 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
28186 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
28188 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
28190 * collect2.c (main): Log frame table count.
28191 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
28192 (scan_prog_file) [COFF]: Handle frame tables.
28194 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
28195 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
28196 * alpha/elf.h: Undef them again.
28197 * alpha/vms.h: Remove their definitions.
28199 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28201 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
28202 remove the clobber of r0 and change the REG_UNUSED note to
28205 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
28207 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
28208 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
28209 fits in HOST_WIDE_INT and one uses union to access a long constant
28212 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
28214 * sparc.c (sparc_override_options): Don't allow profiling for
28215 code models other than medlow.
28216 (sparc_function_profiler): New function from old FUNCTION_PROFILER
28217 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
28218 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
28219 (sparc_block_profiler): Likewise.
28220 (sparc_function_block_profiler_exit): Likewise.
28221 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
28222 (FUNCTION_BLOCK_PROFILER): Likewise.
28223 (BLOCK_PROFILER): Likewise.
28224 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
28225 (MCOUNT_FUNCTION): New.
28226 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
28227 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
28228 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
28229 (MCOUNT_FUNCTION): New.
28230 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
28231 (BLOCK_PROFILER): Delete.
28232 (MCOUNT_FUNCTION): New.
28234 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
28236 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
28238 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
28240 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28243 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28246 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28249 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28252 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
28254 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
28257 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
28259 * i386/djgpp.h (LIB_SPEC): New.
28260 (STARTFILE_SPEC): New.
28262 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
28264 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
28266 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
28269 * system.h (WSTOPSIG): New macro.
28271 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
28273 * c-pragma.c (push_alignment): Don't ignore alignments greater than
28275 (insert_pack_attributes): Take into account member natural
28278 * i386/winnt.c (exports_head): New static variable.
28279 (i386_pe_record_exported_symbol): New function.
28280 (i386_pe_asm_file_end): Use.
28281 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
28282 symbols to be emitted at end of assembly.
28283 (ASM_DECLARE_OBJECT_NAME): Likewise.
28284 (ASM_DECLARE_FUNCTION_NAME): Likewise.
28286 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
28289 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
28291 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
28294 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
28296 * haifa-sched.c (sched_analyze_1): Use free_list instead of
28297 zapping reg_last_uses directly.
28298 (sched_analyze_2, sched_analyze_insn): Likewise.
28299 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
28301 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
28303 * rs6000.md (movdf_hardfloat32): Use worst case insn length
28304 attributes for cases 1 and 2.
28306 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
28308 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
28311 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
28313 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
28315 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
28317 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
28318 PIC_OFFSET_TABLE_REGNUM for general alloaction.
28319 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
28320 must be stacked if it is used for PIC accesses.
28321 * arm.c (use_return_insn): Handle PIC register specially.
28322 (output_return_instruction): Likewise.
28323 (output_func_{prologue,epilogue}): Likewise.
28324 (output_expand_prologue): Likewise.
28326 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
28327 (*strsi_predec): Renamed from *strqi_predec.
28328 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
28329 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
28331 * arm.c (arm_override_options): Remove warning about PIC code
28332 not being supported.
28334 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
28336 * rs6000.c (find_addr_reg): New function.
28337 * rs6000.h (find_addr_reg): Declare.
28338 (offsettable_addr_operand): Delete.
28339 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
28340 from and stores to GPRs.
28342 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
28344 * alpha.c (alpha_expand_block_move): Use get_insns rather than
28345 gen_sequence as argument to emit_no_conflict_block.
28347 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28349 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
28350 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
28351 *fixinc/fixincl.x: regen
28352 *fixinc/inclhack.sh: regen
28354 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
28356 * added support for -mpcrel (PC relative addressing for m68k)
28357 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
28358 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
28359 * m68k.c (print_operand_address): Handle 32-bit PIC case.
28360 (comments for general_src_operand): Add some explanation
28361 about EXTRA_CONSTRAINTS.
28362 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
28363 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
28364 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
28365 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
28366 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
28367 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
28368 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
28369 if not already set.
28370 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
28371 * m68k.h (TARGET_PCREL): New target flag.
28372 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
28373 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
28374 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
28375 contains a SYMBOL_REF. Relax this constraint during reload, since
28376 we want to use the predicates, not reload's built-in concept of a
28377 valid memory address, to control what insns need reloading.
28378 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
28379 operands (essentially 'g', 'm', and 's' under normal circumstances).
28380 * m68k.c (print_operand): Cause printing of pc-relative addresses
28381 to include pc register.
28382 (print_operand_address): Ditto.
28383 (general_src_operand): Accept operands that are not only
28384 general_operands, but are also valid when used as a pc-relative
28386 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
28387 (memory_src_operand): Similar, for memory_operands.
28388 (pcrel_address): New predicate to accept the special case of a
28389 pc-relative address.
28390 * m68k.md (many patterns): Rewrite common SImode, HImode, and
28391 QImode insns to accept *_src_operand instead of *_operand where
28392 pc-relative operands can fit. For example, a pc-relative operand
28393 can be used as a memory source operand for addsi3, but not as a
28394 memory destination.
28395 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
28397 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
28399 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
28400 .thumb_set pseudo op to mark aliases of thumb functions.
28402 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
28404 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
28405 preference to ASM_OUTPUT_DEF, if it is defined.
28407 * tm.texi: Document new, optional target macro
28408 ASM_OUTPUT_DEF_FROM_DECLS.
28410 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28412 * fixincludes: ISCNTL patch
28413 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
28414 (dgux_int_varargs): new for DG/UX
28415 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
28417 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
28419 * invoke.texi (ia32 options): Fix typo.
28421 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28423 * loop.c (strength_reduce): When doing biv->giv conversion, update
28424 reg note of NEXT->insn.
28426 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
28428 * loop.c (move_movables): Note issues with replacing REGs with
28430 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
28432 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
28434 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
28436 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
28437 the reference to `mcount' was not correct for the ELF on FreeBSD.
28439 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28441 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28444 (recombine_givs): Set ix field after sorting.
28446 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
28448 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
28449 to safe to extract a subword out of a REG.
28451 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28453 * sh.md (mulsi3): Don't add a no-op move at the end.
28455 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28457 * cse.c (cse_insn): Don't put hard register source into tables for
28458 the last insn of a libcall.
28460 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28462 * loop.c (strength_reduce): Insert sets of derived givs at every
28463 biv increment, even if it's the only one.
28465 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
28467 * dwarfout.c (add_incomplete_type): New fn.
28468 (output_type): Call it.
28469 (retry_incomplete_types): New fn.
28470 (dwarfout_finish): Call it.
28472 From Eric Raskin <ehr@listworks.com>:
28473 (output_type): Output types for bases.
28475 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
28477 * mips.c (mips_output_conditional_branch): Add `break'
28478 between `default' label and `close braces'.
28480 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
28482 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
28483 specifications and make it realistic.
28484 (LIB_SPEC): Likewise.
28486 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
28488 * config/mips/mips.c (mips_secondary_reload_class): Check for
28489 (PLUS (SP) (REG)) and return appropriate register class.
28490 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
28491 Handle (PLUS (SP) (REG)).
28492 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
28493 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
28494 of emit_insn for tablejump.
28496 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
28498 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
28499 asm_fprintf format string by itself.
28500 (output_function_profiler): Likewise.
28502 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
28504 * combine.c (simplify_logical, case AND): Only call
28505 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
28506 or the constant is positive.
28508 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
28510 * configure.in: Fix typo in rs6000-ibm-aix4 case.
28511 * configure: Regenerate.
28513 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
28515 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
28516 require a sub-version #.
28517 * configure: Rebuilt.
28519 1999-06-14 Robert Lipe (robertlipe@usa.net)
28521 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
28523 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
28525 * c-typeck.c (process_init_element): Detect excess elements in
28526 char array initializer.
28528 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
28530 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
28532 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28534 * invoke.texi (Option Summary): Add -fpermissive flag.
28536 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
28538 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
28539 that require PIC code sequences.
28541 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
28543 * configure.in: Add new target: thumb-elf.
28544 * configure: Regenerate.
28545 * config/arm/t-thumb-elf: New file: Makefile fragment for
28547 * config/arm/telf.h: New file: Header file for thumb-elf
28550 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
28552 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
28553 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
28554 initializers is some circumstances.
28556 * fixinc/inclhack.def (endif_label): Add additional selector for
28557 more bogus stuff after #endif statements.
28558 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
28560 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
28562 * i386/cygwin.h (SET_ASM_OP): Define.
28564 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
28566 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
28568 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28570 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
28573 * sh.md (ic_invalidate_line_i): Remove second alternative.
28575 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28577 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
28578 test for the presence of valid prototypes. Delete bypass expr.
28579 (ioctl_fix_ctrl): Correct the selection expression.
28580 (no_double_slash): Correct quoting rules
28581 *fixinc/fixincl.x: regen
28582 *fixinc/inclhack.sh: regen
28584 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
28586 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
28588 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28590 * rs6000.md (movsi_got_internal_mem): Delete.
28591 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
28592 (GOT_TOC_REGNUM): Delete.
28593 (PIC_OFFSET_TABLE_REGNUM): Define.
28594 (FINALIZE_PIC): Disable.
28595 * rs6000.c (rs6000_got_register): New code for fixed pic register.
28596 (rs6000_replace_regno): Delete.
28597 (rs6000_finalize_pic): Likewise.
28598 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
28600 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28602 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
28603 is a note; use <= for the compare; advance P while it is
28606 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
28608 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
28609 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
28611 * varasm.c (remove_from_pending_weak_list): Verify t->name
28612 is non-NULL before passing it to strcmp.
28614 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28616 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
28617 the typed arguments are not part of a comment
28618 (ioctl_fix_ctrl): Added a purpose comment
28619 *fixinc/fixincl.x: regenerate
28620 *fixinc/inclhack.sh: regenerate
28622 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28624 * invoke.texi: Add C4x invocation docs.
28626 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28628 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
28630 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
28632 (c4x_legitimize_reload_address): New function.
28633 * config/c4x/c4x.md: Update docs.
28635 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
28637 * fixincludes: Avoid removing '.'.
28638 * fixinc/fixinc.svr4: Likewise.
28639 * fixinc/fixinc.winnt: Likewise.
28640 * fixinc/inclhack.tpl: Likewise.
28641 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
28643 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28645 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
28647 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
28649 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
28651 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
28654 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
28656 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
28657 * configure: Regenerate.
28659 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
28661 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
28664 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
28666 * fixinc/inclhack.def (avoid_bool): Also catch
28667 "typedef [unsigned] int bool".
28668 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28670 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
28671 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
28672 * configure: Rebuilt.
28674 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
28676 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
28677 such that we can override its definitions if necessary.
28678 (CPP_SPEC): New define. Support processor specific predefines via
28680 (CC1_SPEC): New define. Support processor specific compiler
28681 options via %(cc1_cpu).
28682 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
28685 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28687 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
28688 between sed's -e flag, and the open-quote following it.
28689 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28691 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
28692 Jeffrey A Law (law@cygnus.com)
28694 * varasm.c (assemble_start_function): Remove the function
28695 from the pending weak decls list when we define a function.
28696 (assemble_variable): Similarly for variables.
28697 (weak_finish): Ignore items on the list with a NULL name.
28698 (remove_from_ending_weak_list); New function to "remove" an item
28699 from the pending weak declarations list.
28701 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28703 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
28705 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
28707 * c-lex.c (GETC): Redefine to call getch.
28708 (UNGETC): Redefine to call put_back.
28709 (putback_buffer): New structure type.
28710 (putback): New static structure.
28711 (getch): New function.
28712 (put_back): New function.
28713 (yylex): Replace unused bytes from bad multibyte character.
28715 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
28717 * cpplib.c (do_define): Cast `alloca' return value.
28718 (do_include, do_undef, do_pragma): Likewise.
28719 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
28721 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
28722 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
28724 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
28726 * sparc.md (abstf2): This should be an expand.
28727 (split after abstf2_notv9): Fix mode.
28728 (abstf2_hq_v9): New pattern.
28729 (abstf2_v9): Only use when no hard quad.
28730 (absdf2_v9): Fix if target is not the same as source.
28731 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
28732 Add correct output constraints.
28734 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
28736 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
28737 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
28739 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
28741 * mips.h (mips_output_conditional_branch): New function.
28742 (mips_adjust_insn_length): Likewise.
28743 (ASSEMBLER_SCRATCH_REGNUM): New macro.
28744 (ADJUST_INSN_LENGTH): Likewise.
28745 * mips.c (print_operand): Add `F' and `W' for floating-point
28746 comparison opcodes.
28747 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
28749 (mips_adjust_insn_length): New function.
28750 (mips_output_conditional_branch): New function.
28751 * mips.md (length): Adjust attribute definition to handle
28752 conditional branches. Change lengths to bytes, rather than
28753 instructions throughout. Remove length attribute from
28754 instructions whose length is four bytes, and rely on the default
28756 (dslot): Fix typo in comment.
28757 Reword conditional branch patterns to use
28758 mips_output_conditional_branch.
28760 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28762 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
28763 (LIB_SPEC): Likewise.
28764 Link with -lprof1_r for -g/-pg.
28766 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28768 * loop.c (check_dbra_loop): Fix change of Jan 19.
28770 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
28772 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
28773 (STARTFILE_SPEC): Define, override the svr4.h version.
28774 (ENDFILE_SPEC): Likewise.
28776 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
28778 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28779 * fixinc/fixincl.x: Regenerated.
28780 * fixinc/inclhack.sh: Regenerated.
28782 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28784 * sh.c (barrier_align): Don't return early for normal branch/barrier
28785 when optimizing for SH2.
28787 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
28789 * i386/udk.h (LINK_SPEC): Correct linker search path for
28792 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28794 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28795 (braf_label_ref_operand): Delete.
28796 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28797 * sh.md (casesi_jump_2): Operand1 is now the inside of a
28798 label_ref, and has no predicate.
28799 The patten has a predicate to guard against invalid substitutions.
28800 (dummy_jump): Delete.
28801 (casesi): Update use of casesi_jump_2.
28803 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28805 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
28806 *fixinc/fixincl.x: regenerate
28807 *fixinc/inclhack.sh: regenerate
28809 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
28811 * dwarf2out.c (add_incomplete_type): New fn.
28812 (gen_struct_or_union_type_die): Call it.
28813 (retry_incomplete_types): New fn.
28814 (dwarf2out_finish): Call it.
28816 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
28818 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
28819 current block starts with a CODE_LABEL and ends with a CALL and
28820 we can not find all the argument setup instructions for the CALL.
28822 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
28824 Revert this change:
28825 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28826 something is a candidate for optimize_bit_field_compare.
28828 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28830 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
28832 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
28834 * alpha.c (override_options): Thinko in last patch.
28836 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
28837 (LIB_SPEC): Recognize -pthread.
28839 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
28841 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
28842 definition in config/arm/coff.h
28843 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
28845 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28847 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
28848 fixes that need "file=xxx\n" prepended before invocation
28849 (start_fixer - new): starting the fixer process is complex enough
28850 to warrent its own routine. It prepends the "file=xxx\n" stuff.
28851 (process): uses the new routine; omit usage of putenv()
28852 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
28853 * fixinc/fixincl.x: regenerate
28855 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
28857 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
28858 and version #s (1.1 -> 2.96) as needed.
28859 * README.g77: Kill way out of date file in the toplevel directory.
28861 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
28863 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
28864 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
28865 * configure: Rebuilt.
28866 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
28867 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
28868 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
28869 (SWITCH_TAKES_ARG): Likewise.
28870 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
28871 * config/t-freebsd: Moved from config/i386/ so it can used for all
28874 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
28876 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
28878 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
28880 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
28881 * configure: Rebuilt.
28883 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
28885 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
28886 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
28887 * rs6000/rs6000.c (rs6000_file_start): Use putc.
28888 (rs6000_output_load_toc_table): Same.
28889 (output_prolog, output_mi_thunk): Same.
28890 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
28891 (ASM_GLOBALIZE_LABEL): Use putc.
28893 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
28895 * alpha.md (reload_*_help): New patterns and splitters.
28896 (reload_*): Use them.
28897 (mov[qh]i): Likewise.
28899 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
28901 * cccp.c (handle_directive): Handle backslash-newlines in quoted
28904 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
28906 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
28908 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
28910 * flow.c (mark_regs_live_at_end, insn_dead_p,
28911 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
28912 and HARD_FRAME_POINTER_REGNUM special treatment if reload
28913 hasn't run or the frame pointer is needed.
28914 * haifa-sched.c (attach_deaths): Likewise.
28915 * sched.c (attach_deaths): Likewise.
28917 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
28919 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
28920 calculate_can_reach_end returns nonzero.
28922 * configure.in (native gas tests): Search for an assembler in the
28923 same manner that the installed compiler will.
28924 * configure: Rebuilt.
28925 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
28927 * alias.c (find_base_term): Improve handling of addresses
28928 constructed from binary operations.
28930 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
28932 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
28934 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
28936 * function.h (cleanup_label, frame_offset): Declare.
28937 (tail_recursion_label, tail_recursion_reentry): Likewise.
28938 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28939 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
28940 (tail_recursion_label, tail_recursion_reentry): Likewise.
28941 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28943 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
28945 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
28947 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
28948 (MAX_OFILE_ALIGNMENT): Define.
28950 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
28952 * fixincl.c: Replace local include scheme with #includes of
28953 gansidecl.h and system.h.
28954 * procopen.c: Likewise.
28955 * server.c: Likewise.
28957 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
28959 * i386/t-dgux (EXTRA_PARTS): Add crti.o
28960 (crti.o): Add build rule and dependencies.
28961 * fixinc/fixinc.dgux: Use modified _int_varargs.h
28963 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28965 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
28966 (LIB_LINUX_SPEC): Likewise.
28967 (LIB_LINUX_SPEC): Add support for -pthread
28968 (CPP_OS_LINUX_SPEC): Likewise.
28969 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
28972 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
28974 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
28976 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
28977 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
28978 for IEEE math and CC_FCOMI.
28979 (put_jump_code): No IEEE if CC_FCOMI is set.
28981 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28983 * fold-const.c (fold_truthop): Make the field reference unsigned
28984 when converting a single bit compare.
28986 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28988 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
28990 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
28992 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
28993 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
28996 * reload.c (push_reload): Do not call remove_address_replacements
28997 when presented with identical optional reloads.
28999 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
29001 * alpha.h (MASK_FIX, TARGET_FIX): New.
29002 (MASK_*): Reorganize constants.
29003 (CPP_AM_FIX_SPEC): New.
29004 (TARGET_SWITCHES): Add FIX.
29005 (EXTRA_SPECS): Likewise.
29006 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
29007 (SECONDARY_MEMORY_NEEDED): Likewise.
29008 (REGISTER_MOVE_COST): Likewise.
29009 * alpha.c (override_options): Add FIX support. Always use
29010 ALPHA_TP_PROG for ev6.
29011 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
29012 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
29013 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
29015 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
29017 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
29018 something is a candidate for optimize_bit_field_compare.
29020 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
29022 * gcc.texi (Passes): Document branch-shortening.
29023 * invoke.texi (Debugging Options): Document the fact that `-dp'
29024 outputs length information for instructions.
29026 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
29028 * flow.c: Revert previous delta.
29030 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
29032 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
29033 FRAME_POINTER_REGNUM.
29034 (mark_set_1): Ditto.
29035 (mark_used_regs): Ditto.
29037 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
29039 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
29040 (GOT_PCREL): New macro. Define to 1 if not already defined.
29041 * arm/elf.h (GOT_PCREL): Define to 0.
29042 * arm.c (arm_finalize_pic): Take into account the setting of
29045 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
29047 * output.h (STRIP_NAME_ENCODING): Provide default definition.
29048 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
29050 * flow.c (mark_set_1): Do not record BLKmode stores as dead
29051 store elimination candidates.
29053 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
29055 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
29058 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
29060 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
29061 Add use of x-aix41-gld.
29063 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
29065 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
29066 (ASM_OUTPUT_DESTRUCTOR): Define.
29068 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
29070 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
29071 last CODE_LABEL in a loop if we have previously passed a jump
29072 to the top of the loop.
29074 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
29076 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
29077 applying Philip's patch.
29079 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
29081 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
29084 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
29086 * loop.c (strength_reduce): Grow reg_single_usage as needed.
29088 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
29090 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
29091 Also remove a useless comment.
29093 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
29095 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
29097 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
29099 * collect2.c (main): Only generate import or export file and add
29100 to link arguments if non-empty. Use xmalloc not alloca.
29101 (write_{export,import}_file): Delete.
29102 (write_aix_file): New function.
29103 (locatelib): Use xmalloc not malloc.
29104 (GCC_OK_SYMBOL): Do not check type if aix64.
29106 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
29108 Based on patch by Scott Bambrough and Pat Beirne:
29109 * config/arm/arm.c (making_const_table): New variable.
29110 * config/arm/arm.h (making_const_table): Declare.
29111 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
29113 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
29114 Keep track of when we are building the constant table.
29116 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
29118 * config/arm/arm.c (arm_override_options): Fix erroneous warning
29121 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
29123 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
29126 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
29128 * tm.texi (FUNCTION_ARG): Correct description of a stack element
29131 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
29133 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
29135 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
29137 * rs6000.c (output_mi_thunk): Enable full support again.
29139 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29141 * sh.h (BRANCH_COST): Define.
29143 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
29145 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
29147 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
29149 * function.c (assign_stack_local): Align stack slot propertly.
29150 (assign_outer_stack_local): Likewise.
29152 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
29154 * expr.h (lang_expand_constant): Declare.
29155 * toplev.c (lang_expand_constant): Define it.
29156 * varasm.c (output_constant): Use it.
29158 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29160 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
29161 Change function definitions to K&R style.
29163 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29165 * fixinc/fixincl.c: We must not ignore SIGCLD now.
29167 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
29169 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
29170 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
29171 (several places): omit static initialization
29172 (process): use single fd, since only the read fd is used
29173 * fixinc/gnu-regex.c: define 'const' away, if not supported
29174 * fixinc/procopen.c(several places): omit static initialization
29175 * fixinc/server.c: define 'volitile' away, if not supported
29177 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
29179 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
29180 asm_fprintf and %L to generate the label name.
29181 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
29182 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
29184 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
29186 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
29187 insn for a conditional jump can not be found.
29189 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
29191 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
29192 on variables in specific sections other than .sbss and .sdata.
29194 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
29196 * stmt.c (expand_return): Call start_cleanup_deferral and
29197 end_cleanup_deferral around conditional code.
29199 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29201 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
29202 filename lists. Utilizes new "krstr" AutoGen function.
29203 * fixinc/fixincl.x: Rebuilt.
29205 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
29207 * i386.c (output_float_compare): Avoid GNU-C extensions.
29209 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
29211 * version.c: Bump to distinguish mainline tree from the
29214 See ChangeLog.1 for earlier changes.