1 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3 * Makefile (gccbug): New target.
5 * gcc.texi (Bugs): Link subnodes.
7 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
8 Document severities, priorities, and classes in bug form.
10 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
12 * cpplex.c (trigraph_map, speccase): Combine into single
14 (NORMAL, NONTRI): New macros.
15 (_cpp_read_and_prescan): Change to use unified table. Use
16 is_hspace to test for whitespace.
18 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
19 definition that doesn't provoke the "empty body in an
20 if-statement" warning.
22 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
24 * builtins.c (expand_builtin_strlen): Force the source to
27 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
31 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
33 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
34 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
35 (ECF_IS_CONST): Rename to ECF_CONST.
36 (special_function_p): Make static, change interface.
37 (flags_from_decl_or_type, try_to_integrate): Break out from ...
38 (expand_call) ... here; convert number of variables to flags.
39 (emit_library_call_vlue_1): Likewise.
40 (setjmp_call_p): New function.
41 (initialize_argument_information): Accepts flags as argument;
43 (precompute_arguments): Likewise.
44 * tree.h (special_function_p): Remove.
45 (setjmp_call_p): Add prototype.
47 2000-04-04 Jakub Jelinek <jakub@redhat.com>
49 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
50 so that addresses are offsetable by up to 16 bytes.
51 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
52 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
55 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
56 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
57 (movsf): Don't force any constant to memory if target is integer
59 Move fp_zero_operand check below the const0_rtx check.
60 (movtf): Likewise. Also allow fp_zero_operand for stores into
62 (movdf): Likewise. Also allow fp_zero_operand for stores into
63 memory and into integer hard registers.
64 (clear_df, clear_dfp, movdf_const_intreg_sp32,
65 movdf_const_intreg_sp64): Remove.
66 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
68 (movdf_no_e_insn_v9_sp32): New pattern.
69 (movdf_insn_v9only): Remove.
70 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
71 (movdf_insn_sp64): Remove.
72 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
73 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
74 (following splits): Rewrite conditions. Add two new splits
75 for storing 0.0 into memory and registers.
76 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
77 (movtf_insn_sp32): Redo constraints and conditions.
78 (movtf_insn_vis_sp32): New pattern.
79 (movtf_no_e_insn_sp32): Redo constraints and conditions.
80 (movtf_insn_hq_sp64): Likewise.
81 (movtf_insn_hq_vis_sp64): New pattern.
82 (movtf_insn_sp64): Redo constraints and conditions.
83 (movtf_insn_vis_sp64): New pattern.
84 (movtf_no_e_insn_sp64): Redo constraints and conditions.
85 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
87 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
88 -mvis or -m64 to take down the number of various reload patterns.
90 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
92 * pa/pa-64.h: New file.
93 * pa/pa64-regs.h: New file.
94 * pa/pa64-start.h: New file.
95 * pa/t-pa64: New file.
96 * pa/xm-pa64hpux.h: New file.
98 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
100 * sparc.c (output_restore_regs): Prototype.
101 (sparc_emit_float_lib_cmp): Constification.
103 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
105 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
108 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
109 (get_value_hash, hash_rtx): Likewise.
111 * ssa.c (compute_conservative_reg_partition): Prototype.
113 * tree.c (mark_hash_entry): Prototype.
115 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
117 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
118 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
119 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
121 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
122 * objc/lang-specs.h: Likewise.
124 2000-04-03 Neil Booth <NeilB@earthling.net>
126 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
127 and SYNTAX_ERROR2. Replace `' in messages with ''.
128 (op_to_str): Make re-entrant.
129 (_cpp_parse_expr): Implement new error macros. Use | rather
130 than || to logically or 2 boolean integers. Simply expression
131 checking we have a left operand iff needed.
133 2000-04-03 Nick Clifton <nickc@cygnus.com>
135 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
137 2000-04-03 Philip Blundell <philb@gnu.org>
139 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
141 2000-04-03 Felix Lee <flee@cygnus.com>
143 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
146 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
148 * Makefile.in (stmp-int-hdrs): Make include subdir here...
149 (stmp-fixproto): ...rather than here.
151 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
153 * pa.c (print_operand): Compute 'base' only inside the code paths
156 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
158 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
161 2000-04-03 Philipp Thomas <pthomas@suse.de>
163 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
165 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
167 * Makefile.in (alias.o): Depend on $(TREE_H).
169 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
171 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
173 * cpplib.c (_cpp_handle_directive): Improve warnings for
174 traditional C and indented directives.
176 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
177 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
178 fixinc/inclhack.def: Indent the # of #include_next one space.
179 * cp/rtti.c: Un-indent #if and #endif.
181 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
182 syntax error, but an error has already been printed.
183 * cpplex.c (_cpp_parse_assertion): Give a more specific error
184 message when called with nothing remaining on the line.
185 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
186 OTHER token, not an ASSERTION.
187 * cpplib.c (do_assert): When we create a 'base' node, clear
190 2000-04-02 Neil Booth <NeilB@earthling.net>
192 * cppexp.c: New typedef op_t. struct operation and struct
193 token updated to use it.
194 (op_to_str): New function.
195 (_cpp_parse_expr): Error messages modified to use op_to_str.
197 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
199 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
200 before checking MUST_PASS_IN_STACK.
202 2000-04-02 Neil Booth <NeilB@earthling.net>
204 * cppexp.c: New FINISHED dummy token. Combine operator initial
205 flags and initial priority into a single constant. New
206 EQUALITY macro. New operator flag SHORT_CIRCUIT.
207 (_parse_cpp_expr): Implement new constants. Take left operand
208 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
209 parse indicated by reducing FINISHED token. Remove new lines
210 from cpp_error messages.
212 2000-04-01 Mark Mitchell <mark@codesourcery.com>
214 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
217 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
219 * cpplib.c: Include symcat.h. Add 'origin' field to struct
220 directive. Add origin values to DIRECTIVE_TABLE. Generate
221 the strings and function names on the fly. Take the #sccs
222 entry out of the table if SCCS_DIRECTIVE is not defined.
223 (_cpp_handle_directive): Decide if the # was at the beginning
224 of the line here. Issue -pedantic warnings for extended
225 directives here. Warn about K+R directives with the #
226 indented, and C89/extended directives with the # not indented,
228 (do_import, do_include_next, do_warning, do_ident, do_sccs,
229 do_assert, do_unassert): Don't issue pedantic warning here.
231 * cpphash.h: Add CPP_WTRADITIONAL macro.
232 * cpplib.h (struct cpp_options): Rename warn_stringify to
233 warn_traditional; update comments.
234 * cppinit.c (handle_option): Set warn_traditional not
236 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
237 CPP_WTRADITIONAL (pfile).
238 * cpplex.c (_cpp_lex_token): Don't decide if directives should
239 be ignored in -traditional mode here.
241 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
242 to initialize speccase[] and trigraph_map[]. Delete all
243 references to pfile->input_speccase. Always treat '?' as a
244 special character. Remove table-initialization code from
245 _cpp_init_input_buffer.
247 * cpplib.h (struct cpp_reader): Remove input_speccase field.
248 * cppinit.c (cpp_cleanup): Don't free input_speccase.
250 2000-04-01 Richard Henderson <rth@cygnus.com>
252 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
253 (mostlyclean): Likewise.
255 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
256 (struct dump_file_info, enum dump_file_index, dump_file): New.
257 (open_dump_file): Take a dump_file_index not a suffix, and a decl
258 not a string. Clean out file if we havn't yet done so. Do nothing
259 if the dump isn't enabled.
260 (close_dump_file): Do nothing if the dump isn't open. Dump
261 graph data if requested.
262 (dump_rtl, clean_dump_file): Remove.
263 (compile_file): Don't clean the dump files. Only finalize .bp dump
264 if flag_test_coverage or flag_branch_probabilities. Only finalize
265 .combine dump if optimizing. Iterate over dump_file to finalize the
267 (rest_of_compilation): Update for open_dump_file/close_dump_file.
268 Convert all uses of dump_rtl.
269 (decode_d_option): Iterate over dump_file to implement 'a' and to
270 locate pass-specific dumps.
272 2000-04-01 Neil Booth <NeilB@earthling.net>
274 * cppexp.c: Redefine priority constants.
275 (_cpp_parse_expr): Replace left and right priority scheme with
276 single priority logic. Move LOGICAL to same place as COMPARE.
277 Remove bogus check for multiple unary +/- operators.
279 2000-04-01 Neil Booth <NeilB@earthling.net>
281 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
282 within the switch statement. Binary operations break out of
283 the switch naturally. '(' tokens handled by forcing
284 immediate shift. ')' handled by forcing immediate reduce to
285 the previous '('. New error messages.
287 2000-03-31 Geoff Keating <geoffk@cygnus.com>
289 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
290 part', it's already in use. Use %K instead. Add a return at the
291 end of what is now %K.
292 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
294 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
296 * builtins.c (expand_builtin_apply): Pass proper parameters to
297 allocate_dynamic_stack_space.
298 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
299 update stack_pointer_delta; do not update arg_size_so_far.
300 (compute_argument_block_size): Use stack_delta instead of
301 stack_pointer_pending and arg_size_so_far.
302 (expand_call): Add sanity checking for stack_pointer_delta;
303 save and restore stack_pointer_delta for SIB, use
304 stack_pointer_delta for alignment; do not update arg_space_so_far.
305 (emit_library_call_value): Use stack_pointer_delta for alignment.
306 (store_one_arg): Do not update arg_space_so_far.
307 * explow.c (adjust_stack, anti_adjust_stack): Update
309 (allocate_dynamic_stack_space): Add sanity checking for
311 * expr.c (init_expr, clear_pending_stack_adjust): Clear
313 (emit_push_insn): Update stack_pointer_delta.
314 * function.h (struct expr_status): Add x_stack_pointer_delta;
315 remove x_arg_space_so_far.
316 (arg_space_so_far): Remove.
317 (stack_pointer_delta): New macro.
319 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
321 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
322 Reorder struct cpp_options and struct cpp_reader for better
323 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
324 takes two args. Change all 'char' flags to 'unsigned char'.
325 Move show_column flag into struct cpp_options. Don't
326 prototype cpp_options_init.
327 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
328 cppinit.c, cpplex.c, cpplib.c:
329 Replace CPP_OPTIONS (pfile)->whatever with
330 CPP_OPTION (pfile, whatever), and likewise for
331 opts = CPP_OPTIONS (pfile); ... opts->whatever;
333 * cppinit.c (merge_include_chains): Take a cpp_reader *.
334 Extract CPP_OPTION (pfile, pending) and work with that
336 (cpp_options_init): Delete.
337 (cpp_reader_init): Turn on on-by-default options here.
338 Allocate the pending structure here.
339 (cl_options, enum opt_code): Define these from the same table,
340 kept in a large macro. Add -fshow-column and -fno-show-column
343 * cpperror.c (v_message): If show_column is off, don't print
346 * cppmain.c: Update for new interface.
347 * fix-header.c: Likewise.
349 2000-03-30 Geoff Keating <geoffk@cygnus.com>
351 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
353 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
354 are passed to any invocation of AR_FOR_TARGET.
355 (AR_CREATE_FOR_TARGET): New macro.
356 (AR_EXTRACT_FOR_TARGET): New macro.
357 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
358 AR_EXTRACT_FOR_TARGET.
359 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
360 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
361 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
362 AR_EXTRACT_FOR_TARGET to sub-makes.
364 2000-03-31 Neil Booth <NeilB@earthling.net>
366 * cppexp.c: Delete SKIP_OPERAND. Correct priority
368 (_cpp_parse_expr): Check for multiple unary +/- operators.
369 Correct priorities of ':' and '?'. Treat ')' as having a
370 value. Ensure conditional expression is not void.
372 2000-03-31 Mark Mitchell <mark@codesourcery.com>
374 * alias.c (canon_rtx): Make it global.
375 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
377 * cse.c (struct table_elt): Add canon_exp.
379 (invalidate): Canonicalize expressions only once.
380 * rtl.h (canon_rtx): Declare.
382 2000-03-30 Mark Mitchell <mark@codesourcery.com>
384 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
385 * alias.c (reg_known_value): Add comments.
386 (init_alias_analysis): Likewise.
387 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
389 (cse_basic_block): Fix typo in comment.
390 * emit-rtl.c: Include hashtab.h.
391 (const_int_htab): New variable.
392 (const_int_htab_hash): New function.
393 (const_int_htab_eq): Likewise.
394 (rtx_htab_mark_1): Likewise.
395 (rtx_htab_mark): Likewise.
396 (gen_rtx_CONST_INT): Cache all CONST_INTs.
397 (unshare_all_rtx): Fix formatting.
398 (init_emit_once): Initialize const_int_htab.
399 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
401 * rtl.texi: Document the fact that all CONST_INTs with the same
404 2000-03-30 Richard Henderson <rth@cygnus.com>
406 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
408 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
410 * configure.in: Comment out --enable-c-cpplib stanza.
411 * configure: Regenerate.
413 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
415 * expr.c (store_constructor): Properly compute displacement and
416 alignment when offset is variable.
418 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
419 cases of alignment in bytes.
421 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
423 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
424 since it is used to generate c-parse.y.
425 * objc-parse.c, objc-parse.y: Regenerated.
427 * function.c (expand_function_end): Pass alignment argument to
428 emit_block_move in bits, not bytes.
430 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
432 * expr.c (move_by_pieces_ninsns): Fix one more missing align
435 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
437 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
438 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
439 * function.c (assign_parms): Likewise.
440 * integrate.c (expand_inline_function): Likewise.
441 * stmt.c (expand_decl): Likewise.
442 (copy_rtx_and_substitute): Likewise.
443 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
444 (clear_by_pieces): Fix error in last change.
445 * emit-rtl.c (init_emit): Set known registers alignment in bits.
446 * function.h (regno_pointer_align): Now unsigned.
447 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
449 * config/i386/i386.c (aligned_operand): Likewise.
450 * config/sparc/sparc.c (mem_min_alignment): Likewise.
451 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
452 (unaligned_memory_operand): Likewise.
453 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
454 Also make alignments and sizes unsigned and some whitespace cleanup.
455 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
457 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
458 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
459 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
460 (expand_builtin_memset): Likewise, but to clear_storage.
461 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
462 (restore_fixed_argument_area): Likewise.
463 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
464 (load_register_parameters): Likewise, to emit_group_load.
465 (expand_call): Likewise, to emit_group_store and emit_block_move.
466 (emit_library_call_value_1): Likewise, to emit_block_move.
467 (store_one_arg): Likewise, and to emit_push_insn.
468 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
469 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
470 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
471 (emit_block_move, emit_group_load, emit_group_store): Likewise.
472 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
473 (expand_assigment, store_expr, store_constructor_field): Likewise.
474 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
475 (store_constructor, store_field, get_inner_reference): Likewise.
476 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
477 (expand_expr, case COMPONENT_REF): Likewise.
478 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
479 and positions; reindent code.
480 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
481 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
482 (assign_parms): Likewise to emit_group_store.
483 * optabs.c (prepare_cmp_insn): Alignment is in bits.
484 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
485 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
486 (expand_return): Likewise to {extract,store}_bit_field.
487 * stor-layout.c (get_mode_alignment): Minor cleanup.
488 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
489 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
491 2000-03-29 Nick Clifton <nickc@cygnus.com>
493 * config/arm/arm.h: Undo effects of previous delta:
494 (ASM_SPEC): Do not define.
495 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
497 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
500 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
502 * cppinit.c (cpp_start_read): Call initialize_dependency_output
503 only after reading in the primary source file.
505 2000-03-29 Geoff Keating <geoffk@cygnus.com>
507 * c-common.c (c_common_nodes_and_builtins): The first parameter to
508 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
509 or a reference to a va_list.
510 * builtins.c (stabilize_va_list): Simplify now we don't have to
511 work around C array address decay.
512 * c-typeck.c (convert_for_assignment): Handle assignment to
513 a reference parameter by taking the address of the RHS.
514 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
516 (__va_copy): Likewise.
517 * ginclude/varargs.h (va_start): Likewise.
518 (__va_copy): Likewise.
520 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
522 * i386/djgpp.h: Remove extraneous "+".
524 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
526 * calls.c (expand_call): Fix typo in last change.
528 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
530 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
533 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
535 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
536 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
537 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
538 * tree.c (bit_position, byte_position): Likewise.
539 * tree.h: Declare new functions.
541 2000-03-29 Nick Clifton <nickc@cygnus.com>
543 * config/arm/arm.c: Minor formatting changes/
544 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
546 (ASM_SPEC): Define if not already defined.
548 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
550 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
553 2000-03-29 Jakub Jelinek <jakub@redhat.com>
555 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
556 value, don't output it as unsigned.
558 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
560 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
562 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
564 * c-common.c (c_common_nodes_and_builtins): Don't special case
565 cplus_mode when declaring builtin bzero/bcmp, always avoid
568 2000-03-29 Bruce Korb <bkorb@gnu.org>
570 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
573 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
575 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
576 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
577 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
578 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
579 (save_fixed_argument_area, restore_fixed_argument_area):
580 conditionize by #ifdef REG_PARM_STACK_SPACE only.
581 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
582 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
583 (precompute_register_parameters): Avoid #ifdefs on
584 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
585 (stire_one_args): Likewise.
586 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
587 (emit_library_call_value_1): Likewise.
588 (compute_argument_block_size): Align to STACK_BOUNDARY only for
589 ACCUMULATE_OUTGOING_ARGS.
590 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
592 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
593 (use_crosses_set_p): Likewise.
594 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
595 #define ACCUMULATE_OUTGOING_ARGS 1.
596 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
598 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
600 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
601 (TARGET_SWITCHES): Add push-args, no-push-args,
602 accumulate-outgoing-args and no-accumulate-outgoing-args.
603 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
604 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
605 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
607 (emit_push_insn): Likewise.
608 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
609 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
610 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
611 (STACK_DYNAMIC_OFFSET): Define correctly for both
612 ACCUMULATE_OUTGOING_ARGS and normal mode.
613 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
614 * tm.texi (PUSH_ARGS): Document.
615 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
617 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
619 * flags.h (flag_optimize_sibling_calls): Declare.
620 * calls.c (expand_call): Fail sibcall when
621 !flag_optimize_sibling_calls
622 * invoke.texi (flag_optimize_sibling_calls): Document.
623 * toplev.c (flag_optimize_sibling_calls): New global variable.
624 (f_options): Add flag_optimize_sibling_calls.
625 (rest_of_compilation): Conditionize
626 optimize_sibling_and_tail_recursive_calls by
627 flag_optimize_sibling_calls.
628 (main): Set flag_optimize_sibling_calls for -O2.
629 * stmt.c (expand_return): Conditionize tail recursion by
630 flag_optimize_sibling_calls.
632 2000-03-29 Richard Henderson <rth@cygnus.com>
634 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
635 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
637 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
639 * except.c (add_eh_table_entry): Mark type_info's as referenced.
641 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
643 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
645 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
646 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
647 * config/rs6000/aix.h: then modified likewise.
649 2000-03-28 Richard Henderson <rth@cygnus.com>
651 * rtl.h: Redistribute enum reg_note documentation.
652 Kill trailing whitespace.
653 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
654 Kill trailing whitespace.
656 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
658 * cppfiles.c (hash_IHASH): Just return i->hash.
659 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
661 (cpp_read_file): Likewise.
662 (find_include_file): Likewise. Properly initialize
663 ih->nshort. Share ih->name and ih->nshort if possible.
664 * cpphash.c (_cpp_calc_hash): New function.
665 (hash_HASHNODE): Just return h->hash.
666 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
668 * cpphash.h: Prototype _cpp_calc_hash.
669 * cppinit.c (initialize_builtins): Provide a valid hash
670 to _cpp_make_hashnode, using _cpp_calc_hash.
672 * cpphash.c (collect_expansion): # is not a special character
673 in object-like macros. In -traditional mode, /**/ is not
674 token paste at the beginning or end of the line.
675 * cpplib.c (do_include, do_import, do_include_next): If
676 parse_include fails, return immediately.
678 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
680 * config/arm/arm.md (return peepholes): Update to reflect the new
682 * config/arm/arm.c (arm_volatile_func): Also check
683 current_function_nothrow.
684 (output_return_instruction, output_func_prologue): Use it.
685 (arm_output_epilogue, arm_expand_prologue): Likewise.
687 2000-03-27 Tom Tromey <tromey@cygnus.com>
689 * gcc.c (handle_braces): In {x*...} case, break out of loop if
692 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
694 * expr.c (store_constructor): SIZE now signed.
695 For EXPR_SIZE, don't evaluate size; just needed if constant.
696 * fold-const.c (fold): Fix a number of cases when folded tree is
698 * function.c (flush_addressof): Reenable.
699 * tree.h (flush_addressof): Likewise.
700 * toplev.c (independent_decode_option): Look at strings_processed.
701 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
703 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
705 * sibcall.c (indentify_call_return_value): Find last call in the chain;
706 Allow stack adjustment after function call.
708 * regmove.c (struct csa_memlist): Make mem field rtx *.
709 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
710 (try_apply_stack_adjustment): Replace whole MEM rtx.
711 (combine_stack_adjustments_for_block): Update calls
712 to record_one_stack_ref.
714 2000-03-28 Neil Booth <NeilB@earthling.net>
716 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
717 '\\' rather than a null character, so nulls are not special. Fix
718 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
719 speed trigraph conversion.
720 (_cpp_init_input_buffer): Initialize trigraph map.
722 2000-03-27 Alan Modra <alan@linuxcare.com.au>
724 * config/i386/i386.c (output_387_binary_op): Correct intel
725 mode assembly output, and add spaces after commas in AT&T
726 output. Correct Unixware assembler comment. Document input
727 constraints. Comment fp operations. Reduce profligate buffer
728 size. Remove extraneous abort. Localize temp var.
729 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
730 (output_fix_trunc): Add spaces after commas in assembly output.
732 2000-03-27 Richard Henderson <rth@cygnus.com>
734 * i386-protos.h (ix86_match_ccmode): Declare.
735 * i386.c (ix86_match_ccmode): New.
736 (ix86_expand_fp_compare): Update for pattern renames.
737 (ix86_expand_strlensi_unroll_1): Likewise.
738 * i386.h (EXTRA_CC_MODES): Add CCZ.
739 (SELECT_CC_MODE): Use it for EQ/NE zero.
740 * i386.md (cmpsi_ccz_1): New.
742 (*testsi_ccz_1): New.
744 (cmpsi_ccno_1): Rename from cmpsi_0.
745 (testsi_ccno_1): Rename from testsi_1.
746 (testqi_ccno_1): Rename from testqi_1.
747 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
748 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
749 (*cmphi_0): Use ix86_match_ccmode.
750 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
751 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
752 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
753 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
754 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
755 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
756 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
757 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
758 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
759 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
760 (appropriate peepholes): Likewise.
761 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
762 (*subsi_3, *subhi_3, *subqi_3): Remove.
763 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
764 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
765 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
766 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
767 (x86_shift_adj_1): Use CCZ.
768 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
770 2000-03-27 Stan Cox <scox@cygnus.com>
772 * resource.h (mark_resource_type): New.
773 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
774 find_free_register): Use mark_resource_type.
775 (mark_set_resources): Change include_delayed_effects
776 to mark_resource_type.
777 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
778 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
779 Use mark_resource_type.
781 2000-03-27 Richard Henderson <rth@cygnus.com>
783 * i386.md (call_pop_0, call_value_pop_0): New.
784 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
785 (call_value_pop_1): Likewise.
786 (call_0, call_value_0): New.
787 (call_1, call_value_1): Remove constraint from unused arg.
789 2000-03-27 Nick Clifton <nickc@cygnus.com>
791 * invoke.texi (Spec Files): Document new spec % command created by
792 Tom Tromey's recent patch.
794 2000-03-27 Jakub Jelinek <jakub@redhat.com>
796 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
799 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
801 * expr.c (expand_assignment): Fix typo in last change.
803 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
805 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
807 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
808 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
809 and DECL_INLINE if FUNCTION_DECL.
810 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
811 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
812 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
813 (combine_parm_decls): Likewise.
814 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
815 * print-tree.c (print_node): Likewise.
816 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
817 DECL_TRANSPARENT_UNION on proper decl types.
818 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
819 * stor-layout.c (layout_decl): Only check DECL_PACKED and
820 DECL_BIT_FIELD of FIELD_DECL.
821 * tree.h (DECL_RESULT_FLD): New macro.
823 * expr.c (expand_assignment): Add code to handle variable-sized
826 2000-03-26 Richard Henderson <rth@cygnus.com>
828 * calls.c (expand_call): Pass parms not original exp to
829 optimize_tail_recursion. Mind return value instead of looking
831 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
832 call_expr. Move checks for call_expr and current_function_decl ...
833 (expand_return): ... here.
835 2000-03-26 Tom Tromey <tromey@cygnus.com>
837 * gcc.c (handle_braces): Recognize `%{<S}' construct.
838 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
840 (process_command): Use them.
841 (check_live_switch): Likewise.
842 (give_switch): Skip ignored switches.
844 2000-03-26 Jan Hubicka <jh@suse.cz>
846 * jump.c (jump_optimize_1): Fix typo in elide optimizations
847 for minimal jump pass test.
849 2000-03-26 Mark Mitchell <mark@codesourcery.com>
851 * integrate.c (function_cannot_inline_p): Do inline functions that
854 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
856 * stor-layout.c (layout_type, set_sizetype): early_type_list is
857 now a list of TREE_LIST entries, not types.
858 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
860 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
861 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
863 * config/mips/mips.c (function_arg): Likewise; also remove cast
864 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
865 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
866 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
867 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
868 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
869 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
870 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
871 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
872 num_adjusts now unsigned.
873 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
874 * config/sparc/sparc.c (struct function_arg_record_value_parms):
876 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
877 as is BITPOS variable; use host_integerp and int_bit_position.
878 (function_arg_record_value_2): Likewise.
879 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
880 Variable REGNO now unsigned.
881 (function_arg_record_value): NREGS now unsigned.
883 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
885 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
887 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
889 * Rework fields used to describe positions of bitfields and
890 modify sizes to be unsigned and use HOST_WIDE_INT.
891 * alias.c (reg_known_value_size): Now unsigned.
892 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
893 (really_start_incremental_init): Use bitsize_zero_node.
894 (push_init_level, pop_init_level, output_init_element): Likewise.
895 Use bitsize_unit_node and bitsize_one_node.
896 (output_pending_init_elements, process_init_element): Likewise.
897 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
898 (make_extraction): Position and length HOST_WIDE_INT and unsigned
899 HOST_WIDE_INT, respectively.
900 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
901 (num_sign_bit_copies): Returns unsigned.
902 BITWIDTH now unsigned; rework arithmetic.
903 Remove recursive call from arg to MAX.
904 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
905 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
907 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
908 (find_split_point, expand_compound_operation, make_extraction): LEN
909 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
910 (make_field_assignment): Likewise.
911 (combine_simplify_rtx): Add cast.
912 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
913 (force_to_mode): WIDTH now unsigned; add cast.
914 (if_then_else_cond): SIZE now unsigned.
915 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
916 (extended_count): Now returns unsigned.
917 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
918 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
919 (simplify_comparison): MODE_WIDTH now unsigned.
920 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
921 (mark_used_regs_combine): Likewise; rework arithmetic.
922 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
923 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
924 (record_promoted_value): REGNO now unsigned.
925 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
926 (get_last_value): REGNO now unsigned.
927 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
928 (reg_dead_regno, reg_dead_endregno): Now unsigned.
929 (remove_death): Arg REGNO now unsigned.
930 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
931 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
933 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
934 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
935 (struct cse_reg_info): REGNO now unsigned.
936 (cached_regno): Now unsigned.
937 (REGNO_QTY_VALID_P): Add cast.
938 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
939 (remove_invalid_regs): Likewise.
940 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
941 as are variables END and I.
942 (get_cse_reg_info, insert): Likewise.
943 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
944 (canon_hash): Likewise.
945 (insert_regs, lookup_for_remove): REGNO now unsigned.
946 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
948 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
949 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
950 * emit-rtl.c (subreg_realpart_p): Add cast.
951 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
952 (operand_subword_force): Arg I is now unsigned.
953 * except.c (eh_regs): Variable I is now unsigned.
954 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
955 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
956 length is unsigned HOST_WIDE_INT; likewise for internal variables.
957 (store_split_bit_field, extract_fixed_bit_field): Likewise.
958 (extract_split_bit_field, store_bit_field, extract_bit_field):
960 * expr.c (store_constructor_fields, store_constructor, store_field):
961 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
962 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
964 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
965 MAX_SIZE is now unsigned.
966 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
967 (emit_group_store): Likewise.
968 (emit_move_insn): I now unsigned.
969 (store_constructor): Use host_integerp, tree_low_cst, and
971 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
972 Rework all calculations to use trees and new fields.
973 * expr.h (promoted_input_arg): Regno now unsigned.
974 (store_bit_field, extract_bit_field): Adjust types of pos and size.
975 (mark_seen_cases): Arg is HOST_WIDE_INT.
976 * flow.c (verify_wide_reg_1): REGNO now unsigned.
977 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
978 precisions and alignments are unsigned.
979 (optimize_bit_field_compare, fold_truthop): Likewise.
980 (int_const_binop): Adjust threshold for size_int_type_wide call.
981 (fold_convert): Likewise.
982 (size_int_type_wide): Make table larger and fix thinko that only
983 had half of table used.
984 (all_ones_mask_p, fold): Precisions are unsigned.
985 * function.c (put_reg_info_stack): REGNO is unsigned.
986 (instantiate_decl): Size is HOST_WIDE_INT.
987 (instantiate_virtual_regs): I is unsigned.
988 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
989 (promoted_input_arg): REGNO is unsigned.
990 * function.h (struct function): x_max_parm_reg is now unsigned.
991 * gcse.c (max_gcse_regno): Now unsigned.
992 (struct null_pointer_info): min_reg and max_reg now unsigned.
993 (lookup_set, next_set): REGNO arg now unsigned.
994 (compute_hash_table): REGNO and I now unsigned.
995 (handle_avail_expr): regnum_for_replacing now unsigned.
996 (cprop_insn): REGNO now unsigned.
997 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
998 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
999 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1000 * hard-reg-set.h (reg_class_size): Now unsigned.
1001 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1002 * jump.c (mark_modified_reg): I now unsigned; add cast.
1003 (rtx_equal_for_thread_p): Add cast.
1004 * loop.c (max_reg_before_loop): Now unsigned.
1005 (struct_movable): REGNO now unsigned.
1006 (try_copy_prop): REGNO arg unsigned.
1007 (regs_match_p): XN and YN now unsigned.
1008 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1009 (strength_reduce): Likewise; NREGS also unsigned.
1010 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1011 * loop.h (struct iv_class): REGNO now unsigned.
1012 (max_reg_before_loop, first_increment_giv, last_increment_giv):
1014 * machmode.h (mode_size, mode_unit_size): Now unsigned.
1015 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1016 * optabs.c (expand_binop): I and NWORDS now unsigned.
1017 (expand_unop): I now unsigned.
1018 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1019 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1020 * real.c (significand_size): Now returns unsigned.
1021 * real.h (significand_size): Likewise.
1022 * regclass.c (reg_class_size): Now unsigned.
1023 (choose_hard_reg_mode): Both operands now unsigned.
1024 (record_reg_classes): REGNO and NR now unsigned.
1025 (reg_scan): NREGS now unsigned.
1026 (reg_scan_update): old_max_regno now unsigned.
1027 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1028 * reload.c (find_valid_class): BEST_SIZE now unsigned.
1029 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1030 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1031 Likewise for variable R.
1032 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
1033 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
1034 (find_equiv_reg): Add casts.
1035 (regno_clobbered_p): Arg REGNO now unsigned.
1036 * reload.h (struct reload): NREGS now unsigned.
1037 (refers_to_regno_for_reload_p): Regno args are unsigned.
1038 (regno_clobbered_p): Likewise.
1039 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
1040 (compute_use_by_pseudos): REGNO now unsigned.
1041 (find_reg): I and J now unsigned, new variable K, and change loop
1042 variables accordingly; THIS_NREGS now unsigned.
1043 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
1044 (spill_hard_reg): REGNO arg now unsigned; add casts.
1045 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
1046 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
1047 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
1048 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
1049 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
1050 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
1051 (emit_reload_insns): REGNO now unsigned.
1052 (reload_cse_move2add): Add cast.
1053 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
1055 * resource.c (mark_referenced_resources, mark_set_resources): New
1056 variable R; REGNO and LAST_REGNO now unsigned.
1057 (mark_target_live_regs): J and REGNO now unsigned.
1058 * rtl.c (mode_size, mode_unit_size): Now unsigned.
1059 * rtl.h (union rtunion_def): New field rtuint.
1060 (XCUINT): New macro.
1061 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
1062 (operand_subword, operand_subword_force): Word number is unsigned.
1063 (choose_hard_reg_mode): Operands are unsigned.
1064 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
1065 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
1066 (regno_use_in, combine_instructions, remove_death): Likewise.
1067 (reg_scan, reg_scan_update): Likewise.
1068 (extended_count): Return is unsigned.
1069 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
1070 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
1071 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
1072 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
1073 (reg_reg_last_1): FIRS and LAST now unsigned.
1074 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
1075 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
1077 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
1078 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
1079 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
1080 (replace_regs): Arg NREGS now unsigned.
1081 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
1082 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
1083 (simplify_binary_operation): Likewise.
1084 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
1085 THIS_LAST now unsigned.
1086 (cselib_record_set): Add cast.
1087 * ssa.c (ssa_max_reg_num): Now unsigned.
1088 (rename_block): REGNO now unsigned.
1089 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
1091 (all_cases_count): Just return -1 not -2.
1092 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
1093 Rework tests to use trees whenever possible.
1094 Use host_integerp and tree_low_cst.
1095 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
1096 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
1097 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
1098 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
1099 (smallest_mode_for_size): Likewise.
1100 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
1101 KNOWN_ALIGN is now an alignment, so simplify code.
1102 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
1103 (start_record_layout): Renamed from new_record_layout_info.
1104 Update to new fields.
1105 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
1107 (place_union_field): Renamed from layout_union_field.
1108 Update to use new fields in rli.
1109 (place_field): Renamed from layout_field.
1110 Major rewrite to use new fields in rli; pass alignment to layout_decl.
1111 (finalize_record_size): Rework to use new fields in rli and handle
1113 (compute_record_mode): Rework to simplify and to use new DECL fields.
1114 (finalize_type_size): Make rounding more consistent.
1115 (finish_union_layout): Deleted.
1116 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
1117 (layout_type, case RECORD_TYPE): Call new function names.
1118 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
1119 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
1120 (get_best_mode): UNIT is now unsigned; remove casts.
1121 * tree.c (bit_position): Compute from new fields.
1122 (byte_position, int_byte_position): New functions.
1123 (print_type_hash_statistics): Cast to remove warning.
1124 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
1125 (build_index_type): Likewise; make subtype of sizetype.
1126 (build_index_2_type): Pass sizetype to build_range_type.
1127 (build_common_tree_nodes): Use size_int and bitsize_int to
1128 initialize nodes; add bitsize_{zero,one,unit}_node.
1129 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
1130 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
1131 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
1132 (DECL_FIELD_BITPOS): Deleted.
1133 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
1134 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
1135 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
1136 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
1137 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
1138 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
1139 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
1140 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
1141 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
1142 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
1143 (DECL_ALIGN): Adjust to new field in union.
1144 (DECL_OFFSET_ALIGN): New field.
1145 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
1146 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
1147 (union tree_decl): Add struct for both aligns.
1148 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
1149 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
1150 (struct record_layout_info): Rework fields to have offset
1151 alignment and byte and bit position.
1152 (start_record_layout, place_field): Renamed from old names.
1153 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
1154 (byte_position, int_byte_position): Likewise.
1155 (get_inner_reference): Change types of position and length.
1156 * unroll.c (unroll_loop): New variable R; use for some loops.
1157 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
1158 (calculate_giv_inc): Arg REGNO now unsigned.
1159 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
1160 * varasm.c (assemble_variable): Clean up handling of size using
1161 host_integerp and tree_low_cst.
1162 (decode_addr_const): Use byte, not bit, position.
1163 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
1164 use tree_low_cst and int_bit_position.
1165 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
1167 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
1169 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
1170 (reorder_block_def): New members eff_head and eff_end.
1171 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
1172 (verify_insn_chain): New function.
1173 (skip_insns_between_block): Add code to skip deleted insns.
1174 Check for note before using.
1175 (chain_reorder_blocks): Replace calls to skip_insns_between_block
1176 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
1177 Check for note before using.
1178 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
1179 (fixup_reorder_chain): Restructure, clean up, defect removal.
1180 (reorder_basic_blocks): Remove last_insn and references to it.
1181 Moved insn chain verification code into a new function (see above).
1182 Delete defective code that sets last insn.
1183 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
1186 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1188 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
1190 2000-03-24 Richard Henderson <rth@cygnus.com>
1192 * tree.c (lang_safe_for_unsave): Remove.
1193 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
1194 allowing for two levels of unsafeness. Remove lang hook.
1195 * tree.h: Update declarations.
1196 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
1197 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
1198 Always fail sibcalls when there are pending cleanups.
1200 2000-03-24 Geoff Keating <geoffk@cygnus.com>
1202 * flow.c (propagate_block): When we delete an ADDR_VEC,
1203 also delete the BARRIER following it if there is one.
1205 2000-03-24 Richard Henderson <rth@cygnus.com>
1207 * builtins.c (expand_builtin_bzero): Convert `length' argument
1210 2000-03-24 Jakub Jelinek <jakub@redhat.com>
1212 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
1213 comparison if regno's are equal.
1214 * calls.c (initialize_argument_informat): Add ecf_flags argument.
1215 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1216 (expand_call): Update caller.
1217 Avoid making a sibling call if argument size of the callee is larger
1218 than argument size of the caller.
1219 Call hard_function_value with outgoing set if in sibcall pass.
1220 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1222 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
1223 Change LEAF_REGISTERS from an array initializer to actual array
1224 identifier. Move static global variable into the function.
1225 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
1226 sequences for leaf functions.
1227 * global.c (global_alloc): Likewise.
1228 * tm.texi (LEAF_REGISTERS): Update documentation.
1230 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
1231 TARGET_FLAT leaf disabling hack.
1232 (LEAF_REGISTERS): Changed from an array initializer to actual array
1233 identifier to avoid duplication and remove the above hack.
1234 (FUNCTION_OK_FOR_SIBCALL): Define.
1235 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
1236 always like call attribute.
1237 (eligible_for_sibcall_delay): New attribute.
1238 (sibcall): New delay type.
1239 (sibcall, sibcall_value, sibcall_epilogue): New expands.
1240 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
1241 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
1242 * config/sparc/sparc.c (sparc_leaf_regs): New array.
1243 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
1245 (output_function_epilogue): Move part of the code into
1246 output_restore_regs.
1247 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
1249 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
1252 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
1253 until infrastructure is finished.
1255 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
1257 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
1258 (save_parm_insns): Not here.
1260 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1262 * builtins.c (expand_builtin_bzero): New function.
1263 (expand_builtin): Handle bzero.
1265 * builtins.def: Add BUILT_IN_BZERO.
1267 * c-common.c (c_common_nodes_and_builtins): Provide builtin
1268 prototype & function for bzero.
1270 2000-03-23 Michael Meissner <meissner@redhat.com>
1272 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
1273 change adding TARGET_FP to the TF floating point insns, except for
1274 trunctfsf2, which generates direct calls to truncdfsf2.
1276 2000-03-23 Geoff Keating <geoffk@cygnus.com>
1278 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
1279 try to protect against middle-end changes that break binary
1281 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
1283 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1285 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
1287 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1289 * calls.c (expand_call): If TARGET is passed by reference and
1290 is readonly, write a CLOBBER.
1292 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1294 * builtins.c (expand_builtin): Handle bcmp.
1296 * builtins.def: Add BUILT_IN_BCMP.
1298 * c-common.c (c_common_nodes_and_builtins): Provide builtin
1299 prototype & function for bcmp.
1301 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
1303 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
1304 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
1305 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
1307 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
1309 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
1310 alternative when using -fp64 -gp32.
1312 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
1314 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
1315 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
1316 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
1318 * frame.h (frame_state): Revert last change.
1319 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
1320 * libgcc2.c (throw_helper): Revert last change.
1322 2000-03-22 Richard Henderson <rth@cygnus.com>
1324 * stmt.c (expand_asm_operands): Don't promote the temporary.
1326 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1328 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
1329 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
1330 c_get_alias_set): Likewise.
1331 * c-decl.c (duplicate_decls): Likewise.
1332 * c-typeck.c (default_conversion,build_unary_op): Likewise.
1333 * calls.c (initialize_argument_information): Likewise.
1334 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
1336 * dwarfout.c (decl_class_context,output_type): Likewise.
1337 * expr.c (get_inner_reference): Likewise.
1338 * fold-const.c (simple_operand_p,fold): Likewise.
1339 * function.c (aggregate_value_p): Likewise.
1340 * stmt.c (expand_asm_operands): Likewise.
1341 * varasm.c (named_section): Likewise.
1343 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
1345 Implement dwarf2 exception handling for the ARM.
1346 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
1347 (DWARF_FRAME_RETURN_COLUMN): Define.
1348 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
1349 REG_FRAME_RELATED_EXPR note.
1350 (emit_sfm): Likewise.
1351 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
1352 * dwarf2out.c (reg_save): Handle saving a register to itself.
1353 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
1354 * except.c (eh_regs): Don't use the static chain reg if it's
1356 * frame.h (frame_state): Add cfa_saved field.
1357 * frame.c (execute_cfa_insn): Set it.
1358 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
1360 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
1362 (instantiate_virtual_regs): Adjust.
1364 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1365 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1366 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
1368 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
1369 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
1371 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1373 * builtins.def: New file.
1375 * Makefile.in (TREE_H): Depend on builtins.def.
1377 * builtins.c (built_in_names): Use builtins.def.
1379 * tree.h (built_in_function): Likewise.
1381 2000-03-22 Mark Mitchell <mark@codesourcery.com>
1383 * tree.c (size_in_bytes): Return size_zero_node, not
1386 2000-03-22 Geoff Keating <geoffk@cygnus.com>
1388 * config/fp-bit.c (pack_d): Correct the case when a denormal
1389 is rounded up and stops being denormal.
1391 2000-03-21 Richard Henderson <rth@cygnus.com>
1393 * config/alpha/alpha.c (function_arg): Check for void_type_node
1394 before using MUST_PASS_IN_STACK.
1396 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
1398 * regmove.c (combine_stack_adjustments_for_block): Check that
1399 the stack pointer is a valid memory address.
1401 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
1403 * calls.c: re-install Mar 16 emit_library_call merge.
1405 2000-03-21 Jakub Jelinek <jakub@redhat.com>
1407 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
1408 we cannot be sure that if reload_completed base register will
1409 be properly aligned.
1411 2000-03-21 Richard Henderson <rth@cygnus.com>
1413 * flow.c (delete_block): Fix typo last change.
1415 2000-03-21 Mark Mitchell <mark@codesourcery.com>
1417 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
1418 not COMPLETE_TYPE_P, to check the type of the expression.
1420 2000-03-21 Michael Meissner <meissner@redhat.com>
1422 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
1423 all floating point insns that just tested the macro
1424 TARGET_HAS_XFLOATING_LIBS.
1425 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
1426 used to only use the gprs.
1428 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
1430 * tree.h (COMPLETE_TYPE_P): New macro.
1431 (COMPLETE_OR_VOID_TYPE_P): New macro.
1432 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
1433 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
1434 * c-aux-info.c (gen_type): Use them.
1435 * c-common.c (c_expand_expr_stmt): Likewise.
1436 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
1437 grokdeclarator, grokparms, finish_struct, start_function,
1438 store_parm_decls, combine_parm_decls): Likewise.
1439 * c-parse.y (cast_expr): Likewise.
1440 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
1441 c_size_in_bytes, c_alignof, build_component_ref,
1442 build_indirect_ref, build_array_ref, convert_arguments,
1443 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
1444 * calls.c (initialize_argument_information): Likewise.
1445 * convert.c (convert_to_integer): Likewise.
1446 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
1447 * dwarfout.c (location_or_const_value_attribute,
1448 output_enumeration_type_die, output_structure_type_die,
1449 output_union_type_die, output_type): Likewise.
1450 * expr.c (safe_from_p, expand_expr): Likewise.
1451 * function.c (assign_parms): Likewise.
1452 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
1453 * tree.c (build_array_type, build_function_type,
1454 build_method_type, build_offset_type, build_complex_type): Likewise.
1455 * c-parse.c, c-parse.h: Regenerated.
1457 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1459 * config/c4x/rtems.h: Include config/rtems.h.
1461 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
1463 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
1464 decl is a FUNCTION_DECL
1466 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
1468 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
1469 function uses output registers. Don't save RP for leaf functions.
1470 Do save RP even if no epilogue.
1471 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
1472 (CALL_USED_REGISTERS): Unmark in registers.
1473 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
1476 2000-03-20 Geoff Keating <geoffk@cygnus.com>
1478 * config/rs6000/rs6000.md (bunordered): New expander.
1479 (bordered): New expander.
1480 (buneq): New expander.
1481 (bunge): New expander.
1482 (bungt): New expander.
1483 (bunle): New expander.
1484 (bunlt): New expander.
1485 (bltgt): New expander.
1487 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
1488 (ccr_bit_negated_p): New function.
1489 (print_operand): For %C, generate appropriate cror for UNEQ,
1490 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
1492 2000-03-20 Andreas Jaeger <aj@suse.de>
1494 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
1497 * tree.h (safe_for_unsave): Prototype.
1499 2000-03-20 Richard Henderson <rth@cygnus.com>
1501 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
1502 (combine_stack_adjustments_for_block): Don't allow sp references
1503 in the side of a set we're not fixing up.
1504 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
1505 after life_analysis.
1507 2000-03-20 Richard Henderson <rth@cygnus.com>
1509 * calls.c (expand_call): Don't bother generating tail call
1510 sequences if there are pending cleanups. Use
1511 expand_start_target_temps/expand_end_target_temps to elide
1512 cleanups created during sibcall expansion.
1514 2000-03-20 Geoff Keating <geoffk@cygnus.com>
1516 * configure.in: Set $IFS to a value if it doesn't already have one
1517 in the --enable-checking handling.
1518 * configure: Regenerate.
1520 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1522 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
1523 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1526 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
1528 * jump.c (delete_noop_moves): Remove code attempting to
1529 combine stack adjustments.
1531 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1533 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
1534 * except.c (emit_cleanup_handler): Use them.
1535 (expand_end_all_catch): Likewise.
1536 * function.c (fixup_var_refs): Likewise.
1537 (expand_function_end): Clear catch_clauses_last.
1538 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
1539 * except.h (struct eh_status): New field x_catch_clauses_last.
1540 (catch_clauses_last): New define.
1542 * Makefile.in (tree.o): Depend on HASHTAB_H.
1543 * tree.c: Include hashtab.h.
1544 (struct type_hash): Remove next field.
1545 (TYPE_HASH_SIZE): Remove.
1546 (TYPE_HASH_INITIAL_SIZE): New define.
1547 (type_hash_table): Change type to htab_t.
1548 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
1549 mark_hash_entry): New functions.
1550 (init_obstacks): Allocate type hash.
1551 (type_hash_lookup): Use htab functions.
1552 (type_hash_add, mark_type_hash): Likewise.
1553 (dump_tree_statistics): Call print_type_hash_statistics.
1555 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1557 * rs6000/t-aix41: New file.
1559 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
1561 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
1563 * tm.texi (Driver): Fix typos and tweak entry for
1565 Move misplaced STRUCT_FORCE_BLK entry ...
1566 (Storage Layout): ... to here.
1567 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
1569 2000-03-19 Richard Henderson <rth@cygnus.com>
1571 * flow.c (delete_block): Delete the addr_vec along with the block.
1572 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
1575 * fold-const.c (extract_muldiv): Apply type check for defined
1576 overflow to multiply as well as divide.
1578 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
1580 2000-03-18 Mark Mitchell <mark@codesourcery.com>
1582 * emit-rtl.c (remove_unncessary_notes): Check that all
1583 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
1584 associated NOTE_BLOCK.
1585 * function.h (identify_blocks): Update comments.
1586 (reorder_blocks): Declare.
1587 * function.c (identify_blocks): Don't take paramters.
1588 (reorder_blocks): Don't take parameters.
1589 * loop.h (find_loop_tree_blocks): Remove.
1590 (unroll_block_trees): Likewise.
1591 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
1592 reorder_blocks instead of unroll_block_trees.h
1593 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
1594 * stmt.c (find_loop_tree_blocks): Remove.
1595 (unroll_block_trees): Likewise.
1596 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
1597 in whole-function mode.
1598 * tree.h (reorder_blocks): Remove declaration.
1600 * expr.c: Include intl.h.
1601 * Makefile.in (expr.o): Depend on intl.h.
1603 2000-03-18 Richard Henderson <rth@cygnus.com>
1605 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
1607 2000-03-18 Mark Mitchell <mark@codesourcery.com>
1609 * tree.h (tree_index): Remove enumerals for integer types.
1610 (integer_type_kind): New type.
1611 (integer_types): New variable.
1612 (char_type_node): Adjust.
1613 (signed_char_type_node): Likewise.
1614 (unsigned_char_type_node): Likewise.
1615 (short_integer_type_node): Likewise.
1616 (short_unsigned_type_node): Likewise.
1617 (integer_type_node): Likewise.
1618 (unsigned_type_node): Likewise.
1619 (long_integer_type_node): Likewise.
1620 (long_unsigned_type_node): Likewise.
1621 (long_long_integer_type_node): Likewise.
1622 (long_long_unsigned_type_node): Likewise.
1623 * tree.c (integer_types): New variable.
1624 (init_obstacks): Register it as a root.
1626 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
1628 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
1629 NEXT_INSN. Update last insn in chain.
1631 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
1633 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
1634 with TYPE_DECL_SUPPRESS_DEBUG set.
1636 2000-03-18 Richard Henderson <rth@cygnus.com>
1638 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
1640 2000-03-18 Richard Henderson <rth@cygnus.com>
1642 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
1643 care for HALF_PIC_P.
1644 (expander_call_insn_operand): Remove.
1645 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
1646 * i386.h (PREDICATE_CODES): Update.
1647 * i386.md (all call expanders): Remove predicates, remove special
1648 handling for half-pic.
1649 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
1650 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
1651 (sibcall_epilogue): New.
1653 2000-03-17 Richard Henderson <rth@cygnus.com>
1655 * rtlanal.c (single_set): Reject if the parallel has anything
1656 except SET or USE or CLOBBER.
1658 2000-03-17 Jeff Law <law@cygnus.com>
1659 Richard Henderson <rth@cygnus.com>
1661 * Makefile.in (OBJS): Add sibcall.o.
1663 * sibcall.c: New file.
1664 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
1665 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
1666 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
1667 Emit sibcall patterns when requested. Update all callers.
1668 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
1669 elimination seems feasable.
1670 * final.c (leaf_function_p): Sibling calls don't discount being
1672 * flow.c (HAVE_sibcall_epilogue): Provide default.
1673 (find_basic_blocks_1): Sibling calls don't throw.
1674 (make_edges): Make edge from sibling call to EXIT.
1675 (propagate_block): Don't remove sibcall_epilogue insns.
1676 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
1677 (sibcall_epilogue): New.
1678 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
1679 (identify_blocks_1): Likewise. Break out from ...
1680 (identify_blocks): ... here.
1681 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
1682 (reorder_blocks): ... here.
1683 (init_function_for_compilation): Zap prologue/epilogue as varrays.
1684 (record_insns): Extend a varray instead of mallocing new memory.
1685 (contains): Read a varray not array of ints.
1686 (sibcall_epilogue_contains): New.
1687 (thread_prologue_and_epilogue_insns): Emit and record
1688 sibcall_epilogue patterns.
1689 (init_function_once): Allocate prologue/epilogue varrays.
1690 * genflags.c (gen_insn): Treat sibcall patterns as calls.
1691 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
1693 (save_for_inline_nocopy): ... here.
1694 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
1696 (expand_inline_function): ... here.
1697 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
1698 (subst_constants): Handle 'n' formats.
1699 * jump.c (jump_optimize_minimal): New.
1700 (jump_optimize_1): New arg `minimal'; update callers. Elide most
1701 optimizations if it's set.
1702 * rtl.c (copy_rtx): Do copy jump & call for insns.
1703 * rtl.h (struct rtx_def): Document use of jump and call for insns.
1704 (SIBLING_CALL_P): New.
1705 (sibcall_use_t): New.
1706 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
1707 Invoke optimize_sibling_and_tail_recursive_calls.
1708 * tree.c (lang_safe_for_unsave): New.
1709 (safe_for_unsave): New.
1710 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
1712 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
1713 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
1714 (*sibcall_osf_1, *sibcall_value_osf_1): New.
1716 2000-03-17 Mark Mitchell <mark@codesourcery.com>
1718 * objc/objc-act.c (encode_method_prototype): Pass types, not
1719 PARM_DECLs, to int_size_in_bytes.
1721 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
1723 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
1725 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
1726 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
1728 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1730 * Clean up usages of TREE_INT_CST_LOW.
1731 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
1732 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1734 * c-tree.h (min_precision): Move declaration to here.
1735 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
1736 (build_unary_op, add_pending_init): Use bit_position.
1737 (pending_init_member, process_init_element): Likewise.
1738 (really_start_incremental_init, push_init_level, pop_init_level):
1739 Don't make copies of nodes or modify them in place, use consistent
1740 types when tracking positions, and use tree routines computations.
1741 (set_init_index, output_init_element): Likewise.
1742 (output_pending_init_elements, process_init_element): Likewise.
1743 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
1744 tree_low_cst and int_bit_position; also minor cleanup.
1745 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
1746 (print_cst_octal): Precision is unsigned.
1747 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
1748 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
1749 (simple_type_align_in_bits): Result is unsigned int.
1750 Use tree_int_low_cst and host_integerp.
1751 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
1752 (field_byte_offset): Result is HOST_WIDE_INT.
1753 Change types of internal variables so alignments are unsigned int,
1754 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
1755 Use host_integerp, tree_low_cst, and int_bit_position.
1756 (add_bit_offset_attribute): Likewise.
1757 (add_data_member_location_attribute): Use tree_cst_low.
1758 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
1759 (add_bit_size_attribute): Use tree_low_cst.
1760 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
1761 * dwarfout.c: Similar changes to dwarf2out.c.
1762 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
1763 * genoutput.c (n_occurences): Return -1 for null string.
1764 (strip_whitespace): Accept null string and make into function.
1765 (scan_operands): Reflect above changes.
1766 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
1767 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
1768 * ssa.c (rename_registers): Add missing cast of arg to bzero.
1769 * tree.c (int_size_in_bytes): Check for too big to represent.
1770 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
1771 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
1773 (min_precision): Delete from here.
1774 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
1775 and int_bit_position.
1776 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
1777 (encode_method_def): Likewise.
1778 (build_ivar_list_initializer): Use int_bit_position.
1779 (generate_shared_structures): Convert size.
1780 (encode_type, encode_complete_bitfield): Use integer_zerop.
1781 (encode_bitfield): Use tree_low_cst and int_bit_position.
1783 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1785 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
1787 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1789 * call.c (special_function_p): It is only malloc if it returns
1792 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1794 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
1795 (C33_FLAG, TARGET_C3X): Add macros.
1796 (TARGET_SWITCHES): Add -m33 option.
1797 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
1799 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1801 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
1802 (PARALLEL_PACK_FLAG): Delete.
1803 (TARGET_SWITCHES): Update.
1804 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
1806 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1808 * fold-const.c (fold): Fix a few cases when the returned result
1809 is not of the same type as the input.
1811 2000-03-16 Nick Clifton <nickc@cygnus.com>
1813 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
1816 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1818 * libgcc2.h: Move prototypes above macros with the same name.
1819 Wrap some function prototypes in the conditional which indicates
1820 whether they are supported, i.e. "BITS_PER_UNIT == 8".
1822 2000-03-16 Richard Henderson <rth@cygnus.com>
1824 * calls.c: Revert last two changes.
1826 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
1828 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
1829 has exponent 0 is a zero.
1831 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
1832 HASH may already be nonzero. Add code/mode into hash value
1833 immediately after repeat label.
1834 (cselib_lookup): Don't leave the hash table in an inconsistent
1835 state before a hash lookup operation.
1837 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
1839 * i386.md (all HI and QI mode non-move patterns): Conditionize
1840 by TARGET_[HQ]IMODE_MATH.
1841 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
1842 x86_promote_qi_regs): Declare.
1843 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
1844 TARGET_PROMOTE_QI_REGS): New macros.
1845 (PROMOTE_MODE): New macro.
1846 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
1847 x86_promote_qi_regs): New global variables.
1849 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
1851 * calls.c (emit_library_call_value_1): Break out from ...; handle
1852 VOIDmode function calls too.
1853 (emit_library_call_value): ... here.
1854 (emit_library_call): Implement by calling emit_library_call_value_1.
1856 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
1858 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
1859 Update arg_space_so_far on stack adjustments.
1860 (emit_library_call, emit_library_call_value): Likewise; take into
1861 account arg_space_so_far and pending_stack_adjust when calculcating
1864 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
1866 * flow.c: Move all basic block reordering code into its own file.
1867 (create_basic_block): Externalize.
1868 * bb-reorder.c: New file. Copy all basic block reordering code from
1869 flow.c to this file.
1870 (reorder_basic_blocks): Fix fencepost error in for-loop.
1871 (reorder_basic_blocks): Remove braces from single statement for-loops.
1872 * basic-block.h: Add declaration for create_basic_block.
1873 * Makefile.in: Add rules for bb-reorder.o.
1875 2000-03-16 Neil Booth <NeilB@earthling.net>
1877 * cppinit.c (handle_option): Implement #unassert directive
1878 as -A- command line option.
1879 (print_help): Update.
1880 * cpptexi.c: Update.
1882 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
1884 * md.texi (Standard Names): Document `jump'.
1886 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
1888 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
1891 2000-03-15 Geoff Keating <geoffk@cygnus.com>
1893 See the ChangeLog on the branch for more details.
1895 * configure.in: Merge in changes from newppc-branch.
1896 * configure: Regenerate.
1897 * config/rs6000/*: Merge in changes from newppc-branch.
1898 Also correct copyright notices.
1900 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
1902 * acconfig.h (HAVE_GAS_WEAK): New define.
1903 * configure.in (assembler weak support): Check for .weak support.
1904 * config.in, configure: Rebuilt.
1905 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
1906 HAVE_GAS_WEAK is defined.
1908 2000-03-15 Nick Clifton <nickc@cygnus.com>
1910 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
1913 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
1915 * cppfiles.c (open_include_file): New function.
1916 (find_include_file, cpp_read_file): Use it.
1918 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
1920 * cpphash.c (dump_hash_helper): Take the slot, not the element.
1922 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
1924 * flow.c (verify_flow_info): Check for unconditional return.
1926 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
1928 * config/ia64/ia64.md (restore_stack_nonlocal): New.
1929 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
1930 (__ia64_restore_stack_nonlocal): New.
1931 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
1933 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1935 * cpphash.c (collect_formal_parameters): Do not complain about
1936 parameter names that just start with `__VA_ARGS__'.
1938 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
1940 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
1941 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
1942 * i386.c (pentiumpro_cost): Set mul cost to 4.
1943 (x86_use_movx): Set for PPro.
1945 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
1947 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
1948 STACK_BOUNDARY for empty frames now.
1950 2000-03-14 Mark Mitchell <mark@codesourcery.com>
1952 * stor-layout.c (layout_union): Remove.
1953 (layout_union_field): New function, split out from layout_union.
1954 (finish_union_layout): Likewise.
1955 (layout_field): Handle unions by calling layout_union_field.
1956 (finish_record_layout): Handle unions.
1957 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
1958 QUAL_UNION_TYPE handling.
1960 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
1962 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
1963 end of basic block is jump_insn, not barrier; use create_basic_block
1964 instead of creating basic block by hand.
1966 2000-03-14 Jason Eckhardt <jle@cygnus.com>
1968 * flow.c (reorder_basic_blocks): Account for barriers when writing
1969 over NEXT_INSN (last_bb->end).
1970 (verify_flow_info): Add check for missing barriers.
1972 2000-03-14 Greg McGary <gkm@gnu.org>
1974 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
1975 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
1976 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
1977 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
1978 __unbounded, __unbounded__): New keywords.
1979 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
1980 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
1981 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1983 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1985 * cselib.h: New file.
1986 * alias.c: Include "cselib.h".
1987 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
1988 MEMs as two new arguments.
1989 (get_addr): New static function.
1990 (find_base_term): Handle VALUEs.
1991 (memrefs_conflict_p): Likewise.
1992 (true_dependence): Call get_addr on the addresses.
1993 Call fixed_scalar_and_varying_struct_p with addresses that have been
1994 passed through get_addr and canon_rtx.
1995 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
1996 with true_dependence.
1997 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
1998 * loop.c: Include "cselib.h".
1999 (load_mems): Process extended basic block that enters the loop with
2000 cselib. Use that information to change initialization of the shadow
2001 register so that a constant equivalence is seen by later passes.
2002 * reload1.c: Include "cselib.h".
2003 (reload_cse_invalidate_regno): Delete function.
2004 (reload_cse_mem_conflict_p): Likewise.
2005 (reload_cse_invalidate_mem): Likewise.
2006 (reload_cse_invalidate_rtx): Likewise.
2007 (reload_cse_regno_equal_p): Likewise.
2008 (reload_cse_check_clobber): Likewise.
2009 (reload_cse_record_set): Likewise.
2010 (reg_values): Delete static variable.
2011 (invalidate_regno_rtx): Likewise.
2012 (reload_cse_delete_noop_set): New static function.
2013 (reload_cse_simplify): New static function, broken out of
2015 (reload_cse_noop_set_p): Delete unused argument INSN.
2016 Just call rtx_equal_for_cselib_p on set source and destination.
2017 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2018 reload_cse_delete_noop_set. Delete code to keep track of values; use
2019 cselib functions instead. Delete code to push/pop obstacks.
2020 (reload_cse_simplify_set): Use cselib to find equivalent values.
2021 Delete code to push/pop obstacks.
2022 (reload_cse_simplify_operands): Likewise.
2023 * rtl.def (VALUE): New rtx code.
2024 * rtl.h (union rtunion_def): New elt rt_cselib.
2025 (X0CSELIB, CSELIB_VAL_PTR): New macros.
2026 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2027 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2028 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2029 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2030 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2031 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2032 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
2033 cselib_record_set, cselib_record_sets): New static functions.
2034 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
2035 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
2036 references_value_p): New functions.
2037 (MAX_USELESS_VALUES, REG_VALUES): New macros.
2038 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
2039 n_useless_values, reg_values, callmem, cselib_obstack,
2040 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
2041 New static variables.
2042 * varray.h (union varray_data_tag): New elt te.
2043 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
2044 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
2047 2000-03-14 Nick Clifton <nickc@cygnus.com>
2049 * gcc.c (do_spec_1): Catch the case where %* is used in a
2050 substitution pattern, but it has not been initialised.
2051 Issue a meaningful error message if an unrecognised operator
2052 is encountered in a spec string.
2054 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
2056 * function.c (prepare_function_start): Correctly initialize
2057 cfun->stack_alignment_needed.
2059 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
2061 * cppfiles.c (find_include_file): Don't assume nshort is a
2064 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
2066 * configure.in (hppa configurations): Add pa32-regs.h to the
2067 list of tm files as appropriate.
2068 * configure: Rebuilt.
2069 * pa.c (compute_frame_size): Remove explicit knowledge about FP
2071 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2072 (fmpyaddoperands, fmpysuboperands): Likewise.
2073 * pa.h: Remove various definitions which depend on knowing
2074 how registers are numbered.
2075 * pa32-regs.h: New file with PA32 register numbering specific
2078 2000-03-14 Richard Henderson <rth@cygnus.com>
2080 * regmove.c (combine_stack_adjustments): New.
2081 (stack_memref_p, single_set_for_csa): New.
2082 (free_csa_memlist, record_one_stack_memref): New.
2083 (try_apply_stack_adjustment): New.
2084 (combine_stack_adjustments_for_block): New.
2085 * rtl.h (combine_stack_adjustments): Declare.
2086 * toplev.c (rest_of_compilation): Call it.
2088 * i386.md: Revert 2000-01-16 change.
2090 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2092 * gccbug.in: Add web category, gcc specific classes.
2094 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
2096 * stor-layout.c (finalize_record_size): Fix typo.
2098 2000-03-14 Stan Shebs <shebs@apple.com>
2100 * c-typeck.c (c_alignof): Error on incomplete types.
2101 * extend.texi (Alignment): Document this.
2103 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
2105 * cppfiles.c: Include mkdeps.h.
2106 (find_include_file, read_include_file): Remove _cpp_ prefix
2107 from name, make static.
2108 (_cpp_execute_include): New function, broken out of
2111 * cpplib.c: Don't include mkdeps.h.
2112 (struct directive): Remove type field. Reorder entries. The
2113 function takes only one argument.
2114 (struct if_stack): Make type field an int.
2115 (directive_table): Rename to dtable. Generate it, the
2116 prototypes of the directive handlers, and the enum for the
2117 directive numbers, from a template macro.
2118 (do_ifndef, do_include_next, do_import): New functions.
2119 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
2120 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
2121 do_ident, do_assert, do_unassert, do_sccs): Take only one
2123 (do_sccs): Define always, but alter behavior based on
2125 (_cpp_handle_directive, consider_directive_while_skipping):
2126 Restructure for new directive table layout.
2128 (pass_thru_directive): Take a directive number, not a pointer
2129 to a struct directive.
2130 (parse_include): New function, broken out of do_include.
2131 (do_include, do_import, do_include_next): Use parse_include
2132 and _cpp_execute_include.
2133 (do_elif, do_else): Test for T_ELSE specifically when checking
2134 for #elif/#else after #else.
2135 (parse_ifdef): New function, broken out of do_ifdef.
2136 (validate_else): Expect a name arg without a leading #.
2137 (if_directive_name): Delete.
2138 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
2139 directive handlers with only one argument.
2141 * cpphash.h: Update prototypes.
2142 (enum node_type): Remove entries for directives.
2143 * Makefile.in: Update dependencies.
2145 * cpphash.c (dump_hash_helper): Only dump nodes of type
2146 T_MACRO. Emit a newline after each definition.
2148 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2150 * gccbug.in: New file.
2151 * configure.in (all_outputs): Add gccbug.
2152 * Makefile.in (install-common): Install gccbug.
2153 (GCCBUG_INSTALL_NAME): New variable.
2154 * configure: Rebuilt.
2156 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
2158 * function.c (put_var_into_stack): Use type_for_mode to calculate
2159 part_type. Use MEM_SET_IN_STRUCT_P.
2160 * expr.c (store_field): Handle CONCAT.
2161 (store_constructor): Use fields_length.
2162 * tree.c (fields_length): New fn.
2163 * tree.h: Declare it.
2165 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
2167 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
2168 (cpplex.o): New target.
2169 * po/POTFILES.in: Add cpplex.c.
2171 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
2172 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
2173 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
2174 skip_block_comment, skip_line_comment, skip_comment,
2175 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
2176 _cpp_parse_name, skip_string, parse_string,
2177 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
2178 _cpp_get_directive_token, find_position,
2179 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
2180 (maybe_macroexpand, _cpp_lex_token): New functions.
2182 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
2183 parse_goto_mark): Delete.
2184 (_cpp_handle_eof): New function.
2185 (_cpp_handle_directive): Rename from handle_directive.
2186 (_cpp_output_line_command): Rename from output_line_command.
2187 (do_if, do_elif): Call _cpp_parse_expr directly.
2188 * cppfiles.c (_cpp_read_include_file): Don't call
2189 init_input_buffer here.
2190 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
2191 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
2192 here; pop the token_buffer and skip the rest of the line here.
2193 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
2196 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
2198 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
2199 CPP_GOTO_MARK): New macros.
2200 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
2201 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
2202 _cpp_read_and_prescan, _cpp_init_input_buffer,
2203 _cpp_grow_token_buffer, _cpp_get_directive_token,
2204 _cpp_handle_directive, _cpp_handle_eof,
2205 _cpp_output_line_command): Prototype them here.
2206 * cpplib.h (enum cpp_token): Add CPP_MACRO.
2207 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
2208 quote_string, output_line_command): Remove.
2210 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
2212 * stmt.c (expand_end_case): RANGE may be signed, and when checking
2213 whether it is too large we must also verify that it isn't negative.
2215 2000-03-13 Jakub Jelinek <jakub@redhat.com>
2217 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
2218 (movsi_zero_liveg0): Remove.
2219 (movsf_insn_novis_liveg0): Remove.
2221 (negsi2_not_liveg0): Rename to negsi2.
2222 (one_cmplsi2): Remove.
2223 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
2224 (one_cmplsi2_liveg0): Remove.
2225 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
2226 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
2227 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
2228 (PREDICATE_CODES): Remove zero_operand.
2229 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
2230 TARGET_BROKEN_SAVERESTORE.
2231 (zero_operand): Remove.
2232 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
2233 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
2235 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2236 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2237 TARGET_BROKEN_SAVERESTORE): Remove.
2238 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2240 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2242 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2245 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
2247 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
2249 * cpplib.c (do_pragma_implementation): Fix off-by-one error
2250 truncating a string. Don't assume tokens are nul terminated.
2251 Problem noted by Andreas Jaeger <aj@suse.de>
2253 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
2255 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
2256 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
2257 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2259 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
2261 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
2262 STRUCTURE_SIZE_BOUNDARY.
2264 2000-03-13 Mark Mitchell <mark@codesourcery.com>
2266 * tree.h (record_layout_info_s): New structure.
2267 (record_layout_info): New type.
2268 (new_record_layout_info): New function.
2269 (layout_field): Likewise.
2270 (finish_record_layout): Likewise.
2271 * stor-layout.c (layout_record): Remove.
2272 (new_record_layout_info): New function.
2273 (layout_field): New function, broken out from layout_record.
2274 (finalize_record_size): Likewise.
2275 (compute_record_mode): Likewise.
2276 (finalize_type_size): New function, broken out from layout_type.
2277 (finish_record_layout): Likewise.
2278 (layout_type): Use them.
2280 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
2282 * cpphash.c: Don't include version.h.
2283 (special_symbol) [case T_VERSION]: Look for the string in
2284 hp->value.cpval; don't use version_string.
2285 * cppinit.c (initialize_builtins): Set hp->value.cpval for
2286 __VERSION__ to version_string.
2287 * Makefile.in (cpphash.o): Update deps.
2289 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
2291 Convert cpplib to use libiberty/hashtab.c.
2293 * cpplib.h (struct cpp_reader): Make hashtab and
2294 all_include_files of type 'struct htab *'. Delete HASHSIZE
2295 and ALL_INCLUDE_HASHSIZE macros.
2297 * cpphash.h: Update prototypes.
2298 (struct hashnode): Remove next, prev, and bucket_hdr members.
2299 Make length a size_t. Add hash member.
2300 (struct ihash): Remove next member. Add hash member. Make
2301 name a flexible array member.
2303 * cppfiles.c: Include hashtab.h.
2304 (include_hash): Delete.
2305 (IHASHSIZE): New macro.
2306 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
2307 (cpp_included): Do the hash lookup here.
2308 (_cpp_find_include_file): Rewrite.
2309 (cpp_read_file): Put the "fake" hash entry into the hash
2310 table. Honor the control_macro, if it turns out we've seen
2311 the file before. Don't push the buffer here.
2312 (_cpp_read_include_file): Push the buffer here.
2313 (OMODES): New macro. Use it whenever we call open(2).
2315 * cpphash.c: Include hashtab.h.
2316 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
2317 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
2318 _cpp_lookup_slot): New functions.
2319 (HASHSIZE): new macro.
2320 (hashf, _cpp_install, _cpp_delete_macro): Delete.
2321 (_cpp_lookup): Use hashtab.h routines.
2323 * cppinit.c: Include hashtab.h.
2324 (cpp_reader_init): Call _cpp_init_macro_hash and
2325 _cpp_init_include_hash. Don't allocate hashtab directly.
2326 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
2327 pfile->all_include_files.
2328 (initialize_builtins): Use _cpp_make_hashnode and
2329 htab_find_slot to add hash entries.
2330 (cpp_finish): Just call _cpp_dump_macro_hash.
2331 * cpplib.c: Include hashtab.h.
2332 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
2333 create hash entries.
2334 (do_pragma_poison, do_assert): Likewise.
2335 (do_include): Don't push the buffer here. Don't increment
2336 system_include_depth unless _cpp_read_include_file succeeds.
2337 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
2339 (do_pragma_implementation): Use alloca to create copy.
2341 * Makefile.in: Update dependencies.
2343 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2345 * cppinit.c (cl_directive_handler): More K&R fixing.
2347 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
2349 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
2351 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2353 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2355 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
2356 Change from char[] to macros.
2358 2000-03-12 Neil Booth <NeilB@earthling.net>
2360 * cppinit.c (cpp_start_read): Update indirect function
2363 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
2365 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
2368 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2369 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
2371 2000-03-11 Neil Booth <NeilB@earthling.net>
2373 * cppinit.c (struct pending option): Replace undef with a
2374 pointer to a directive handling routine.
2375 (struct cpp_pending): Replace separate assert_ and define_
2376 lists with one directive_ list.
2377 (new_pending_define): Rename new_pending_directive. Extra
2378 argument is the directive's handling routine.
2379 (handle_option): Update to use new_pending_directive.
2381 2000-03-11 Neil Booth <NeilB@earthling.net>
2383 * cppfiles.c (file_cleanup, _cpp_find_include_file,
2384 remap_filename, _cpp_read_include_file, actual_directory,
2385 hack_vms_include_specification): Replace bcopy(), index() etc
2386 calls. Add casts to some allocations. Make some variables
2387 pointers to const [unsigned] char.
2388 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
2389 collect_formal_parameters): Similarly.
2390 * cppinit.c (struct pending_option, append_include_chain,
2391 cpp_options_init, cpp_reader_init, initialize_standard_includes,
2392 cpp_start_read, new_pending_define, handle_option): Similarly.
2393 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
2394 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
2395 do_pragma_implementation, detect_if_not_defined,
2396 do_ifdef, skip_if_group, cpp_get_token, parse_string,
2397 do_assert, do_unassert): Similarly.
2398 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
2399 function prototypes.
2400 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
2402 2000-03-10 Richard Henderson <rth@cygnus.com>
2404 * builtins.c (expand_builtin_strlen): Revert last change.
2405 Use emit_insn_before if we're at the beginning of a sequence.
2407 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
2409 * builtins.c (expand_builtin_strlen): Make sure that we have something
2410 at the beginning of the sequence.
2412 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
2415 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
2417 2000-03-10 Richard Henderson <rth@cygnus.com>
2419 * except.c (can_throw): Use INTVAL on a CONST_INT.
2420 (reachable_handlers): Likewise.
2421 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
2423 2000-03-10 Andreas Jaeger <aj@suse.de>
2425 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
2426 MD_STARTFILE_PREFIX since those are not needed on linux.
2427 (ASM_FILE_START): New, from mips/gnu.h.
2429 2000-03-09 Richard Henderson <rth@cygnus.com>
2430 Alex Samuel <samuel@codesourcery.com> and others
2432 * Makefile.in (ssa.o): New rule.
2434 (STAGESTUFF): Add *.ssa and *.ussa.
2435 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
2436 * rtl.def (PHI): New RTL expression.
2437 * rtl.h (clear_log_links): New declaration.
2438 (convert_to_ssa): Likewise.
2439 (convert_from_ssa): Likewise.
2440 * flow.c (split_edge): If the entry node falls through to the
2441 split edge's source block, split the entry edge.
2442 (clear_log_links): New function.
2443 * toplev.c (ssa_dump): New variable.
2444 (flag_ssa): Likewise.
2445 (f_options): Add "ssa".
2446 (compile_file): Create SSA dump files.
2447 (rest_of_compilation): Go to and from SSA if enabled.
2448 (decide_d_option): Handle -de for SSA dump files.
2451 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
2453 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
2456 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
2458 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
2460 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
2462 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
2463 (MD_STARTFILE_PREFIX_1): New macro.
2465 2000-03-09 Robert Lipe <robertl@sco.com>
2467 * config/ia64/ia64.c: Include system.h.
2469 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
2471 * except.c (nothrow_function_p): If -fno-exceptions, just return.
2472 (init_eh_nesting_info): Likewise.
2474 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
2475 (TREE_NOTHROW): Rename from TREE_RAISES.
2476 * toplev.c (rest_of_compilation): Set it.
2477 * print-tree.c (print_node): Adjust.
2478 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
2479 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
2480 * calls.c (emit_call_1): Add 'nothrow' parm. Add
2481 REG_EH_REGION note as appropriate.
2482 (libfunc_nothrow): New fn.
2483 (emit_library_call, emit_library_call_value): Use it.
2484 (expand_call): Check TREE_NOTHROW.
2486 * varasm.c (make_decl_rtl): Skip initial '*' when setting
2487 DECL_ASSEMBLER_NAME.
2489 2000-03-09 Andreas Jaeger <aj@suse.de>
2491 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
2492 (TARGET_MEM_FUNCTIONS): Define.
2494 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
2496 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
2498 * except.c (can_throw): See through a SEQUENCE.
2499 (nothrow_function_p): New fn.
2500 * except.h: Declare it.
2501 * function.c (current_function_nothrow): New var.
2502 (prepare_function_start): Initialize it.
2503 * output.h: Declare it.
2504 * toplev.c (rest_of_compilation): Set it.
2505 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
2507 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2509 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
2510 match. (cpp_compare_defs): Count the nul separator when
2511 advancing over argument names.
2513 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
2515 * recog.c (preprocess_constraints): Matching constraints affect
2516 same alternative/different operand, not same operand/different
2519 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
2520 register and a constant specially.
2522 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2524 * libgcc2.h: New file.
2525 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
2527 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
2529 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
2530 * configure: Regenerate.
2533 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2535 * Makefile.in (LIBCPP_DEPS): New macro.
2536 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
2538 * cpperror.c: Include cpphash.h.
2539 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
2541 (lex): Don't use CPP_WARN_UNDEF.
2542 (_cpp_parse_expr): Return an int, the truth value.
2543 * cppfiles.c: Include cpphash.h.
2544 (_cpp_merge_include_chains): Move to cppinit.c and make static.
2545 * cppinit.c (include_defaults_array): Disentangle.
2546 (cpp_cleanup): Don't free the if stack here.
2547 (cpp_finish): Pop off all buffers, not just one.
2548 * cpplib.c (eval_if_expr): Return int.
2549 (do_xifdef): Rename do_ifdef.
2550 (handle_directive): Don't use CPP_PREPROCESSED.
2551 (cpp_get_token): Don't use CPP_C89.
2552 * fix-header.c: Don't use CPP_OPTIONS.
2554 * cpplib.h: Move U_CHAR, enum node_type, struct
2555 file_name_list, struct ihash, is_idchar, is_idstart,
2556 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
2557 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
2558 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
2559 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
2560 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
2561 of _cpp_simplify_pathname, _cpp_find_include_file,
2562 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
2563 Move struct if_stack to cpplib.c. Move struct cpp_pending to
2565 Change all uses of U_CHAR to be unsigned char instead.
2566 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
2568 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
2570 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
2571 (dwarf2out_begin_prologue): Set it.
2572 (output_call_frame_info): Don't emit EH unwind info for leaves.
2574 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
2575 can occur outside of an EH region.
2576 * except.c: Correct comments about rethrow behavior.
2577 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
2579 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
2581 * flow.c (make_edges): Always call make_eh_edge for calls.
2583 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2585 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
2586 (struct cpp_buffer): Remove fname and underflow fields.
2587 (struct cpp_reader): Remove get_token field.
2588 (struct include_hash): Rename to struct ihash. Add typedef to
2590 (struct if_stack): Remove fname field.
2591 (IF_STACK_FRAME): Rename to IF_STACK.
2593 * cpperror.c (print_containing_files): Trust that there are no
2594 macro buffers below the top file buffer.
2595 * cppfiles.c: Replace all references to 'struct include_hash'
2596 with 'IHASH'. Rename initialize_input_buffer to
2597 init_input_buffer. Don't set or reference cpp_buffer->fname,
2598 use buffer->ihash->name instead.
2599 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
2600 not CPP_NULL_BUFFER.
2601 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
2602 IF_STACK_FRAME, IHASH not struct include_hash.
2603 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
2604 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
2605 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
2606 references to cpp_buffer->fname (delete entirely, or use
2607 ->ihash->name instead) and IF_STACK->fname.
2608 (cpp_push_buffer): Don't set new->underflow.
2609 (do_include): Use cpp_file_buffer.
2611 * cpphash.c (collect_formal_parameters): Remove duplicate
2612 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
2613 used as a macro argument name. Don't append "..." to namebuf
2614 for varargs macros. After we're done scanning, go through
2615 namebuf and make it NUL separated, not comma separated.
2616 (_cpp_compare_defs): Remove register tag from variables.
2617 Expect defn->argnames to be NUL separated.
2618 (_cpp_dump_definition): Expect defn->argnames to be NUL
2619 separated and in forward order.
2620 * cpphash.h: Update documentation of argnames field.
2622 2000-03-08 Richard Henderson <rth@cygnus.com>
2624 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
2625 to fail. Don't pre-expand the source operand.
2627 * i386.md (strlensi): Initialize eoschar and align before use.
2629 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
2631 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
2632 CONSTRUCTOR element.
2634 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
2636 * mips.c (mips_expand_prologue): If the last
2637 named argument is the vararg marker "va_list", treat it as
2638 an unnamed argument.
2640 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
2642 * dbxout.c (dbxout_parms): When correcting for promoted
2643 big-endian parameters, use the mode of the DECL_RTL rather
2644 than UNITS_PER_WORD.
2646 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
2648 * c-common.h (make_fname_decl): Declare.
2649 * c-common.c (make_fname_decl): Define.
2650 (declare_hidden_char_array): Remove.
2651 (declare_function_name): Use make_fname_decl.
2652 * c-decl.c (c_make_fname_decl): New function.
2653 (init_decl_processing): Set make_fname_decl.
2655 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
2657 * cccp.c (handle_directive): Initialize backslash_newlines_p.
2659 2000-03-07 Philipp Thomas <pthomas@suse.de>
2661 * po/POTFILES.in: Remove cppalloc.c from file list.
2663 2000-03-07 Steve Chamberlain <sac@pobox.com>
2665 * pj.c (pj_expand_prologue): current_function->args_info is
2666 now current_function_args_info.
2668 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
2669 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
2670 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
2672 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2674 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
2675 output as hexadecimal rather than the default octal.
2677 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
2679 * cpphash.c (special_symbol): Fix thinko in previous commit.
2681 2000-03-07 Neil Booth <NeilB@earthling.net>
2683 * cppexp.c (struct operation, left_shift, right_shift,
2684 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
2685 "int"s to "unsigned int"s.
2686 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
2688 * cpplib.h: Update for above.
2689 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
2690 returned from allocations.
2692 * cppinit.c (opt_comp, parse_options): New functions.
2693 (handle_option): Use parse_option to parse a single command
2694 line option, that possibly takes an argument.
2695 (cpp_handle_options): Sort the array of command line options on
2696 first invocation (non-ASCII hosts only).
2697 (print_help): Update.
2699 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
2701 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
2702 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
2704 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
2706 * cppinit.c (cpp_cleanup): Free imp->nshort also.
2708 * cpperror.c (cpp_print_containing_files,
2709 cpp_print_file_and_line, v_cpp_message): Rename to
2710 print_containing_files, print_file_and_line, and v_message.
2711 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
2712 to _cpp_parse_expr, parse_escape, and lex.
2713 (parse_charconst): Remove broken multibyte support.
2714 * cppfiles.c (include_hash): Make static.
2715 (cpp_included): New function.
2716 (merge_include_chains, find_include_file, finclude,
2717 simplify_pathname): Rename to _cpp_merge_include_chains,
2718 _cpp_find_include_file, _cpp_read_include_file, and
2719 _cpp_simplify_pathname.
2720 * cpphash.c (cpp_lookup, free_definition, delete_macro,
2721 cpp_install, create_definition, macroexpand, compare_defs,
2722 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
2723 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
2724 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
2725 * cppinit.c (cpp_handle_option): Rename to handle_option, make
2727 * cpplib.c: Remove extern prototype of cpp_parse_expr.
2729 * cpphash.h: Update prototypes.
2730 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
2732 2000-03-07 Andrew Haley <aph@cygnus.com>
2734 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
2735 PTRDIFF_TYPE should be based solely on Pmode.
2738 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2740 * rtl.h (rtunion_def): Constify member `rtstr'.
2741 (emit_line_note_after, emit_line_note, emit_line_note_force,
2742 emit_note, decode_asm_operands): Constify.
2744 * cse.c (canon_hash): Likewise.
2746 * dbxout.c (dbxout_block): Likewise.
2748 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
2749 v_warning_for_asm): Likewise.
2751 * dwarfout.c (function_start_label): Likewise.
2753 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
2754 emit_line_note_force): Likewise.
2756 * final.c (last_filename, asm_insn_count, final_scan_insn,
2757 output_source_line): Likewise.
2759 * function.h (struct emit_status): Likewise.
2761 * gcse.c (hash_expr_1): Likewise.
2763 * genattr.c (gen_attr, main): Likewise.
2765 * genattrtab.c (struct function_unit, current_alternative_string,
2766 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
2767 attr_numeral, check_attr_test, check_attr_value,
2768 convert_set_attr_alternative, convert_set_attr,
2769 compute_alternative_mask, simplify_by_exploding, gen_attr,
2770 gen_unit): Likewise.
2772 * genflags.c (gen_insn): Likewise.
2774 * gengenrtl.c (type_from_format): Likewise.
2776 * genopinit.c (gen_insn): Likewise.
2778 * genoutput.c (n_occurrences, process_template, process_template):
2781 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
2784 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
2787 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
2788 ggc_set_mark, ggc_get_size): Likewise.
2790 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
2792 * optabs.c (init_one_libfunc): Likewise.
2794 * output.h (assemble_start_function): Likewise.
2796 * recog.c (decode_asm_operands): Likewise.
2798 * toplev.c (rest_of_compilation): Likewise.
2800 * tree.h (emit_line_note_after, emit_line_note,
2801 emit_line_note_force): Likewise.
2803 * varasm.c (asm_output_bss, asm_output_aligned_bss,
2804 asm_emit_uninitialised, assemble_start_function,
2805 assemble_variable, const_hash, compare_constant_1,
2806 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
2808 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
2810 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
2812 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
2814 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
2816 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
2817 arm_dllimport_name_p): Likewise.
2819 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
2822 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
2824 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2826 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
2827 arm_mark_dllexport, arm_mark_dllimport,
2828 arm_pe_encode_section_info): Likewise.
2830 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
2831 ASM_FINISH_DECLARE_OBJECT): Likewise.
2833 * arm/thumb.c (thumb_function_prologue): Likewise.
2835 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
2837 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2839 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
2841 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
2843 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
2845 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2847 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
2848 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
2850 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
2852 * i386/i386.c (asm_output_function_prefix): Likewise.
2854 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
2856 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2858 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
2860 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
2861 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
2862 ASM_OUTPUT_SECTION_NAME): Likewise.
2864 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
2866 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
2868 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
2870 * m32r/m32r.c (m32r_encode_section_info): Likewise.
2872 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2874 * mcore/mcore.c (mcore_encode_section_info): Likewise.
2876 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2878 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2880 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2882 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
2884 * mips/mips.md (movdi, movsi): Likewise.
2886 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2888 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2890 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
2892 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
2893 ASM_OUTPUT_ASCII): Likewise.
2895 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
2896 output_mi_thunk, output_toc): Likewise.
2898 * rs6000/rs6000.md (movsi): Likewise.
2900 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
2902 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
2904 * v850/v850.c (print_operand, print_operand_address,
2905 v850_encode_data_area): Likewise.
2907 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
2909 * config/mips/mips.md (zero_extendsidi2): Always force operand
2910 one to memory for mips16.
2912 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2914 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
2915 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
2916 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
2917 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
2918 (min_precision): Result is unsigned.
2919 (add_double, neg_double, mul_double): Low word is unsigned.
2920 (lshift_double, rshift_double, lrotate_double): Likewise.
2921 (rrotate_double, div_and_round_double): Likewise.
2922 (tree_floor_log2, compare_tree_int): New functions.
2923 (preserve_rtl_expr_temps): New declaration.
2924 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
2925 (decl_attributes): Use tree_log2 to find alignment.
2926 Check for TREE_INT_CST_HIGH for format args.
2927 (min_precision): Now unsigned.
2928 Use tree_floor_log2.
2929 (truthvalue_conversion): Delete long-disabled code.
2930 * c-decl.c (finish_struct): Clean up tests on field width.
2931 (finish_function): Use compare_tree_int.
2932 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
2933 * c-typeck.c (comptypes): Use tree_int_cst_equal.
2934 (default_conversion, digest_init): Use compare_tree_int.
2935 (build_binary_op): Use integer_all_onesp and compare_tree_int.
2936 Fix type errors in forming masks.
2937 * calls.c (initialize_argument_information): Use compare_tree_int.
2938 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
2939 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
2940 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
2941 (store_field): Use compare_tree_int.
2942 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
2943 (expand_expr, case ARRAY_REF): Use compare_tree_int.
2944 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
2945 (do_store_flag): Use compare_tree_int.
2946 * fold-const.c (encode, decode): Low part is always unsigned.
2947 (force_fit_type, add_double, neg_double, mul_double): Likewise.
2948 (lshift_double, rshift_double, lrotate_double): Likewise.
2949 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
2950 (fold_convert): Use compare_tree_int.
2951 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
2952 (invert_truthvalue, case INTEGER_CST): Likewise.
2953 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
2954 * mkdeps.c (deps_dummy_targets): Make I unsigned.
2955 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
2956 (lshift_double, rshift_double, lrotate_double, rrotate_double):
2958 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
2959 (expand_end_case): Use compare_tree_int.
2960 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
2961 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
2962 (layout_decl): Likewise.
2963 (layout_record, layout_union): Make sizes unsigned.
2964 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
2965 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
2966 * tree.c (struct type_hash): hashcode is unsigned.
2967 (build_type_attribute_variant, type_hash_list): Likewise.
2968 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
2969 (attribute_hash_list, build_array_type, build_method_type): Likewise.
2970 (build_complex_type): Likewise.
2971 (real_value_from_int_cst): Remove unneeded casts.
2972 (integer_all_onesp): Add casts.
2973 (tree_floor_log2, compare_tree_int): New functions.
2974 (build_index_type): Use tree_int_cst_sgn.
2975 * varasm.c (assemble_variable): Use compare_tree_int.
2977 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
2979 * cpphash.c (collect_expansion): Also catch ## at start of macro.
2981 * varasm.c (make_decl_rtl): Don't add a number to members of
2983 (make_function_rtl): Likewise.
2985 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2987 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
2988 patch from 2000-01-28.
2990 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
2992 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
2993 filled with an insn from the jump target.
2995 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2997 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
2998 (c4x_external_ref): Likewise.
2999 * config/c4x/c4x.c (struct name_list): Likewise.
3001 1999-12-16 Ben Collins <bcollins@debian.org>
3003 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3004 argument to genmultilib.
3005 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3006 the contents into the multilib.h header.
3007 * gcc.c: Declare multilib_exclusions for the specs file.
3008 (set_multilib_dir): Use it.
3009 (print_multilib_info): Likewise.
3010 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3011 to pass to genmultilib.
3013 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3015 * builtins.c (built_in_class_names, built_in_names): Constify a
3018 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3020 (_mcleanup): Ensure value matches format specifier in sprintf.
3022 * cpphash.c (special_symbol): Don't needlessly cast away
3025 * cppinit.c (base_name): Delete unused prototype.
3027 * mkdeps.c (deps_init): Make definition K&R safe.
3029 * tree.h (built_in_class_names, built_in_names): Constify a
3032 2000-03-06 Jakub Jelinek <jakub@redhat.com>
3034 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
3035 floating point instructions for epilogue delay.
3037 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
3038 to gas if it supports .register pseudo.
3040 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
3041 LONG_DOUBLE_TYPE_SIZE if not defined.
3042 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
3043 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
3045 * gengenrtl.c: Likewise.
3046 * print-rtl.c: Likewise.
3048 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
3049 MASK_LONG_DOUBLE_128.
3050 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
3051 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
3052 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
3053 (SUBTARGET_SWITCHES): Define.
3054 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
3055 with -mlong-double-128.
3056 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3057 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3058 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3059 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
3060 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
3061 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
3062 with -mlong-double-128.
3063 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3064 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3065 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3066 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
3067 TARGET_LONG_DOUBLE_128): Define.
3068 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
3069 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
3070 long double on TARGET_ARCH64.
3072 2000-03-06 Mark Mitchell <mark@codesourcery.com>
3074 * function.c (free_temps_for_rtl_expr): Don't free slots
3075 that have been pushed into a higher level.
3078 2000-03-05 Mark Mitchell <mark@codesourcery.com>
3080 2000-03-05 Mark Mitchell <mark@codesourcery.com>
3082 * basic-block.h (ALLOCA_REG_SET): Remove.
3083 (INITIALIZE_REG_SET): New macro.
3084 * flow.c (update_life_info): Use it.
3085 (calculate_global_regs_live): Likewise.
3086 (propagate_block): Likewise.
3087 * global.c (build_insn_chain): Likewise.
3088 * haifa-sched.c (schedule_region): Likewise.
3090 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
3092 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
3093 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
3094 (DWARF_ARANGES_PAD_SIZE): New define.
3095 (output_aranges): Use it to pad the address range header.
3096 (DWARF_ROUND): Fix for non power of 2 rounding.
3098 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
3100 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
3102 2000-03-05 Mark Mitchell <mark@codesourcery.com>
3104 * tree.def (RTL_EXPR): Update documentation.
3105 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
3106 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
3107 * function.c (preserve_rtl_expr_temp): New function.
3108 (preserve_rtl_expr_temps): Likewise.
3109 (preserve_rtl_expr_result): Use it.
3112 2000-03-04 Mark Mitchell <mark@codesourcery.com>
3114 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
3116 * regmove.c (copy_src_to_dest) Do not create src->dest move
3117 for unchanging destination.
3119 2000-03-04 Mark Mitchell <mark@codesourcery.com>
3121 * function.h (struct sequence_stack): Remove rtl_expr.
3122 (struct emit_staus): Likewise.
3123 (seq_rtl_expr): Remove.
3124 * tree.h (free_temps_for_rtl_expr): Don't declare.
3125 (start_sequence_for_rtl_expr): Likewise.
3126 * rtl.h (preserve_rtl_expr_result): Likewise.
3127 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
3128 (start_sequence_for_rtl_expr): Remove.
3129 (push_topmost_sequence): Don't save sequence_rtl_expr.
3130 (pop_topmost_sequence): Remove comment about not restoring it.
3131 (end_sequence): Don't set seq_rtl_expr.
3132 (init_emit): Don't initialize it.
3133 (mark_sequence_stack): Don't mark it.
3134 (mark_emit_status): Likewise.
3135 * except.c (protect_with_terminate): Use
3136 start_sequence_for_rtl_expr, not start_sequence.
3137 * expr.c (expand_expr, case RTL_EXPR): Don't call
3138 preserve_rtl_expr_result or free_temps_for_rtl_expr.
3139 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
3140 (preserve_rtl_expr_result): Remove.
3141 (free_temps_for_rtl_expr): Likewise.
3142 (pop_temp_slots): Likewise.
3143 (mark_temp_slot): Don't mark the rtl_expr.
3144 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
3145 start_sequence_for_rtl_expr.
3147 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
3149 * mkdeps.c, mkdeps.h: New files.
3150 * po/POTFILES.in: Add them.
3151 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
3152 (cpplib.o, cppinit.o): Depend on mkdeps.h.
3153 (mkdeps.o): New target.
3155 * cppfiles.c: Delete deps_output.
3156 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
3157 OBJECT_SUFFIX, and base_name.
3158 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
3160 (initialize_dependency_output): Use deps_init,
3161 deps_add_target, deps_calc_target, and deps_add_dep. Remove
3162 all the unnecessary string bashing.
3163 (cpp_finish): Use deps_write. Remove an unnecessary nesting
3165 * cpplib.c (do_include): Use deps_add_dep.
3166 * cpplib.h (struct cpp_reader): Replace deps_buffer,
3167 deps_allocated_size, deps_size, deps_column members with
3168 single pointer to a struct deps. Delete prototype of
3171 * cppinit.c: Fix thinko in previous patch.
3173 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3175 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
3176 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
3177 (mode_for_size_tree): New function.
3178 (layout_decl, layout_type): Call it and clean up BLKmode checks.
3179 * tree.h (mode_for_size_tree): New declaration.
3181 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
3183 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
3185 * stmt.c (is_body_block): Move...
3186 * dwarfout.c, dwarf2out.c: ...from here.
3187 * tree.h: Declare it.
3188 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
3189 * final.c (final_start_function): Do call remove_unnecessary_notes
3192 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
3194 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
3196 * cpplib.h (_dollar_ok): New macro.
3197 (is_idchar, is_idstart): Use it.
3198 (IStable): Rename to _cpp_IStable. Declare it const if
3199 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
3200 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
3201 is_space): Update for renamed IStable.
3203 * cppinit.c: Delete all references to FAKE_CONST and CAT
3204 macros. Define init_IStable as empty macro if gcc >=2.7 or
3205 C99. Change TABLE() to ISTABLE and hardcode name of table.
3206 (cpp_start_read): Don't change the IStable based on
3209 * cpphash.c (unsafe_chars): Add pfile argument. All callers
3210 changed. Handle '$' for char1 correctly.
3211 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
3213 * cppexp.c (tokentab2): Make const.
3214 (cpp_lex): Make toktab const.
3215 * cppinit.c (include_defaults_array): Make const.
3216 (initialize_standard_includes): Make default_include const.
3218 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
3220 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
3221 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
3222 (gen_decl_die): Likewise.
3223 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
3224 (output_decl): Likewise.
3226 * varasm.c (make_function_rtl): If we change the name used in the
3227 rtl, update DECL_ASSEMBLER_NAME accordingly.
3228 (make_decl_rtl): Likewise.
3230 * toplev.c (rest_of_compilation): Tweak formatting.
3232 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
3233 remove_unnecessary_notes.
3234 (debug_ignore_block): New fn.
3235 * toplev.h: Declare it.
3236 * emit-rtl.c (remove_unncessary_notes): Call it.
3237 * dwarf2out.c (dwarf2out_ignore_block): New fn.
3238 * dwarf2out.h: Declare it.
3239 * final.c (final_start_function): Don't call remove_unnecessary_notes
3240 if we did insn scheduling.
3242 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
3244 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
3245 * cpplib.h: Delete SET_CPP_PEDANTIC.
3247 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3249 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
3250 result is a RECORD_TYPE.
3252 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
3254 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
3256 2000-03-03 Richard Henderson <rth@cygnus.com>
3258 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
3259 addition over compliments over shifts.
3261 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3263 * reload1.c (reload_combine_note_use): Handle return register USEs.
3264 REG case: Handle multi-hard-register hard regs.
3266 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3268 * md.texi: Document use of '*' in insn pattern name.
3270 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
3272 * calls.c (special_function_p): operator new may not be malloc-like.
3274 * gcse.c (dump_hash_table): Really fix error in last change.
3276 2000-03-02 Denis Chertykov <denisc@overta.ru>
3278 * avr.c (print_operand): Use print_operand_address instead of
3280 * avr/libgcc.S: Cleanup code.
3282 2000-03-02 Richard Henderson <rth@cygnus.com>
3284 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
3286 2000-03-02 Mark Mitchell <mark@codesourcery.com>
3288 * tree.h (TYPE_ALIGN_UNIT): New macro.
3290 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
3292 * i386.c: (constant_call_address_operand): Reject CONST_INT.
3294 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
3296 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
3298 (SET_CPP_PEDANTIC): New macro.
3299 * cpplib.c (do_include): Don't bother checking system_header_p.
3300 (do_warning, do_ident, do_assert, do_unassert): Likewise.
3301 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
3303 * function.h (struct expr_status): Add x_arg_space_so_far.
3304 (arg_space_so_far): New macro.
3305 * expr.c (init_expr): Initialize it.
3306 * calls.c (emit_call_1): Reset it.
3307 (compute_argument_block_size, expand_call): Use it.
3308 (expand_call, store_one_arg): Increment it.
3310 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3312 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
3315 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
3317 * cppfiles.c (cpp_read_file): New function.
3319 * cpphash.c (collect_expansion): Make sure to reset last_token
3320 to NORM when we hit a string. Handle trailing whitespace
3321 properly when the expansion is empty.
3322 (create_definition): Disable line commands while parsing the
3324 (dump_definition): If pfile->lineno == 0, output a line
3325 command ahead of the dump, and add a trailing newline.
3327 * cppinit.c (append_include_chain): Add fifth argument, which
3328 indicates whether or not system headers are C++ aware.
3329 (initialize_standard_includes): New function,
3330 broken out of read_and_prescan. Pass 'cxx_aware' value from
3331 the include_defaults_array on to append_include_chain.
3332 (dump_special_to_buffer): Const-ify char array.
3333 (builtin_array): Don't dump __BASE_FILE__.
3334 (cpp_start_read): Use cpp_read_file. Reorder code for
3335 clarity. Don't output line commands here for -D/-A/-U
3336 switches. Don't call deps_output for files included with
3337 -include or -imacros.
3339 * cpplib.c (do_define): Don't pay any attention to the second
3341 (cpp_expand_to_buffer): Disable line commands while scanning.
3342 (output_line_command): Work in the file buffer.
3343 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
3344 Fix formatting of comments. Prototype cpp_read_file.
3346 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3348 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
3349 reference the language-equivalent of sizetype.
3350 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
3351 * fold-const.c (size_binop, size_diffop): Put back checks.
3352 * gcse.c (dump_hash_table): Fix minor error in last change.
3353 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
3354 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
3357 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
3359 * calls.c (expand_call) Do not attempt to combine stack adjustments
3360 with inhibit_defer_pop set.
3362 2000-03-01 Mark Mitchell <mark@codesourcery.com>
3364 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
3365 the DECL_SIZE for a FIELD_DECL.
3367 2000-03-01 Bruce Korb <bkorb@gnu.org>
3369 * fixinc/inclhack.tpl: remove unused symlinks
3370 * fixinc/README: GCC Maintainer info
3371 * fixinc/inclhack.sh: regen
3372 * fixinc/fixincl.sh: regen
3374 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
3376 * cpphash.c (collect_expansion): Trim trailing white space
3377 from macro definitions, but don't go past the last insertion
3380 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
3382 * i386.md (mulqi3): New pattern.
3384 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
3386 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
3388 (struct cpp_reader): Add parsing_if_directive and
3389 parsing_define_directive flags.
3390 (struct cpp_options): Remove output_conditionals flag.
3391 (check_macro_name): Delete prototype.
3393 * cpphash.h (struct macrodef): Delete.
3394 (struct reflist): Separate from struct definition.
3395 (struct definition): Remove unused fields. Add column number.
3396 (create_definition): Returns a DEFINITION *. Takes a
3397 cpp_reader * and an int.
3399 * cpphash.c (SKIP_WHITE_SPACE): Delete.
3400 (PEEKC): Copy defn from cpplib.c.
3401 (rest_extension, REST_EXTENSION_LENGTH): Delete.
3403 (struct arglist): Simplify.
3404 (collect_expansion): Rewrite. Get tokens by calling
3405 cpp_get_token. Add more error checking.
3406 (collect_formal_parameters): New function, broken out of
3407 create_definition and reworked to use get_directive_token.
3408 (create_definition): All real work is now in collect_expansion
3409 and collect_formal_parameters. do_define handles finding the
3410 macro name. Return a DEFINITION, not a MACRODEF.
3411 (macroexpand): Replace bcopy with memcpy throughout. Replace
3412 character-at-a-time copy loop with memcpy and pointer increments.
3413 (compare-defs): d1->argnames / d2->argnames might be null.
3415 * cpplib.c (copy_rest_of_line): Delete function.
3416 (skip_rest_of_line): Do all the work ourselves.
3417 (skip_string): New function.
3418 (parse_string): Use skip_string.
3419 (get_macro_name): New function.
3420 (check_macro_name): Delete.
3421 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
3422 (cpp_skip_hspace): Use CPP_BUMP_LINE.
3423 (handle_directive): ICE if we're called on a macro buffer.
3424 (do_define): Determine macro name and type (funlike/objlike)
3425 here. Expunge all uses of MACRODEF.
3426 (cpp_push_buffer): Set line_base to NULL.
3427 (do_undef, read_line_number): Don't worry about getting a POP token.
3428 (eval_if_expression): Set/reset parsing_if_directive around
3429 cpp_parse_expr. Don't clear only_seen_white.
3430 (skip_if_group): Remove output_conditionals logic. Use
3432 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
3433 tokens under appropriate conditions.
3434 (cpp_unassert): Call do_unassert not do_assert. Oops.
3436 * cppexp.c (parse_defined): New function, break out of
3438 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
3439 ourselves, with cpp_defined.
3440 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
3442 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
3443 * gcc.dg/strpaste-2.c: New.
3445 2000-02-29 Mark Mitchell <mark@codesourcery.com>
3447 * fold-const.c (size_binop): Don't asert inputs are the same and
3448 have TYPE_IS_SIZETYPE set.
3449 (size_diffop): Likewise.
3451 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
3453 * dwarfout.c (output_block): Output abstract blocks even if they
3454 don't have TREE_ASM_WRITTEN set.
3456 * calls.c (emit_library_call): Check for null REG.
3458 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
3460 * c-decl.c (current_function_decl): Move to toplev.c.
3461 (init_decl_processing): Don't add current_function_decl as a ggc
3463 * dbxout.c (dbxout_symbol): Change return type to int.
3464 (dbxout_symbol_location, dbxout_syms): Likewise.
3465 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
3466 any locals. Use current_function_func_begin_label if set.
3467 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
3468 * dwarf2out.c (dwarf2out_begin_prologue): Set
3469 current_function_func_begin_label.
3470 * final.c (final_start_function): Reset it.
3471 * toplev.c (current_function_decl): Define it here.
3472 (current_function_func_begin_label): New variable.
3473 (main): Add both as ggc roots.
3474 * tree.h (current_function_func_begin_label): Declare.
3476 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3478 * gcse.c: Cleanups throughout: mostly white-space, but also
3479 some minor rearrangement of code.
3481 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
3483 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
3484 returns a PARALLEL. Use emit_group_load and use_group_regs
3486 (emit_library_call_value): Similarly.
3488 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
3489 * pa/quadlib.asm: Remove.
3490 * pa/quadlib.c: New file.
3492 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
3493 * configure: Rebuilt.
3495 2000-02-29 Philip Blundell <pb@futuretv.com>
3497 * config/arm/conix-elf.h: New file.
3498 * configure.in (arm*-*-conix*): New configuration.
3499 * configure: Regenerate.
3501 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
3503 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
3504 don't have TREE_ASM_WRITTEN set.
3506 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3508 * Eliminate DECL_FIELD_SIZE.
3509 * builtins.c (built_in_class_names, built_in_names): New variables.
3510 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
3511 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
3512 DECL_SIZE, not DECL_FIELD_SIZE.
3513 * print-tree.c (print_node): Remove code that prints extra blank
3514 lines in some cases.
3515 Properly handle inline and builtin function cases.
3516 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
3517 * tree.h (built_in_class_named, built_in_names): New declarations.
3518 (union tree_decl): Rename internal unions to u1 and u2 and change
3519 some of their components.
3520 Add new field built_in_class.
3521 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
3522 Reflect above changes.
3523 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
3524 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
3525 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
3526 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
3528 2000-02-28 Dmitri Makarov <dim@windriver.com>
3530 * extend.texi: Document ARM's support for long/short calls.
3532 * invoke.texi: Document ARM's -mlong-calls command line switch.
3534 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
3535 (arm_encode_call_attribute): Add prototype.
3536 (arm_set_default_type_attribute): Add prototype.
3537 (arm_strip_name_encoding): Add prototype.
3539 * config/arm/arm.c (arm_init_cumulative_args): replace
3540 initialisation og 'long_calls' field with initialisation of
3541 'call_cookie' field.
3542 (enum arm_pragma_enum): New enum.
3543 (arm_pragma_long_calls): New static variable.
3544 (arm_process_pragma): Also process "#pragma long_calls_off".
3545 (arm_valid_type_attribute_p): Accept short_call attribute.
3546 (arm_comp_type_attributes): Check long/short call attributes.
3547 (arm_encode_call_attribute): New function: Encode long_call
3548 or short_call attribute in function name.
3549 (arm_set_default_type_attributes): New function: Assign
3550 default attributes to newly defined type.
3551 (current_file_function_operand): New function: Return true if
3552 the symbol is a function which has already been compiled.
3553 (arm_is_longcall_p): New function: Return true if the
3554 indicated function should be called via a long call.
3555 (arm_get_strip_length): New function. Returns number of
3556 prefix characters to be stripped from a function's name.
3557 (arm_strip_name_encoding): New function. Strip prefix characters
3558 from a function's name.
3560 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
3562 (SHORT_CALL_FAG_CHAR): Define.
3563 (LONG_CALL_FAG_CHAR): Define.
3564 (ENCODED_SHORT_CALL_ATTR_P): Define.
3565 (ENCODED_LONG_CALL_ATTR_P): Define.
3566 (ARM_NAME_ENCODING_LENGTHS): Define.
3567 (STRIP_NAME_ENCODING): Define.
3568 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
3569 (ARM_ENCODE_CALL_TYPE): Define.
3570 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
3571 (ARM_DECLARE_FUNCTION_SIZE): Define.
3572 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
3574 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
3575 if a long call is needed.
3576 (call_value): Ditto.
3577 (call_symbol): Ditto.
3579 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
3580 ARM_DECLARE_FUNCTION_SIZE.
3582 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
3583 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
3584 (ARM_STRIP_NAME_ENCODING): Undefine.
3585 (STRIP_NAME_ENCODING): Undefine.
3586 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
3587 (ASM_DECLARE_FUNCTION_NAME): Ditto.
3588 (ASM_OUTPUT_COMMON): Ditto.
3589 (ASM_DECLARE_OBJECT_NAME): Ditto.
3591 * config/arm/pe.c (arm_dllexport_name_p): Check for
3593 (arm_dllimport_name_p): Ditto.
3594 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
3595 (arm_mark_dllimport): Ditto.
3597 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3599 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
3601 2000-02-28 Mark Mitchell <mark@codesourcery.com>
3603 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
3605 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
3607 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
3608 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
3609 NO_BUILTIN_WCHAR_TYPE is not defined.
3610 (CPP_WCHAR_TYPE): Delete.
3611 * cccp.c (main): Don't change wchar_type if cplusplus.
3612 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
3614 2000-02-28 Nick Clifton <nickc@cygnus.com>
3616 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
3618 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
3620 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
3621 (ASM_WEAKEN_LABEL): Define.
3623 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
3625 * expr.c (store_constructor): Do not emit USE.
3626 * rtl.h (stupid_life_analysis): Remove.
3628 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3630 * function.c (number_blocks): Reset next_block_index based on
3631 what debugging format is used, not what is defined.
3633 * lcm.c: Minor reformatting throughout.
3634 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
3636 * toplev.c (rest_of_compilation): Account for time in
3637 optimize_mode_switching.
3639 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
3640 if only marking labels.
3642 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
3644 * calls.c (expand_call): Attempt to combine stack adjustments with
3645 pending stack adjustments.
3647 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3649 * loop.c (reg_in_basic_block_p): Don't abort when falling through
3650 to the end of the function.
3652 2000-02-27 Mark Mitchell <mark@codesourcery.com>
3654 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
3656 * final.c (next_block_index): Remove.
3657 (max_block_depth): Likewise.
3658 (pending_blocks): Likewise.
3659 (init_final): Don't initialize them.
3660 (final_start_function): Don't set next_block_index. Set up
3662 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
3663 * function.h (number_blocks): New function.
3664 * function.c (get_block_vector): New function.
3665 (identify_blocks): Use it.
3666 (reorder_blocks): Set NOTE_BLOCK.
3667 (number_blocks): New function.
3668 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
3669 * tree.h (BLOCK_NUMBER): New macro.
3670 (tree_block): Add block_num field.
3671 * dbxout.c (next_block_number): Remove.
3672 (dbxout_init): Don't set it.
3673 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
3674 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
3676 * toplev.c (rest_of_compilation): Always call
3677 find_loop_tree_blocks. Fix indentation.
3678 * dwarf2out.c (next_block_number): Remove.
3679 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
3680 to determine block numbers.
3681 (gen_inlined_subroutine_die): Likewise.
3682 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
3683 (decls_for_scope): Don't increment next_block_number.
3684 * dwarfout.c (next_block_number): Remove.
3685 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
3686 to determine block numbers.
3687 (output_inlined_subroutine_die): Likewise.
3688 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
3689 (output_decls_for_scope): Don't increment next_block_number.
3690 * sdbout.c (next_block_number): Remove.
3691 (sdbout_block): Use BLOCK_NUMBER.
3692 (sdbout_begin_block): Simplify.
3693 * xcoffout.c (next_block_number): Remove.
3694 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
3695 (xcoffout_begin_block): Don't set next_block_number.
3696 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
3699 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3701 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
3702 (expand_builtin_strcpy): Pass correct type to size_binop.
3703 (expand_builtin_strcmp): Likewise.
3704 Clean up conditional structure.
3705 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
3706 (complete_array_type): Don't use size_binop for MAXINDEX.
3707 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
3708 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
3709 (c_alignof): Use size_one_node.
3710 (build_unary_op): Pass arg of proper type to size_binop.
3711 (really_start_incremental_init, push_init_level): Use sizetype for
3712 constructor{,_bit,_unfilled}_index.
3713 (pop_init_label, output_init_element): Likewise.
3714 (output_pending_init_elements, process_init_element): Likewise.
3715 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
3716 * expr.c (store_expr): Use size_int.
3717 (store_constructor): Use proper types for size_binop args.
3718 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
3719 (expand_expr_unaligned): Likewise.
3720 (string_contant): Return object of sizetype.
3721 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
3722 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
3723 (ARGS_SIZE_TREE): Pass proper types to size_binop.
3724 * fold-const.c (int_const_binop): Refine when size_int is called.
3725 (fold_convert): Likewise.
3726 (size_int_wide): Rework to take KIND as arg, only take low order
3727 bits, handle new sizetype_tab datatype, and chain entries in
3729 (size_int_type_wide): New function.
3730 (size_binop): Validate types of arguments.
3731 (ssize_binop): Deleted.
3732 (size_diffop): New function.
3733 (extract_muldiv): Only fold division into multiplication for sizetypes.
3734 * function.c (assign_parms): Use size_diffop and make sure
3735 VAR field is of ssizetype; also pass proper type to size_binop.
3736 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
3737 (round_down): Deleted from here.
3738 * store-layout.c (sizetype_tab): Now an array.
3739 (sizetype_set, early_root_list): New variables.
3740 (variable_size): Use size_one_node.
3741 (round_up): Pass proper type to size_binop.
3742 (round_down): Moved to here and corrected as above.
3743 (layout_record): Pass proper arg types to size_binop.
3744 (layout_type): Likewise.
3745 If sizetype_set is zero, record the type just laid out.
3746 (make_unsigned_type): Don't call set_sizetype;
3747 (make_signed_type): Likewise; also, call fixup_signed_type.
3748 (initialize_sizetypes): New function.
3749 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
3750 set name of bitsizetype to "bit_size_type".
3751 Fix up type of sizes of all types made before call.
3752 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
3753 * tree.c (fix_sizetype): Deleted.
3754 (build_common_tree_nodes): Call initialize_sizetypes.
3755 (build_common_tree_nodes_2): Don't call fix_sizetype.
3756 * tree.h (TYPE_IS_SIZETYPE): New macro.
3757 (initialize_sizetype): New declaration.
3758 (enum size_type_kind): New type.
3759 (struct sizetype_tab): Deleted.
3760 (sizetype_tab): Now array; adjust sizetype macros.
3761 (size_diffop, size_int_type_wide): New functions.
3762 (size_int_wide): Change number of args and type; access macros changed.
3763 (ssize_int, sbitsize_int): New macros.
3764 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
3765 (ROUND_TYPE_SIZE_UNIT): New macro.
3767 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
3769 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
3771 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3773 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
3774 Mark as possibly unused.
3776 * cse.c (cse_insn): Delete dead code involving tablejump.
3777 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
3779 * Makefile.in (libcpp.a): Start by deleting it.
3781 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3783 * cpplib.h (enum file_change_code): Added rename_file.
3784 * cpplib.c (do_line): If a filename is given, set file_change to
3786 (output_line_command): If file_change is rename_file, always
3787 output a # directive with the file name.
3789 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
3791 2000-02-26 Mark Mitchell <mark@codesourcery.com>
3793 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
3794 when copying a PARM_DECL or RESULT_DECL.
3796 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3798 * fix-header.c (recognized_function): Also fix prototypes for
3799 functions taking "void".
3801 2000-02-26 Geoff Keating <geoffk@cygnus.com>
3803 * reload1.c (do_output_reload): Check reg_reloaded_valid before
3804 looking at reg_reloaded_contents.
3806 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
3808 * Makefile.in (STMP_FIXINC): New toggle.
3809 (LIBGCC2_DEPS): Delete all references.
3810 (stmp-headers): Delete target. All references either deleted
3811 or changed to stmp-int-headers.
3812 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
3813 (LIBCPP_OBJS): Take out cppalloc.o.
3814 (cppalloc.o): Delete target.
3815 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
3816 (gen-protos, fix-header): Link with libiberty.a.
3817 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
3820 * configure.in: Remove refs to strerror.
3821 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
3822 * system.h: Take out strerror stanza.
3824 * cpperror.c (my_strerror): Delete function.
3825 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
3826 * cppmain.c (main): Call xmalloc_set_program_name first thing.
3827 * cppalloc.c: Delete file.
3828 * gen-protos.c: Don't provide xrealloc.
3830 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
3831 xstrerror throughout.
3833 2000-02-26 Bruce Korb <bkorb@gnu.org>
3835 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
3836 match for DOS headers, too.
3837 * fixinc/inclhack.sh,fixincl.x: Regenerate.
3839 2000-02-26 Geoff Keating <geoffk@cygnus.com>
3841 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
3842 is right for most ELF targets.
3843 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
3844 Let the default file use %U properly.
3845 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
3848 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
3851 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3853 * toplev.c (documented_lang_options): Correct spelling error.
3854 (decode_d_option, decode_f_option, main): Likewise.
3856 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
3858 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
3859 to tell assembler it is permitted to expand large constants.
3861 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
3863 * protoize.c: (AUX_INFO_SUFFIX): New macro.
3864 (aux_info_suffix): Use.
3865 (SAVE_SUFFIX): New macro.
3867 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
3868 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
3869 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
3871 * invoke.texi (Running Protoize): Update documentation.
3873 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
3875 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
3877 2000-02-25 John Wehle (john@feith.com)
3879 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
3881 2000-02-25 Anthony Green <green@cygnus.com>
3883 * toplev.c (rest_of_compilation): Rebuild jump labels if
3884 combine_instructions has created a new direct jump.
3885 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
3887 (combine_instructions): Call try_combine with new argument.
3888 Return non-null value when new direct jump instruction is created.
3889 * rtl.h: combine_instructions returns an int.
3891 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
3893 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
3894 jump when changing a computed jump into a jump to a known
3897 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
3899 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
3900 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
3902 * i386.md (define_expand "clrstrsi"): Fix typo.
3904 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
3906 * rtl.texi: Fix typo.
3908 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3910 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
3911 UNITS_PER_WORD. Change caller initial_elimination_offset.
3912 (rounded_frame_size): Take into account that argument pushed has
3913 changed. Fix TARGET_ALIGN_DOUBLE problem.
3915 2000-02-25 Geoff Keating <geoffk@cygnus.com>
3917 * haifa-sched.c (schedule_block): Explain the real reason
3918 we delete REG_SAVE_NOTEs on the first insn of a block.
3919 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
3921 2000-02-24 Mark Mitchell <mark@codesourcery.com>
3923 * input.h (push_srcloc): New function.
3924 (pop_srcloc): Likewise.
3925 * toplev.c (push_srcloc): Define it.
3926 (pop_srcloc): Likewise.
3928 2000-02-24 Richard Henderson <rth@cygnus.com>
3930 * flow.c (life_analysis): When collecting reg info, clear
3933 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3935 Fix bug exposed by reload.c no longer rounding the frame
3936 size to BIGGEST_ALIGNMENT:
3937 * sh.c (rounded_frame_size): New function.
3938 (sh_expand_prologue, sh_expand_epilogue): Use it.
3939 (initial_elimination_offset): Likewise.
3941 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3943 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
3944 * sh-protos.h (sh_need_epilogue): Declare.
3945 * sh.c (sh_need_epilogue_known): New static variable.
3946 (sh_need_epilogue): New function.
3947 (function_epilogue): Clear need_epilogue_known.
3948 * sh.md (return): Split into expander / insn pattern.
3949 Make the expander conditional on ! sh_need_epilogue ().
3951 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
3953 * machmode.h (get_mode_alignment): Declare.
3954 (GET_MODE_ALIGNMENT): Call it.
3955 * stor-layout.c (get_mode_alignment): New function. Make
3956 sure alignment is always power of 2.
3958 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
3960 * i386.h: Remove useless definition of "I386" and misleading
3963 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
3965 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
3966 under which TREE_PERMANENT will be set.
3967 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
3968 build1): Use TREE_SET_PERMANENT.
3969 * print-tree.c (print_node): Don't report value of
3970 TREE_PERMANENT if ggc_p is true.
3972 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
3973 decide whether to give a type a new alias set.
3974 * objc/objc-act.c (build_objc_string_object): Never copy the string.
3975 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
3976 of value of 'obstack'.
3979 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3981 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
3983 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3985 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
3986 * cpplib.c (cpp_get_token): Produce them.
3987 * cppexp.c (cpp_lex): Handle them.
3989 2000-02-23 Nick Clifton <nickc@cygnus.com>
3991 * config/arm/arm.c (arm_comp_type_attributes): Simply and
3992 comment tests on type attributes.
3994 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3996 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
3997 conform to documentation.
3998 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
3999 to check for special cases.
4000 * sh-protos.h (sh_loop_align): Declare.
4001 * sh.c (sh_loop_align): Define.
4003 2000-02-22 Andrew Haley <aph@cygnus.com>
4005 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4006 (SIZE_TYPE): Is 32 bits when using -mgp32.
4007 (PTRDIFF_TYPE): Ditto.
4009 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4011 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4013 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
4015 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4016 BIGGEST_FIELD_ALIGNMENT a constant.
4018 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
4020 * dwarf2out.c (output_line_info): Put the marker for the end of
4021 the line number info at the actual end.
4022 (gen_struct_or_union_type_die): Use decl_function_context
4023 to check for local classes.
4024 * dwarfout.c (output_type): Likewise.
4026 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
4028 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4029 for arguments with a mode, but no type.
4030 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4031 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4032 * pa/long_double.h: New file.
4033 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
4034 both have 128bit wide long doubles.
4035 * configure: Rebuilt.
4037 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4039 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
4041 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
4042 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
4043 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
4045 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
4047 * integrate.c (compare_blocks, find_block): Likewise.
4049 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
4051 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
4053 * stmt.c (stmt_status, set_file_and_line_for_stmt,
4054 expand_asm_operands): Likewise.
4056 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
4058 * predict.c (estimate_probability): Added the pointer heuristic to
4059 the collection of static branch predictors.
4061 2000-02-21 Catherine Moore <clm@cygnus.com>
4063 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
4064 * invoke.texi (-mfix7000): Document.
4066 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
4068 * diagnostic.c (init_output_buffer): Make it possible to output at
4069 least 32 characters if we're given a too long prefix.
4071 2000-02-20 Mark Mitchell <mark@codesourcery.com>
4073 * varasm.c (initializer_constant_valid_p): Call
4074 lang_expand_constant to simplify the constant.
4076 2000-02-20 Bruce Korb <bkorb@gnu.org>
4078 * fixinc/inclhack.def(stdio_va_list):
4079 typedef needs to be disabled.
4080 * fixinc/inclhack.sh: regen
4081 * fixinc/fixincl.x: regen
4083 2000-02-20 Geoff Keating <geoffk@cygnus.com>
4085 * print-rtl.c (print_rtx): Don't print addresses when
4086 flag_dump_unnumbered.
4088 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4090 * sparc.c (sparc_output_scratch_registers): Mark parameter with
4092 (sparc_va_arg, sparc_flat_output_function_prologue,
4093 sparc_flat_output_function_epilogue): Cast value to unsigned in
4095 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
4097 * sparc.md: Add default case in switch.
4099 2000-02-19 Richard Henderson <rth@cygnus.com>
4101 * c-typeck.c (add_pending_init): Don't abort for multiple
4102 fields at the same offset.
4103 (pending_init_member): Test the correct member.
4105 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4107 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
4109 (start_catch_handler) : Same.
4111 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
4113 * Makefile.in: Have flow.o depend on $(EXPR_H)
4115 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4117 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
4118 * c-decl.c (duplicate_decls, finish_enum): Likewise.
4119 (finish_decl): Remove -Wlarger-than code from here.
4120 * flags.h (id_clash_len): Now int.
4121 (larger_than_size): Now HOST_WIDE_INT.
4122 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
4123 Clean up checking to see if in table.
4124 (make_bit_field_ref): Remove extra parm to bitsize_int.
4125 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
4126 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
4127 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
4128 and for computing size of decl.
4129 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
4130 Move -Wlarger-than code to here.
4131 (layout_record): Remove extra arg to bitsize_int.
4132 Set TYPE_BINFO_SIZE_UNIT.
4133 (layout_union): Remove extra arg to bitsize_int.
4134 Use proper type for size of QUAL_UNION.
4135 (layout_type): Remove extra arg to bitsize_int.
4136 * toplev.c (id_clash_len): Now int.
4137 (larger_than_size): Now HOST_WIDE_INT.
4138 (decode_W_option): Clean up id-clash and larger-than- cases.
4139 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
4140 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
4141 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
4142 (struct tree_decl): New field size_unit.
4143 (size_int_wide): No HIGH operand; NUMBER is now signed.
4144 (size_int_2): Deleted.
4145 (size_int, bitsize_int): Don't use it and rework args.
4146 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
4148 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
4150 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
4152 2000-02-18 Geoff Keating <geoffk@cygnus.com>
4154 * invoke.texi (Warning Options): Add an explanation of why
4155 you might want the -Wfloat-equal flag.
4157 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4159 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
4160 * cppinit.c (new_pending_define): Add cast to avoid warning.
4161 * expmed.c (extract_bit_field): Likewise.
4162 * flow.c (enum reorder_skip_type): New type.
4163 (skip_insns_between_blcok): New it.
4164 Rework to avoid warning about possibly undefined variable.
4165 * function.c (assign_parms): Make thisparm_boundary unsigned.
4166 * genrecog.c (write_switch): Cast XWINT result to int.
4167 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
4168 * mips-tfile.c (init_file): Make two versions of FDR intializer:
4169 one for MIPS and one for Alpha.
4170 (get_tag, copy_object): Add casts to avoid warnings.
4171 * optabs.c (init_one_libfunc): Cast NAME to (char *).
4172 * reload.c (find_reloads): Make TYPE enum reload_type.
4173 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
4174 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
4175 * varasm.c (compare_constant_1): Add cast to avoid warning.
4176 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
4178 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
4179 Cast switch operand of size to int.
4180 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
4181 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
4184 2000-02-18 Nick Clifton <nickc@cygnus.com>
4186 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
4187 anything for an alignment of zero.
4189 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
4190 anything for an alignment of zero.
4192 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
4194 * gcc.texi (Bug Reporting): Refer to bugs.html.
4195 (Bug Lists): Likewise.
4196 * system.h (GCCBUGURL): New preprocessor define.
4197 * rtl.c (fancy_abort): Use it.
4198 * gcc.c (main): Likewise.
4200 2000-02-18 Richard Henderson <rth@cygnus.com>
4202 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
4203 (life_analysis_1): Subsume into ...
4204 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
4205 Use update_life_info for the relaxation.
4206 (update_life_info): Update REG_BASIC_BLOCK for registers live on
4207 entry and regs_live_at_setjmp.
4208 (set_noop_p): Simplify.
4209 (notice_stack_pointer_modification_1): Renamed from s/_1//.
4210 (record_volatile_insns): Split into ...
4211 (delete_noop_moves): ... here,
4212 (notice_stack_pointer_modification): ... here,
4213 (insn_dead_p): ... and here.
4214 (propagate_block): Don't query INSN_VOLATILE.
4215 (mark_used_regs): Mind !PROP_REG_INFO.
4216 * toplev.c (rest_of_compilation): Call mark_constant_function here,
4217 not in life_analysis.
4219 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
4221 * loop.c (canonicalize_condition): New function,
4222 broken out of get_condition.
4223 (get_condition): Use it.
4224 * expr.h (canonicalize_condition): Prototype it.
4226 * tree.h (tree_int_cst_msb): Declare.
4227 * tree.c (tree_int_cst_msb): New function.
4229 2000-02-17 Mark Mitchell <mark@codesourcery.com>
4231 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
4234 * invoke.texi (-fmessage-length=n): Document.
4236 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
4238 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
4240 2000-02-17 Mark Mitchell <mark@codesourcery.com>
4242 * function.c (thread_prologue_and_epilogue_insns): Put a line note
4245 2000-02-17 Nick Clifton <nickc@cygnus.com>
4247 * config/arm/thumb.c: Replace includes of system headers with
4248 #include "system.h".
4250 2000-02-16 Richard Henderson <rth@cygnus.com>
4252 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
4253 Add crtbeginS.o and crtendS.o.
4254 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
4255 (ENDFILE_SPEC): Use crtendS.o.
4256 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
4258 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
4259 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
4261 (__dso_handle): New variable.
4262 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
4263 bias to __CTOR_END__.
4265 2000-02-16 Richard Henderson <rth@cygnus.com>
4267 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
4269 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
4271 * longlong.h (__clz_tab): Declare as static to match definition.
4273 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
4274 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
4275 (XREF_FILE_NAME): Define.
4277 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
4278 (EH_FRAME_SECTION_ASM_OP): Define.
4279 (IDENT_ASM_OP): Define.
4280 (TEXT_SECTION_ASM_OP): Define.
4282 (CTORS_SECTION_ASM_OP): Define.
4283 (CTOR_SECTION_FUNCTION): Use it.
4284 (DTORS_SECTION_ASM_OP): Define.
4285 (DTOR_SECTION_FUNCTION): Use it.
4287 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
4289 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
4292 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
4293 debug_bb_n): New functions.
4294 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
4295 * basic-block.h: Prototype new functions.
4297 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
4299 * configure.in: Add support for avr target.
4300 * configure: Rebuilt.
4302 * invoke.texi: Add AVR invocation docs.
4303 * install.texi: Add information about AVR.
4304 * md.texi: Add AVR constraint letters description.
4305 * extend.texi: Add description for AVR specific attributes.
4307 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
4309 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4311 2000-02-16 Nick Clifton <nickc@cygnus.com>
4313 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
4314 (make_insn_raw): Move RTL check here.
4316 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4318 * version.c: Include gansidecl.h and version.h.
4320 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
4322 * configure.in (gcc_version): When setting, narrow search to
4323 lines containing `version_string'.
4325 * Makefile.in (mainversion): Likewise.
4326 (GCC_H): New variable.
4327 (gcc.h): Delete target.
4328 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
4329 (version.o): Depend on version.h.
4330 (dbxout.o): Don't depend on gcc.h.
4332 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
4333 Michael Meissner <meissner@cygnus.com>
4335 * md.texi (Simple Constraints): Add item about whitespace.
4336 * genoutput.c (strip_whitespace): New.
4337 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
4338 strip_whitespace for constraints.
4339 Test pointer using NULL, not 0.
4341 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4343 * cpplib.c (do_line): Pedwarn for #line > 32767.
4345 * c-lex.c (readescape): Warn about '\x', but do not reject it.
4347 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
4349 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
4350 to default cpp spec.
4351 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
4352 * cpp.texi: Document __GNUC_PATCHLEVEL__.
4355 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
4358 2000-02-15 Denis Chertykov <denisc@overta.ru>
4360 * configure.in: Add support for avr target.
4362 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4364 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
4365 (sh_addr_diff_vec_mode): Don't declare.
4366 * sh.c (sh_addr_diff_vec_mode): Delete.
4368 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4370 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
4372 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4374 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
4375 (smulsi3_highpart_i): Name.
4376 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
4377 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
4378 (smulsi3_highpart, umulsi3_highpart): Likewise.
4380 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
4381 correctly independent of endianness.
4382 (mulsidi3, umulsidi3): Now define_insn. Hide details that
4383 confuse the optimizers.
4384 (mulsidi3+1, umulsidi3+1): New define_split.
4386 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
4388 * config/sh/sh.md: Guard insn splits against illegal registers.
4389 * config/sh/sh.h: Correct comment about macros.
4391 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4392 Andrew MacLeod <amacleod@cygnus.com>
4394 * Makefile.in (lcm.o): Depend on insn-attr.h.
4395 * basic-block.h (optimize_mode_switching): Declare.
4396 * lcm.c (tm_p.h, insn-attr.h): #include.
4397 (seginfo, bb_info): New structs.
4398 (antic, transp, comp, delete, insert) : New file-scope static variables.
4399 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
4400 (reg_becomes_live, optimize_mode_switching): Likewise.
4401 * tm.texi: Add description of mode switching macros.
4402 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
4404 * sh-protos.h (remove_dead_before_cse): Remove prototype.
4405 (fldi_ok, fpscr_set_from_mem): New prototypes.
4406 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
4407 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
4408 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4409 (sh_flag_remove_dead_before_cse): Remove declaration.
4410 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
4411 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
4412 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
4413 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4414 (barrier_align): Allow for JUMP_INSNS containing a parallel.
4415 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
4416 (fldi_ok): New function.
4417 (get_fpscr_rtx): Add fpscr_rtx as GC root.
4418 (emit_sf_insn): Only generate fpu switches when optimize < 1.
4419 (emit_df_insn): Likewise.
4420 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
4421 (sh_flag_remove_dead_before_cse): Delete.
4422 (get_free_reg, fpscr_set_from_mem): New functions.
4423 * sh.md (movdf, movsf): Remove no_new_pseudos code.
4424 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
4426 2000-02-15 Loren Rittle <ljrittle@acm.org>
4428 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
4430 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4432 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
4433 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
4435 * cccp.c: Include version.h and/or don't declare `version_string'.
4436 * collect2.c: Likewise.
4437 * alpha.c: Likewise.
4438 * arm/aof.h: Likewise.
4439 * arm/coff.h: Likewise.
4440 * arm/elf.h: Likewise.
4441 * arm/pe.h: Likewise.
4442 * arm/tcoff.h: Likewise.
4443 * arm/telf.h: Likewise.
4444 * arm/tpe.h: Likewise.
4445 * arm/vxarm.h: Likewise.
4446 * convex/convex.c: Likewise.
4447 * i386/dgux.c: Likewise.
4448 * i386/sun386.h: Likewise.
4449 * m88k/m88k.c: Likewise.
4450 * mcore/mcore-pe.h: Likewise.
4451 * mips/mips.h: Likewise.
4452 * romp/romp.h: Likewise.
4453 * sh/sh.c: Likewise.
4454 * cpphash.c: Likewise.
4455 * cppinit.c: Likewise.
4456 * dwarf2out.c: Likewise.
4457 * dwarfout.c: Likewise.
4460 * mips-tfile.c: Likewise.
4461 * protoize.c: Likewise.
4462 * toplev.c: Likewise.
4465 * version.c (version_string): Constify a char*.
4467 * version.h: New file.
4469 2000-02-14 Nick Clifton <nickc@cygnus.com>
4471 * configure.in: Add mcore-elf and mcore-pe targets.
4472 * configure: Regenerate.
4474 * NEWS: Add note that MCore port has been contributed.
4476 * invoke.texi: Document command line switches for MCore port.
4477 * install.texi: Add MCore to list of supported targets.
4479 2000-02-14 Geoff Keating <geoffk@cygnus.com>
4481 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
4482 then we will need to import the frame handling functions.
4483 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
4484 to import the frames themselves.
4486 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
4487 Jason Eckhardt <jle@cygnus.com>
4489 * basic_block.h: Added prototype for reorder_basic_blocks.
4490 * toplev.c: Changes to add -freorder-blocks and graph dump after
4491 block reordering is done.
4492 * flow.c (reorder_block_def): New structure for use during block
4494 (REORDER_BLOCK_*): New macros to access members of above structure.
4495 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
4496 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
4497 functions for block reordering.
4499 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
4501 * gcc.texi (Passes): Fix typo.
4502 * md.texi (Standard Names): Ditto.
4503 * tm.texi (Storage Layout): Ditto.
4505 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
4507 * cpplib.c (do_define): Only free the old definition if it
4510 2000-02-13 Neil Booth <NeilB@earthling.net>
4512 * cppfiles.c (read_and_prescan): When emitting deferred
4513 newlines, test speccase[] again instead of checking each
4514 possible whitespace character in turn. When we encounter \r,
4515 look behind for \n first, then ahead.
4517 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
4519 * cse.c (cse_altered): New internal flag.
4520 (cse_insn): Set it if we changed an insn.
4521 (cse_main): Clear cse_altered before each basic block.
4522 Only garbage collect if cse_altered is true afterward.
4524 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4526 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
4528 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
4530 * combine.c (simplify_comparison): Fix typo.
4532 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
4534 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
4537 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4539 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
4540 previously inserted node instead of root node. Caller changed.
4542 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4544 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
4546 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4548 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
4549 __dereg_frame_dtor): Add prototype argument.
4551 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
4553 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
4555 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
4557 * gthr-vxworks.h (__gthread_once): Likewise.
4559 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
4561 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
4563 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
4564 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
4565 stack pointer in functions w/o saved registers, output LEAVE more often
4566 on TARGET_USE_LEAVE machines.
4568 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
4570 * config/arm/arm.c (arm_init_cumulative_args); New function:
4571 Initlaise the CUMULATIE_ARGS strcuture for a function
4573 (arm_function_arg): New function: Determine where to place a
4574 function's argument. Also handles deciding the function's
4576 (current_file_function_operand): New function: Return true if
4577 the symbol is a function which has already been compiled.
4578 (arm_is_long_call_p): New function: Return true if the
4579 indicated function should be called via a long call.
4580 (arm_valid_type_attribute_p): New function: Return true if the
4581 attribute is a valid, arm specific, attribute.
4582 (arm_comp_type_attribute): New function: Return true if the
4583 two types have compatable, arm specific, attributes.
4585 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
4587 (FUNCTION_ARG): Redefine to call arm_function_arg.
4588 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
4590 (INIT_CUMULATIVE_ARGS): Redefine to call
4591 arm_init_cumulative_args.
4592 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
4594 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
4596 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
4598 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
4599 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
4600 (COMP_TYPE_ATTRIBUTES): Define.
4602 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
4603 if a long call is needed.
4604 (call_value): Call arm_is_long_call_p to decide if a long call
4606 (call_symbol): Call arm_is_long_call_p to decide if a long call
4609 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
4611 2000-02-11 Denis Chertykov <denisc@overta.ru>
4613 * README.AVR: New file with information about the avr ports.
4614 * config/avr: New directory with avr port files.
4616 2000-02-11 Andreas Jaeger <aj@suse.de>
4618 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
4620 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
4622 * cpphash.c: Fix formatting, update commentary.
4623 (dump_definition): Take three separate arguments instead of a
4624 MACRODEF structure argument.
4625 * cpphash.h: Update prototype of dump_definition.
4626 * cppinit.c (cpp_finish): Update call of dump_definition.
4628 * cpplib.c (do_define): Always create new hash entry with
4629 T_MACRO type. Remove redundant check for redefinition of
4630 poisoned identifier. Update call of dump_definition.
4631 (do_undef): Don't call check_macro_name. Rename sym_length to
4633 (do_error, do_warning): Don't use copy_rest_of_line or
4635 (do_warning): Don't use pedwarn for the actual warning,
4636 only the notice about its not being in the standard. (Fixes
4637 bug with #warning in system headers.)
4638 (do_ident): Stricter argument checking - accept only a single
4639 string after #ident. Also, macro-expand the line.
4640 (do_xifdef): Use cpp_defined. De-obfuscate.
4642 (do_pragma): Split out specific pragma handling to separate
4643 functions. Use get_directive_token. Update commentary. Do
4644 not pass on #pragma once or #pragma poison to the front end.
4645 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
4646 do_pragma_default): New.
4648 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
4650 * jump.c (jump_optimize_1): The first operand in a relational
4652 * optabs.c (emit_conditional_move): Handle relationals which
4653 have a known true/false result.
4655 2000-02-11 Geoff Keating <geoffk@cygnus.com>
4657 * function.c (thread_prologue_and_epilogue_insns): Don't insert
4658 a RETURN insn into a block which already ends with a jump.
4660 2000-02-11 Geoff Keating <geoffk@cygnus.com>
4662 * haifa-sched.c (BUF_LEN): Increase a lot.
4664 2000-02-11 Nick Clifton <nickc@cygnus.com>
4666 * configure.in: Add tm_p_file specification for thumb targets.
4667 * configure: Regenerate.
4669 * config/arm/thumb-protos.h: New file: Prototypes for exported
4670 functions defined in thumb.c.
4672 2000-02-11 Robert Lipe <robertl@sco.com>
4674 * Makefile.in (bootstrap-lean): Remove additional files.
4675 (bootstrap2-lean): Likewise.
4676 (VOL_FILES): List of files for above.
4678 2000-02-11 Nathan Sidwell <nathan@acm.org>
4680 * cpphash.c (special_symbol): Remove spurious argument to
4683 2000-02-11 Joel Sherrill (joel@OARcorp.com>
4685 * configure.in: (i*86-*-rtems*): Swapped elf and coff
4687 * configure: Rebuilt.
4689 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
4691 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
4693 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
4695 * pa.c, pa.h: Remove trigraph sequences within comments.
4697 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
4699 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
4701 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
4703 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
4705 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4707 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
4709 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4711 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
4712 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
4713 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
4714 (ASM_FILE_END): Use c4x_file_end.
4715 * config/c4x/c4x.c (c4x_global_label): New function.
4716 (c4x_external_ref, c4x_file_end): Likewise.
4718 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
4719 (c4x_external_ref, c4x_end_file): Likewise.
4721 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
4723 * cppexp.c: Don't include cpphash.h.
4724 (parse_charconst, cpp_lex): Use cpp_defined.
4725 (cpp_lex): Use get_directive_token throughout. Remove
4726 unnecessary cases from switch. Move assertion-handling code
4728 (cpp_parse_expr): If we see '+' or '-', check the context to
4729 determine if they are unary or binary operators. Streamline
4730 the jumps a bit. Do not call skip_rest_of_line.
4732 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
4733 static. Export get_directive_token. Update commentary.
4734 (cpp_defined): New function.
4735 (do_define): Remove reference to T_PCSTRING. Call
4736 free_definition to release memory for old definition, when
4738 (eval_if_expression): Set only_seen_white to 0 before calling
4739 cpp_parse_expr. Call skip_rest_of_line after it returns.
4740 (cpp_read_check_assertion): Don't preserve a pointer into the
4741 token buffer across a call to cpp_get_token.
4743 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
4744 * cppfiles.c (redundant_include_p): Use cpp_defined.
4745 * cpphash.c (free_definition): New function.
4746 (delete_macro): Use it. Update commentary.
4747 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
4749 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
4750 from enum node_type. Prototype cpp_defined and get_directive_token.
4751 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
4753 * fix-header.c (check_macro_names): Use cpp_defined.
4754 (read_scan_file): Set inhibit_warnings and inhibit_errors in
4755 the options structure.
4757 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4759 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
4761 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
4763 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
4764 rather than die->die_tag.
4766 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4768 * combine.c (make_extraction, force_to_mode): Avoid warning on
4769 mixed-signedness conditionals.
4770 (make_field_assignment, nonzero_bits): Likewise.
4771 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
4772 (store_split_bit_field, extract_split_bit_field): Likewise.
4773 (extract_fixed_bit_field, store_bit_field,
4774 * expr.c: Change alignment to be unsigned everywhere.
4775 (move_by_pieces, store_constructor_field, store_constructor):
4776 Alignment parm is unsigned.
4777 (emit_block_move, emit_group_load, emit_group_store): Likewise.
4778 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
4779 (do_compare_rtx_and_jump): Likewise.
4780 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
4781 Compare align with GET_MODE_ALIGNMENT.
4782 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
4783 (get_inner_reference): Likewise.
4784 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
4785 (expand_assignment): Local vars for alignment now unsigned.
4786 (store_constructor, store_field, expand_expr, do_jump): Likewise.
4787 (do_compare_and_jump): Likewise.
4788 (store_field): Call new function expr_align.
4789 * expr.h (emit_block_move, emit_group_load, emit_group_store):
4790 Alignment arg now unsigned.
4791 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
4792 (do_compare_rtx_and_jump, store_bit_field): Likewise.
4793 (extract_bit_field): Likewise.
4794 * fold-const.c (add_double): Add cast to eliminate signedness warning.
4795 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
4796 (get_best_mode): Alignment arg is unsigned.
4797 * rtl.h (move_by_pieces): Likewise.
4798 * store-layout.c (maximum_field_alignment, set_alignment):
4800 (layout_decl): Alignment arg is now unsigned.
4801 Remove unneeded casts.
4802 (layout_record, layout_union, layout_type): Remove unneeded casts.
4803 Local alignment variables now unsigned.
4804 (get_best_mode): Alignment arg now unsigned.
4805 * tree.c (expr_align): New function.
4806 * tree.h (expr_align): Likewise.
4807 (maximum_field_alignment, set_alignment): Now unsigned.
4808 (get_inner_reference): Alignment argument is now pointer to unsigned.
4809 * varasm.c (assemble_variable): Add cast to eliminate warning.
4811 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
4813 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
4814 then store directly into op0.
4816 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
4817 the CALL_INSN, and emit the note immediately after it.
4819 2000-02-10 Nick Clifton <nickc@cygnus.com>
4821 * config/arm/thumb.md (epilogue): Include a (return) in the
4822 generated insn, and emit it using emit_jump_insn not
4825 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
4827 * function.c (assign_temp): Change zero-sized arrays to size 1.
4828 * integrate.c (expand_inline_function): Do not update
4829 stack_alignment_needed
4830 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
4831 add some sanity checking, remove optimization for function with
4834 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4836 * flow.c (mark_regs_live_at_end): Delete unused variables.
4838 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
4840 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
4841 in macro FRAME_GROWS_DOWNWARD.
4843 * stmt.c (expand_end_bindings): Delete unused variable.
4845 * unroll.c (iteration_info): Mark parameter `loop' with
4848 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4850 * fixinc/server.c (load_data): Return NULL if the marker line is
4852 (run_shell): If load_data returns NULL, retry the command once, in
4855 * configure: Rebuilt.
4857 2000-02-09 Bruce Korb <bkorb@gnu.org>
4859 * gcc/fixincludes: ** DELETED **
4860 * gcc/fixcpp: ** DELETED **
4861 * gcc/fixinc-nt.sed: ** DELETED **
4862 * gcc/just-fixinc: ** DELETED **
4863 * gcc/Makefile.in: Removed out-dated commentary
4864 * gcc/configure.in: Removed fast-fixincludes disablement.
4865 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
4867 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
4868 * function.c (thread_prologue_and_epilogue_insns): Uncomment
4871 2000-02-09 Richard Henderson <rth@cygnus.com>
4873 * jump.c (delete_insn): Don't delete user labels at -O0.
4875 2000-02-09 Robert Lipe <robertl@sco.com>
4877 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
4878 Don't link with HOST_LIBS.
4880 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
4882 * configure.in: Correct --help text for --with-dwarf2.
4883 Put tm-dwarf2.h after other tm files, if it's requested.
4884 * configure: Regenerate.
4885 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
4888 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
4890 * cpplib.h: Provide HASHNODE typedef and forward decl of
4891 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
4892 DEFINITION, struct hashnode, struct macrodef, struct
4893 definition, scan_decls prototype, default defn of
4894 INCLUDE_LEN_FUDGE moved elsewhere.
4896 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
4897 definition, and struct hashnode moved here. Remove the unused
4898 'predefined' field from struct definition. Replace the 'args'
4899 union with its sole member. All users updated (cpphash.c).
4900 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
4901 multiple include guard.
4903 * cpphash.c (hashf): Make static; use better algorithm; drop
4904 HASHSIZE parameter; return an unsigned int.
4905 (cpp_lookup): Drop HASH parameter. PFILE parameter is
4906 used. Calculate HASHSIZE modulus here.
4907 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
4909 (create_definition): Drop PREDEFINITION parameter.
4910 * cpplib.c (do_define): Don't calculate a hash value here.
4911 Don't pass (keyword == NULL) to create_definition.
4913 * scan.h: Prototype scan_decls here.
4914 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
4915 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
4916 callers of cpp_lookup and cpp_install updated.
4918 * cpphash.c (macarg): Hoist all the flag diddling out of the
4920 (macroexpand): ... and out of the loop that calls macarg.
4921 Skip over the initial paren before macro arguments with
4922 cpp_get_non_space_token; point may be some distance before
4923 that paren. Abort if it's not there.
4925 * cpplib.c (parse_clear_mark): Delete function.
4926 (parse_set_mark, parse_goto_mark): Make static.
4927 (ACTIVE_MARK_P): New macro.
4928 (skip_block_comment, skip_line_comment): Do not bump the line
4929 if ACTIVE_MARK_P is true.
4930 (cpp_pop_buffer): The buffer to be popped may not have an
4932 (cpp_get_token): When looking for the initial paren before
4933 macro arguments, only set a mark in a file buffer, Always
4934 return to that mark before proceeding to call macroexpand or
4935 return a NAME token.
4937 * cpplib.h: Remove prototypes of parse_set_mark,
4938 parse_clear_mark, parse_goto_mark.
4939 (struct cpp_options): Rename 'put_out_comments' to
4940 'discard_comments' and invert its sense.
4941 * cppinit.c, cpphash.c, cpplib.c: All users of
4942 put_out_comments changed to use discard_comments, with
4945 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
4947 * function.c (thread_prologue_and_epilogue_insns): Don't delete
4948 the edge from a block that both jumps and falls through to the
4951 2000-02-09 Scott Bambrough <scottb@netwinder.org>
4953 * config/arm/arm.md (movsi): In PIC mode, make sure that a
4954 constant source address is legitimate.
4956 2000-02-09 Philip Blundell <pb@futuretv.com>
4958 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
4961 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
4963 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
4965 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
4967 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
4968 ends with a newline and a NUL. Don't be so clever manipulating
4971 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
4973 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
4974 not to BIGGEST_ALIGNMENT.
4976 2000-02-08 Geoff Keating <geoffk@cygnus.com>
4978 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
4979 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
4980 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
4981 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
4982 * frame.c (execute_cfa_insn): Handle
4983 DW_CFA_GNU_negative_offset_extended.
4985 2000-02-08 Richard Henderson <rth@cygnus.com>
4987 * flow.c (tidy_fallthru_edges): Split out from ...
4988 (delete_unreachable_blocks): ... here.
4989 (find_basic_blocks): Use it.
4991 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4993 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
4995 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
4997 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
4998 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
4999 (fix-header.o): Don't depend on cpphash.h.
5001 * scan.c (hashstr): New function.
5002 * scan.h: Prototype it.
5003 * fix-header.c: Don't include cpphash.h. Use hashstr.
5004 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
5005 hashstr. Report hash table statistics. Add private
5006 definition of xrealloc.
5008 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5010 * i386.h (TARGET_SWITCHES): Fix typo in option name.
5012 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
5014 * function.c (thread_prologue_and_epilogue_insns): Don't replace
5015 jumps with returns unless they are jumps to the fallthru block.
5017 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
5019 * i386.md (addqi3_cc): Fix contraints.
5021 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
5023 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5025 2000-02-07 Mark Mitchell <mark@codesourcery.com>
5027 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5028 carriage return after a macro name.
5030 2000-02-07 Fred Fish <fnf@be.com>
5032 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
5033 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
5035 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
5037 * cppfiles.c (deps_output): Count spacers in deps_column.
5039 2000-02-07 Neil Booth <NeilB@earthling.net>
5041 * cppinit.c (initialize_dependency_output): If there is no
5042 suffix, don't try to look for known suffixes. Use strrchr.
5043 (cpp_start_read): Remove duplicate initialization.
5045 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
5047 * calls.c (compute_argument_block_size): New argument
5048 preferred_stack_boundary.
5049 (expand_call): update cfun->preferred_stack_boundary, update call of
5050 compute_argument_block_size
5051 (emit_library_call): Increate cfun->preferred_stack_boundary
5052 to PREFERRED_STACK_BOUNDARY
5053 (emit_library_call_value): Likewise.
5054 * explow.c (allocate_dynamic_stack_spave): Likewise.
5055 * function.c (prepare_function_start): Set
5056 cfun->preferred_stack_boundary
5057 * function.h (struct function): Add preferred_stack_boundary field.
5058 * integrate.c (expand_inline_function): Update
5059 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
5060 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
5061 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
5063 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
5065 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
5066 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
5067 cpp_pedwarn, cpp_pedwarn_with_line,
5068 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
5069 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
5070 v_cpp_error_with_line, v_cpp_warning_with_line,
5071 cpp_message_from_errno, cpp_perror_with_name): Delete.
5073 * cpperror.c (cpp_print_containing_files): Take starting
5075 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
5076 (v_cpp_message): Now called directly by all entry points.
5078 (cpp_pfatal_with_name, cpp_message): Delete.
5079 (cpp_notice_from_errno, cpp_ice): New functions.
5080 (cpp_notice): Is now for reporting error conditions, just
5081 without an associated file.
5082 (cpp_error, cpp_error_with_line): Don't do anything if
5083 opts->inhibit_errors is on.
5084 (cpp_pedwarn_with_file_and_line): Take column argument also.
5086 * cpplib.h: Update prototypes of exported functions.
5087 (struct cpp_options): Add inhibit_errors.
5089 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
5090 non-error messages. Include intl.h.
5092 * cppinit.c, cppmain.c: Likewise. Also, use
5093 cpp_notice_from_errno instead of cpp_perror_with_name or
5094 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
5096 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
5097 report internal errors.
5099 * cpplib.c (do_define): Switch bcopy to memcpy.
5100 Give cpp_pedwarn_with_file_and_line a dummy column argument.
5102 * cpplib.c (copy_rest_of_line): Revert previous change: don't
5103 bail out early if we hit a line comment.
5105 2000-02-06 Richard Henderson <rth@cygnus.com>
5107 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
5108 * basic-block.h: Declare them.
5109 * emit-rtl.h (active_insn_p): New.
5110 (next_active_insn, prev_active_insn): Use it.
5111 * rtl.h: Declare it.
5112 * function.c (emit_return_into_block): New.
5113 (thread_prologue_and_epilogue_insns): Insert return insns instead
5114 of epilogues when possible.
5115 * jump.c (jump_optimize_1): Remove code to insert a return insn
5116 on the fallthru to the exit block.
5118 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
5119 and for non-empty stack frames.
5120 * i386.md (return): Expand to return-pop as needed.
5122 2000-02-06 Richard Henderson <rth@cygnus.com>
5124 * simplify-rtx.c (simplify_relational_operation): Canonicalize
5125 constant to op1 for testing.
5127 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5129 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
5130 (fixuns_truncqfqi2): Use it.
5132 2000-02-06 Richard Henderson <rth@cygnus.com>
5134 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
5137 * i386.md (widening and peepholes): Mask the constant instead of
5140 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
5142 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
5143 input pointer before possibly branching off to the backslash
5145 * cpphash.c (macroexpand): Correctly delete \r escapes when
5146 stringifying parameters.
5147 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
5148 if we can; bail out early if we hit a line comment.
5149 (handle_directive): Treat '# 123' in an .S file just like
5150 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
5151 Return 1 for '# not_a_directive'.
5152 (get_directive_token): Pop macro buffers here, so that
5153 cpp_get_token can't sneakily move past a newline.
5155 (cpp_get_token): goto randomchar if handle_directive returns 0.
5157 * cppalloc.c: Update copyright.
5158 * cpplib.c: Merge all the static function prototypes into one
5160 * cpplib.h: Remove #if 0 block.
5162 * cpperror.c: Remove #ifdef EMACS block.
5163 * cppmain.c: Likewise.
5164 * cpphash.c: Remove #if 0 blocks.
5165 * cppinit.c: Remove #if 0 blocks, and the -lint option.
5166 * cpplib.c: Remove #if 0 blocks and code referencing
5167 pcp_inside_if or for_lint. Remove duplicate error message.
5168 Fix error messages for #else after #else or #elif. Reformat.
5169 Remove archaic TODO list.
5170 * cpplib.h: Remove pcp_inside_if and for_lint flags.
5172 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
5174 * i386/osf1elf.h: Add missing backslash to multiline string.
5176 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5178 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
5180 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5182 * Makefile.in (c-common.o): Depend on $(EXPR_H).
5184 * c-common.c: Include expr.h.
5186 * c-pragma.c (mark_align_stack): Add prototype.
5188 * caller-save.c (add_stored_regs): Likewise.
5190 * combine.c (record_promoted_value): Likewise.
5192 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
5195 * cppinit.c (new_pending_define): Likewise.
5197 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
5199 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
5200 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5201 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
5202 class_scope_p): Likewise.
5204 * dwarf2out.h (dwarf2out_set_demangle_name_func,
5205 dwarf2out_add_library_unit_info): Likewise.
5207 * ggc.h (ggc_page_print_statistics): Likewise.
5209 * haifa-sched.c (propagate_deps): Likewise.
5211 * reg-stack.c (next_flags_user, record_label_references): Likewise.
5213 * rtl.h (set_stack_check_libfunc): Likewise.
5215 * toplev.h (set_fatal_function): Likewise.
5217 * toplev.c (set_fatal_function): Delete prototype.
5219 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
5221 2000-02-05 Geoff Keating <geoffk@cygnus.com>
5223 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
5224 (FUNC_END): Likewise.
5226 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5228 * caller-save.c: Include tm_p.h.
5230 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5232 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
5234 2000-02-04 Neil Booth <NeilB@earthling.net>
5236 * cccp.c (main): Check 'dir' for a NULL pointer before passing
5239 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
5241 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
5242 * genflags.c: Use the max_operand_1 logic from genemit.c to
5243 calculate how many arguments gen_insn prototypes have. Remove
5244 NO_MD_PROTOTYPES ifdefs from the generated file.
5245 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
5246 file. Cast gen_insn initializers to insn_gen_fn.
5247 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
5248 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
5250 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5252 * fixinc/Makefile.in (HDR): Add machname.h.
5255 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5257 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
5258 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
5259 (c4x_cpu_version): Ditto.
5260 * config/c4x/c4x-protos.h: ... here.
5262 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
5264 * dwarf2out.c (add_abstract_origin_attribute): Don't call
5265 gen_abstract_function on our context if we're a nested function.
5267 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5269 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
5270 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
5272 2000-02-04 Bruce Korb <bkorb@gnu.org>
5274 * fixinc/genfixes(machname.h):
5275 Move the functionality from gen-machine.h into this file.
5276 UNdef MN_NAME_PAT if there are no names to change.
5277 Also, be a little kinder when AutoGen is not present.
5279 * fixinc/Makefile.in(machname.h):
5280 Change the generation rule to use genfixes.
5282 * fixinc/fixfixes.c(machine_name):
5283 machine_name_fix's functionality now dependent upon whether
5284 MN_NAME_PAT is defined.
5286 * fixinc/fixtests.c(machine_name):
5289 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
5292 * fixinc/fixlib.h(mn_get_regexps):
5295 * fixinc/gen-machine.h: DELETED
5297 2000-02-04 Jan Hubicka <jh@suse.cz>
5298 Richard Henderson <rth@cygnus.com>
5300 * i386.c (SAVE_REGS_FIRST): Remove.
5301 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
5302 (ix86_compute_frame_size): Likewise.
5303 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
5304 (ix86_emit_restore_regs): Remove.
5305 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
5306 when a frame pointer is in use.
5307 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
5308 instead of pop to restore a register when profitable; emit leave
5310 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
5312 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
5313 * i386.md (prologue_allocate_stack): Remove.
5314 (epilogue_deallocate_stack): Remove.
5315 (pro_epilogue_adjust_stack): New.
5317 2000-02-04 Richard Henderson <rth@cygnus.com>
5319 * function.c (diddle_return_value): Rework to use a callback function.
5320 Use current_function_return_rtx if it's been set up.
5321 (do_clobber_return_reg, clobber_return_register): New.
5322 (do_use_return_reg, use_return_register): New.
5323 (expand_function_end): Use them.
5324 * stmt.c (expand_null_return): Likewise.
5325 * function.h: Declare them.
5326 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
5327 (mark_reg): Change arguments as appropriate for callback.
5328 * integrate.c (expand_inline_function): Revert 19 Jan change.
5330 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
5332 * tm.texi (Values in Registers): Fix typo: "fo" "for".
5333 (Misc): Say the scheduler, not the Haifa scheduler.
5335 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
5337 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
5338 when in_mem is set. Update all callers.
5340 2000-02-04 Richard Henderson <rth@cygnus.com>
5342 * i386/openbsd.h (INT_ASM_OP): Define.
5344 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
5346 * tm.texi: Fix various typos.
5348 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
5350 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
5351 (MD_STARTFILE_PREFIX_1): New macro.
5353 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
5355 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
5356 destination when needed.
5357 (strmovsi, strsetsi): New expander.
5358 (strmovsi_1, strsetsi_1): New pattern.
5359 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
5360 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
5361 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
5362 * invoke.texi (align-stringops, inline-all-stringops): Document.
5364 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
5366 * i386/netbsd.h (INT_ASM_OP): Define.
5368 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
5370 * cpplib.h (cpp_reader): Add new flag, no_directives.
5371 * cpphash.c (macarg): Set it.
5372 * cpplib.c (handle_directive): If no_directives is on and we
5373 find a directive, issue an error and discard the line.
5375 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
5377 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
5378 FP constants. Add ! TARGET_FPU check for FP constants.
5380 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
5382 * flow.c (find_basic_blocks): Don't kill label_value_list
5384 (cleanup_cfg): Kill it here.
5386 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5388 * expr.c (store_field): Ensure ALIGN is no stricter than the
5391 2000-02-02 Richard Henderson <rth@cygnus.com>
5393 * jump.c (delete_insn): Partially revert 19 Jan change;
5394 don't convert unused code labels to notes at -O0.
5396 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5398 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
5399 split_all_insns to recreate REG_LABEL notes for flow2 pass.
5401 2000-02-01 Richard Henderson <rth@cygnus.com>
5403 * i386.c (general_no_elim_operand): New.
5404 (nonmemory_no_elim_operand): New.
5405 (ix86_expand_move): Copy eliminable operands before a push.
5406 * i386-protos.h: Declare new functions.
5407 * i386.h (CAN_ELIMINATE): Simplify.
5408 (PREDICATE_CODES): Update.
5409 * i386.md (push insns): Don't allow eliminable register operands.
5411 2000-02-01 Richard Henderson <rth@cygnus.com>
5413 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
5414 replace BLKmode with DECL_RTL's mode.
5416 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
5418 * frame.c (find_fde): Convert for loop to do-while so compiler
5419 sees it's always executed at least once.
5420 * libgcc2.c (BBINBUFSIZE): Kill.
5421 (__bb_init_prg): Use fgets.
5422 (__bb_exit_trace_func): Don't paste strings.
5423 * unroll.c (unroll_loop): Initialize unroll_type, not
5424 unroll_number, and tweak logic to match.
5426 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
5428 (ix86_flags_dependant): Likewise. Disentangle control flow.
5429 (ix86_sched_reorder): Break guts out to
5430 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
5431 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
5434 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
5435 use string concatenation. Don't save and restore esi.
5437 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
5438 (machname.h): Remove script to separate file. Use two-step
5439 sequence so target is not created if script fails.
5440 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
5441 identifiers are defined.
5442 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
5443 an empty string, machine_name doesn't need to do anything at
5445 (is_cxx_header): Add more cases to regexp.
5446 * fixinc/fixlib.h: Update prototype.
5447 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
5449 * fixinc/fixincl.c: Define NO_BOGOSITY.
5451 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
5452 (hp_sysfile): Add missing comma.
5453 (math_exception): Put the wrapper ifdefs at the beginning and
5454 the end of the file.
5455 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
5457 2000-02-01 Richard Henderson <rth@cygnus.com>
5459 * sparc.c (fp_zero_operand): Turn into a normal predicate.
5460 Use CONST0_RTX. Update all callers.
5461 * sparc.h, sparc-protos.h: Update accordingly.
5462 * sparc.md (fp mov insns): Use fp_zero_operand directly
5465 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
5467 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
5470 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5472 * Makefile.in (specs.ready): New target.
5473 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
5475 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5477 * fixinc.irix: Use unique filenames for writing into /tmp,
5478 * fixinc.ptx: Likewise.
5479 * fixinc.sco: Likewise.
5480 * fixinc.svr4: Likewise.
5481 * fixinc.winnt: Likewise.
5483 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5485 * tsystem.h: New file.
5487 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
5488 s-crtS): Depend on tsystem.h.
5490 * crtstuff.c: Include tsystem.h.
5491 * frame.c: Likewise.
5492 * libgcc2.c: Likewise.
5494 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
5496 * builtins.c (expand_builtin_memset): Expand for variable sized
5499 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
5501 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
5504 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
5506 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
5508 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
5510 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
5512 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
5513 case 3->2 combining (combining with splitting) in which 2 is CC0
5514 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
5515 checked at the begining of the function with the aid of calling
5516 function 'can_combine_p'.
5518 2000-01-31 Dave Brolley <brolley@redhat.com>
5520 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
5522 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
5524 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
5527 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5529 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
5531 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
5534 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
5536 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
5537 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
5538 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
5539 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
5540 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
5541 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5542 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
5543 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
5544 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
5545 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
5547 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
5548 Add %(cpp_cpu) to CPP_SPEC.
5550 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
5551 Add %(cc1_cpu) to CC1_SPEC.
5553 2000-01-28 Ulrich Drepper <drepper@redhat.com>
5555 * c-decl.c (c_decode_option): Accept optional numeric argument to
5556 -Wformat and set warn_format.
5557 * c-common.c: Don't emit warning about non-constant printf format
5558 string unless warn_format > 1.
5560 2000-01-30 Richard Henderson <rth@cygnus.com>
5562 * alpha.md (return_internal): Allow after reload only.
5564 2000-01-30 Richard Henderson <rth@cygnus.com>
5566 * i386.c (ix86_compute_frame_size): Omit padding1 if the
5567 local frame size is zero.
5569 2000-01-30 Richard Henderson <rth@cygnus.com>
5571 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
5572 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
5573 * alpha.md (return): Turn into an expander.
5574 (return_internal): Don't use $26.
5575 (epilogue): Emit the return insn.
5577 2000-01-30 Richard Henderson <rth@cygnus.com>
5579 * alpha.md (negtf2, abstf2): Fix word order thinko.
5581 (trunctfsf2): Avoid intermediate rounding errors.
5583 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
5585 * cppfiles.c (find_position): Drop 'colp' argument, return the
5587 (read_and_prescan): Adjust to match. Don't ever manipulate
5588 line or line_base except via find_position.
5590 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
5592 * c-parse.in: Apply Ulrich's changes from c-parse.y.
5593 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
5596 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
5598 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
5599 just print "<command line>". If 'filename' is null or an
5600 empty string, print "<stdin>" for the filename.
5601 * cpplib.c (do_define): Don't print the 'location of the
5602 previous definition' message if we're still parsing the
5604 (cpp_pedwarn_with_file_and_line): Always call
5605 cpp_file_line_for_message.
5607 2000-01-29 Mark Mitchell <mark@codesourcery.com>
5609 * flow.c (mark_regs_live_at_end): Fix typo.
5611 2000-01-28 Ulrich Drepper <drepper@redhat.com>
5613 * c-common.c: Adjust variable names, comments, help strings to c99.
5614 * c-lex.c: Likewise.
5615 * c-parse.y: Likewise.
5616 * c-tree.h: Likewise.
5618 * cpplib.h: Likewise.
5619 * c-decl.c: Likewise. Recognize options with names "*99" as well.
5620 * cppinit.c: Likewise.
5622 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5624 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
5625 * c4x.c: Define the optab rtx values.
5626 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
5627 (c4x_emit_libcall): Use new optab rtx values.
5628 (c4x_emit_libcall3): Likewise.
5629 (c4x_emit_libcall_mulhi): Likewise.
5630 * c4x-protos.h: Add prototypes for optab rtx values and change
5631 prototypes for above c4x_emit_libcall functions.
5633 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5635 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
5637 (c4x_function_prologue): Use regnames intead of float_reg_names when
5639 (c4x_function_epilogue): Likewise.
5640 (c4x_print_operand): Likewise.
5641 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
5642 * c4x.md (set_high): Disable for TARGET_TI.
5644 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5646 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
5647 of framepointer + constant to ADDR_REGS class.
5648 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
5649 * c4x.c (std_or_reg_operand): New function.
5650 * c4x-protos.h (std_or_reg_operand): Prototype it.
5652 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5654 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
5655 object names as libgcc2.c.
5656 * libgcc.S: Use newly defined names.
5658 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
5659 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
5661 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
5662 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
5663 (FLOW_LOOP_LAST_BLOCK): Likewise.
5665 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5667 * basic-block.h (struct loop): New fields 'first' and 'last'.
5668 * flow.c (flow_loops_find): Compute loop->first and loop->last.
5669 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
5670 and loop->last to check for NOTE_INSN_LOOP_END.
5672 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
5674 * predict.c (estimate_probability): Use the new FIRST and LAST fields
5675 of the loop descriptor rather than HEADER and LATCH. Also added
5676 missing break statements as well making some coding style modifications
5677 as suggested by Michael Hayes.
5679 2000-01-28 Richard Henderson <rth@cygnus.com>
5681 * flow.c (find_basic_blocks): Remove do_cleanup argument.
5682 Break out that code ...
5683 (cleanup_cfg): ... here.
5684 (commit_one_edge_insertion): Detect a return instruction being
5685 emitted to an edge. Emit a barrier following; clear fallthru.
5686 (commit_edge_insertions): Verify CFG consistency.
5687 * function.c (expand_function_start): Kill unused variable.
5688 (expand_function_end): Likewise.
5689 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
5690 to insert the epilogue.
5692 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
5693 (delete_null_pointer_checks): Likewise.
5694 * output.h: Likewise.
5695 * reg-stack.c (reg_to_stack): Likewise.
5696 * toplev.c (rest_of_compilation): Likewise. Run
5697 thread_prologue_and_epilogue_insns after rebuilding the CFG.
5699 2000-01-28 Richard Henderson <rth@cygnus.com>
5701 * Makefile.in (flow.o): Revert 24 Jan change.
5702 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
5703 FUNCTION_VALUE result to DECL_RESULT's mode.
5705 * haifa-sched.c (schedule_insns): Don't recompute reg info
5708 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
5710 * configure.in: Make --enable-cpplib the default.
5711 * configure: Regenerate.
5712 * gcc.dg/990119-1.c: No longer expected to fail.
5714 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
5716 * jump.c (jump_optimize_1): Delete an optimization that is also done
5717 by merge_blocks in flow.
5719 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5721 * diagnostic.c (build_message_string, output_printf,
5722 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
5723 (build_location_prefix): Fix non-literal format string.
5725 2000-01-27 Richard Henderson <rth@cygnus.com>
5727 * alpha.md (trunctfsf2): New.
5729 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
5731 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
5733 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
5735 * cppinit.c (cpp_handle_option): Recognize C++ comments under
5737 * cpplib.c (skip_block_comment, skip_line_comment): Split code
5739 (skip_comment) ... here. Permit C++ comments in system
5740 headers always. Warn about C++ comments in user code under
5741 -std=gnu89 -pedantic.
5742 (copy_comment): Use skip_comment.
5743 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
5745 (consider_directive_while_skipping, do_else, do_endif): Call
5746 validate_else unconditionally.
5747 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
5748 text after the conditional in a system header.
5749 * cpplib.h (struct cpp_buffer): Add flag
5750 warned_cplusplus_comments.
5752 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
5754 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
5755 Use unshare_all_rtl_1.
5756 (unshare_all_rtl_again): New function.
5757 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
5759 * function.c (purge_addressof_1): Use unshare_all_rtl_again
5760 rather than resetting the 'used' flags ourself.
5762 * toplev.c (rest_of_compilation): Add current_function_decl
5763 to the unshare_all_rtl call.
5764 * tree.h: Prototype unshare_all_rtl.
5765 * rtl.h: Prototype unshare_all_rtl_again here.
5767 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
5769 * genoutput.c (output_prologue): Include ggc.h in generated
5771 * Makefile.in (insn-output.o): Depends on ggc.h.
5773 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
5774 Hans-Peter Nilsson <hp@bitrange.com>
5776 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
5777 Remove redundant include of xm-ns32k.h.
5778 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
5779 Remove redundant include of xm-ns32k.h.
5780 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
5781 Remove redundant include of xm-ns32k.h.
5782 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
5784 * ns32k/ns32k.h: Update comment on multiply-add instructions.
5785 (TARGET_SWITCHES): Add documentation strings.
5786 (DWARF_FRAME_REGNUM): Override default definition.
5787 (REG_CLASS_CONTENTS): Add comments.
5788 (SUBSET_P): Format to reduce line length.
5789 (SMALL_REGISTER_CLASSES): Make a run time option.
5790 (GO_IF_NONINDEXED_ADDRESS): Reformat.
5791 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
5792 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
5793 (regclass_map): fix typo in comment.
5794 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
5795 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
5796 (trace, reg_or_mem_operand): Delete, unused function.
5797 (calc_address_cost): Small offsets are cheaper than large ones.
5798 (expand_block_move): Generate more efficient code when bytes is a
5799 known at compile time.
5800 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
5801 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
5802 instead of reg_or_mem_operand.
5804 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
5805 not general_operand. Similarly use "=rm" or stricter, not "=g".
5806 For input operands, use stricter constraints than "g" if not
5807 general_operand. Similarly use stricter predicate than
5808 "general_operand" when stricter constraints than "g" are present,
5809 except for matching constraints.
5810 (movstrsi): Use "memory_operand" for operands 0 and 1.
5811 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
5812 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
5813 not reg_or_mem_operand.
5814 (udivmoddisi4): Ditto.
5815 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
5816 Use nonimmediate_operand for operand 3, not register_operand.
5817 (udivmoddiqi4_internal): Use register_operand for operand 1, not
5820 2000-01-27 Fred Fish <fnf@be.com>
5822 * gthr-posix.h: Fix typo; compatibily -> compatibility.
5823 * gthr-single.h: Likewise.
5824 * gthr-solaris.h: Likewise.
5825 * gthr-vxworks.h: Likewise.
5826 * gthr-win32.h: Likewise.
5829 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
5831 * cppinit.c: Add " (cpplib)" to end of string printed by
5834 2000-01-27 Richard Henderson <rth@cygnus.com>
5836 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
5837 testing for a signed comparison.
5838 (alpha_emit_floatuns): New.
5839 * alpha-protos.h: Declare it.
5840 * alpha.md (floatunsdisf2, floatunsdidf2): New.
5841 (extendsfdf2): Tidy.
5843 2000-01-27 Jakub Jelinek <jakub@redhat.com>
5845 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
5846 no -g option specifying debugging format, default to -gstabs+.
5848 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5850 * calls.c (special_function_p): New argument fork_or_exec.
5851 (expand_call): When profile_arc_flag is set and the function
5852 is in the fork_or_exec group, call __bb_fork_func first.
5853 * libgcc2.c, _bb module (__bb_fork_func): New function.
5854 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
5856 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
5857 * tree.h (special_function_p): Update prototype.
5859 2000-01-26 Richard Henderson <rth@cygnus.com>
5861 * alpha.c (alpha_split_tfmode_pair): New.
5862 * alpha-protos.h: Declare it.
5863 * alpha.md (abstf2, negtf2): New.
5864 (movtf insn): Add input G constraint.
5865 (movtf splitter): Use alpha_split_tfmode_pair.
5867 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5869 * i386/cygwin.h: PROTO -> PARAMS.
5871 2000-01-26 Jakub Jelinek <jakub@redhat.com>
5873 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
5874 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
5875 using _Qp_cmp/_Q_cmp and testing the return value.
5876 (print_operand): Call reverse_condition_maybe_unordered if
5877 we are handling CCFPmode or CCFPEmode.
5878 Handle ORDERED, UN* and LTGT comparisons.
5879 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
5880 if not TARGET_HARD_QUAD.
5881 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
5882 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
5883 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
5884 Adjust gen_b* calls so that they reflect return comparison of
5885 sparc_emit_float_lib_cmp.
5887 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5889 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
5890 incoming operands array is large enough for one more operand.
5891 (alpha_emit_xfloating_arith): Likewise.
5893 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
5895 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
5896 file with one line and no trailing newline.
5897 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
5898 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
5899 checking if the match is on the line.
5900 * fixinc/gnu-regex.c: Provide regerror not __regerror.
5902 2000-01-25 Richard Henderson <rth@cygnus.com>
5904 * sparc.c (output_cbranch): Fix accidental squashing of the
5905 fp branch pre-delay nop.
5907 2000-01-25 Richard Henderson <rth@cygnus.com>
5909 * tree.def (UNNE_EXPR): Remove.
5910 * c-typeck.c (build_binary_op): Don't handle it.
5911 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
5913 * rtl.def (UNNE): Remove.
5915 * jump.c (reverse_condition): Update accordingly.
5916 (swap_condition): Likewise.
5917 (comparison_dominates_p): Handle unordered comparisons.
5918 (reverse_condition_maybe_unordered): New.
5919 * rtl.h (reverse_condition_maybe_unordered): Declare.
5921 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
5922 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
5923 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
5924 * sparc.md (bltgt): New.
5926 2000-01-25 Nick Clifton <nickc@redhat.com>
5928 * emit-rtl.c (emit_insn): Only check machine class insns for
5929 improper emission of a RETURN.
5931 2000-01-25 Richard Henderson <rth@cygnus.com>
5933 * Makefile.in (flow.o): Depend on $(EXPR_H).
5934 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
5935 duplicate the structure of diddle_return_value for keeping regs live.
5937 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5939 * loop.c (current_loop_info): Delete.
5940 (consec_sets_invariant_p): Add loop argument, update callers.
5941 (get_condition_for_loop): Likewise.
5942 (count_nonfixed_reads, update_giv_derive): Likewise.
5943 (simplify_giv_expr, general_induction_var): Likewise.
5944 (consec_sets_giv, recombine_givs): Likewise.
5945 (move_movables): Delete loop_start and loop_end arguments,
5946 add loop argument, and update callers.
5947 (find_mem_givs, check_final_value): Likewise.
5948 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
5949 (loop_invariant_p): Rename from invariant_p, add loop argument, and
5951 (basic_induction_var): Add loop argument, delete loop_level argument,
5953 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
5954 add loop argument, and update callers.
5955 (find_splittable_regs, find_splittable_givs): Likewise.
5956 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
5957 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
5958 (biv_total_increment): Delete loop_start and loop_end arguments;
5960 (precondition_loop_p): Delete loop_start and loop_info arguments;
5962 * loop.h (get_condition_for_loop): Add loop argument.
5963 (biv_total_increment): Delete loop_start and loop_end arguments.
5964 (precondition_loop_p): Delete loop_start and loop_info arguments;
5966 (final_biv_value): Delete loop_start and loop_end arguments;
5968 (final_giv_value, back_branch_in_range_p): Likewise.
5970 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
5972 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
5974 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
5976 * Makefile.in (c-gperf.h) : Change the "See" pointer to
5977 point to the new "generated_files" doc.
5979 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
5981 * config/fp-bit.c (_unord_f2): Fix typo.
5983 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
5985 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
5986 c-typeck.c, objc/objc-act.c: Remove all references to obstack
5987 functions obsoleted by GC, such as push_obstacks_nochange,
5988 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
5989 and code which existed only to decide whether or not to call
5990 them. Remove now-unused NESTED argument from start_function;
5991 all callers changed. Do not change behavior based on ggc_p.
5992 The use of the ixp_obstack in c-iterate.c and the util_obstack
5993 in objc/objc-act.c remain; these are not obsoleted by garbage
5995 * c-tree.h: Update prototype for start_function.
5997 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
5999 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
6001 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6004 2000-01-25 Richard Henderson <rth@cygnus.com>
6006 * sparc-protos.h (select_cc_mode): Declare.
6007 * sparc.c (select_cc_mode): New. Handle unordered compares.
6008 (output_cbranch): Always reverse via code change. Handle
6009 unordered compares. Factor tests and string updates.
6010 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6011 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6012 * sparc.md (bunordered, bordered): New.
6013 (bungt, bunlt, buneq, bunge, bunle): New.
6015 2000-01-25 Richard Henderson <rth@cygnus.com>
6017 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6018 * ggc-common.c (ggc_add_rtx_varray_root): New.
6019 (ggc_mark_rtx_varray): New.
6020 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
6021 functions down below ggc_mark_foo.
6022 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6024 2000-01-25 Richard Henderson <rth@cygnus.com>
6026 * alpha.c (secondary_reload_class): Don't allocate a secondary
6027 for integral mode memories into FLOAT_REGS. Rearrange the more
6028 complicated memory expression inward.
6030 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
6032 * inclhack.def: Fixes to play nicer with FreeBSD, and
6033 corrections to comments.
6034 (cxx_unready): Add select expression.
6035 (irix_sockaddr): Add bypass expression.
6036 (machine_ansi_h_va_list): New fix.
6037 (stdio_va_list): No need to edit _BSD_VA_LIST_.
6038 Split out addition of "#include <stdarg.h>" to...
6039 (stdio_stdarg_h): ... here.
6040 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
6041 to stdlib.h also. Do not munge _BSD_SIZE_T_.
6042 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
6044 (ultrix_ifdef): Tighten up select expression.
6046 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
6047 re_ct and max_mach to avoid use of shell. Make printed names
6048 match names in inclhack.def. Use static copyright date.
6049 Don't count c_test and test expressions as requiring regex_t
6050 slots. Add some commentary.
6051 * inclhack.tpl: Do not include the 'This script contains N
6052 fixup scripts' line if PROGRAM is defined. Use static
6055 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
6057 * dwarf2out.c: include "varray.h", not dyn-string.h.
6058 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
6059 (addr_const_to_string, addr_to_string): Lose.
6060 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
6061 (struct dw_val_struct): val_addr is now an rtx.
6062 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
6063 (used_rtx_varray): New varray.
6064 (dwarf2out_init): Initialize it.
6066 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
6068 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
6069 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
6070 * Makefile.in (dwarf2out.o): Update dependencies.
6072 2000-01-24 Richard Henderson <rth@cygnus.com>
6074 * i386.c (i386_dwarf_output_addr_const): New.
6075 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
6077 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
6079 * dwarfout.c (output_mem_loc_descriptor): Likewise.
6080 * i386.c (i386_simplify_dwarf_addr): New.
6081 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
6083 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
6085 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
6086 TYPE_STUB_DECL is NULL.
6088 2000-01-24 Richard Henderson <rth@cygnus.com>
6090 * builtins.c (expand_tree_builtin): Move ...
6091 * c-common.c (expand_tree_builtin): ... here.
6093 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6095 * loop.h (LOOP_INFO): New accessor macro.
6096 * basic-block.h (struct loop): Rename field `info' to `aux'.
6097 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
6098 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
6099 * unroll.c (loop_iterations, unroll_loop): Likewise.
6101 2000-01-24 Christopher Faylor <cgf@cygnus.com>
6103 * config/i386/t-cygwin: Accomodate new winsup directory layout
6104 when searching for include files.
6106 2000-01-24 Richard Henderson <rth@cygnus.com>
6108 * rtl.def: Add unordered fp comparisions.
6109 * tree.def: Likewise.
6110 * tree.h: Add ISO C 9x unordered fp comparision builtins.
6112 * builtins.c (expand_tree_builtin): New function.
6113 * c-typeck.c (build_function_call): Use it.
6114 (build_binary_op): Support unordered compares.
6115 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
6117 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
6118 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
6119 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
6120 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
6121 * jump.c (reverse_condition): Don't abort for UNLE etc, but
6123 (swap_condition): Handle unordered compares.
6124 (thread_jumps): Check can_reverse before reversing.
6125 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
6128 * optabs.c (can_compare_p): New argument CODE. Verify branch or
6129 setcc is present before acking for cmp_optab. Update all callers.
6130 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
6131 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
6132 * expr.c (expand_expr): Likewise. Support unordered compares.
6133 (do_jump, do_store_flag): Likewise.
6134 * expr.h (enum libfunc_index): Add unordered compares.
6136 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
6137 (DPBIT_FUNCS): Add _unord_df.
6138 * config/fp-bit.c (_unord_f2): New.
6139 * fp-test.c (main): Try unordered compare builtins.
6141 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
6142 * alpha.c (alpha_comparison_operator): Check mode properly.
6143 (alpha_swapped_comparison_operator): Likewise.
6144 (signed_comparison_operator): Likewise.
6145 (alpha_fp_comparison_operator): New.
6146 (alpha_emit_conditional_branch): Handle unordered compares.
6147 * alpha.h (PREDICATE_CODES): Update.
6148 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
6149 (bunordered, bordered): New.
6151 2000-01-24 Richard Henderson <rth@cygnus.com>
6153 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
6154 * alpha.md (movtf): New expander, insn, and splitter.
6156 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
6158 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6161 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
6163 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
6164 (FIXED_REGISTERS, CALL_USED_REGISTERS,
6165 REG_ALLOC_ORDER): Add frame pointer
6166 (FRAME_POINTER_REGNUM): Set to 20
6167 (HARD_FRAME_POINTER_REGNUM): New macro.
6168 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
6169 to HARD_FRAME_POINTER.
6170 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
6171 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
6172 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
6173 (HI_REGISTER_NAMES): Add "frame".
6174 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
6175 (debug_reg): Handle FRAME_POINTER_REGNUM.
6176 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
6177 GENERAL_REGS and INDEX_REGS.
6178 * i386.c (SAVED_REGS_FIRST): new macro.
6179 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
6180 (ix86_decompose_address, memory_address_length): Likewise.
6181 (regclass_map): Add frame pointer.
6182 (call_insn_operand): Handle frame_pointer_rtx.
6183 (reg_no_sp_operand): Likewise.
6184 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
6185 (print_operand, legitimize_pic_address): Fix formating.
6186 (ix86_compute_frame_size): Make static, update prototype, new
6187 parameters padding1, padding2, use ix86_nsaved_regs, use
6188 stack_alignment_needed.
6189 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
6190 to HARD_FRAME_POINTER_REGNUM conversions.
6191 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
6192 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
6193 (print_reg): Abort on FRAME_POINTER_REGNUM
6195 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
6197 * i386.h (PREDICATE_CODES): Add aligned_operand.
6198 * i386.c (aligned_operand): New function.
6199 (ix86_aligned_p): Kill.
6200 * i386.md (movhi_1): Emit mov for aligned operands.
6201 (promoting peep2s): Use aligned_operand.
6203 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
6205 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
6206 expression to allow underscores in macro names.
6207 (fix_char_macro_defines): Increment scanning pointer.
6209 2000-01-23 Richard Henderson <rth@cygnus.com>
6211 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
6212 * alpha/osf5.h: New file.
6213 * configure.in (alpha-*-osf5): Add it to tm_file.
6215 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
6217 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
6218 (alpha_emit_xfloating_cvt, function_arg): Declare.
6219 * alpha.c (alpha_emit_conditional_branch): Call
6220 alpha_emit_xfloating_compare for TFmode compares.
6221 (alpha_lookup_xfloating_lib_func): New.
6222 (alpha_compute_xfloating_mode_arg): New.
6223 (alpha_emit_xfloating_libcall): New.
6224 (alpha_emit_xfloating_arith): New.
6225 (alpha_emit_xfloating_compare): New.
6226 (alpha_emit_xfloating_cvt): New.
6227 (print_operand): Add default abort case.
6228 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
6229 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
6230 (BIGGEST_ALIGNMENT): Increase to 128 bits.
6231 (RETURN_IN_MEMORY): True for TF/TCmode.
6232 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
6233 (FUNCTION_ARG): Move to function_arg.
6234 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
6235 (ASM_OUTPUT_LONG_DOUBLE): New.
6236 (ASM_OUTPUT_DOUBLE): Always output bits.
6237 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
6238 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
6239 (extenddftf2, trunctfdf2): New.
6241 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6243 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
6244 * config/sparc/sol2.h: ... here.
6246 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6248 * basic-block.h (struct loops): New field `levels'.
6249 * flow.c (flow_loops_level_compute): Traverse all outer loops.
6250 (flow_loop_level_compute): Initialise level to 1.
6251 (flow_loops_find): Set loops->levels.
6252 (flow_loops_dump): Print loops->levels.
6254 2000-01-23 Richard Henderson <rth@cygnus.com>
6256 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
6257 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
6259 2000-01-23 Richard Henderson <rth@cygnus.com>
6261 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
6262 * i386.h (DBX_REGISTER_NUMBER): Use them.
6263 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
6264 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
6265 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
6266 * i386/sequent.h: Kill incorrect comment.
6268 2000-01-23 Mark Mitchell <mark@codesourcery.com>
6270 * ggc-page.c (struct page_entry): Make `context_depth' an
6272 (struct globals): Likewise.
6274 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
6276 * loop.c (check_dbra_loop): When checking a loop for
6277 reversability, check the source of any stores to ensure
6278 they don't depend on an initial value.
6280 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6282 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
6284 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
6286 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
6287 'pz_scan' into scope of entire function. Only affects
6288 compiles with -DDEBUG.
6290 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
6292 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
6293 section naming to that prior to 2000-01-07 patch.
6294 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
6295 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
6296 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
6297 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
6298 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
6300 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
6302 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
6305 2000-01-21 Jim Wilson <wilson@cygnus.com>
6307 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
6308 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
6310 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
6312 * cpphash.c (change_newlines): Delete function.
6313 (struct argdata): Delete 'newlines' and 'use_count' fields.
6314 (macroexpand): Remove code referencing those fields.
6316 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6318 * loop.c (loops_info): New variable.
6319 (loop_optimize): Allocate loops->array and free it on exit.
6320 Allocate memory for loops_info and assign to each loop,
6322 (find_and_verify_loops): Do not allocate loops->array.
6324 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
6326 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
6328 2000-01-21 Jakub Jelinek <jakub@redhat.com>
6330 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
6331 pseudos if expanded after first flow.
6332 (movdi_pic_label_ref): Likewise.
6334 2000-01-20 Richard Henderson <rth@cygnus.com>
6336 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
6338 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
6340 * Makefile.in (fixinc.sh): Depend on specs.
6341 * fixinc/Makefile.in: Add rule to create machname.h.
6342 (fixlib.o): Depend on machname.h.
6343 * fixinc/fixtests.c (machine_name): New test.
6344 * fixinc/fixfixes.c (machine_name): New fix.
6345 * fixinc/fixlib.c (mn_get_regexps): New helper function for
6346 the machine_name test and fix.
6347 * fixinc/fixlib.h: Prototype it.
6348 * fixinc/inclhack.def (machine_name): Use the C test and fix.
6349 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
6351 * gcc.c (do_spec_1) [case P]: Take care not to create
6352 identifiers with three leading or trailing underscores.
6354 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
6355 (fixincl): Don't specify libraries twice on link line.
6356 (gnu-regex.o): Remove special rule.
6357 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
6358 defined by config.h. Do not define _REGEX_RE_COMP.
6359 (regcomp): Allocate and initialize a fastmap.
6360 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
6362 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
6364 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
6366 2000-01-19 Richard Henderson <rth@cygnus.com>
6368 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
6369 arguments with BB. Update all callers. Tidy line wrapping.
6371 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
6373 * emit-rtl.c (try_split): Return last_insn if we split the
6376 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
6378 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
6379 (ix86_initial_elimination_offset): Declare.
6380 * i386.c (ix86_nsaved_regs): Break out from ...
6381 (ix86_can_use_return_insn_p): ... here.
6382 (ix86_emit_save_regs): Break out from ...
6383 (ix86_expand_prologue): ... here.
6384 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
6386 (ix86_expand_epilogue): ... here.
6387 (ix86_compute_frame_size): Make static, add prototype.
6388 (ix86_initial_elimination_offset): Break out from ...
6389 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
6391 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6393 * recog.h (OUT_FCN): Delete.
6395 * vax.md: Call `get_insn_template' instead of OUT_FCN.
6397 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6399 * cppalloc.c: PROTO -> PARAMS.
6400 * cpperror.c: Likewise.
6401 * cppfiles.c: Likewise.
6402 * cpplib.c: Likewise.
6403 * cpplib.h: Likewise.
6405 * config/arm/arm-protos.h: PROTO -> PARAMS.
6406 * config/arm/arm.c: Likewise.
6407 * config/c4x/c4x.c: Likewise.
6408 * config/fr30/fr30-protos.h: Likewise.
6409 * config/nextstep.c: Likewise.
6410 * config/pa/pa.c: Likewise.
6411 * config/pj/pj.c: Likewise.
6412 * config/rs6000/rs6000.c: Likewise.
6413 * config/v850/v850-protos.h: Likewise.
6414 * config/v850/v850.c: Likewise.
6416 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6418 * i370-protos.h: New file.
6420 * i370.c: Include tm_p.h. Fix compile time warnings.
6422 * i370.h: Move prototypes to i370-protos.h. Fix compile time
6425 * i370.md: Likewise.
6427 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6429 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
6430 (target_isinf, target_isnan, eisnan): Mark parameter with
6432 (eiisinf): Wrap in INFINITY.
6433 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
6434 (ibmtoe): Remove unused variable `rndsav'.
6436 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6438 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
6439 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
6441 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
6443 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
6444 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
6445 (fix_char_macro_defines, fix_char_macro_uses): New functions.
6447 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
6448 Recognize Emacs mode markers also.
6449 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
6450 C++ comments in C++ headers. Call is_cxx_header only if
6453 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
6455 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
6456 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
6457 ... these, which use the new C fixes.
6458 (math_exception): Escape literal '+' in bypass expression.
6460 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
6463 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6465 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
6468 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6470 * loop.c (loop_optimize): Allocate loop_info structure for each loop
6471 prior to calling scan_loop.
6473 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6475 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
6476 (split_branches, calc_live_regs): Likewise.
6478 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6480 * sh.md (fpu_single, fp_mode): New attributes.
6482 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6484 * loop.c (current_loop_info): Renamed from loop_info_data
6485 and changed to a pointer.
6486 (loop_optimize): Allocate loop_info structure for each loop
6487 and initialise to zero.
6488 (scan_loop): Set current_loop_info.
6490 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
6493 2000-01-19 Richard Henderson <rth@cygnus.com>
6495 * stupid.c: Die die die.
6496 * Makefile.in (OBJS): Remove stupid.o.
6497 (stupid.o): Likewise.
6499 * except.c (emit_eh_context): Don't emit USEs for stupid.
6500 * explow.c (probe_stack_range): Likewise.
6501 * flags.h (obey_regdecls): Remove.
6502 * flow.c (find_basic_blocks): Don't run try_merge_blocks
6503 when not optimizing.
6504 (life_analysis): Limit data collection when not optimizing.
6505 (mark_regs_live_at_end): Always mark the return value registers.
6506 (mark_used_regs): Remove dummy RETURN case.
6507 (print_rtl_with_bb): Don't consult obey_regdecls.
6508 * function.c (use_variable, use_variable_after): Remove.
6509 (assign_parms): Consult optimize not obey_regdecls.
6510 (expand_function_start): Don't emit USEs for stupid.
6511 (expand_function_end): Likewise.
6512 * global.c (build_insn_chain): Export.
6513 * integrate.c (expand_inline_function): Kill return-value USE
6515 * jump.c (jump_optimize_1): Do simple jump optimizations and
6516 dead code elimination.
6517 (calculate_can_reach_end): Remove check_deleted argument.
6518 (delete_insn): Patch out insns even when not optimizing.
6519 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
6520 * rtl.h (use_variable, use_variable_after): Remove declarations.
6521 (build_insn_chain): Declare.
6522 * stmt.c (expand_value_return): Don't emit USEs for stupid.
6523 (expand_end_bindings): Likewise.
6524 (expand_decl): Likewise. Consult optimize not obey_regdecls.
6525 * toplev.c (obey_regdecls): Remove.
6526 (rest_of_compilation): Don't set it. Kill stupid in favour of
6527 flow1, local-alloc, and reload.
6528 (main): Don't set obey_regdecls.
6530 * config/nextstep.c (handle_pragma): Likewise.
6532 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
6534 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
6536 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6538 * alpha-protos.h: PROTO -> PARAMS.
6539 * alpha.c: Likewise.
6541 * h8300.c: Likewise.
6542 * i386-protos.h: Likewise.
6544 * m32r-protos.h: Likewise.
6547 * mips.md: Likewise.
6548 * gmon-sol2.c: Likewise.
6549 * sparc.c: Likewise.
6551 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6553 * ns32k-protos.h: New file.
6555 * ns32k.c: Fix compile time warnings.
6557 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
6560 * ns32k.md: Likewise.
6562 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6564 * vax-protos.h: New file.
6566 * vax.c: Fix compile time warnings.
6568 * vax.h: Move prototypes to vax-protos.h. Fix compile time
6573 * vaxv.md: Likewise.
6575 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6577 * romp-protos.h: New file.
6579 * romp.c: Fix compile time warnings.
6581 * romp.h: Move prototypes to romp-protos.h. Fix compile time
6584 * romp.md: Likewise.
6586 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6588 * we32k-protos.h: New file.
6590 * we32k.c: Fix compile time warnings.
6592 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
6595 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6597 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6599 * except.c (eh_regs): Likewise.
6601 * final.c (output_operand): Likewise.
6603 * fold-const.c (target_isinf, target_isnan): Likewise.
6605 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6607 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
6608 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
6610 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
6612 (clrstrsi): Rewrite.
6613 (strsethi, strsetqi): New expanders.
6614 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
6615 (cmpstrsi): Emit compare insn before cmpstrsi_1
6616 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
6617 (strlensi_1): Likewise.
6618 (cmpstrsi_1): Likewise; do not output compare.
6619 (strlen expander): Do not unroll when optimizing for size.
6620 (*subsi3_carry): Rename to subsi3_carry
6621 (addqi3_cc): New pattern.
6622 * i386.h (processor_costs): Add move_ratio field.
6623 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
6624 * i386.c (*_cost): Set move_ratio.
6625 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
6626 (x86_expand_strlensi_1): Rewrite the main loop.
6628 2000-01-17 Richard Henderson <rth@cygnus.com>
6630 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
6631 * cse.c (find_comparison_args, fold_rtx): Likewise.
6632 * integrate.c (subst_constants): Likewise.
6633 * loop.c (get_condition): Likewise.
6635 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
6637 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
6639 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6641 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
6642 (RESTORE_WARN_FLAGS): Unpack it.
6643 Change semantic type of extension to ttype.
6644 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
6645 * c-parse.y, c-parse.c, objc/objc-parse.y,
6646 objc/objc-parse.c: Regenerate.
6648 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
6650 * fixinc/fixlib.c: Add copyright notice.
6651 (compile_re): New function.
6652 * fixinc/fixlib.h: Prototype compile_re.
6654 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
6655 Use compile_re to compile regular expressions.
6657 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
6658 where the pattern matched.
6660 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
6662 (ultrix_ansi_compat): Likewise.
6663 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
6665 (interactv_add2, interactv_add3): Delete.
6666 (x11_sprintf): Don't use filename glob.
6667 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
6670 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6672 * print-rtl.c: PROTO -> PARAMS.
6674 * reg-stack.c: Likewise.
6675 * resource.c: Likewise.
6676 * sdbout.h: Likewise.
6677 * simplify-rtx.c: Likewise.
6678 * stor-layout.c: Likewise.
6679 * stupid.c: Likewise.
6680 * xcoffout.c: Likewise.
6681 * xcoffout.h: Likewise.
6683 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6685 * toplev.c: PROTO -> PARAMS.
6686 * toplev.h: Likewise.
6689 * unroll.c: Likewise.
6690 * varasm.c: Likewise.
6691 * varray.c: Likewise.
6692 * varray.h: Likewise.
6694 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6696 * reload.c: PROTO -> PARAMS.
6697 * reload.h: Likewise.
6698 * reload1.c: Likewise.
6699 * reorg.c: Likewise.
6700 * resource.h: Likewise.
6703 * rtlanal.c: Likewise.
6704 * sbitmap.h: Likewise.
6705 * sdbout.c: Likewise.
6706 * stack.h: Likewise.
6708 * system.h: Likewise.
6710 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6712 * machmode.h: PROTO -> PARAMS.
6713 * mbchar.h: Likewise.
6714 * mips-tdump.c: Likewise.
6715 * mips-tfile.c: Likewise.
6716 * optabs.c: Likewise.
6717 * output.h: Likewise.
6718 * prefix.c: Likewise.
6719 * profile.c: Likewise.
6720 * protoize.c: Likewise.
6722 * recog.c: Likewise.
6723 * recog.h: Likewise.
6724 * regclass.c: Likewise.
6725 * regmove.c: Likewise.
6728 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6730 * ggc-common.c: PROTO -> PARAMS.
6731 * ggc-page.c: Likewise.
6732 * ggc-simple.c: Likewise.
6734 * global.c: Likewise.
6735 * graph.c: Likewise.
6736 * gthr-win32.h: Likewise.
6737 * haifa-sched.c: Likewise.
6738 * halfpic.h: Likewise.
6739 * integrate.c: Likewise.
6740 * integrate.h: Likewise.
6743 * local-alloc.c: Likewise.
6747 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6749 * genattr.c: PROTO -> PARAMS.
6750 * genattrtab.c: Likewise.
6751 * gencheck.c: Likewise.
6752 * gencodes.c: Likewise.
6753 * genconfig.c: Likewise.
6754 * genemit.c: Likewise.
6755 * genextract.c: Likewise.
6756 * genflags.c: Likewise.
6757 * gengenrtl.c: Likewise.
6758 * genopinit.c: Likewise.
6759 * genoutput.c: Likewise.
6760 * genpeep.c: Likewise.
6761 * genrecog.c: Likewise.
6763 2000-01-16 Mark Mitchell <mark@codesourcery.com>
6765 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
6767 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6769 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
6770 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
6771 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
6772 * configure, config.in: Rebuilt.
6774 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
6776 * config/i386/i386.md: Add peephole to merge successive stack
6779 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
6781 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
6782 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
6783 when walking backwards to find all the parameter loads when
6784 the basic block ends in a call.
6786 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6788 * loop.c (this_loop_info): Delete.
6789 (uid_loop): Add in place of uid_loop_num. All uses updated.
6790 (loop_number_exit_count): Delete and replace with entry in loop
6791 structure. All uses updated.
6792 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
6793 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
6794 (loop_outer_loop): Likewise.
6795 (loop_invalid, loop_number_exit_labels): Likewise.
6796 (loop_used_count_register): Delete and replace with entry in
6797 loop_info structure.
6798 (find_and_verify_loops): Add loops argument.
6799 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
6800 loop_end, etc. arguments with loop structure pointer. All callers
6802 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
6803 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
6804 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
6805 (insert_bct): Likewise.
6806 (basic_induction_var): New argument level.
6807 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
6808 vtop, and cont. Add used_count_register.
6809 (uid_loop): Delete declaration.
6810 (loop_number_exit_count): Likewise.
6811 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
6812 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
6813 (loop_outer_loop, loop_used_count_register): Likewise.
6814 (loop_invalid, loop_number_exit_labels): Likewise.
6815 (unroll_loop): Replace loop_start and loop_end arguments
6816 with loop structure pointer.
6817 (loop_precondition_p, loop_iterations): Likewise.
6818 Include basic-block.h.
6819 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
6820 with loop structure pointer.
6821 (loop_precondition_p, loop_iterations): Likewise.
6822 * basic-block.h (struct loop): New entries vtop, cont,
6823 cont_dominator, start, end, top, scan_start, exit_labels,
6825 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
6827 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6829 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
6831 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
6833 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
6835 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6837 * pdp11-protos.h: New file.
6839 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
6842 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
6845 * pdp11.md: Likewise.
6849 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6851 * mn10300-protos.h: New file.
6853 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
6856 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
6859 * mn10300.md: Likewise.
6861 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6863 * mn10200-protos.h: New file.
6865 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
6868 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
6871 * mn10200.md: Likewise.
6873 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6875 * h8300-protos.h: New file.
6877 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
6880 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
6883 * h8300.md: Likewise.
6885 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6887 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
6888 (asm_emit_uninitialised): Likewise.
6890 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
6892 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
6893 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
6895 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
6897 * config/mips/mips.c (override_options): Don't turn on extra
6898 alignment for mips16.
6900 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
6902 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
6903 eabi, and make sure queued POSTINCREMENT rtl is emitted at
6906 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
6908 * builtins.c (PAD_VARARGS_DOWN): Define.
6909 (std_expand_builtin_va_arg): Use the above macro.
6910 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
6911 * tm.texi (Register Arguments): Document the above macro.
6913 2000-01-14 Nick Clifton <nickc@cygnus.com>
6915 * emit-rtl.c (emit_insn): If checking is enabled, make sure
6916 that this function has not been used to emit a jump
6919 * jump.c (return_jump_1): Cope with being passed a null rtx.
6921 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6923 * eh-common.h: PROTO -> PARAMS.
6924 * emit-rtl.c: Likewise.
6925 * errors.c: Likewise.
6926 * errors.h: Likewise.
6927 * except.c: Likewise.
6928 * except.h: Likewise.
6929 * explow.c: Likewise.
6930 * expmed.c: Likewise.
6933 * final.c: Likewise.
6934 * fix-header.c: Likewise.
6936 * fold-const.c: Likewise.
6937 * function.c: Likewise.
6938 * function.h: Likewise.
6940 * gcov-io.h: Likewise.
6944 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6946 * sh-protos.h: New file.
6948 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
6949 Add static prototypes. Fix compile time warnings.
6951 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
6955 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6957 * arc-protos.h: New file.
6959 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
6962 * arc.h: Move prototypes to arc-protos.h. Fix compile time
6967 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6969 * dsp16xx-protos.h: New file.
6971 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
6974 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
6977 * dsp16xx.md: Likewise.
6979 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6981 * convex-protos.h: New file.
6983 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
6986 * convex.h: Move prototypes to convex-protos.h. Fix compile time
6989 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6991 * elxsi-protos.h: New file.
6993 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
6996 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
6999 * elxsi.md: Likewise.
7001 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
7003 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7004 case for moving from HI/LO/HI_LO_REG. This makes the behavior
7005 match the comment for MIPS16.
7007 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
7009 * flow.c (split_edge): Do not call set_block_for_insn if we
7010 do not have a basic_block_for_insn structure.
7012 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7013 and destination functions are 32bit aligned within the trampoline.
7014 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7015 (TRAMPOLINE_ALIGNMENT): Define.
7017 * cse.c (cse_insn): When changing (set (pc) (reg)) to
7018 (set (pc) (label_ref)), verify the change creates a valid insn.
7020 * fr30.c (call_operand): Tighten and rework to match rules for
7021 call RTL expressions.
7022 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7023 * fr30.md (call patterns): Improve constraints.
7025 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
7027 * fr30.c (fr30_expand_epilogue): Revert last change.
7028 Use emit_jump_insn for the return insn.
7030 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
7031 Stan Cox <scox@cygnus.com>
7033 * predict.c: New file. Preliminary infrastructure work for static
7034 branch prediction and basic block reordering.
7035 * basic-block.h: Add prototype for estimate_probability.
7036 * Makefile.in: Add rules for predict.o.
7038 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
7040 * fixincludes (va_list): Use __not_va_list__ for the dummy.
7041 * fixinc/*: Likewise.
7043 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7045 * cccp.c: PROTO -> PARAMS.
7047 * collect2.c: Likewise.
7048 * combine.c: Likewise.
7049 * convert.h: Likewise.
7051 * dbxout.c: Likewise.
7052 * dbxout.h: Likewise.
7053 * diagnostic.c: Likewise.
7054 * doprint.c: Likewise.
7055 * dwarf2out.c: Likewise.
7056 * dwarf2out.h: Likewise.
7057 * dwarfout.c: Likewise.
7058 * dwarfout.h: Likewise.
7059 * dyn-string.h: Likewise.
7061 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7063 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
7064 macro conditionals guarding use.
7066 * dwarf2out.c: Include "tm_p.h".
7068 * function.c (locate_and_pad_parm): Mark parameter with
7070 (expand_function_end): Likewise for variable `context'.
7072 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
7074 2000-01-13 Nick Clifton <nickc@cygnus.com>
7076 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
7077 register to prevent compile time warnings.
7079 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
7081 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
7082 to avoid -Wtraditional warning.
7084 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7086 * 1750a-protos.h: New file.
7088 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
7091 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
7094 * 1750a.md: Likewise.
7096 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7098 * a29k-protos.h: New file.
7100 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
7103 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
7106 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7108 * clipper-protos.h: New file.
7110 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
7113 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
7116 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7118 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
7120 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
7122 * configure.in (--enable-new-gxx-abi): New option.
7123 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
7124 * Makefile.in (GXX_ABI_FLAG): New variable.
7125 * configure: Regenerate.
7127 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7129 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
7130 * tm.texi (FORCE_STRUCT_BLK): Document.
7131 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
7133 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
7135 * config/ns32k/ns32k.md: Revert Jan 9 change.
7137 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
7138 to a mode-test, if the predicate is address_operand.
7140 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
7142 * combine.c (if_then_else_cond): Be careful about what kinds
7143 of RTL expressions are passed to operand_subword.
7145 * flow.c (split_edge): If we have to insert a new jump, make
7146 sure to associate it with a basic block.
7148 * flow.c (commit_one_edge_insertion): A block with one successor
7149 can end in a JUMP_INSN that is not a simplejump.
7151 2000-01-12 Robert Lipe <robertl@sco.com>
7153 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
7154 (BUILD_VA_LIST_TYPE): Define.
7155 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
7158 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
7160 * cccp.c (do_pragma): Add cast to (char *).
7162 2000-01-12 Richard Henderson <rth@cygnus.com>
7163 Fred Fish <fnf@be.com>
7164 Jason Merrill <jason@cygnus.com>
7166 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
7167 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
7168 * i386/beos-elf.h, i386/beos-pe.h: New files.
7170 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
7171 * cross-make (SYSTEM_HEADER_DIR): Define using
7172 CROSS_SYSTEM_HEADER_DIR.
7174 * gcc.c (LIBRARY_PATH_ENV): Provide default.
7175 (process_command): Use it.
7176 (main): Likewise. Kill trailing = from env vars.
7177 (build_search_list): Put it back.
7178 * collect2.c (main): Use LIBRARY_PATH_ENV.
7180 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
7181 * toplev.c: Use NEED_DECLARATION_ENVIRON.
7183 * tm.texi (Frame Layout): Document SMALL_STACK.
7184 * c-common.c (c_common_nodes_and_builtins): Check it.
7186 * system.h: Undef alloca after including glibc's <stdlib.h>,
7187 if USE_C_ALLOCA is defined.
7189 * gcc.c (set_input): New fn.
7190 (main): After all input files are compiled, reset the input file
7193 * aclocal.m4 (rindex, index): If already defined, don't attempt
7196 * ginclude/varargs.h: (__va_list__): Define ifndef.
7197 * ginclude/stdarg.h: Likewise.
7199 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
7200 instead of unsigned char.
7202 * hash.h (true, false, boolean): Undef before enum.
7204 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
7205 proper type of "HOST_WIDE_INT *", rather than their natural type of
7206 "unsigned HOST_WIDE_INT *".
7208 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7210 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
7212 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
7214 * regclass.c (choose_hard_reg_mode): Likewise.
7216 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
7218 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
7220 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7222 * c-common.c: PROTO -> PARAMS.
7223 * c-common.h: Likewise.
7224 * c-decl.c: Likewise.
7225 * c-iterate.c: Likewise.
7226 * c-lang.c: Likewise.
7227 * c-lex.c: Likewise.
7228 * c-lex.h: Likewise.
7229 * c-parse.in: Likewise.
7230 * c-pragma.c: Likewise.
7231 * c-pragma.h: Likewise.
7232 * c-tree.h: Likewise.
7233 * c-typeck.c: Likewise.
7234 * objc/objc-act.c: Likewise.
7235 * objc/objc-act.h: Likewise.
7237 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7239 * m88k-protos.h: New file.
7241 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
7244 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
7246 * m88k.md: Likewise.
7248 * tekXD88.h: Likewise.
7250 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7252 * m68k-protos.h: New file.
7254 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
7257 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
7259 * mot3300.h: Likewise.
7261 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
7263 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
7265 (extract_bitlist): Declare bitlen.
7267 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
7269 * cccp.c: Accept and ignore -lang-fortran.
7271 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
7272 qualifiers don't match at any level of pointerness.
7274 2000-01-12 Robert Lipe <robertl@sco.com>
7276 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
7278 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
7280 * reload1.c (reload_reg_unavailable): New static variable.
7281 (reload_reg_free_p): Test it.
7282 (reload_reg_free_for_value_p): Test it instead of
7284 (choose_reload_regs_init): Compute it.
7286 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
7288 * reorg.c (fill_slots_from_thread): Check modified_in_p
7291 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
7293 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
7294 these nodes even if INTERNALS is not set.
7296 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
7298 * gcse.c (delete_null_pointer_checks_1): Cope when
7299 get_condition cannot determine the condition.
7301 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
7303 * toplev.h (set_message_length): Declare.
7305 * diagnostic.c (obstack_chunk_alloc): Define macro.
7306 (obstack_chunk_free): Likewise.
7307 (struct output_buffer): New data structure.
7309 (output_maximum_width): New variable.
7310 (doing_line_wrapping, set_message_length, init_output_buffer,
7311 get_output_prefix, output_space_left, emit_output_prefix,
7312 output_newline, output_append, output_puts, dump_output,
7313 vbuild_message_string, build_message_string, build_location_prefix,
7314 voutput_notice, output_printf, line_wrapper_printf,
7315 vline_wrapper_message_with_location): New functions. Implement
7316 automatic line wrapping.
7317 (v_message_with_decl): Make it handle automatic line wrapping.
7318 (v_error_with_file_and_line): Likewise.
7319 (v_warning_with_file_and_line): Likewise.
7320 (announce_function): Likewise.
7321 (default_print_error_function): Likewise.
7323 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
7325 * cpplib.h (struct cpp_options): Change lang_asm to char.
7327 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
7328 done in cpp_handle_option now.
7329 (initialize_builtins): Take out special case code used only by
7331 (cpp_handle_option): Turn off trigraphs and trigraph warnings
7332 if -traditional. Recognize -lang-fortran and set
7333 lang_fortran, also turn off cplusplus_comments.
7334 (print_help): Document -lang-fortran.
7335 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
7336 lang_asm. Ignore all directives other than `# 123 "file"' if
7338 (cpp_get_token): If -traditional, don't recognize directives
7339 unless the # is in column 1.
7340 (parse_string): If lang_fortran or lang_asm, silently
7341 terminate strings ('' or "") at end of line.
7342 Remove unnecessary braces.
7344 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7345 Richard Henderson <rth@cygnus.com>
7347 * resource.c (mark_referenced_resources): Mark a set strict_low_part
7349 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
7350 strict_low_part when possible.
7352 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7354 * alias.c: PROTO -> PARAMS.
7355 * basic-block.h: Likewise.
7356 * bitmap.c: Likewise.
7357 * bitmap.h: Likewise.
7358 * builtins.c: Likewise.
7359 * c-aux-info.c: Likewise.
7360 * caller-save.c: Likewise.
7361 * calls.c: Likewise.
7363 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7365 * Makefile.in (toplev.o): Depend on regs.h.
7367 * output.h (tdesc_section): Prototype.
7369 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
7371 * sdbout.c: Include "tm_p.h".
7373 * toplev.c: Include "regs.h".
7375 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
7377 * unroll.c (unroll_loop): Add EH support.
7379 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7381 * pa-protos.h: New file.
7383 * pa.c: Include recog.h and tm_p.h.
7384 (compute_zdepwi_operands, compute_movstrsi_length,
7385 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
7386 find_addr_reg, import_milli): Add static prototypes.
7387 (pa_cpu_string, pa_arch_string): Constify a char*.
7388 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
7389 (read_only_operand): Add argument `mode'.
7390 (singlemove_string, output_move_double, output_fp_move_double,
7391 output_block_move, output_and, output_ior, output_ascii,
7392 remove_useless_addtr_insns, milli_names, output_mul_insn,
7393 output_div_insn, output_mod_insn, output_arg_descriptor,
7394 output_cbranch, output_bb, output_bvb, output_dbra, ,
7395 output_millicode_call, output_call, hppa_encode_label,
7396 output_parallel_movb, output_parallel_addb): Constify a char*.
7397 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
7398 (output_parallel_addb): Remove extra arg to `constrain_operands'
7400 * pa.h: Move all prototypes to pa-protos.h.
7401 (pa_cpu_string, pa_arch_string): Constify a char*.
7402 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
7404 * pa.md: Call `function_label_operand' with mode argument.
7405 Likewise for `read_only_operand'.
7406 Fix nesting of parens in call to `symbolic_operand'.
7408 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7410 * i860-protos.h: New file.
7412 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
7415 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
7417 * i860.md: Likewise.
7419 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
7421 * i386.md (movstrsi expander): Rewrite.
7422 (movstrsi_1 insn): Deleted.
7423 (strmovhi, strmovqi expander): New expanders.
7424 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
7425 * i386.c (x86_single_stringop): New global variable.
7426 * i386.h (x86_single_stringop): Declare.
7427 (TARGET_SINGLE_STRINGOP): New macro.
7429 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
7431 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
7432 integer vararg POSTINCREMENT before the destination of the jump
7433 for the hard fp case.
7434 (function_arg_pass_by_reference): Pass a copy of CUM to
7437 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
7438 for CONSTANT_ADDRESS_P above while loop for subreg.
7440 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
7442 * flow.c (propagate_block): When a prologue/epilogue insn
7443 is marked dead, unconditionally clear libcall_is_dead and
7444 insn_is_dead, and only dump rtl if warnings aren't being
7447 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
7449 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
7450 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
7451 (FIXED_REGISTERS): Set dirflag as fixed.
7452 (CALL_USED_REGISTERS): Set dirflag as used.
7453 (REG_ALLOC_ORDER): Set dirflag as last one.
7454 (DIRFLAG_REG): New macro.
7455 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
7456 (HI_REGISTER_NAMES): Add dirflag.
7457 (DEBUF_PRINT_REG): Handle dirflag.
7458 * i386.md (type attribute): New cld and str types.
7459 (length_opcode attribute): Set cld and str to 1.
7460 (memory attribute): Set str to unknown - it is not clear from the
7462 (pent_np function unit): Prefixed string operations takes 12 cycles
7463 minimally; cld takes 2 cycles.
7464 (ppro_uops attribute): Str is "many" and cld is "few".
7465 (ppro_p0 unit): Handle cld here.
7466 (k6_alux unit): Handle cld and str types.
7467 (k6_load unit): It is ocupied by str opcodes.
7468 (k6_store unit): It is ocupied by str opcodes.
7469 (athlon_decode): Str is vector decoded.
7470 (athlon_ieu): Handle str and cld.
7472 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
7473 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
7474 cmpstrsi_nz_1 insn): Do not output cld instruction
7476 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
7478 * gcc.texi (G++ and GCC): Add Java and Chill.
7479 (Bug Critera): Don't list languages.
7481 * gcc.texi (Incompatibilities): No longer claim most C compilers
7484 * gcc.texi (G++ and GCC): Update other front-ends list.
7486 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
7488 * i386.c (ix86_expand_setcc): Fix typo.
7489 (ix86_expand_movcc): Similarly.
7491 * Band-aid until haifa's bitset implementation is nuked.
7492 * haifa-sched.c (extract_bitlst): New parameter for size of the
7493 bitset in bits. All callers changed. Avoid looking at undefined
7495 (edgeset_bitsize): New variable.
7496 (schedule_region): Initialize edgeset_bitsize.
7498 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7500 * Makefile.in (optabs.o): Depend on real.h
7501 (resource.o): Depend on insn-attr.h
7503 * builtins.c (result_vector): Wrap prototype in macro conditions
7504 governing definition and use.
7506 * c-common.c: Include tm_p.h.
7508 * c-lex.c: Likewise.
7510 * elfos.h: Constify a char*.
7512 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
7513 (get_attr_length, shorten_branches, profile_after_prologue): Mark
7514 parameter with ATTRIBUTE_UNUSED.
7516 * fold-const.c (exact_real_inverse): Wrap variable `i' in
7519 * haifa-sched.c (schedule_insns): Mark parameter with
7522 * optabs.c: Include real.h.
7524 * real.h (ereal_atof): Add prototype arguments.
7526 * resource.c: Include insn-attr.h.
7528 * sdbout.c (sdbout_queue_anonymous_type,
7529 sdbout_dequeue_anonymous_types): Wrap in macro
7530 SDB_ALLOW_FORWARD_REFERENCES.
7531 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
7534 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
7536 * stupid.c: Include tm_p.h.
7538 * tree.c (real_value_from_int_cst): Mark parameter with
7541 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7543 * i960-protos.h: New file.
7545 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
7548 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
7550 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7552 * combine.c (expand_field_assignment): Do not discard SUBREGs
7553 while computing nonzero_bits.
7555 2000-01-09 Nick Clifton <nickc@cygnus.com>
7557 * config/arm/arm.c: Fix compile time warnings about signed vs
7559 * config/arm/arm.h: Fix compile time warnings about signed vs
7562 2000-01-09 Philip Blundell <philb@gnu.org>
7564 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
7565 than `ldm' with only one register.
7566 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
7569 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
7572 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
7574 * config/ns32k/ns32k.md (load or push effective address): Operand 1
7577 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7579 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7580 assignment used as truth value.
7582 * function.c (assign_temp): Mark parameter `dont_promote' with
7583 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
7584 PROMOTE_FOR_CALL_ONLY.
7586 * genrecog.c (write_subroutine): Mark variable `operands' with
7589 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
7592 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
7593 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
7595 * toplev.c (note_deferral_of_defined_inline_function): Likewise
7598 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7600 * config/c4x.h: Tidy up comments.
7601 * config/c4x.c: Likewise.
7603 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
7605 * fold-const.c (lshift_double, rshift_double): Handle
7606 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
7608 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7610 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
7611 in prepare_function_start().
7613 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
7615 * config/v850/v850.c (expand_epilogue): Interrupt functions no
7616 longer allocate extra stack for function calls.
7618 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7620 * config/c4x/c4x.md (*subqf3_set): Fix typo.
7622 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7624 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
7626 2000-01-07 David Edelsohn <edelsohn@gnu.org>
7628 * rs6000.c (processor_target_table): Add power3 as alias for 630.
7629 * aix43.h: Revert Aug 2 change.
7630 (HAS_INIT_SECTION): Define, not visible yet.
7631 (LD_INIT_SWITCH): Define, not visible yet.
7632 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7634 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
7636 * collect2.c (main): Expand ld2 size further.
7637 (export_object_lst): Cast assignment to avoid warning.
7638 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
7639 (scan_prog_file, COFF): Do not collect initialization or
7640 finalization functions generated for entire shared object if
7641 init/fini support present.
7643 2000-01-07 Nick Clifton <nickc@cygnus.com>
7645 * config/elfos.h: Tidy up formatting of marcos. Make sure
7646 that .section directives are always prefixed by a tab.
7648 * config/svr4.h: Add #include "elfos.h" and remove duplicate
7651 2000-01-07 Matt Austern <austern@sgi.com>
7653 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
7656 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
7658 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
7660 (crtbegin.o, s-crtS): Likewise.
7662 2000-01-06 Richard Henderson <rth@cygnus.com>
7664 * alpha.md (adddi_2+1): Limit offset such that it will be
7665 loadable with a single ldah+lda pair.
7666 (adddi_2+2): Explicitly fail split if we can't make it work.
7668 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
7670 * protoize.c: Conditionally include unistd.h.
7671 (IS_SAME_PATH_CHAR): New macro.
7672 (IS_SAME_PATH): New macro.
7673 (CPLUS_FILE_SUFFIX): New macro.
7674 (cplus_suffix): New static variable.
7675 (is_abspath): New static function.
7676 (in_system_include_dir): Handle DOS style pathnames.
7677 (file_could_be_converted): Likewise.
7678 (file_normally_convertible): Likewise.
7679 (directory_specified_p): Likewise.
7680 (file_excluded_p): Likewise.
7681 (abspath): Likewise.
7682 (shortpath): Likewise.
7683 (referenced_file_is_newer): Likewise.
7684 (save_def_or_dec): Likewise.
7685 (do_processing): Likewise.
7687 (edit_file): Likewise. Use rename instead of link.
7688 (rename_c_file): Likewise. Don't rename syscalls file.
7689 (munge_compile_params): Define null device for DOS based systems.
7690 (process_aux_info_file): Use binary mode if appliable.
7691 (edit_file): Likewise.
7692 * invoke.texi (Running Protoize): Document C++ suffixes used.
7694 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
7695 IS_DIR_SEPARATOR macros.
7696 * collect2.c: Likewise.
7697 * cppinit.c: Likewise.
7698 * dwarf2out.c: Likewise.
7701 * prefix.c: Likewise.
7703 * toplev.c: Likewise.
7704 * system.h: And move to here.
7706 * prefix.c (update_path): Fix typo in variable name.
7708 2000-01-06 Richard Henderson <rth@cygnus.com>
7710 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
7711 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
7712 (count_reg_sets_1, count_reg_references): Likewise.
7713 (flow_loops_level_compute): Start counting actual loop depth at 1.
7714 (flow_loops_find): Likewise.
7715 * local-alloc.c (update_equiv_regs): Likewise.
7716 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
7718 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7720 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
7721 FIRST_PSEUDO_REGISTER
7722 * dwarf2out.c: Don't include frame.h
7723 * dwarfout.c: Likewise
7724 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
7727 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
7729 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
7732 * i386.c (movsf splitter): Fix typo in my last checkin.
7734 2000-01-05 Nick Clifton <nickc@cygnus.com>
7736 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
7737 own definition of this macro.
7738 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
7739 flag_data_sections or UNIQUE_SECTION_P are true.
7741 * tm.texi (UNIQUE_SECTION): Document that it can be called for
7742 unitialised data decls.
7744 * config/i386/winnt.c (i386_pe_unique_section): Cope with
7745 being called for uninitialised data.
7747 * config/i386/interix.c (i386_pe_unique_section): Cope with
7748 being called for uninitialised data.
7750 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
7751 for uninitialised data.
7753 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
7754 for uninitialised data.
7756 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
7757 for uninitialised data.
7759 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
7760 (UNIQUE_SECTION_P): Always generate a unique section if
7761 flag_data_sections is true.
7762 (UNIQUE_SECTION): Also generate unique sections for
7764 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
7765 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
7768 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7770 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
7773 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7775 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
7776 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
7777 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
7778 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
7779 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
7781 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
7783 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
7785 * c-decl.c (finish_enum): Simplify code to determine minimum and
7786 maximum values of the enum, and calculate the type. Remove check
7787 for FUNCTION_DECLs in the values list, which cannot happen. Replace
7788 the DECL_INITIAL of each enumeration constant with a copy converted
7789 to the enumeration type. When updating variant types, don't bother
7790 updating the type itself.
7792 * c-typeck.c (build_binary_op): Simplify conditional expressions
7793 when weeding out spurious signed-unsigned warnings. Add new
7794 spurious warning category: if the unsigned quantity is an enum
7795 and its maximum value fits in signed_type(result_type). Update
7797 (build_conditional_expr): Warn here if one alternative is signed
7798 and the other is unsigned.
7800 2000-01-05 Nick Clifton <nickc@cygnus.com>
7802 * config/fr30/fr30.h: Remove extraneous comments.
7804 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
7806 * reload1.c (choose_reload_regs): When disabling a reload, also
7807 set reload_spill_index to -1.
7809 2000-01-04 Joel Sherrill (joel@OARcorp.com>
7811 * configure.in (m68*-*-rtemscoff*): New target, formal name for
7813 (m68*-*-rtemself*): New target.
7814 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
7815 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
7816 (sparc*-*-rtemself*): New target.
7817 (sparc*-*-rtems*): Now elf not a.out.
7818 * config/i386/rtems.h: Include config/rtems.h.
7819 * config/i386/rtemself.h: Include config/rtems.h.
7820 * config/i960/rtems.h: Include config/rtems.h.
7821 * config/m68k/rtems.h: Include config/rtems.h.
7822 * config/m68k/rtemself.h: Include config/rtems.h.
7823 * config/mips/rtems64.h: Include config/rtems.h.
7824 * config/pa/rtems.h: Include config/rtems.h.
7825 * config/rs6000/rtems.h: Include config/rtems.h.
7826 * config/sh/rtems.h: Include config/rtems.h.
7827 * config/sh/rtemself.h: Include config/rtems.h.
7828 * config/sparc/rtems.h: Include config/rtems.h.
7829 * config/sparc/rtemself.h: Include config/rtems.h
7831 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
7833 * final.c (shorten_branches): Correctly compute length of
7834 asms without operands.
7836 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
7838 * configure.in: Add pj target.
7839 * configure: Regenerate.
7840 * config/pj: New directory.
7841 * config/pj/lib1funcs.S: New file.
7842 * config/pj/linux.h: New file.
7843 * config/pj/pj.c: New file.
7844 * config/pj/pj.md: New file.
7845 * config/pj/pjl.h: New file.
7846 * config/pj/t-pj: New file.
7847 * config/pj/xm-pj.h: New file
7849 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
7851 * toplev.c (rest_of_compilation): Run shorten-branches before
7854 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7856 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
7857 macros so that they're consistent with their names.
7858 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
7859 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
7861 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7863 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
7864 modified inadvertently.
7866 2000-01-04 Joel Sherrill <joel@OARcorp.com>
7868 * configure.in (v850*-*-rtems*): New target.
7869 * configure: Regenerate.
7870 * config/v850/rtems.h: New file.
7872 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
7874 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
7875 (__gthread_key_create): Likewise.
7876 (__gthread_key_dtor): Likewise.
7877 (__gthread_once): Fix logic.
7878 (__gthread_key_delete): Cast away constness.
7880 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
7881 * invoke.texi: Document.
7882 * i386/mingw32.h (CPP_SPEC): Use.
7883 (LIBGCC_SPEC): Likewise.
7884 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
7886 2000-01-04 David Edelsohn <edelsohn@gnu.org>
7888 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
7889 (HANDLE_PRAGMA_PACK): Undefine.
7890 (SLOW_UNALIGNED_ACCESS): Define.
7892 2000-01-04 David Edelsohn <edelsohn@gnu.org>
7894 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
7895 to default definition.
7896 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
7897 (store_fixed_bit_field): Call macro with word_mode and alignment.
7898 (extract_bit_field): Call macro with relevant mode and alignment.
7899 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
7900 to default definition.
7901 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
7903 (move_by_pieces_ninsns): Likewise.
7904 (clear_by_pieces): Likewise.
7905 (emit_push_insn): Likewise.
7906 (store_field): Call macro with relevant mode and alignment.
7907 (expand_expr): Likewise.
7908 (expand_expr_unaligned): Likewise.
7910 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7911 (SLOW_UNALIGNED_ACCESS): Define.
7912 (CASE_VECTOR_MODE): Always use 32-bit offsets.
7913 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7914 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7915 (toc_section): Likewise and .toc pseudo-op.
7916 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
7918 (TEXT_SECTION_ASM_OP): Likewise.
7919 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7922 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
7923 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
7924 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
7925 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
7926 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
7928 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
7930 * regclass.c: Revert my Jan 4 change to loop cost computation.
7932 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
7934 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
7937 2000-01-04 Stan Cox <scox@cygnus.com>
7939 * haifa-sched.c (build_control_flow): Change unreachable simple
7940 loop test to check if current block has only one predecessor.
7941 (find_rgns): Initialize degree. Use dest as degree index, not src.
7943 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7945 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
7947 * calls.c (expand_call): Likewise for
7948 `old_stack_arg_under_construction'.
7950 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
7952 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
7955 * gcc.c (execute): Likewise for `ut' and `st'.
7957 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
7959 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
7961 * jump.c (jump_optimize_1): Likewise for `temp2'.
7963 * local-alloc.c (block_alloc): Likewise for `r1'.
7965 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
7967 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
7968 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
7970 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
7973 * reload.c (find_reloads): Likewise for `goal_alternative_number'
7974 and `goal_earlyclobber'.
7976 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
7978 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
7980 * stupid.c (stupid_life_analysis): Likewise for `chain'.
7982 * unroll.c (copy_loop_body): Likewise for `copy'.
7984 * varasm.c (output_constructor): Likewise for `byte'.
7986 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
7988 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
7989 all FP constants for constant->reg moves.
7990 (ix86_split_to_parts): Try to convert memory address into immediate
7991 when available in the constant pool.
7992 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
7994 (LEGITIMATE_CONSTANT_P): Return 1.
7995 * i386.md (pushsf): New splitter to convert constant pool memory
7996 reference to immediate.
7997 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8000 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
8002 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8003 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8004 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8005 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8006 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8008 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
8010 * ginclude/stdbool.h: Support compilation as C++.
8012 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8014 * fold-const.c (make_range): Don't try to reverse an unbounded range.
8016 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
8018 * regclass.c (regclass): Properly compute loop_cost. Adjust
8021 * regclass.c: Fix minor whitespace problems.
8023 2000-01-03 Anthony Green <green@cygnus.com>
8025 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8026 Restore the pic register if required.
8028 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
8030 * c-common.c (format_char_info): Update comment.
8031 (check_format_info): Recognize 'z' modifier in the same way 'Z'
8032 was recognized. Emit warning for formats new in ISO C99 only
8033 if flag_isoc9x is not set.
8035 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
8037 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
8039 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
8041 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
8042 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
8043 (make_compound_operation): Choose cheaper alternative between
8044 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
8046 * regclass.c (op_costs): Remove global variable.
8047 (record_reg_classes): New parameter "op_costs" and "reg_pref".
8048 (record_operand_costs): Break out from ...
8049 (scan_one_insn): ... here.
8050 (dump_regclass): Make dumps nicer.
8051 (regclass): Dump preferrences choosed and changes done during passes.
8053 2000-01-03 Jakub Jelinek <jakub@redhat.com>
8055 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
8057 2000-01-03 Jakub Jelinek <jakub@redhat.com>
8059 * config/sparc/sparc.c (gen_df_reg): New function.
8060 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
8061 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
8062 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
8063 movtf_cc_reg_sp64+1): Use it.
8065 2000-01-02 Mark Mitchell <mark@codesourcery.com>
8067 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
8070 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
8072 * config/i386/i386.c (ix86_expand_unary_operator): Function
8073 definition made void.
8074 (ix86_expand_binary_operator): Update outdated preceding comment.
8075 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
8078 * config/i386/i386.c (override_options): Fix option-name typo.
8080 2000-01-02 Mark Mitchell <mark@codesourcery.com>
8082 * system.h (CEIL): Define.
8083 * builtins.c (CEIL): Remove.
8084 * expmed.c (CEIL): Likewise.
8085 * expr.c (CEIL): Likewise.
8086 * stor-layout.c (CEIL): Likewise.
8088 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8090 * expr.c (store_constructor_field): Fix typo introduced with last
8093 2000-01-01 Mark Mitchell <mark@codesourcery.com>
8095 * tree.h (BINFO_N_BASETYPES): New macro.
8097 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
8099 * expmed.c (emit_store_flag): Prevent losing a pending stack
8100 adjust the same way we prevent losing queued increments.
8102 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8104 * function.c (update_temp_slot_address): Handle case where sum of
8105 temporary address plus offset in register is a valid address.
8107 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8109 * genrecog.c (change_state) Corrected typo.
8111 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8113 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
8114 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
8115 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
8117 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
8119 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
8120 case, expand GT comparisons correctly. Fix a comment before this
8123 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8125 * dwarfout.c: Include "frame.h"
8126 * dwarf2out.c: Likewise.
8127 * Makefile.in (dwarfout.o): Depend on frame.h
8128 (dwarf2out.o): Likewise.
8130 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
8132 Restore i386 binary compatibility in Dwarf EH info.
8133 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
8134 value of FIRST_PSEUDO_REGISTER.
8135 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
8136 (struct frame_state): Use DWARF_FRAME_REGISTERS.
8137 * dwarfout.c (output_reg_number): Ditto.
8138 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
8139 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
8141 1999-12-29 Bruce Korb <autogen@linuxbox.com>
8143 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
8144 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
8145 (<hack>_RE_CT): not needed
8146 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
8147 rewritten to scan the file text once only
8148 "template<..." test added
8149 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
8150 (is_cxx_header): declaration added
8151 * fixinc/fixtests.c(is_cxx_header): removed
8152 (apply_fix_p_t): removed
8153 (double_slash_test): is_cxx_header is only called once now
8154 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
8155 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
8156 within the templates.
8157 The borken spelling of "broken" was fixed.
8158 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
8159 The default level depends on FIXINC_DEBUG.
8161 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8163 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
8164 Otherwise provide a declaration for atexit.
8165 (init_dummy): Make sure dummy call to atexit is nevertheless
8166 called with correct number of args.
8168 * frame.c: Update comments referring to other files.
8170 * libgcc2.c: Likewise.
8172 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8174 * cse.c (free_element, get_element): Remove unused prototypes.
8176 * fold-const.c (extract_muldiv): Initialize variables `op0' and
8179 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
8182 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
8184 * configure.in,configure: case arm for mn10200-*-* now sets
8185 float_format=i32 so that float.h will correctly claim "double"
8186 to be 32 bits. Ran autoconf to generate configure from .in file.
8188 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
8190 * pa.md (conditional zero): If op1 is a register, force it into
8191 the same register as op0.
8193 1999-12-28 Mark Mitchell <mark@codesourcery.com>
8195 * tree.h (BINFO_BASETYPES): Improve documentation.
8197 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8199 * configure.in (--enable-checking): Use a more portable `for'
8202 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8204 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
8205 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
8207 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
8210 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
8211 Delete descriptions.
8213 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
8214 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
8215 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
8216 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
8217 xm-svr4.h: Remove all instances of sys_siglist handling.
8219 1999-12-27 Jakub Jelinek <jakub@redhat.com>
8221 * config/sparc/sparc.md (cmp_zero_qi,
8222 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
8223 cmp_zero_extendqidi2_andcc_set): New patterns.
8225 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
8227 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8228 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
8229 (fpgnulib.c, xfgnulib.c): Add rules.
8230 * m68k/t-mot3300-gas: Likewise.
8232 1999-12-27 Ian Lance Taylor <ian@zembu.com>
8234 * configure.in: Avoid [[ by using test and changequote. Add
8235 changequote required by 1999-12-14 change.
8236 * configure: Rebuild.
8238 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
8240 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
8242 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
8244 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
8245 * flow.c (find_use_as_address): Likewise.
8246 * function.c (fixup_var_refs_1): Likewise.
8247 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
8248 * jump.c (invert_exp, redirect_exp): Likewise.
8249 * loop.c (replace_call_address): Likewise.
8250 (count_nonfixed_reads): Likewise.
8251 * rtlanal.c (modified_between_p): Likewise.
8252 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
8253 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
8254 * unroll.c (remap_split_bivs): Likewise.
8256 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8258 * diagnostic.c (v_message_with_decl): Use .* format specifier
8259 instead of building the format specifier width manually.
8261 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
8262 determining whether to provide a prototype. Remove the
8263 sys_siglist clause in the conditional.
8265 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8267 * fold-const.c (operand_equal_p): Use memcmp to compare string
8269 Suggested by D. J. Bernstein
8271 1999-12-17 Jakub Jelinek <jakub@redhat.com>
8273 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
8274 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8276 * config/mips/mips.h (TARGET_64BIT): Likewise.
8277 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
8278 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
8279 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
8280 dsps. Give routines proper names if SI/DI modes are not used.
8281 * longlong.h: Use DWunion instead of DIunion.
8283 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
8285 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
8286 GC_CHECKING, GC_ALWAYS_COLLECT.
8287 * configure.in: Allow --enable-checking with an argument
8288 listing check modes to enable.
8289 * config.in, configure: Rebuilt.
8290 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
8291 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
8292 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
8293 ENABLE_GC_ALWAYS_COLLECT.
8294 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
8296 * tree.h, tree.c: Change ENABLE_CHECKING to
8297 ENABLE_TREE_CHECKING throughout.
8299 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8301 * fold-const.c (fold_truthop): Properly check for FP RHS.
8303 1999-12-24 Mark Mitchell <mark@codesourcery.com>
8305 * toplev.h (note_deferall_of_defined_inline_function): Declare.
8306 * toplev.c (note_deferral_of_defined_inline_function): New
8307 function, split out from ...
8308 (rest_of_compilation): ... here. Use it.
8310 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8312 * expr.c (store_constructor): Don't call clear_storage if size is
8315 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8317 * Makefile.in (toplev.o): Depend on loop.h.
8319 * dwarfout.c: Include tm_p.h.
8321 * emit-rtl.c (restore_emit_status): Mark parameter with
8324 * final.c (final_scan_insn): Likewise.
8326 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
8327 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
8328 flow_depth_first_order_compute, flow_loop_pre_header_find,
8329 flow_loop_tree_node_add, flow_loops_tree_build,
8330 flow_loop_level_compute, flow_loops_level_compute,
8331 flow_loop_outside_edge_p): Add prototypes.
8332 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
8334 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
8335 Mark with ATTRIBUTE_NORETURN.
8337 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
8339 * local-alloc.c (no_conflict_p): Likewise.
8341 * loop.c (insert_bct): Hide definitions of variables with hidden
8343 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
8345 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
8346 with ATTRIBUTE_UNUSED.
8347 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
8348 (reg_scan): Likewise.
8350 * reload.c (find_reloads): Remove unused variables `changed'.
8352 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
8354 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
8355 Remove unused variable `insn'.
8357 * toplev.c: Include loop.h.
8358 (report_file_and_line): Remove unnecessary prototype.
8360 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
8362 * unroll.c (biv_total_increment): Likewise.
8364 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8366 * reload1.c (emit_input_reload_insns): Restore old behaviour
8367 wrt. 'special' reloads.
8369 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
8371 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
8372 hash.h. (cse.c): Don't depend on hashtab.h.
8374 * cse.c: Don't include hashtab.h.
8375 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
8377 * ggc-simple.c: Don't include hash.h.
8379 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
8381 * dwarf2out.c (add_abstract_origin_attribute): Call
8382 gen_abstract_function on our function context.
8384 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
8386 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
8388 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8390 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
8393 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8395 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
8396 constraints to "a!r".
8398 1999-12-21 Mark Mitchell <mark@codesourcery.com>
8400 * Makefile.in (calls.o): Depend on function.h.
8401 (alias.o): Likewise.
8403 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
8405 * reload1.c (emit_reload_insns): Break out code and variables into...
8406 (input_reload_insns, other_input_address_reload_insns,
8407 other_input_reload_insns, input_address_reload_insns,
8408 inpaddr_address_reload_insns, output_reload_insns,
8409 output_address_reload_insns, outaddr_address_reload_insns,
8410 operand_reload_insns, other_operand_reload_insns,
8411 other_output_reload_insns): ... new static variables, and...
8412 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
8413 do_output_reload): ... new functions.
8415 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8417 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
8419 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8421 * md.texi: Add c4x constraints documentation.
8423 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8425 * config/i386/dgux.c (struct option): Rename to
8426 lang_independent_option.
8427 (struct m_options): Add description field.
8428 (output_options): Rename option type, add sep declaration, output
8429 ix86_cpu_string and ix86_arch_string only if set.
8430 (output_file_start): Rename option type.
8432 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
8434 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
8436 (libgcc2.a): Similarly.
8438 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
8440 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
8441 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
8442 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
8444 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
8446 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
8447 Remove redundant initialization of "frexpon" and "expon".
8449 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8451 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
8453 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
8454 (store_constructor_field, expand_expr): Pass new arg.
8456 1999-12-20 Mark Mitchell <mark@codesourcery.com>
8458 * Makefile.in (explow.o): Depend on function.h.
8460 * stor-layout.c (set_sizetype): Fix typo.
8462 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
8464 * function.c (cfun): Renamed from current_function. All users
8466 * function.h (cfun): Rename declaration as well.
8468 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
8469 to be of type regset_head, not regset. All users changed by adding
8471 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
8473 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8475 * config/c4x/rtems.h: New file.
8477 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
8479 * reload1.c (spill_failure): Take class of failed reload as argument
8480 and print it. Caller changed.
8482 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8484 * rs6000.h (SUBTARGET_DEFAULT): New macro.
8485 (TARGET_SWITCHES): Allow subtargets to default switches.
8486 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
8488 1999-12-18 Mark Mitchell <mark@codesourcery.com>
8490 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
8493 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
8495 * cccp.c (main): Define __STDC_VERSION__ as necessary.
8496 * cppinit.c (cpp_handle_option): Likewise.
8498 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
8499 determine when to define.
8501 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
8503 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
8504 cmove with mismatched test and data modes.
8506 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
8508 * c-typeck.c (c_expand_start_case): Don't warn for long switch
8511 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8513 * alias.c: Minor reformatting.
8516 * stor-layout.c: Likewise.
8517 * fold-const.c: Likewise.
8518 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
8519 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
8521 (size_int_wide): Cache nodes even if garbage collecting.
8522 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
8523 of SAVE_EXPR has no side effects.
8524 * cse.c: Move a comment.
8525 * tree.c: Minor reformatting.
8526 (int_size_in_bytes): Return -1 if constant overflows.
8528 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8530 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
8532 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
8534 * objc/objc-parse.c: Regenerate. This file must be rebuilt
8535 after any change to c-parse.in, even if objc-parse.y didn't
8538 1999-12-18 David S. Miller <davem@redhat.com>
8540 * toplev.c (rest_of_compilation): Restore BLOCK tree
8541 reconstruction and branch shortening changes lost in
8542 December 18th change.
8544 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
8546 * config/arm/linux-elf.h: Change all instances of
8547 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
8548 * config/arm/uclinux-elf.h: Likewise.
8550 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
8552 * toplev.c (notice, vmessage, v_message_with_file_and_line,
8553 v_message_with_decl, file_and_line_for_asm,
8554 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
8555 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
8556 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
8557 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
8558 pfatal_with_name, fatal_io_error, need_error_newline,
8559 last_error_function, last_error_tick, announce_function,
8560 default_print_error_function, print_error_function,
8561 report_error_function, fnotice, error_with_file_and_line,
8562 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
8563 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
8564 warning_with_decl, warning_for_asm, warning, pedwarn,
8565 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
8567 (compile_file): Use fnotice instead of notice. Adjust call.
8569 * diagnostic.c: New file.
8571 * Makefile.in (OBJS): Include diagnostic.o
8572 (diagnostic.o): Define dependence.
8574 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8576 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
8579 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8581 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
8583 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
8585 * fixtests.c (is_cxx_header): New fn, split out of
8587 (else_endif_label): Allow "#endif // comment" in C++ headers,
8588 as determined by is_cxx_header.
8589 * fixfixes.c (else_endif_label_fix): Update comment.
8590 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
8592 * genfixes: Correct double thinko in commandline parsing.
8593 * hackshell.tpl: Generate correct sh syntax for bypass
8596 * inclhack.def (all): Whenever an inserted preprocessor
8597 conditional is split over multiple lines, use double
8598 backslashes in this file so the fixed header will be readable.
8600 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
8601 and add bypass entry for correct version of this header.
8602 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
8603 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
8605 (hpux8_bogus_inlines): New fix, split from...
8606 (ultrix_atof_param) ... here.
8607 (math_expression): Add bypass entry keyed to glibc comment
8608 indicating the problem has been dealt with; disable
8609 unnecessary sed operations; update commentary.
8610 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
8611 add select and bypass entries, simplify shell operation.
8612 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
8614 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
8615 ultrix_atof_param): Add select entry.
8616 (stdio_va_list, sunos_mather_decl): Add bypass entry.
8617 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
8618 comments with the fixes they describe.
8620 * c-parse.in (string action): Do not warn about ANSI string
8621 concatenation in system headers. Affects C parser only.
8622 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
8624 1999-12-16 Jakub Jelinek <jakub@redhat.com>
8626 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
8627 compiling libgcc2 the macro depends always on arch cpp defines.
8629 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
8631 * loop.c (insert_loop_mem): Don't record MEMs from inside
8634 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
8636 * regclass.c (regclass): Do not use flowgraph when not optimizing.
8638 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
8639 notes too, create one when replacement failed, attempt to simplify
8641 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
8644 1999-12-16 Mark Mitchell <mark@codesourcery.com>
8646 * crtstuff.c (__dso_handle): Declare.
8647 (__cxa_finalize): Likewise.
8648 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
8651 * invoke.texi: Document -fuse-cxa-atexit.
8653 * tree.h (ptr_type_node): Document.
8654 (const_ptr_type_node): Likewise.
8656 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8658 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
8659 (optimize_reg_copy_2): Likewise.
8660 (optimize_reg_copy_3): Likewise.
8661 (fixup_match_2): Likewise.
8662 (regmove_optimize): Likewise.
8663 (fixup_match_1): Liekwise.
8665 * i386.md (HI to SImode promoting splitters): Rewrite.
8666 (pushsf mem peep2): New.
8667 (testhi to andhi peep2): Remove.
8668 * i386.h (x86_promote_QImode): New.
8669 (TARGET_PROMOTE_QImode): New.
8670 (PREDICATE_CODES): Add promotable_binary_operator.
8671 * i386.c (x86_promote_QImode0: New.
8672 (promotable_binary_operator): New.
8673 * i386-protos.h (promotable_binary_operator): New.
8675 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
8677 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
8679 1999-12-16 Mark Mitchell <mark@codesourcery.com>
8681 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
8682 * function.c (insert_block_after_note): Remove.
8683 (retrofit_block): Likewise.
8684 (identify_blocks): Fix indentation.
8685 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
8686 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
8687 * function.h (insert_block_after_note): Remove prototype.
8688 (retrofit_block): Likewise.
8689 * integrate.c (expand_inline_function): Don't call
8690 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
8691 just expand_start_bindings. Use the block_map to remap old
8692 NOTE_BLOCKs to new ones.
8693 (integrate_decl_tree): Keep track of remapped blocks.
8694 * integrate.h (struct inline_remap): Add block_map.
8695 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
8696 NOTE_BLOCK on the notes.
8697 (expand_start_bindings): Rename to ...
8698 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
8699 (expand_end_bindings): Set NOTE_BLOCK.
8700 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
8701 reconstruct the BLOCK tree.
8702 * tree.h (expand_start_bindings): Macroize. Call ...
8703 (expand_start_bindings_and_block): New function.
8705 1999-12-16 Jakub Jelinek <jakub@redhat.com>
8707 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
8708 to match the format.
8710 1999-12-16 David S. Miller <davem@redhat.com>
8712 * expr.c (emit_move_insn_1): Only emit clobbers if one of
8713 the outputs is a SUBREG.
8714 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
8717 * config/sparc/sparc.c (epilogue_renumber): Add default case
8720 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8722 * toplev.c (rest_of_compilation): Run branch shortening after
8725 * regclass.c (loop_depth): Remove
8726 (scan_one_insn): Do not handle LOOP_NOTE insns.
8727 (regclass): Go through basic blocks and set loop_cost
8729 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
8731 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
8733 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8735 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
8736 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
8737 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
8739 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
8741 * loop.c (insert_loop_mem): Ignore memory clobbers.
8743 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
8746 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
8748 * profile.c: Remove redundant #include "output.h".
8750 * h8300.md (HImode preinc peephole): Fix typo.
8752 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
8754 * function.c (retrofit_block): Abort if we don't find a suitable insn.
8755 (insert_block_after_note): Abort if we don't have a previous block.
8756 Remove FN parameter.
8757 * function.h: Adjust.
8759 1999-12-15 Mark Mitchell <mark@codesourcery.com>
8761 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
8762 argument more than once.
8764 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
8766 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
8768 1999-12-15 Jakub Jelinek <jakub@redhat.com>
8770 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
8772 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8774 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
8775 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
8776 update stack_alignment_needed.
8777 (prepare_function_start): Initialize stack_alignment_needed
8778 * function.h (struct function): Add field stack_alignment_needed.
8780 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8782 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
8783 Handle live_throughout / dead_or_set instead of live_before /
8785 (save_call_clobbered_regs): Get register livenessinformation from
8786 chain->live_throughout.
8787 (add_stored_regs): New function.
8788 (insert_restore, insert_save): Add restored / saved registers to
8790 * global.c (reg_dies): New parameter chain.
8791 (reg_becomes_live): Third parameter is regs_set now.
8792 Changed all callers.
8793 (reg_dies): New parameter chain. Changed all callers.
8794 (build_insn_chain): Set live_throughout instead of
8795 live_before / live_after.
8796 * reload.h (struct insn_chain): Replace members live_before /
8797 live_after with live_throughout / dead_or_set.
8798 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
8799 instead of live_before / live_after.
8800 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
8801 (order_regs_for_reload, find_reg, finish_spills): Likewise.
8802 (choose_reload_regs_init): Likewise.
8803 * stupid.c (current_chain, find_clobbered_regs): Delete.
8804 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
8805 instead of chain->live_before / chain->live_after.
8806 (mark_hard_ref): New function.
8807 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
8809 1999-12-15 David S. Miller <davem@redhat.com>
8811 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
8813 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8815 * flow.c (calculate_loop_depth): Make global, remove prototype,
8816 rewrite to use new loop infrastructure.
8817 (find_basic_block): Remove calculate_loop_depth call.
8818 * toplev.c (rest_of_compilation): Call find_basic_block.
8819 * output.h (calculate_loop_depth): Declare.
8821 * flow.c (dump_flow_info): Dump loop_depth.
8822 (flow_loops_nodes_find): Increase loop_depth for basic block in the
8824 (flow_loops_find): Initialize the loop_depth for each basic block.
8826 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
8828 * tree.c (decl_function_context): Handle virtual functions.
8830 * tlink.c (scan_linker_output): Don't look in demangled name when
8831 looking for linker output keywords.
8833 * dwarfout.c (output_type): We can defer namespace-scope classes.
8835 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
8837 * regclass.c (record_reg_classes): Update comment for merging
8838 register class preferences in reg->reg copies. Tighten conditions
8839 for merging register class preferences in reg->reg copies.
8841 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
8843 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
8845 1999-12-14 Geoff Keating <geoffk@cygnus.com>
8847 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
8848 (INIT_SECTION_ASM_OP): Delete.
8849 (FINI_SECTION_ASM_OP): Delete.
8850 (STARTFILE_SPEC): Define to hold just crtbegin.o.
8852 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
8854 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
8855 the abstract origin wasn't emitted.
8857 * dwarf2out.c (class_scope_p): New fn.
8858 (gen_subprogram_die): Use it.
8859 (gen_variable_die): Use it. Tweak logic.
8860 (gen_struct_or_union_type_die): Check context_die to determine
8861 if we're function-local.
8862 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
8864 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
8866 * loop.c (check_dbra_loop): Can't reverse a biv that has
8869 1999-12-14 Nick Clifton <nickc@cygnus.com>
8871 * config/arm/arm.c: Add support for -mcpu=arm720 command line
8874 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8876 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
8877 for givs made from biv increments.
8879 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
8881 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
8882 * alpha.c (override_options): Recognize -mcpu=ev67.
8883 * alpha.h (CPP_CPU_EV67_SPEC): New.
8884 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
8885 (EXTRA_SPECS): Update.
8887 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
8889 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
8890 appropriate for -lang-c89 and -std=*.
8891 * cppinit.c (cpp_handle_option): Likewise.
8892 (new_pending_define): New, split out from cpp_handle_option.
8893 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
8894 or enable trigraphs for -ansi/-std=*.
8896 * ginclude/stdarg.h (__va_copy): New.
8897 (va_copy): Don't define for C89.
8899 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
8901 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
8902 for long long multiply-accumulate.
8904 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8906 * regclass.c (scan_one_insn): Set loop_cost to 1 when
8907 optimizing for size.
8909 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
8911 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
8912 if something changed. Back out that part of yesterday's changes.
8914 * loop.c (loop_max_reg): New static variable.
8915 (loop_optimize): Initialize it. Eliminate one unnecessary call to
8917 (scan_loop): Call reg_scan_update whenever we may have added new
8918 registers, and update loop_max_reg.
8920 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8922 * regclass.c (record_reg_classes): Do not do the copying preferrencing
8923 when source does not die.
8925 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
8927 1999-12-14 Jakub Jelinek <jakub@redhat.com>
8929 * config/sparc/linux64.h (TARGET_LIVE_G0,
8930 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
8932 * config/sparc/linux.h (TARGET_LIVE_G0,
8933 TARGET_BROKEN_SAVERESTORE): Likewise.
8934 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
8935 TARGET_BROKEN_SAVERESTORE): Likewise.
8937 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
8938 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
8940 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
8941 as sparc64 block profiling register.
8942 * config/sparc/sparc.c (sparc_override_options): Allow block
8943 profiling with -m32.
8944 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
8946 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
8947 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
8948 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
8950 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
8952 * config/sparc/sparc.h: Likewise.
8953 * config/sparc/xm-sysv4-64.h: Likewise.
8954 * config/float-sparc.h: Likewise.
8955 * glimits.h: Likewise.
8956 * longlong.h: Likewise.
8958 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
8959 (ASM_IDENTIFY_GCC): Remove.
8961 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
8963 * combine.c (combine_simplify_rtx): Don't make shared rtl.
8964 (simplify_logical): Likewise.
8966 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
8968 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
8969 * cppfiles.c (INO_T_EQ): Likewise.
8971 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
8973 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
8974 * i386/mingw32.h (LIB_SPEC): Likewise.
8975 (STARTFILE_SPEC): Likewise.
8976 * i386/uwin.h (LIB_SPEC): Likewise.
8977 (STARTFILE_SPEC): Likewise.
8979 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
8980 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
8982 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
8984 * combine.c (combine_simplify_rtx): Fix order of checks for
8985 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
8987 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
8989 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
8990 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
8992 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
8994 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
8996 * regclass.c (inv_reg_alloc_order): New array.
8997 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
8999 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9000 counted_for_groups, counted_for_nongroups. Add fields rld and
9002 * reload.c (push_secondary_reload): Don't set nongroup field of
9004 (push_reload): Likewise.
9005 (find_reloads): Delete code to compute nongroup fields.
9006 * reload1.c (reload_insn_firstobj): New static variable.
9007 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
9009 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9010 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9011 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9013 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9015 (struct hard_reg_n_uses): Deleted.
9016 (potential_reload_regs): Deleted.
9017 (init_reload): Initialize spilled_pseudos and pseudos_counted.
9018 (reload): Don't try to allocate reload registers if we already know
9019 we have to make another pass. Call select_reload_regs. Free memory
9020 starting with reload_firstobj when starting another pass.
9021 Don't allocate spilled_pseudos.
9022 (calculate_needs_all_insns): Call copy_reloads for an insn that
9023 needs reloads; don't call calculate_needs.
9024 (spill_cost): New static array.
9025 (used_spill_regs_local): New static variable.
9026 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9027 to compute potential_reload_regs.
9028 (find_reload_regs): Completely rewritten to use find_reg.
9029 (allocate_reload_reg): Don't test counted_for_groups or
9030 counted_for_nongroups. Lose NOERROR arg and code to give an error;
9032 (choose_reload_regs): Add fallback code that uses the existing
9033 register allocation from find_reload_regs.
9035 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
9037 * flow.c (create_edge_list): Cast xmalloc return value.
9039 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
9041 * doprnt.c: Remove incorrect comment closure.
9043 * cse.c: Fix a few minor whitespace goofs.
9045 1999-12-13 Don Bowman <don@pixstream.com>
9047 * mips/vxworks.h: Fix problem with comment termination.
9048 (EXTRA_SECTIONS): Add in_sbss.
9049 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
9051 1999-12-12 David S. Miller <davem@redhat.com>
9053 * cse.c (struct cse_reg_info): Add hash_next member,
9054 reorder rest of struct for better packing on 64-bit
9056 (cse_reg_info_tree): Kill.
9057 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
9058 REGHASH_FN): New custom pow2 hash mechanism.
9060 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
9061 use a pow2 hash table.
9062 (get_cse_reg_info): Rework to use new REGHASH.
9063 (new_basic_block): Likewise, use HASH_SIZE, and inline
9065 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
9066 and inline free_element call.
9067 (lookup_as_function, insert, flush_hash_table, invalidate,
9068 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
9069 invalidate_for_call, use_related_value, find_comparison_args,
9070 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
9071 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
9074 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
9076 * cse.c (cse_basic_block): Free qty_table consistently.
9078 1999-12-12 David S. Miller <davem@redhat.com>
9079 Jakub Jelinek <jakub@redhat.com>
9081 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
9082 SUBREGs by hand, gen the appropriate hard reg directly.
9083 (movtf reg/mem split): Likewise and alter_subreg on destination
9085 (movtf mem/reg split): Similarly.
9086 (movdf_cc_sp64): Rename from hidden pattern.
9087 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
9088 (movtf_cc_sp64, following split): New pattern and splitter.
9089 (movdf_cc_reg_sp64): Rename from hidden pattern.
9090 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
9092 (movtf_cc_reg_sp64, following split): New pattern and splitter.
9094 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
9096 * loop.c (load_mems): Don't hoist written floating point mem
9099 1999-12-12 Mark Mitchell <mark@codesourcery.com>
9101 * except.h (struct eh_queue): Add `next' pointer.
9102 (struct eh_status): Make x_ehqueue a pointer.
9103 (push_ehqueue): Declare.
9104 (pop_ehqueue): Likewise.
9105 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
9107 (expand_fixup_region_end): Likewise.
9108 (expand_leftover_cleanups): Likewise.
9109 (push_ehqueue): Define.
9110 (pop_ehqueue): Likewise.
9111 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
9112 than doing it inline.
9113 (expand_start_all_catch): Adjust now that ehqueue is a
9115 (mark_eh_queue): Mark all level of the queue.
9116 (mark_eh_status): Adjust now that ehqueue is a
9118 (init_eh_for_function): Allocate ehqueue.
9119 (free_eh_status): Free it.
9120 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
9121 expansion for a fixup.
9123 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9125 * gthr-single.h (__gthread_active_p): Add prototype arguments.
9127 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
9128 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
9129 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
9130 function_ptr, getpagesize, __enable_execute_stack,
9131 __enable_execute_stack, __clear_insn_cache,
9132 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
9133 _cleanup, _exit, __default_terminate, __terminate_func,
9134 __terminate, __empty, __throw, new_eh_context,
9135 eh_context_initialize, eh_context_static, eh_context_specific,
9136 get_eh_context, __get_eh_context, __get_eh_info,
9137 init_reg_size_table, eh_threads_initialize,
9138 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
9139 __unwinding_cleanup, throw_helper, __throw, __rethrow,
9140 __pure_virtual): Add prototype arguments.
9141 (__bb_exit_func): Cast a sizeof to long when comparing against one.
9142 Cast a signed value to unsigned long when comparing against one.
9143 (new_eh_context): Wrap in _GTHREADS macro.
9144 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
9146 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
9147 (throw_helper): Initialize variables `handler_p' and `pc_p'.
9149 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9151 * combine.c (record_promoted_value): Remove unused variable
9154 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
9156 * global.c (record_conflicts): Likewise for `j'.
9158 * genoutput.c (output_insn_data): Don't unnecessarily cast away
9161 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9163 * i386-protos.h (output_387_binary_op, output_fix_trunc,
9164 output_fp_compare): Constify a char*.
9166 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
9168 (override_options, ix86_comp_type_attributes, print_operand,
9169 output_387_binary_op, output_fix_trunc, output_fp_compare):
9171 (ix86_sched_reorder): Mark parameter `clock_var' with
9174 * i386.h (DEBUG_PRINT_REG): Constify a char*.
9176 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
9178 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
9179 operand, for use in the Java front-end.
9181 1999-12-10 Ben Collins <bcollins@debian.org>
9183 * configure.in: Fix typo for "-64" in 64bit as check.
9184 * configure: Rebuilt.
9186 1999-12-10 Jakub Jelinek <jakub@redhat.com>
9188 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
9191 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9193 * c-parse.in (string): With -Wtraditional, warn if ANSI string
9194 concatenation is utilized.
9196 * invoke.texi (-Wtraditional): Document it.
9198 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9200 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
9201 Cast a ptrdiff_t to long and pass it to printf with %ld.
9203 1999-12-10 Geoff Keating <geoffk@cygnus.com>
9205 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
9206 68881, we have no 68881 registers at all.
9207 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
9208 value in a 68881 register if it is available.
9210 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
9212 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
9213 for long long multiply-accumulate.
9215 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
9217 * loop.c (insert_loop_mem): Undo last change.
9219 1999-12-10 David S. Miller <davem@redhat.com>
9221 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
9223 * config/sparc/sparc-protos.h: Add them.
9224 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
9225 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
9226 constraints which use those helpers.
9227 (EXTRA_CONSTRAINT): Use this new macro.
9228 * md.texi: Update sparc target constraints documentation.
9229 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
9230 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
9231 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
9232 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
9233 (movsf high/lo_sum split): Rework for new patterns.
9234 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
9236 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
9238 * c-common.c (c_common_nodes_and_builtins):
9239 Create __builtin_ptrdiff_t and __builtin_size_t.
9241 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
9243 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
9245 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9247 * regclass.c (globalize_reg): Re-instate test that allows
9248 fixed registers to be declared as a variable even after functions
9251 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9253 * i386.md (cpu attribute): Add "athlon".
9254 (athlon_decode): New attribute.
9255 (Athlon scheduling units definitions): New.
9256 (fcmp and shld patterns): Set athlon_decode to "vector".
9257 * i386.c (athlon_cost): New.
9259 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
9260 x86_use_sahf): Set for Athlon.
9261 (x86_use_fiop): Unset for Athlon.
9262 (override_options): Define Athlon alignments and "athlon" name.
9263 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
9264 * i386.h (TARGET_ATHLON): New.
9265 (enum processor_type): Add PROCESSOR_ATHLON.
9266 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
9268 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
9270 1999-12-09 Andreas Jaeger <aj@suse.de>
9272 * loop.c (record_biv): Declare parameter as int.
9274 * config/i386/i386-protos.h: Declare long_memory_operand.
9276 1999-12-09 Mark Mitchell <mark@codesourcery.com>
9278 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
9279 EXPR_WITH_FILE_LOCATION.
9281 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9283 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
9286 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
9288 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
9291 1999-12-09 Jakub Jelinek <jakub@redhat.com>
9293 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
9294 default on linux64 again.
9295 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
9296 models for multilibing.
9297 * genmultilib: Accept | as alternative separator within a set in
9300 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
9302 * calls.c (precompute_arguments): Make sure initial_value contains
9303 value pseudo which CSE expects.
9304 * cse.c (struct set): New entry orig_src.
9305 (cse_insn): Set it early on entry, use it for libcall EQUIV note
9308 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
9310 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
9312 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
9314 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
9316 1999-12-08 Jakub Jelinek <jakub@redhat.com>
9318 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
9319 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
9321 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
9324 * longlong.h: Merge in changes from glibc.
9325 Also don't clobber %g2 register in 32bit SPARC assembly, so that
9326 -mno-app-regs libgcc can be compiled.
9327 * libgcc2.c: Add defines so that the updated longlong.h
9328 can be used in libgcc2.a. Also, make sure on most architectures
9329 (at least on all which have optimized code in longlong.h defined
9330 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
9332 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9334 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
9335 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
9336 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
9338 * configure: Rebuilt.
9340 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
9342 * alpha.c (secondary_reload_class): For !BWX, sub-simode
9343 outputs require a register.
9345 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
9347 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
9348 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
9349 functions like dptoul will be resolved.
9350 (libgcc2.a): Make sure that the object files from DPBIT are named
9351 differently (prefix `_dp') from those that would be coming from
9354 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
9356 * configure.in: When target is sparc* and tm_file contains 64,
9357 test for 64bit support in assembler. If not supported, remove
9358 sparc/t-sol2-64 from target-dependent Makefile fragments.
9359 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
9360 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
9361 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
9362 * acconfig.h (AS_SPARC64_FLAG): Added.
9363 * configure, config.in: Rebuilt.
9364 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
9365 support. Use AS_SPARC64_FLAG.
9367 1999-12-07 Jakub Jelinek <jakub@redhat.com>
9369 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
9370 suitable for holding OFmode values so that gcc works with complex
9372 (hard_64bit_mode_classes): Likewise.
9374 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
9375 so that it is actually matched.
9376 (sethi_di_medlow): Likewise.
9378 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
9379 as legitimate constant if -mvis.
9380 * config/sparc/sparc.md (movtf): Likewise.
9381 (clear_sf): Use const_double_operand.
9382 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
9384 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
9385 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
9386 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
9387 routines, _Qp_* cannot be handled like that now.
9388 (INIT_TARGET_OPTABS): Likewise.
9389 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
9390 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
9391 sparc_emit_float_lib_cmp if ARCH64 and soft float.
9392 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
9393 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
9394 divtf3, sqrttf3): New expanders.
9395 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
9396 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
9397 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
9400 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
9401 * configure: Rebuilt.
9402 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
9403 -mcpu is given and we're doing 64bit compiles.
9405 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
9407 * loop.h (struct induction): Add multi_insn_incr.
9408 * loop.c (basic_induction_var): New multi_insn_incr argument.
9409 Set it if we search back through previous insns for the biv.
9410 (record_biv): New multi_insn_incr argument; fill in struct induction.
9411 (strength_reduce): Discard an iv with multiple bivs, any of
9412 which require multiple insns to increment.
9414 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9416 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
9419 1999-12-06 David S. Miller <davem@redhat.com>
9421 * combine.c (check_promoted_subreg): Do not conditionalize this upon
9422 PROMOTE_FUNCTION_RETURN.
9424 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
9426 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
9427 and handle REG_UNUSED note on insn.
9429 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
9430 inner_mask instead of mask.
9432 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
9434 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
9435 zero if there was an error.
9437 1999-12-06 Jakub Jelinek <jakub@redhat.com>
9439 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
9442 * longlong.h: Fix clobbers in SPARC asm statements.
9444 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
9445 valid sethi operations when TARGET_ARCH64.
9447 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
9448 always use move_by_pieces to avoid infinite recursion.
9449 (restore_fixed_argument_area): Likewise.
9451 * combine.c (check_promoted_subreg, record_promoted_value): New
9453 (combine_instructions): Use them to retain nonzero and sign bit
9454 information after SUBREGs are eliminated by optimizations in
9455 this pass if PROMOTE_FUNCTION_RETURN.
9457 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
9458 .register declaration. Don't use variables with __ prefixes.
9460 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9462 * fold-const.c (optimize_bit_field_compare): Only use one mode
9463 for both RHS and LHS in non-constant case.
9465 1999-12-06 Nathan Sidwell <nathan@acm.org>
9467 * frame.c (start_fde_sort): Only allocate erratic array, if
9468 linear one was allocated. Return allocated flag.
9469 (fde_insert): Only insert, if there's a valid array.
9470 (fde_end_sort): Split, sort and merge if linear and erratic
9471 arrays exist, else just sort linear one.
9472 (search_fdes): New function. Linear search through original fde
9474 (frame_init): Permit multiple initializations. Cope with
9476 (find_fde): Fallback on linear search, if failed to sort array.
9477 (__deregister_frame_info): Only free sorted array, if we
9480 1999-12-06 Jakub Jelinek <jakub@redhat.com>
9482 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
9484 1999-12-05 Jakub Jelinek <jakub@redhat.com>
9486 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
9488 1999-12-05 Mark Mitchell <mark@codesourcery.com>
9490 * tree.h (special_function_p): Declare.
9491 * calls.c (special_function_p): Make it global. Don't take `name'
9492 as a parameter. Fix typo in 1999-11-28 change.
9493 (expand_cal): Adjust.
9495 1999-12-04 Mark Mitchell <mark@codesourcery.com>
9497 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
9498 * tree.h (EXPR_WFL_FILENAME): Define in terms of
9499 EXPR_WFL_FILENAME_NODE.
9500 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
9502 * print-tree.c (print_note): Print TREE_PRIVATE and
9505 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
9506 the original die cannot be found.
9508 * varray.h (varray_head_tag): Add elements_used.
9509 (VARRAY_PUSH): New macro.
9510 (VARRAY_POP): Likewise.
9511 (VARRAY_TOP): Likewise.
9512 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
9514 * varray.c (varray_init): Initialize elements_used.
9515 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
9516 (INTEGRATE_H): New variable.
9517 (integrate.o): Depend on INTEGRATE_H.
9518 (unroll.o): Likewise.
9520 * function.h (insert_block_after_note): Declare.
9521 * function.c (insert_block_after_note): Split out from ...
9522 (retrofit_block): ... here.
9524 * stmt.c (expand_fixup): Fix typo in comment.
9526 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9528 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
9529 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
9530 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
9531 (regmove_optimize, fixup_match_1): Likewise.
9533 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9535 * flow.c (flow_loops_dump): Add missing argument when calling
9538 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
9539 Greg McGary <gkm@gnu.org>
9541 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
9542 (init_attributes): Add A_NO_LIMIT_STACK.
9543 (decl_attributes): Handle A_NO_LIMIT_STACK.
9544 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
9545 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
9546 Handle stack bounds checking.
9547 * flags.h (flag_stack_check): Use the word 'probe' rather than
9548 'check', because the flag doesn't actually cause any checking to
9550 * function.c (expand_function_start): Set
9551 current_function_limit_stack.
9552 * function.h (struct function): Add limit_stack.
9553 (current_function_limit_stack): Define.
9554 * invoke.texi (Code Gen Options): Document new options.
9555 * rtl.h: Declare stack_limit_rtx.
9556 * toplev.c (stack_limit_rtx): New variable.
9557 (decode_f_option): Handle new options -fstack-limit-register=REG,
9558 -fstack-limit-symbol=IDENT, -fno-stack-limit.
9559 (main): Add stack_limit_rtx as GC root.
9560 * tree.h (DECL_NO_LIMIT_STACK): New macro.
9561 (struct tree_decl): New member no_limit_stack.
9563 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
9565 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
9566 (conditional_trap+1): Get new mnemonic correct.
9567 (conditional_trap+2): New pattern for DImode traps.
9569 * config/m68k/m68k.c (output_function_prologue): Handle
9571 * config/m68k/m68k.md (trap): New insn.
9572 (conditional_trap): New insn.
9573 * md.texi (Standard Names): Document `trap' and
9575 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
9576 so a cc0 setter doesn't get emitted at some random place in the
9579 * config/i960/i960.md (trap): New insn.
9580 (conditional_trap): New expander.
9581 (conditional_trap+1, conditional_trap+2): New insns for signed
9583 * config/i960/i960.c (i960_function_prologue): Use
9584 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
9586 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
9587 Geoffrey Keating <geoffk@cygnus.com>
9589 * flags.h (warn_padded, warn_packed): Add global var decls.
9590 * toplev.c (warn_padded, warn_packed): Add global var defns.
9591 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
9592 * stor-layout.c (layout_record): Add local variable `type'
9593 to hold often-used TREE_TYPE (field). Add local variable
9594 `unpacked_align' to hold alignment that would be in force
9595 if no `packed' attribute were present. Warn if `packed' attribute
9596 is unnecessary, or even harmful. Warn when gcc inserts padding
9597 to satisfy alignment requirements of members. Use NULL_TREE
9598 when checking whether var_size is set.
9599 * invoke.texi: Document new flags.
9601 1999-12-03 Nathan Sidwell <nathan@acm.org>
9603 * frame.c (fde_split): Reimplement to avoid variable sized array.
9605 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9607 * combine.c (try_combine): Before fixing up LOG_LINKS for the
9608 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
9610 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
9612 * invoke.texi: Document the mips option -mno-crt0
9614 1999-12-02 Mike Karr <mkarr@mathworks.com>
9616 * cccp.c (argdata): Added free_ptr member.
9617 (macroexpand): Initialize free_ptr of each argument. When an
9618 argument's buffers are freed, if the argument's free_ptr corresponds
9619 to a buffer on the input stack, then return the free_ptr to that stack
9620 frame, otherwise, free it.
9621 (macarg): If an argument begins and ends on the same input stack level,
9622 then transfer the free_ptr of that buffer to the argument in case
9623 the stack is popped during the processing of a subsequent argument.
9625 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
9627 * loop.c (note_reg_stored): New function.
9628 (struct note_reg_stored_arg): New structure.
9629 (try_copy_prop): Change to be more conservative; only replace within
9630 one extended basic block and stop replacing if a store to the
9631 replacement reg is seen.
9633 1999-12-02 Nick Clifton <nickc@cygnus.com>
9635 * config/fp-bit.c: Initialise all fields of the NAN
9638 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
9641 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
9643 * i386.md (extend?f?f2): Force the input into a register, not
9646 1999-12-01 Jakub Jelinek <jakub@redhat.com>
9648 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
9650 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
9651 alternative because setting up 64bit constant is usually costly,
9652 especially when reload is in progress or completed.
9653 (movdf_const_intreg_sp64): Likewise.
9654 (movdf_const_intreg split): Fix building up constants when
9655 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
9657 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
9659 * combine.c (if_then_else_cond): Use const_true_rtx instead of
9660 const1_rtx for return values in EQ/NE comparison against (const_int 0)
9663 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
9664 (asm_file_start): Emit .am33 into assembly file when compiling for
9666 (print_operand_address): Handle POST_INC addresses.
9667 (can_use_return_insn, initial_offset): Check AM33 registers too.
9668 (expand_prologue): Check & save AM33 registers too.
9669 (expand_epilogue): Similarly.
9670 (secondary_reload_class): Handle AM33 specific secondary reloads.
9671 (output_tst): Emit efficient code for the AM33 too.
9672 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
9673 (TARGET_SWITCHES): Add -mam33 switch.
9674 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
9675 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
9676 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
9677 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
9678 (enum reg_class, REG_CLASS_NAMES): Likewise.
9679 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
9680 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
9681 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
9682 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
9683 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
9684 (HAVE_POST_INCREMENT): Define.
9685 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
9686 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
9687 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
9688 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
9689 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
9690 (zero_extend to SI from QI/HI): Likewise.
9691 (sign_extend to SI from QI/HI): Likewise.
9692 (mulsidi3, umulsidi3): New patterns for the AM33.
9693 (tstsi with zero extension from QI/HI): Add AM33 variants.
9694 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
9695 (return_internal_regs, store_movm): Handle new AM33 registers.
9696 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
9697 (LIBGCC, INSTALL_LIBGCC): Likewise.
9698 * invoke.texi: Document new flags.
9700 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9702 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
9703 (addsi3_carry): Likewise.
9704 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
9705 (sbbsi3_carry): Likewise.
9706 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
9708 (test?i_1): Ensure that only one operand is memory.
9709 (conditional move patterns): likewise.
9710 (shift and rotate patterns): Rewrite to expander, add
9711 "binary_operator_ok" to the condition.
9713 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
9714 * i386.h (procesor_costs): Add movzbl_load field.
9715 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
9716 non-Q registers, accept DImode registers anywhere.
9718 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
9719 * i386.c (*_cost): Set value for movxbl_load field.
9721 * (addsi): New add to lea splitter.
9723 (lea to add/shift peep2): New.
9725 1999-12-01 Mark Salter <msalter@cygnus.com>
9727 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
9728 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
9729 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
9731 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9733 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
9734 * i386.md (movsi_xor): New.
9736 (movsi_1, movhi_1, movqi_1): Remove.
9737 (movsi_2): Rename to movsi_1.
9738 (movhi_2): Rename to movhi_1.
9739 (movqi_2): Rename to movqi_1.
9740 (movdi_1): Remove; remove splitter.
9741 (movdi_2): Rename to movdi_1.
9742 (divmodsi4 splitter): Do not emit clobbers for move patterns.
9743 (long move peep2): Do not create QI or HI mode mov0s
9744 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
9746 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
9749 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
9750 (abs?f2_if): Likewise.
9752 1999-11-30 Alex Samuel <samuel@codesourcery.com>
9754 * ggc.h (ggc_test_and_set_mark): New macro.
9755 (ggc_mark_rtx): Use ggc_test_and_set_mark.
9756 (ggc_mark_tree): Likewise.
9757 (ggc_mark_rtvec): Likewise.
9758 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
9760 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
9762 * dwarf2out.c (scope_die_for): Only handle types. Only search for
9764 (decl_scope_table): Just an array of trees now.
9765 (push_decl_scope): Simplify.
9766 (dwarf2out_init): Adjust.
9767 (local_scope_p): New fn.
9768 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
9769 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
9770 (gen_typedef_die): Likewise.
9771 (gen_lexical_block_die): Don't call push/pop_decl_scope.
9772 (gen_inlined_subroutine_die): Likewise.
9773 (gen_abstract_function): Set current_function_decl temporarily.
9774 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
9775 Handle block extern declarations. Don't call push/pop_decl_scope.
9776 (gen_decl_die): Fix logic for block externs.
9778 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9780 * calls.c (special_function_p): Remove `realloc' and add `strdup'
9781 to the list of functions which have attribute malloc by default.
9783 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9785 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
9786 integer constant does not match the traditional type, limit the
9787 warnings to cases where the base of the type is ten.
9789 * invoke.texi (-Wtraditional): Document it.
9791 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9793 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
9794 * rs6000.md: Only access a CONST_INT with INTVAL
9796 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
9798 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
9799 (compute_nearerout): Likewise.
9800 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
9801 size_t to unsigned long for formatting.
9803 1999-11-30 Jakub Jelinek <jakub@redhat.com>
9805 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
9806 Allow the user to override call-used/fixed state of %g2-5
9807 registers from the command line (with the exception of %g4 for
9809 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
9810 there is a higher chance of having a leaf function.
9811 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
9812 for ARCH64 which has %ccr register.
9813 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
9815 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
9816 insn accept into delay slot any insn which does not use %[ol]
9817 registers. Accept some LO_SUM and shift left by 1 for the normal
9819 (output_function_epilogue): Likewise.
9820 (epilogue_renumber): Added argument which inhibits any renumbering
9821 and just tests if the rtx does not use any %[ol] registers.
9822 (output_return): Reflect above change.
9824 1999-11-30 Jakub Jelinek <jakub@redhat.com>
9826 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
9827 aggregate passing for sizes <= 16 bytes.
9829 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
9831 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
9832 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
9833 * reload.c (find_dummy_reload): Likewise.
9834 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
9835 * reload1.c (reload_as_needed): Likewise.
9836 * stupid.c (stupid_find_reg): Likewise.
9837 * tm.texi (Obsolete Register Macros): Delete section.
9838 * gmicro.h: Remove all traces of the two macros.
9843 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
9845 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
9846 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
9847 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
9848 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
9849 units for the sparclite86x chip.
9850 (flush): Revert October 14th change; add SImode specifically.
9851 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
9852 * invoke.texi: Document it.
9854 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
9856 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
9857 psimode_truncation_operand.
9859 * config/mn10200/mn10200.c (psimode_truncation_operand): New
9860 function. Return true if the operand is either a MEM valid
9861 for a PSImode address or not a MEM at all.
9863 * config/mn10200/mn10200.md (truncsipsi2): Use
9864 psimode_truncation_operand.
9866 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9868 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
9869 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
9870 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
9871 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
9872 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
9873 (flow_loop_level_compute, low_loops_level_compute): Likewise.
9874 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
9875 * basic-block.h: Protect from multiple inclusion.
9876 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
9877 (struct loops, struct loop): Define structures.
9878 * sbitmap.c (sbitmap_a_subset_b_p): New function.
9879 * sbitmap.h: Protect from multiple inclusion.
9880 (sbitmap_a_subset_b_p): Add prototype.
9881 * Makefile.in (LOOP_H): New macro.
9882 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
9884 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
9886 * cppinit.c (CAT): The argument list of this macro may not contain
9889 1999-11-29 David S. Miller <davem@redhat.com>
9891 Move quantity tables and register equivalence chains into
9892 per-qty and per-register structure arrays respectively.
9893 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
9894 qty_const_insn, qty_comparison_code, qty_comparison_const,
9895 qty_comparison_qty): Delete, replace with...
9896 (qty_table): this structure table.
9897 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
9898 (reg_eqv_table): this structure table.
9899 (make_new_qty): Add argument MODE. Caller updated.
9900 Update to use qty_table and reg_eqv_table.
9901 (make_regs_eqv, delete_reg_equiv, insert_regs,
9902 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
9903 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
9904 cse_process_notes, cse_main, cse_basic_block): Likewise.
9906 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9908 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
9909 operation if C is negative.
9910 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
9911 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
9912 law for some divisions if constant is negative and change other
9913 divisions to the opposite rounding.
9915 * expr.c (store_constructor_field): If bit position is not multiple
9916 of alignment of TARGET's mode, use BLKmode.
9918 * expr.c (expand_expr_unaligned): Add more code from full case
9919 that is needed when OP0 is in a register.
9921 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9923 * dwarfout.c (field_byte_offset): Size can be zero if there was
9926 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
9928 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
9929 (associate_trees): Delete unused var TEM.
9930 (extract_muldiv): Delete unused var CANCEL_P.
9932 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
9933 (target_isinf, target_isnan, target_negative): Add return types to
9934 function definitions.
9936 1999-11-29 Bruce Korb <autogen@linuxbox.com>
9938 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
9939 * fixinc/hackshell.tpl: ditto
9940 * fixinc/fixtests.c(double_slash_test): more C++ header testing
9941 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
9943 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
9945 * reload.c (push_reload): When looking for a register to put into
9946 reg_rtx, make sure all hard regs in a multi-reg register are in the
9947 right class and nonfixed.
9949 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
9950 pending_read_insns, pending_write_insns, pending_read_mems,
9951 pending_write_mems, pending_list_length, last_pending_memory_flush,
9952 last_function_call, sched_before_next_call): Move static variables
9954 (bb_ prefixed versions): Replace with single array bb_deps.
9955 (struct deps): New structure.
9956 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
9957 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
9958 argument of type "struct deps *"; use that instead of global
9959 variables. All callers changed.
9960 (init_rgn_data_dependencies): Delete function.
9961 (init_rtx_vector): Delete function.
9962 (init_deps): New function.
9964 (free_pending_lists): Simplify, we always use the bb_deps array even
9965 if only one basic block.
9966 (compute_block_backward_dependences): Likewise.
9967 (schedule_region): Likewise.
9969 (propagate_deps): New function, broken out of
9970 compute_block_backward_dependences.
9971 (compute_block_backward_dependences): Use it.
9973 * alpha.md: Delete useless patterns that tried to work around
9974 register elimination problems.
9976 * unroll.c (loop_iterations): Don't abort if iteration variable
9979 From Joern Rennecke:
9980 * reload1.c (reloads_conflict): Reverse test comparing operand
9981 numbers when testing for conflict between output/outaddr reloads.
9983 1999-11-29 David S. Miller <davem@redhat.com>
9985 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
9987 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
9989 1999-11-28 Robert Lipe <robertl@cygnus.com>
9991 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
9992 table from .fini into .dtor.
9994 1999-11-28 Anthony Green <green@cygnus.com>
9996 * tree.h (struct tree_decl): Add malloc_flag.
9997 (DECL_IS_MALLOC): Define.
9998 * c-common.c (attrs): Add A_MALLOC attribute.
9999 (init_attributes): Add this attribute to the table.
10000 (decl_attributes): Handle malloc attribute.
10001 * calls.c (special_function_p): Check for the malloc attribute.
10002 * extend.texi (Function Attributes): Document malloc attribute.
10004 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
10006 * pa.md (reload shift-add patterns): Remove.
10008 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10010 * reorg.c (dbr_schedule) Print more statistics. Corrected
10011 problem when printing info when 3 delay slots are filled.
10013 1999-11-28 Jakub Jelinek <jakub@redhat.com>
10015 * combine.c (setup_incoming_promotions): Pass an outgoing
10016 regno to FUNCTION_ARG_REGNO_P which it expects.
10018 1999-11-28 Andreas Jaeger <aj@suse.de>
10020 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10022 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
10024 * cccp.c (do_include): Avoid initialization of automatic variable.
10026 * integrate.c (mark_stores): Function definition made void, to match
10027 previous declaration.
10028 * regclass.c (dump_regclass): Ditto.
10029 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10031 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10033 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
10034 known to be multiple of divisor.
10036 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
10038 * combine.c (try_combine): Add code to try to merge a set of a
10039 two-word pseudo to a constant with a setting of one of those words
10042 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
10043 (split_tree): Completely rework to make more general.
10044 (make_range, fold): Call negate_expr.
10045 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
10046 (fold, associate): Call new split_tree and associate_trees.
10047 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
10049 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
10051 * loop.c (try_copy_prop): Avoid GNU C extension.
10053 1999-11-25 Mark Mitchell <mark@codesourcery.com>
10055 * except.c (init_eh_for_function): Still zero eh_return_context,
10056 eh_return_stack_adjust, and eh_return_handler.
10058 * except.h (eh_status): Adjust documentation for x_protect_list.
10059 (begin_protect_partials): New function.
10060 * except.c (enqueue_eh_entry): Fix formatting.
10061 (get_first_handler): Add consistency check.
10062 (add_partial_entry): Adjust usage of protect_list.
10063 (emit_cleanup_handler): Save and restore ehqueue.
10064 (expand_start_all_catch): Add comment.
10065 (begin_protect_partials): New function.
10066 (end_protect_partials): Adjust usage of protect_list.
10067 (init_eh_for_function): Use xcalloc.
10069 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10071 * c-common.c (check_format_info): Don't call a variadic function
10072 with a non-literal format string.
10074 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
10076 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
10077 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
10080 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
10083 * collect2.c (collect_wait): Likewise.
10085 * dbxout.c (dbxout_type): Likewise.
10087 * gcc.c (do_spec_1): Likewise.
10089 * genemit.c (gen_insn, gen_expand): Likewise.
10091 * genrecog.c (write_switch, write_subroutine): Likewise.
10093 * mips-tfile.c (catch_signal, botch): Likewise.
10095 * print-rtl.c (print_rtx): Likewise.
10097 * toplev.c (default_print_error_function, report_error_function,
10098 _fatal_insn): Likewise.
10100 1999-11-25 Mark Mitchell <mark@codesourcery.com>
10102 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
10104 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10106 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
10107 operations when needed.
10108 * i386.md (fop_?f_comm): New.
10109 (fop_?f_1): Do not accept commutative operands.
10111 1999-11-25 Andreas Jaeger <aj@suse.de>
10113 * config/mips/mips.md (casesi_internal): Add missing brace.
10115 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
10117 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
10118 (splice_child_die): Handle moving a child DIE from the declaration
10119 DIE of a class to its specification.
10120 (gen_struct_or_union_type_die): Use 'complete' consistently.
10121 (gen_decl_die): Generate the virtual context DIE first.
10122 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
10124 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
10126 * config/mips/mips.md (call_value_multiple_interanal1): New.
10128 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
10130 * dwarf2out.c (free_AT, free_die): New fns.
10131 (remove_children): Call them.
10132 (output_line_info): Disable removal of duplicate notes.
10134 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
10135 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
10136 means pretend the type isn't defined.
10137 Don't defer emitting types.
10138 (gen_type_die_for_member): New fn.
10139 (gen_decl_die): Call it.
10140 (splice_child_die): New fn.
10141 (gen_member_die): Call it rather than generate duplicate dies.
10143 Defer emitting information for the abstract instance of an inline
10144 until we either inline it or emit an out-of-line copy.
10145 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
10146 from output_inline_function if DECL_ABSTRACT is also set.
10147 (block_ultimate_origin): Likewise.
10148 (gen_abstract_function): New fn.
10149 (gen_decl_die, gen_inlined_subroutine_die): Call it.
10150 (gen_subprogram_die): An abstract instance is not a declaration
10151 just because it doesn't match current_function_decl. Don't abort
10152 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
10153 has an abstract origin.
10154 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
10155 abstract instance here.
10157 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
10159 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
10160 where we need to reload fpul from a system register.
10162 1999-11-24 Andreas Jaeger <aj@suse.de>
10164 * config/mips/linux.h (CPP_PREDEFINES): Added.
10165 (LINK_SPEC): Remove -Y since this is only needed on sparc.
10167 1999-11-24 Andreas Jaeger <aj@suse.de>
10169 * config/mips/linux.h (TARGET_VERSION): Added.
10170 (HANDLE_SYSV_PRAGMA): Added.
10171 (DEFAULT_VTABLE_THUNKS): Added.
10173 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10175 * local-alloc.c (qty): New structure and static variable.
10176 (qty_phys_reg): Remove, all references changed to qty.
10177 (qty_n_refs): Likewise.
10178 (qty_min_class): Likewise.
10179 (qty_birth): Likewise.
10180 (qty_death): Likewise.
10181 (qty_size): Likewise.
10182 (qty_mode): Likewise.
10183 (qty_n_calls_crossed): Likewise.
10184 (qty_alternate_class): Likewise.
10185 (qty_changes_size): Likewise.
10186 (qty_first_reg): Likewise.
10187 (alloc_qty): Rename variable QTY to QTYNO.
10188 (finf_free_reg): Likewise.
10189 (local_alloc): Allocate qty, do not allocate the removed variables.
10191 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
10193 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
10194 when -membedded-pic is passed.
10196 * config/mips/mips.md (casesi): Handle 64-bit case too.
10197 (casesi_internal_di): New insn.
10199 * config/mips/mips.c (embedded_pic_offset): Always make the
10200 embedded-pic subtractions relative to the name of the current
10201 function by use of the magic string "..CURRENT_FUNCTION".
10202 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
10204 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
10206 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
10207 of (const_int 0), when what we really care about is
10208 whether it's a zero constant anyway.
10209 (div_trap_mips16): Likewise.
10211 1999-11-23 Mark Mitchell <mark@codesourcery.com>
10213 * loop.c (loop_optimize): Always find_loop_tree_blocks and
10214 unroll_block_trees when generating debuggable code.
10216 * tree.h (unsave_expr_1): New function.
10217 (lang_unsave): New variable.
10218 (get_callee_fndecl): New function.
10219 * tree.c (unsave_expr_now_r): New function.
10220 (lang_unsave): Define.
10221 (unsave_expr_1): Likewise.
10222 (unsave_expr_now_r): Split out from unsave_expr_now.
10223 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
10224 call unsave_expr_now_r.
10225 (get_callee_fndecl): Define.
10227 * Makefile.in (gencheck): Don't depend on lang_tree_files.
10228 (gencheck.o): Do depend on lang_tree_files.
10230 * integrate.h (copy_decl_for_inlining): New declaration.
10231 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
10232 (copy_decl_for_inlining): New function.
10233 (integrate_parm_decls): Use it.
10234 (integrate_decl_tree): Likewise.
10236 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
10238 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
10239 the second two from the first.
10240 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
10241 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
10242 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10244 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
10245 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10248 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
10250 * pa.md (call_internal_symref, call_value_internal_symref): No mode
10251 needed on the address operand.
10252 * pa.c (call_operand_address): Check for the correct mode.
10254 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
10256 * loop.c: Include "basic-block.h".
10257 (try_copy_prop, replace_loop_reg): New functions.
10258 (load_mems): Detect registers that just hold copies of the hoisted
10259 mem, and call try_copy_prop to eliminate them.
10260 * Makefile.in (loop.o): Update dependencies.
10262 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
10264 * Makefile.in (gencheck.o): Depend on gencheck.h.
10265 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
10266 (insn-peep.o): Depend on except.h and function.h.
10267 (insn-attrtab.o): Depend on RECOG_H.
10268 (insn-output.o): Depend on toplev.h and flags.h.
10269 (gengenrtl.o): Depend on real.h.
10270 (gen-protos.o): Depend on cpplib.h and cpphash.h.
10271 Unify all dependencies to be on RECOG_H rather than recog.h.
10273 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10275 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
10276 * configure.in: Try building a bi-arch 32/64-bit compiler on
10277 sparc-*-solaris2.7 and higher.
10278 * configure: Rebuild.
10280 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
10282 * config/freebsd.h: New, FreeBSD architecture independent file.
10283 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
10284 independent pieces.
10285 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
10286 directly by i386/freebsd.h.
10287 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
10288 independent configuration file.
10289 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
10290 directly by i386/freebsd.h.
10291 * configure: Rebuilt.
10293 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
10294 which is in the user's namespace.
10295 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
10296 `i386' which is not in our namespace.
10298 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
10300 * invoke.texi (ARM Options): Add in -mno-alignment-traps
10302 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
10304 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
10305 (add_dwarf_attr, add_child_die): Just push onto the front.
10306 (reverse_die_lists): New fn.
10307 (add_sibling_attributes): Use it.
10308 (push_decl_scope): Reorganize.
10309 (add_name_and_src_coords_attributes): Don't set file and line for
10310 an artificial decl.
10311 (gen_subprogram_die): An artificial function doesn't need to match
10313 (gen_compile_unit_die): Return the generated die. Only add
10314 AT_comp_dir if the filename is relative.
10315 (remove_AT): Simplify loop. Also free string values.
10316 (output_die): A DIE ref can't be null.
10317 (output_value_format, value_format): Take a dw_attr_ref.
10318 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
10319 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10320 AT_addr, AT_lbl): New fns.
10321 (various): Use them.
10322 (various): Constify.
10324 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10326 * combine.c (combine_simplify_rtx): When handling a SUBREG,
10327 take SUBREG_WORD into account.
10328 (if_then_else_cond): Likewise.
10330 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
10332 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
10333 clause from BSD license, pursuant with
10335 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
10337 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
10339 * loop.c (load_mems): Reformat slightly.
10340 * basic-block.h (regset_head): New typedef.
10341 (INIT_REG_SET): New macro.
10343 1999-11-22 Bruce Korb <autogen@linuxbox.com
10345 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
10346 (mips-dec-bsd*): non-functional code
10347 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
10349 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
10350 added three replacement fixes
10351 (no_double_slash): removed comments that are not (any longer) pertinent
10352 (bad_lval): this fix currently runs against many files.
10353 The comment seems to indicate that we should select for files
10354 containing 'pragma extern_prefix'.
10356 * fixinc/fixinc.x86-linux-gnu: deleted
10357 * fixinc/inclhack.sh: regen
10358 * fixinc/fixincl.x: regen
10359 * fixinc/fixincl.sh: regen
10361 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
10363 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
10364 its code is INSN and it has no notes.
10366 1999-11-22 Andrew Haley <aph@cygnus.com>
10368 * varasm.c (function_defined): Remove.
10369 (make_function_rtl): Don't set function_defined.
10370 (make_decl_rtl): Remove global register warning.
10371 * regclass.c (no_global_reg_vars): New variable.
10372 (globalize_reg): Warn if function has already been defined.
10373 (regclass_init): Set no_global_reg_vars.
10375 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
10377 * regclass.c (reg_pref): New structure and static variable
10378 (prefclass): Delete.
10379 (altclass): Delete.
10380 (all uses of prefclass and altclass): Use reg_pref instead.
10382 1999-11-21 Nick Clifton <nickc@cygnus.com>
10384 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
10386 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
10387 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10388 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10390 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
10392 * varasm.c (output_constructor): Solve problem with long long
10393 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
10395 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
10397 * global.c (allocno): New structure and static variable.
10398 (allocno_reg): Remove, all references replaced by allocno.
10399 (allocno_size): Likewise.
10400 (hard_reg_conflicts): Likewise.
10401 (hard_reg_preferences): Likewise.
10402 (hard_reg_copy_preferences): Likewise.
10403 (hard_reg_full_preferences): Likewise.
10404 (regs_someone_prefers): Likewise.
10405 (allocno_calls_crossed): Likewise.
10406 (allocno_n_refs): Likewise.
10407 (allocno_live_length): Likewise.
10408 (find_reg): Rename ALLOCNO to NUM.
10410 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
10411 references updated.
10412 (may_move_out_cost): New variable.
10413 (init_reg_sets_1): Initialize may_move_out_cost.
10414 (record_reg_classes): Use may_move_out_cost.
10416 * regclass.c (dump_regclass): New function.
10417 (regclass): New parameter DUMP, call DUMP_REGCLASS.
10418 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
10419 pass rtl_dump_file to regclass.
10420 * rtl.h (regclass): Update prototype.
10422 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
10424 * i386.md (neg, not and abs patterns): Revmap to use
10425 ix86_expand_unary_operator and ix86_unary_operator_ok.
10426 (add?f and sub?f expanders): Force operand 1 to register.
10427 * i386.c (ix86_expand_unary_operator): Rewrite.
10428 (ix86_unary_operator_ok): Ensure that memory operands
10430 (ix86_binary_operator_ok): Do not allow operand 1 to
10431 come into memory and operand 0 not.
10432 (ix86_expand_binary_operator): Ensure that
10433 src1 is not non-matching memory.
10435 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
10436 to support integer registers and memory.
10437 (abss?2_integer): Likewise.
10439 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
10440 (REG_CLASS_NAMES): Likewise.
10441 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
10443 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
10444 (movsf): Likewise; unify 4th and 5th alternative.
10445 (pushdf): Likewise.
10446 (movdf_1): Likewise; rename to movdf_integer.
10447 (pushxf): Likewise; rename to pushxf_integer; fix output template;
10448 remove redundant splitter.
10449 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
10450 (movdf_nointeger): New.
10451 (movxf_nointeger): New.
10452 (pushxf_nointeger): New.
10454 * i386.md (extend?f?f): Split to expander and pattern, refuse two
10455 memory operands in patterns.
10456 (fop*): Refuse two memory operands.
10458 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
10459 on !TARGET_USE_CLTD CPUs.
10461 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
10463 * extend.texi: Document C++ restricted pointers and references.
10465 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
10467 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
10468 (invalidate_skipped_set): Call it unconditionally.
10469 (cse_set_around_loop): Likewise.
10471 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
10473 * rtl.texi (mem): Add documentation for alias-set argument
10476 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
10478 * i386.h (struct_processor_costs): New fields int_load, int_store,
10479 fp_move, fp_load and fp_store
10480 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
10482 (MEMORY_MOVE_COST): New macro.
10483 * i386.c (386_cost): Define new fields.
10484 (i486_cost): Likewise.
10485 (pentium_cost): Likewise.
10486 (pentiumpro_cost): Likewise.
10487 (k6_cost): Likewise.
10489 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
10490 Geoffrey Keating <geoffk@cygnus.com>
10492 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
10494 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
10497 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
10498 (TARGET_STRICT_ALIGNMENT): New macro.
10499 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
10500 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
10501 * invoke.texi (M680x0 Options): Document -mstrict-align.
10503 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
10504 Richard Henderson <rth@cygnus.com>
10506 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
10507 (ix86_split_long_move): Declare.
10508 * i386.c (split_xf, ix86_split_movdi): Remove.
10509 (ix86_split_to_parts, ix86_split_long_move): New.
10510 * i386.md (dimode move splitters): Use ix86_split_long_move.
10511 (dfmode move splitters): Likewise.
10512 (xfmode move splitters): Likewise.
10513 (movsf_1): Allow F->r.
10514 (movdf_1, movxf_1): Allow F->ro.
10516 1999-11-17 Mark Mitchell <mark@codesourcery.com>
10518 * except.h (struct eh_entry): Add goto_entry_p.
10519 (eh_region_from_symbol): Remove prototype.
10520 * except.c (find_func_region_from_symbol): New function.
10521 (emit_cleanup_handler): Likewise.
10522 (eh_region_from_symbol): Make it static.
10523 (add_new_handler): Verify the argument.
10524 (find_func_region): Update comment.
10525 (expand_eh_region_end): Expand handlers here, rater than waiting
10526 until expand_leftover_cleanups or start_all_catch.
10527 (expand_leftover_cleanups): Don't expand here.
10528 (expand_start_all_catch): Or here.
10529 (expand_rethrow): Check the return value from find_func_region.
10530 * function.c (expand_function_end): Emit the catch_clauses.
10532 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
10534 * integrate.c (expand_inline_function): Add necessary check for NULL.
10536 1999-11-18 Nick Clifton <nickc@cygnus.com>
10538 * toplev.c (main): Correctly detect an unrecognised option.
10540 * cppinit.c (cpp_handle_option): Do not claim to have consumed
10541 a -f option if it has not been recognised.
10543 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
10545 * basic-block.h (update_life_extent): Remove trailing comma on
10546 enumeration type list.
10548 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10550 * varasm.c (output_constructor) Solved problem with long long
10551 bitfields. Corrected calculating this_time and shift. Also
10552 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
10554 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
10556 * flow.c (split_edge): Take looping structure into account when
10557 determining where to put the new block note.
10559 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
10561 * Makefile.in (ggc-none.o): Provide host specific version if
10564 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
10566 * cse.c (delete_trivially_dead_insns): Identify no-op insns
10567 containing subregs too.
10569 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
10571 * invoke.texi: Add documentation for -muninit-const-in-rodata.
10572 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
10573 (TARGET_UNINIT_CONST_IN_RODATA): Define.
10574 (text_section): Add switches -munint-const-in-rodata and
10575 -mno-uninit-const-in-rodata.
10576 (ASM_OUTPUT_COMMON): Remove.
10577 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
10578 const objects should be placed in read-only data. Otherwise declare
10581 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
10583 * jump.c (jump_optimize_1): Revert last change.
10585 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
10587 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
10588 test if optimizing for size.
10590 1999-11-17 Mark Mitchell <mark@codesourcery.com>
10592 * Makefile.in (toplev.o): Depend on except.h.
10593 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
10595 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
10597 * i386.md (divmodsi4): Rewrite to expander.
10598 (*divmodsi4_nocltd): New.
10599 (*divmodsi4_cltd): New.
10600 (divmodsi4 splitter): Handle the case when input comes in edx.
10601 (udivmodhi4): Do not use constraints in exander.
10602 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
10604 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
10606 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
10607 for the common case.
10609 1999-11-16 Jakub Jelinek <jakub@redhat.com>
10611 * explow.c (hard_function_value): Add outgoing argument.
10612 * expr.h (hard_function_value): Declare it.
10613 * calls.c (expand_call, emit_library_call_value): Update callers.
10614 * function.c (aggregate_value_p): Ditto.
10615 (diddle_return_value): Must look at the outgoing registers
10616 on archs with register windows.
10618 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
10620 * alpha.c (alpha_build_va_list): Use make_lang_type and
10621 initialize TYPE_NAME for the va_list record.
10623 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
10625 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
10627 * ggc.h (struct ggc_statistics): Rearrange elements for better
10628 packing on 64-bit hosts.
10629 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
10630 (compute_nearerout): Likewise.
10632 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
10634 * config/rs6000/rs6000.c (first_reg_to_save): Save
10635 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
10637 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
10639 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
10640 notion of nesting to find the DIE for a type or function.
10641 DIEs can go in limbo even if we got a context_die.
10642 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
10643 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
10645 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
10646 (gen_type_die): Writing out the context doesn't cause member class
10647 template instantiations to be written out as well.
10649 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
10651 * rs6000.h (ASM_OUTPUT_DEF): New.
10652 Based on proposed addition from David Edelsohn.
10654 1999-11-15 Robert Lipe <RobertLipe@usa.net>
10655 Bruce Korb <autogen@linuxbox.com>
10657 * fixinc/inclhack.def
10658 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
10659 (unixware7_byteorder_fix): added. Removes conflicts for new defs
10661 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
10662 (svr4_endian): enabled with SVR5
10663 (svr4_mkdev): simplified syntax and enabled with SVR5
10665 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
10667 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
10668 * configure: Rebuilt.
10669 * config/t-freebsd-thread: New file.
10671 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
10673 * i386.c (ix86_decompose_address): Verify the base is a REG
10674 before trying to examine its register number.
10676 * basic-block.h: Remove all #defines and prototypes related to
10678 (free_bb_mem, compute_preds_succs): Remove prototype.
10679 * rtl.h (free_bb_mem): Remove prototype.
10680 * flow.c (alloc_int_list_node); Remove function.
10681 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
10682 (compute_preds_succs, free_bb_mem): Likewise.
10683 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
10684 * toplev.c (rest_of_compilation): Likewise.
10685 * haifa-sched.c (build_control_flow): Use flow generated edge
10686 list to build the haifa specific edge list.
10687 (find_rgns): Use new CFG data structures instead of pred/succ lists.
10688 (schedule_insns): Do not build pred/succ lists anymore. Instead
10689 build the edge table.
10691 * basic-block.h (dump_bb_data): Remove declaration.
10692 * flow.c (dump_bb_data): Remove function.
10693 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
10694 (sbitmap_union_of_predsucc): Likewise.
10696 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
10697 argument. All callers changed.
10698 (delete_null_pointer_checks_1): No longer need to compute the
10701 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
10702 All callers changed.
10703 (pre_expr_reaches_here_p_work): Likewise.
10704 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
10705 * lcm.c (compute_laterin): Fix initialization of LATER.
10706 (compute_nearerout): Similarly for NEARER.
10708 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10710 * cse.c (set_nonvarying_address_components): Delete unused function.
10711 (refers_to_p): Likewise.
10713 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
10715 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
10718 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10720 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
10721 definition in do while (0).
10723 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
10725 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
10727 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
10729 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
10731 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
10733 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
10734 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
10735 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
10736 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
10738 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
10739 saved on the stack. Output more accurate stack frame statistics
10740 into assembler file.
10742 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
10744 * genextract.c (record_insn_name): New function.
10745 (get_insn_name): No longer a stub.
10746 (main): Call record_insn_name for each insn. After each label
10747 written, print the insn name in a comment.
10749 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10751 * output.h (const_section, init_section, fini_section): Add
10754 * alpha/elf.h (const_section): Delete declaration.
10756 * svr4.h (const_section): Likewise.
10758 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
10760 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
10761 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
10762 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
10764 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
10765 variable-sized array bounds.
10767 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
10769 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
10772 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10774 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
10775 addresses the same way GO_IF_LEGITIMATE_INDEX does.
10777 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10779 * cse.c (hash_arg_in_struct): Delete.
10780 (struct table_elt): Delete elt in_struct.
10781 (struct set): Delete elt src_in_struct.
10782 (merge_equiv_classes): Don't set either hash_arg_in_struct or
10783 the corresponding in_struct elts.
10784 (canon_hash): Likewise.
10785 (safe_hash): Likewise.
10786 (find_best_addr): Likewise.
10787 (record_jump_cond): Likewise.
10788 (cse_insn): Likewise.
10790 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
10792 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
10794 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
10797 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
10799 * function.c (diddle_return_value): Put back check that the DECL_RTL
10800 for the function is a register.
10802 * function.c (diddle_return_value): Use hard_function_value to
10803 get an rtx suitable for use in the USE/CLOBBER insn.
10805 * global.c (global_conflicts): Update comments.
10806 (record_conflicts): No need to record conflicts between pseudos here.
10808 1999-11-11 Bruce Korb <autogen@linuxbox.com>
10810 * fixinc/fixincl.c: Added verbose levels for status messages
10812 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10814 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
10815 operand as argument to expand_and or expand_binop.
10817 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
10819 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
10820 gcc_add_string_root.
10822 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
10824 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
10826 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
10828 * flow.c (compute_flow_dominators): Initially put all blocks on
10830 * lcm.c (compute_antinout_edge, compute_available): Similarly.
10831 * gcse.c (compute_cprop_avinout): Remove.
10832 (compute_cprop_data): Use compute_available.
10833 (delete_null_pointer_checks_1): Use compute_available.
10835 * basic-block.h (compute_available): Returns a void now.
10836 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
10837 to return a value anymore.
10838 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
10839 worklists. Fix boundary cases. Compute maximal solutions.
10840 (compute_laterin, compute_nearerout): Similarly.
10842 * dwarf2out.c (add_AT_location_description): Allow
10843 (mem (plus (pseudo) (...)) too.
10845 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
10847 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
10849 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
10850 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10852 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
10854 * gansidecl.h: Likewise.
10860 * toplev.h: Likewise.
10862 * tree.c: Likewise.
10864 * tree.h: Likewise.
10866 * varray.c: Likewise.
10868 * varray.h: Likewise.
10870 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
10872 * gcov.c (struct arcdata): Add hits and total, remove prob.
10873 (output_branch_counts): New.
10874 (process_args): Set output_branch_counts if -c.
10875 (calculate_branch_probs): Store hits and total instead of
10877 (output_data): Emit counts if output_branch_counts is true.
10878 * gcov.texi (Invoking Gcov): Document -c switch..
10880 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
10882 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
10883 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
10885 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
10887 * invoke.texi (C Dialect Options): Add missing builtins from
10888 c-common.c to list.
10889 * extend.texi (Other Builtins): Copy to this list.
10891 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10893 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
10894 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
10895 redundant bitmap.h.
10897 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
10899 * flow.c (compute_flow_dominators): No longer treat basic block 0
10900 or (n_basic_blocks - 1) specially. Clear the AUX field before
10901 starting computation of doms/pdoms. Fix initial state for pdoms.
10903 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10905 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
10906 match rtl.o's: added ggc.h and toplev.h
10907 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
10908 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
10909 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
10911 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
10913 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
10914 from HAVE_DOS_BASED_FILESYSTEM.
10915 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
10916 HAVE_DOS_BASED_FILESYSTEM.
10918 (split_directories): Only special-case DOS file names if
10919 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
10920 instead of explicit tests. Conditionalize on !VMS.
10921 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
10922 tests. Conditionalize on !VMS.
10923 (process_command): Only use make_relative_prefix if !VMS.
10924 (free_split_directories): Conditionalize on !VMS.
10925 (DIR_UP): Conditionalize on !VMS.
10927 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
10929 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
10931 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
10933 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
10936 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
10938 * invoke.texi (Environment Variables): Document relative path
10940 * gcc.c (DIR_UP): If not defined, define as "..".
10941 (standard_bindir_prefix): New static, holds target location to
10943 (split_directories): New function to split a filename into
10944 component directories.
10945 (free_split_directories): New function, release memory allocated
10946 by split_directories.
10947 (make_relative_prefix): New function, make a relative pathname if
10948 the compiler is not in the expected location.
10949 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
10950 can figure out an appropriate prefix from argv[0].
10951 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
10952 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
10953 STANDARD_BINDIR_PREFIX.
10955 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10957 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
10959 * config/c4x/c4x.h: Moved prototypes to c4x.h.
10960 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
10961 c4x_secondary_memory_needed) Delete.
10962 (fp_zero_operand): Add mode argument.
10964 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
10966 * reload1.c (reload_reg_free_for_value_p): Don't use a register
10967 that is in reload_reg_used.
10969 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
10971 * config/arm/arm-protos.h: New file: Prototypes for functions
10972 defined in arm.c and pe.c.
10973 * config/arm/arm.h: Fix compile time warnings.
10974 * config/arm/arm.c: Fix compile time warnings.
10975 * config/arm/pe.h: Fix compile time warnings.
10976 * config/arm/aout.h: Fix compile time warnings.
10978 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
10980 * config/m32r/m32r-protos.h: New file: Prototypes for functions
10983 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
10984 Add support for subtargets.
10985 Add prototypes for new predicates.
10986 Add scheduling macros.
10988 * config/m32r/m32r.c: Fix compile time warnings.
10989 (int8_operand): New predicate function.
10990 (reg_or_cmp_int16_operand): New predicate function.
10991 (extend_operand): New predicate function.
10992 (m32r_adjust_code): New scheduling function.
10993 (m32r_adjust_priorty): New scheduling function.
10994 (m32r_sched_init): New scheduling function.
10995 (m32r_sched_reorder): New scheduling function.
10996 (m32r_sched_variable_issue): New scheduling function.
10997 (direct_return): New codegen function.
10998 (m32r_not_same_reg): New rtl testsing function.
11000 * config/m32r/m32r.md: Fix compile time warnings.
11001 Add support for pre decrement and post increment memory
11003 Add S<cc> patterns.
11006 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11008 * global.c (EXECUTE_IF_CONFLICT): Don't define.
11009 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11010 (find_reg): Likewise.
11012 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
11014 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11015 to avoid assembler errors.
11017 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
11019 * config/v850/v850-protos.h: New file: Prototypes for functions
11021 * config/v850/v850.h: Move prototypes to v850-protos.h
11022 * config/v850/v850.c: Move prototypes to v850-protos.h
11023 * config/v850/v850.md: Fix compile time warnings.
11025 * config/fr30/fr30-protos.h: New file: Prototypes for functions
11027 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11028 * config/fr30/fr30.c: Fix compile time warnings.
11029 * config/fr30/fr30.md: Fix compile time warnings.
11031 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
11033 * tree.h (get_containing_scope): Declare it.
11034 * tree.c (get_containing_scope): New fucntion.
11035 (decl_function_context): Use it.
11036 * toplev.c (rest_of_compilation): Use get_containing_scope.
11038 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11040 * Makefile.in (rtl.o): Depend on toplev.h.
11042 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
11044 * cse.c (delete_trivially_dead_insns): Replace alloca with
11046 * except.c (update_rethrow_references): Likewise.
11047 (init_eh_nesting_info): Likewise.
11048 * function.c (identify_blocks): Likewise.
11049 * gcse.c (dump_hash_table): Likewise.
11050 * graph.c (print_rtl_graph_with_bb): Likewise.
11051 * loop.c (combine_movables): Likewise.
11052 (move_movables): Likewise.
11053 (count_loop_regs_set): Likewise.
11054 (strength_reduce): Likewise.
11055 * profile.c (compute_branch_probabilities): New function, split
11057 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
11058 * regclass.c (regclass): Likewise.
11059 * regmove.c (regmove_optimize): Likewise.
11060 * toplev.c (compile_file): Likewise.
11061 (main): Don't mess with the stack rlimit.
11063 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
11065 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
11066 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
11068 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
11070 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
11072 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
11074 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
11075 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
11078 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
11080 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
11082 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
11084 * gcse.c (post_dominators): Kill.
11085 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
11086 (compute_code_hoist_data): Use compute_flow_dominators. Do not
11087 pass in a pdom array since we do not need pdoms.
11088 * haifa-sched.c (schedule_insns): Similarly.
11089 * flow.c (compute_dominators): Remove dead function.
11090 (compute_flow_dominators): Do not compute doms or pdoms if the
11091 caller does not request them. Split up loop to build doms and
11092 pdoms. Use a worklist to compute doms and pdoms.
11093 * basic-block.h (compute_dominators): Remove prototype.
11095 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
11097 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
11098 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
11099 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
11100 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
11101 (cant_move, fed_by_spec_load, is_load_insn): Remove.
11102 (schedule_region): Remove unused variable.
11103 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
11105 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
11107 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
11108 (update_equiv_regs): Likewise.
11109 (block_alloc): Likewise.
11110 * reg-stack.c (reg_to_stack): Likewise.
11111 (convert_regs_2): Likewise.
11112 * reload1.c (reload_as_needed): Likewise.
11114 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
11116 * Makefile.in (dbxout.o): Depend on ggc.h.
11117 (dwarf2out.o): Likewise.
11118 (xcoffout.o): Likewise.
11119 * dbxout.c: Include ggc.h.
11120 (dbxout_init): Register lastfile as a root.
11121 * dwarf2out.c: Include ggc.h.
11122 (dwarf2out_line): Register lastfile as a root.
11123 * xcoffout.c: Include ggc.h.
11124 (xcoffout_source_line): Register xcoff_lastfile as a root.
11126 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
11128 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
11130 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
11132 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
11134 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11136 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11138 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
11139 (EXECUTE_IF_CONFLICT): Likewise.
11140 (ALLOCNO_LIVE_P): Avoid signed division.
11141 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
11142 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
11143 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
11145 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
11147 * haifa-sched.c (schedule_block): Don't crash if there's no
11148 next insn for an interblock movement.
11149 (add_branch_dependences): Don't allow clobber insns to move either.
11151 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
11153 * i386.c (split_xf): New.
11154 * i386-protos.h: Declare it.
11155 * i386.md (movxf_1): Add general regs alternatives.
11156 (movxf_1+1): New splitter for same.
11158 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
11160 * function.c (purge_addressof_1): Add missing return values.
11162 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
11164 * function.c (is_addressof): New function. Returns true if
11165 the given piece of RTL is an ADDRESSOF.
11166 (purge_addressof_1): Make boolean. Return false if the
11167 ADDRESSOFs could not be purged.
11168 (purge_addressof): If ADDRESSOFs could not be purged from the
11169 notes attached to an insn, remove the offending note(s),
11170 unless they are attached to a libcall.
11172 1999-11-05 Andreas Jaeger <aj@suse.de>
11174 * genoutput.c (null_operand =): Initialize all fields.
11176 * errors.h: Add extern to prototypes.
11178 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
11180 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
11181 * configure: Rebuilt.
11183 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11185 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
11186 (mirror_conflicts): New function.
11187 (global_alloc): Call it.
11188 (expand_preferences): Remove redundant CONFLICTP test.
11189 (find_reg, dump_conflicts): Likewise.
11190 (prune_preferences): Process conflicts one word at a time.
11192 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
11194 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
11195 instead of an explicit loop.
11197 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
11199 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
11200 if REG_RETVAL check succeeds, then put classp in src_elt.
11202 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
11204 * function.c (pad_to_arg_alignment): Only update argument_pad
11205 if the argument's alignment is greater than STACK_BOUNDARY.
11207 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
11209 * bitmap.h (BITMAP_XFREE): New.
11210 * flow.c (life_analysis): Use it.
11211 (life_analysis_1): Free blocks.
11213 * combine.c (undo_commit): New.
11214 (try_combine): Use it. Don't zap undobuf.undos.
11215 (combine_instructions): Don't zap undobuf.undos; free the
11216 undobuf.frees list.
11218 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
11220 * stmt.c (cost_table_): New.
11221 (estimate_case_costs): Use it instead of xmalloc.
11223 * toplev.c (compile_file): Reuse dumpname memory instead
11226 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
11228 * reg-stack.c (convert_regs_1): Initialize target_stack->top
11229 after verifying an EH edge.
11231 * haifa-sched.c (init_rgn_data_dependences): Correctly
11232 size bb_pending_lists_length when zeroing.
11234 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
11236 * function.c (diddle_return_value): New.
11237 (expand_function_end): Use it.
11238 * stmt.c (expand_null_return): Likewise.
11239 (expand_value_return): Likewise.
11241 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
11243 * reload1.c (reload): Don't remove return value clobbers.
11245 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
11247 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
11249 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
11251 * cse.c (cse_main): Use xmalloc, not alloca.
11252 (cse_basic_block): Likewise.
11253 * local-alloc.c (local_alloc): Likewise.
11255 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
11256 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11258 * rtl.c: Include toplev.h.
11259 (fatal): Remove declaration.
11261 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
11263 * haifa-sched.c (schedule_block): Fix thinko.
11265 1999-11-03 James McKelvey <mckelvey@fafnir.com>
11267 * fixinc/fixincl.c(create_file): Allow for systems that do not have
11268 S_IR* defined values
11270 1999-11-03 Philippe De Muyter <phdm@macqel.be>
11272 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
11273 call `malloc' instead.
11275 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
11277 * flags.h (flag_renumber_insns): Declare.
11278 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
11280 * rtl.h (renumber_insns): Change prototype.
11281 * toplev.c (flag_renumber_insns): Define.
11282 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
11284 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
11286 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
11287 and fpsqrtd. Use them and create fdiv function unit to more
11288 accurately represent fpu sqrt pipeline semantics on UltraSparc.
11289 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
11291 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
11293 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
11295 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
11296 insn into ready list, do not use just a raw swap.
11298 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
11300 * rtl.h (renumber_insns): New function.
11301 (remove_unnecessary_notes): Likewise.
11302 * emit-rtl.c (renumber_insns): Define.
11303 (remove_unncessary_notes): Likewise.
11304 * toplev.c (rest_of_compilation): Remove dead code.
11305 Use renumber_insns and remove_unncessary_notes.
11307 * gcse.c (struct null_pointer_info): New type.
11308 (get_bitmap_width): New function.
11309 (current_block): Remove.
11310 (nonnull_local): Likewise.
11311 (nonnull_killed): Likewise.
11312 (invalidate_nonnull_info): Take a null_pointer_info as input.
11313 (delete_null_pointer_checks_1): New function.
11314 (delete_null_pointer_checks): Use it.
11316 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
11317 (split_edges): Likewise.
11318 (schedule_block): Likewise.
11319 (compute_block_backward_dependencies): Likewise.
11320 (schedule_region): Likewise.
11321 (schedule_insns): Likewise.
11323 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
11325 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
11326 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
11327 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
11328 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
11329 * jump.c (delete_unreferenced_labels): Don't delete if
11330 LABEL_ALTERNATE_NAME is set.
11331 * print-rtl.c (print_rtx): Dump alternate name.
11332 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
11333 * rtl.h (LABEL_ALTERNATE_NAME): Define.
11334 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
11335 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
11337 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11339 * fix-header.c (recognized_extern, recognized_function): Constify
11342 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
11343 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11344 (compute_available): Remove unused variable `last'.
11345 (compute_nearerout): Remove unused variable `temp_bitmap'.
11346 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11347 Remove unused variable `x'.
11349 * scan.h (recognized_function, recognized_extern): Constify a
11352 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
11354 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11356 * varasm.c (decode_rtx_const): Use XSTR to access the string
11359 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
11361 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
11363 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11365 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
11367 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
11369 * pa.c (ireg_operand): New function.
11370 * pa.h (PREDICATE_CODES): Handle ireg_operand.
11371 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
11372 Fix out of date comment.
11374 * pa.md (negdi2): Turn into expander + anonymous pattern.
11376 * reload.c (find_reloads): Fix typos in recent change.
11378 * dwarf2out.c: Do not include ctype.h.
11380 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11382 * regclass.c (record_reg_classes): Always use may_move_cost when
11383 seeing how operand fits with various register classes.
11385 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
11387 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
11388 * toplev.c: Revert Nov 1 13:22 change.
11390 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
11392 * config/pa/pa.md (height reduction patterns): Add checks for
11393 overlapping operands to avoid semantic-destroying splits for
11394 height reduction patterns.
11396 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11398 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
11399 have been an hyphen, fixed.
11400 * configure: Rebuilt.
11402 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
11404 * config/arm/tpe.h: Add prototypes for exported functions.
11405 * config/arm/pe.c: Fix compile time warnings.
11406 * config/arm/semi.h: Fix compile time warnings.
11407 * config/arm/arm.c: Fix compile time warnings.
11408 * config/arm/arm.h: Fix compile time warnings.
11409 * config/arm/arm.md: Fix compile time warnings.
11410 * config/arm/thumb.c: Fix compile time warnings.
11411 * config/arm/thumb.h: Fix compile time warnings.
11412 * config/arm/thumb.md: Fix compile time warnings.
11414 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
11416 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
11419 * unroll.c (unroll_loop): Remove LOOP notes when loop is
11420 completely unrolled.
11422 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11424 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
11426 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
11428 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
11429 * rtl.h (rtx_equal_p): Move prototype.
11430 * rtl.c (rtx_equal_function_value_matters): Move from
11432 (rtx_equal_p): Likewise.
11433 * rtlanal.c (rtx_equal_function_value_matters): Delete.
11434 (rtx_equal_p): Likewise.
11436 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
11438 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
11439 ! HAS_INIT_SECTION.
11441 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
11443 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
11445 * pa.h (ADDR_VEC_ALIGN): Define.
11447 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
11448 notes when presented with "if (foo) break; end_of_loop" and
11449 the break sequence gets moved out of the loop.
11451 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
11452 Remove explicit zero initializations of entries within MAP.
11454 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
11456 * reg-stack.c (convert_regs_1): Handle EH edges specially.
11458 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
11460 * bitmap.h (BITMAP_XMALLOC): New macro.
11461 * flow.c (CLEAN_ALLOCA): Remove.
11462 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
11463 (life_analysis): Likewise.
11464 (update_life_info): Don't use CLEAN_ALLOCA.
11465 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
11466 (calculate_global_regs_live): Likewise.
11467 (print_rtl_with_bb): Likewise.
11468 (verify_flow_info): Likewise.
11469 * global.c (global_alloc): Likewise.
11470 (global_conflicts): Likewise.
11471 * integrate.c (save_for_inline_nocopy): Likewise.
11472 (expand_inline_function): Likewise.
11473 * jump.c (jump_optimize_1): Likewise.
11474 (duplicate_loop_exit_test): Likewise.
11475 (thread_jumps): Likewise.
11476 * loop.c (loop_optimize): Likewise.
11477 (combine_givs): Likewise.
11478 (recombine_givs): Likewise.
11479 * reorg.c (dbr_schedule): Likewise.
11480 * unroll.c (unroll_loop): Likewise.
11482 * combine.c (combine_instructions): Use xmalloc instead of alloca.
11484 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
11486 * toplev.c (rest_of_compilation): Don't optimize the CFG
11487 when rebuilding, just before dbr.
11489 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11491 * output.h (assemble_end_function, assemble_destructor,
11492 assemble_constructor, assemble_gc_entry, assemble_global,
11493 assemble_label, output_constant_pool) Constify a char*.
11495 * varasm.c (assemble_destructor, assemble_constructor,
11496 assemble_gc_entry, assemble_end_function, assemble_global,
11497 assemble_label, output_constant_pool): Likewise.
11499 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
11501 * config/arm/thumb.c (thumb_expand_prologue): Add comments
11502 explaining what is goin on in this function.
11504 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11506 * regclass.c (record_reg_classes): In matching case, recompute
11507 costs since the direction of movement is different.
11509 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
11511 * resource.c (mark_target_live_regs): For unconditional branches,
11512 the resources found at the branch target should be added to the
11513 resources found so far, not intersected.
11515 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
11517 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
11519 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
11520 (sys/mman.h): Include this file only if #HAVE_MMAP.
11521 (run_compiles): Initialize `esac_fmt' with one old KR string, not
11522 with automatically concatenated ANSI strings.
11524 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
11526 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
11527 (DIV_ROUND_UP): Robustify.
11528 (ggc_recalculate_in_use_p): New function.
11529 (release_pages): Don't inline it.
11530 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
11532 (ggc_pop_context): Use ggc_recalculate_in_use_p.
11533 (clear_marks): Always save in_use_p.
11534 (sweep_pages): Use ggc_recalculate_in_use_p.
11535 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
11536 Release pages before counting statistics.
11538 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
11540 * toplev.c (rest_of_compilation): Fix thinko in this change:
11542 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
11544 (rest_of_compilation): If inside an inlined external function,
11545 pretend we are just being declared.
11547 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
11549 * flow.c (calculate_global_regs_live): Fix thinko.
11551 * integrate.c (expand_inline_function): Fix bugs in previous
11552 change from Oct 28, 1999.
11554 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
11556 * stmt.c (expand_value_return): Fix typo in this change:
11558 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11559 (expand_value_return): Correctly convert VAL when promoting function
11560 return; support RETURN_REG being a PARALLEL.
11562 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
11564 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
11566 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11568 * hard-reg-set.h (reg_names): Constify a char*.
11570 * regclass.c (reg_names): Likewise.
11572 * regs.h (reg_names): Likewise
11574 * a29k/a29k.c (reg_names): Delete declaration.
11576 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
11578 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
11579 arc_output_function_epilogue): Likewise.
11581 * elxsi/elxsi.c (reg_names): Likewise.
11583 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
11585 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
11588 * m88k/m88k.c (output_function_profiler): Likewise.
11590 * sparc/sparc.c (sparc_flat_output_function_prologue,
11591 sparc_flat_output_function_epilogue): Likewise.
11593 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
11595 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
11596 warning from -Wuninitialized and put it under -W.
11597 * function.c (uninitialized_vars_warning): Warn only when the
11598 corresponding flag is set.
11600 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
11602 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
11603 is nonzero and the single set does not have an elt, then assign
11606 * simplify-rtx.c: New file.
11607 * Makefile.in (OBJS): Add simplify-rtx.o
11608 (simplify-rtx.o): Add dependencies.
11609 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
11610 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
11611 (cse_gen_binary, simplify_unary_operation): Delete.
11612 (simplify_binary_operation, simplify_plus_minus): Likewise.
11613 (check_fold_consts, simplify_relation_operation): Likewise.
11614 (simplify_ternary_operation): Likewise.
11615 (delete_trivially_dead_insns): Simplify the contents of the
11616 REG_EQUAL note before trying to substitute it into the source
11617 of the reg-reg copy at the end of a libcall sequence.
11619 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
11620 references/callers changed.
11622 * mn10200.c (mn10200_va_arg): Force the return value into a
11625 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
11627 * cccp.c (macroexpand): Avoid out of range accesses for omitted
11630 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
11632 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
11634 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
11636 * fold-const.c (fold): Fix thinko when optimizing comparisons
11639 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
11641 * gcc.texi (Passes): Update front-end files to their current
11644 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
11646 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
11647 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
11648 (PREDICATE_CODES): Add addition_operation.
11649 * alpha-protos.h (addition_operation): Declare.
11650 (secondary_reload_class): Likewise.
11651 * alpha.c (addition_operation): New.
11652 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
11653 * alpha.md (adddi3): Turn into expander.
11654 (*lda, *adddi_2): New.
11655 (movsf, movdf patterns): Don't preference integer regs.
11656 (movsi, movdi patterns): Don't preference fp regs.
11658 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
11660 * genrecog.c (write_switch): Check for duplicate CODE cases.
11662 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
11664 * ggc-common.c: Update pre-function commentary.
11665 * ggc-page.c: Likewise.
11667 (poison_pages): Use memset directly.
11668 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
11669 (ggc_collect): Poison before sweeping.
11670 * ggc-simple.c: Update pre-function commentary.
11671 (ggc_alloc_obj): Poison non-zeroed memory.
11673 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
11675 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
11676 match format string, even on 64-bit hosts.
11677 * gcc-page.c (ggc_page_print_statistics): Likewise.
11679 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
11681 * config/i386/i386.c (ix86_cpu): Revert last patch.
11682 * config/i386/i386.h (ix86_cpu): Ditto.
11684 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
11686 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
11687 TYPE_SIZE, convert type of result to sizetype.
11689 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
11691 * flow.c (count_or_remove_death_notes): Equate NULL with the
11694 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
11695 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
11698 * i386.c (pic_label_no): Delete.
11699 (ix86_attr_length_default): Don't use single_set to peek
11702 * recog.c (peephole2_optimize): Allow recog_next_insn to index
11703 the first insn after bb->end.
11704 * i386.md (push mem peeps): Scratch is live after evaluation
11706 (cmp mem peep): Similarly.
11708 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
11710 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
11711 * function.c (pad_to_arg_alignment): Add missing braces.
11713 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11715 * alpha/alpha-protos.h (literal_section): Add prototype.
11716 (alpha_need_linkage, alpha_start_function,alpha_end_function):
11719 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
11721 (alpha_start_function, alpha_end_function, float_strings,
11722 alpha_need_linkage): Constify a char*
11724 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
11726 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
11728 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11730 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
11732 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11734 * flow.c (debug_flow_info): Add prototype.
11736 * gcc.c (main): Likewise.
11738 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
11741 * reload1.c (failed_reload, set_reload_reg): Likewise.
11743 * mips-tfile.c (main): Likewise.
11744 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
11745 with ATTRIBUTE_NORETURN.
11747 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
11749 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
11750 DECL is not a memory ref.
11752 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
11754 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
11755 * config/i386/i386.c (ix86_cpu): Add extern attribute.
11757 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
11759 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
11760 * config/mips/elf64.h: ditto.
11762 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
11764 * expr.c (emit_push_insn): New argument alignment_pad.
11765 Update all callers. Adjust stack pointer based on alignment pad.
11766 * function.c (pad_to_arg_alignment): New argument alignment_pad.
11767 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
11768 (locate_and_pad_parm): New argument alignment_pad. Update all
11770 * expr.h (emit_push_insn): Update prototype.
11771 (locate_and_pad_parm): Update prototype.
11772 * calls.c (arg_data): Add new field alignment_pad.
11773 (initialize_argument_information): Initialize alignment_pad.
11775 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
11777 * except.c (free_eh_nesting_info): Free the info itself.
11778 * function.c (free_after_compilation): Don't free NULL.
11779 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
11780 (pre_edge_insert): Free inserted.
11781 * stmt.c (free_stmt_status): Don't free NULL.
11783 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
11785 * gcov.c (DIR_SEPARATOR): Provide default.
11786 (output_data): Add test for MS-DOS format absolute filename.
11787 (fancy_abort): Correct program name.
11788 (open_files): Open all files in binary mode.
11789 * libgcc2.c (__bb_exit_func): Likewise.
11791 * profile.c (init_branch_prob): Specify binary when opening files.
11793 * flags.h (flag_unwind_tables): New decl.
11794 * toplev.c (flag_unwind_table): New definition.
11795 (f_options): Add -funwind-tables.
11796 (decode_g_option): Clarify warning when unknown -g option is given.
11797 (rest_of_compilation): If inside an inlined external function,
11798 pretend we are just being declared.
11800 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
11801 (dwarf2out_frame_finish): Likewise.
11803 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
11805 * fold-const.c (merge_ranges): If not in0, but in1, handle
11806 upper bounds equal like subset case.
11808 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
11810 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
11811 passed in a register but moved to the stack.
11813 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
11815 * gcc.c (pass_exit_codes, greatest_status): New variables.
11816 (struct option_map): Add entry for "--pass-exit-codes".
11817 (execute): Update greatest_status if error.
11818 (display_help): Add documentation for -pass-exit-codes.
11819 (process_command): Handle -pass-exit-codes.
11820 (main): Look at pass_exit_codes and greatest_status on call to exit.
11822 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11824 * reload.c (find_reloads): Refine test for no input reload
11825 case to not includes reloads emitted after insn.
11827 * function.c (find_temp_slots_from_address): Handle sum involving
11828 a register that points to a temp slot.
11829 (update_temp_slot_address): Make recursive call if both old and
11830 new are PLUS with a common operand.
11831 * calls.c (expand_call): Mark temp slot for result as having
11834 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
11836 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
11837 component as well as "BINUTILS".
11839 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
11840 * integrate.c (copy_rtx_and_substitute): Likewise.
11841 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
11842 All callers changed.
11843 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
11845 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
11846 gdb extensions, write size of type; also be more consistent
11847 in using references when this is a subtype.
11849 * pa.md (extv, extzv, insv): Use define_expand to reject constant
11850 that is out of range.
11852 * loop.c (unknown_constant_address_altered): New variable.
11853 (prescan_loop): Initialize it.
11854 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
11855 (invariant_p, case MEM): Remove handling for volatile and readonly;
11856 check new variable if readonly.
11857 (check_dbra_loop): Chdeck unknown_constant_address_altered.
11859 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
11860 (addr_affects_sp_p): Removed from note_mem_written and only
11861 define #ifdef AUTO_INC_DEC.
11863 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
11865 * regclass.c (record_reg_classes): Properly handle register move
11868 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
11869 Don't think valid if both operands are invalid.
11870 (struct constant_descriptor): New field RTL.
11871 (mark_const_hash_entry): Mark it.
11872 (record_constant{,_rtx}): Initialize it.
11873 (output_constant_def): Allocate RTL in permanent obstack and
11875 ({record,compare}_constant_1): Modes must match for
11876 CONSTRUCTOR of ARRAY_TYPE.
11878 * c-common.h (initializer_constant_valid_p): Delete decl from here.
11879 * output.h (initializer_constant_valid_p): Move decl to here.
11880 * c-common.c (initializer_constant_valid_p): Delete function from here.
11881 * varasm.c (initializer_constant_valid_p): Move function to here.
11883 * tree.h (STRIP_SIGN_NOPS): New macro.
11884 * fold-const.c (optimize_minmax_comparison): New function.
11885 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
11886 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
11887 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
11888 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
11889 widening conversions.
11890 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
11891 to look at size of mode, not precision of type; also add missing cases.
11892 (optimize_bit_field_compare, decode_field_reference): Don't try to
11893 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
11895 * dwarf2out.c (ctype.h): Include.
11896 (dwarf2out_set_demangle_name_func): New function.
11897 (size_of_line_info): Deleted.
11898 (output_line_info): Compute size of line info table from difference
11900 (base_type_die, add_name_attribute): Call demangle function, if any.
11901 (field_byte_offset): Use bits per word for variable length fields.
11902 (gen_array_type_die): Add array name.
11903 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
11904 (dwarf2out_add_library_unit_info): New function.
11906 * explow.c (set_stack_check_libfunc): New function.
11907 (stack_check_libfunc): New static variable.
11908 (probe_stack_range): Allow front-end to set up a libfunc to call.
11910 * combine.c (simplify_comparison): When making comparison in wider
11911 mode, check for having commuted an AND and a SUBREG.
11912 (contains_muldiv): New function.
11913 (try_combine): Call it when dividing a PARALLEL.
11914 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
11915 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
11917 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
11918 use one of the CLOBBERs instead.
11919 (if_then_else_cond): If comparing against zero, just return thing
11922 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
11923 Don't generate shifts and subtract if have conditional arithmetic.
11925 * rtl.h (delete_barrier): New declaration.
11926 * jump.c (jump_optimize): Set up to handle conditional call.
11927 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
11928 (delete_barrier): New function.
11930 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
11932 * recog.c (nonmemory_operand): Accept ADDRESSOF.
11934 * tree.c (build_type_attribute_variant): Push to obstack of
11935 ttype around type_hash_canon call.
11937 * expr.c (placeholder_list): Move decl to file scope.
11938 (expand_expr): Don't force access to volatile just because its
11940 If ignoring reference operations, just expand the operands.
11941 (expand_expr, case COMPONENT_REF): Propagate
11942 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
11943 Refine test for using bitfield operations vs pointer punning.
11944 (expand_expr, case CONVERT_EXPR): If converting to
11945 BLKmode UNION_TYPE from BLKmode, just return inner object.
11946 Use proper mode in store_field call.
11947 Properly set sizes of object to store and total size in store_field
11948 call for convert to union.
11949 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
11950 memory (like for ADDR_EXPR). Also, don't put constant in register if
11951 we'll want it in memory.
11952 (readonly_fields_p): New function.
11953 (expand_expr, case INDIRECT_REF): Call it if LHS.
11954 (expand_assignment): Handle a RESULT_DECL where
11955 DECL_RTL is a PARALLEL.
11956 (do_jump, case WITH_RECORD_EXPR): New case.
11957 (get_inner_reference): Always go inside a CONVERT_EXPR
11958 and NOP_EXPR if both modes are the same.
11959 (store_field): Use bitfield operations if size of bitsize is not same
11960 as size of RHS's type.
11961 Check for bitpos not a multiple of alignment in BLKmode case.
11962 Do block move in largest possible alignment.
11963 (store_constructor): Set BITSIZE to -1 for variable size and properly
11964 in case of array of BLKmode.
11965 (expand_expr_unaligned): New function.
11966 (do_compare_and_jump): Call it.
11968 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
11969 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
11970 does not include 'o'.
11972 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
11973 both SET_DEST and SET_SRC reference a virtual register.
11974 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
11976 * integrate.c (expand_inline_function): Handle case of setting
11977 virtual stack vars register (from built in setjmp); when parameter
11978 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
11979 (subst_constant): Add new parm, MEMONLY.
11980 (expand_inline_function, integrate_parm_decls): Pass new parm.
11981 (integrate_decl_tree): Likewise.
11982 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
11983 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
11984 (copy_rtx_and_substitute, case SET): Add explicit calls to
11985 copy_rtx_and_substitute for both sides.
11987 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
11989 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
11990 within INDEX_TYPE, instead of before.
11991 (fixup_gotos): Use f->target_rtl, not the next insn,
11992 since latter may be from a later fixup.
11993 (expand_value_return): Correctly convert VAL when promoting function
11994 return; support RETURN_REG being a PARALLEL.
11995 (expand_return): When checking for result in regs and having
11996 cleanup, consider PARALLEL in DECL_RTL as being in regs.
11998 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
12000 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12001 last_nominal_fname): Mark const.
12002 (struct include_hash: name, nshort, control_macro): Mark
12004 (struct macrodef: symnam): Mark const.
12005 (struct if_stack: fname): Mark const.
12006 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12007 (IStable): New character-syntax array which encompasses all
12008 the old is_foo arrays.
12009 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12010 is_space): New macros for interrogating IStable.
12011 (check_macro_name): Kill last argument. All callers changed.
12013 * cppinit.c (initialize_char_syntax): Delete.
12014 (is_idchar, is_idstart, is_hor_space, is_space,
12015 trigraph_table): Delete.
12016 (IStable): New. Initialize with clever macros to avoid
12017 information duplication.
12018 (builtin_array): Table of builtins to get rid of explicit list
12019 in initialize_builtins.
12020 (initialize_builtins): Use builtins_array.
12021 (cpp_start_read): Call init_IStable, and set IStable['$'] if
12022 opts->dollars_in_ident.
12024 * cppexp.c: Change all refs to is_xyz[] arrays to use new
12026 (cpp_parse_expr): Avoid 'format string is not constant'
12027 warning. Use ISGRAPH to identify printable chars.
12028 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12030 (read_and_prescan): Map trigraphs to chars with open-coded
12031 if-else-if-... sequence, not a lookup table.
12032 * cpphash.c: Change all refs to is_xyz[] arrays to use new
12034 * cpplib.c: Change all refs to is_xyz[] arrays to use new
12035 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
12036 (check_macro_name): Remove ability to report an invalid
12037 assertion name, which is never used.
12038 (do_line): Constify a couple of char *'s.
12039 * cppmain.c (main): Call cpp_cleanup before returning.
12041 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
12043 * ggc.h (struct ggc_statistics): New type.
12044 (ggc_get_size): New function.
12045 (ggc_print_statistics): Likewise.
12046 * ggc-common.c (ggc_stats): New variable.
12047 (ggc_mark_rtx_children): Keep statistics.
12048 (ggc_mark_tree_children): Likewise.
12049 (ggc_print_statistics): New function.
12050 * ggc-page.c (struct globals): Add bytes_mapped field.
12051 (alloc_anon): Update it.
12052 (release_pages): Likewise.
12053 (ggc_get_size): New function.
12054 (ggc_page_print_statistics): New function.
12055 * ggc-simple.c (ggc_get_size): New function.
12057 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
12059 * flow.c (propagate_block): When the last reference to a label
12060 before an ADDR_VEC is deleted because the reference is a dead
12061 store, delete the ADDR_VEC.
12063 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
12065 * resource.c (find_free_register): Don't use the frame pointer
12066 if frame_pointer_needed.
12068 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
12070 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
12071 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
12073 * config/i960/i960.c (i960_va_start): New locals base, num.
12074 Use INDIRECT_REF instead of ARRAY_REF on valist.
12075 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
12077 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
12079 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
12081 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
12083 * tree.def (PLACEHOLDER_EXPR): Update comments.
12085 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12087 * c-common.c (check_format_info): Avoid non-literal format string
12088 warnings when `first_arg_num' is zero.
12090 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12092 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
12094 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
12096 * arm.md (casesi_insn): Add a clobber of the condition code
12099 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
12101 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
12102 used by both cc1 and cc1plus.
12104 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
12106 * config/arm/arm.c: Initialise arm_structure_size_boundary to
12107 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
12108 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
12109 to the value 32 if it has not already been defined.
12110 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
12111 Override definition in arm.h with a value of 8.
12113 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
12115 * c-pragma.c (push_alignment): Don't check the return value
12118 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
12120 * sparc.h (ADJUST_COST): Fix thinko.
12122 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
12124 * cccp.c (rescan): Fixed obp pointer handling around call to
12125 check_expand subroutine.
12127 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
12129 * gcse.c (delete_null_pointer_checks): Only record non-null info
12130 for pseudos when examining stores.
12132 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
12133 splitters for these patterns. Use "#" for output templates.
12134 (addsi3_carryin_shift): New pattern.
12136 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
12138 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
12139 of the function return register into a plain REG until
12140 after function inlining is done.
12142 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
12144 * jump.c (jump_optimize_1): If we did cross-jumping, and
12145 the data will matter, rebuild the CFG.
12146 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
12147 not optimizing. Don't run shorten_branches.
12148 * toplev.c (rest_of_compilation): Run shorten_branches after
12151 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
12153 * rtl.h (note_stores): Add additional paramter.
12154 * rtlanal.c (reg_set_p_1): Take additional paramter.
12155 (reg_set_last_1): Likewise.
12156 (reg_set_p): Adjust call to note_stores.
12157 (reg_set_last): Likewise.
12158 (note_stores): Pass data parameter to worker function.
12159 * alias.c (record_set): Take additional parameter.
12160 (init_alias_analysis): Pass it.
12161 * caller-save.c (mark_set_regs): Take additional parameter.
12162 (save_call_clobbered_regs): Pass NULL to note_stores.
12163 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
12165 (record_dead_and_set_regs_1): Likewise.
12166 (reg_dead_at_p_1): Likewise.
12167 (combine_instructions): Adjust calls to note_stores.
12168 (try_combine): Likewise.
12169 (record_dead_insn): Remove.
12170 (record_dead_and_set_regs): Adjust calls to note_stores.
12171 (reg_dead_at_p): Likewise.
12172 * cse.c (invalidate_skipped_set): Take additional parameter.
12173 (cse_check_loop_start): Likewise.
12174 (cse_check_loop_start_value): Remove.
12175 (cse_set_around_loop): Adjust calls to note_stores.
12176 * flow.c (notice_stack_pointer_modification): Take additional
12177 parameter. Remove duplicate declaration.
12178 (record_volatile_insns): Adjust calls to note_stores.
12179 * gcse.c (record_set_info): Take additional parameter.
12180 (record_last_set_info): Likewise.
12181 (invalidate_nonnull_info): Likewise.
12182 (record_set_insn): Remove.
12183 (compute_sets): Adjust calls to note_stores.
12184 (last_set_insn): Remove.
12185 (compute_hash_table): Adjust calls to note_stores.
12186 (insert_insn_end_bb): Likewise.
12187 (delete_null_pointer_checks): Likewise.
12188 * global.c (mark_reg_store): Take additional parameter.
12189 (mark_reg_clobber): Likewise.
12190 (reg_becomes_live): Likewise.
12191 (global_conflicts): Adjust calls to note_stores.
12192 (build_insn_chain): Likewise.
12193 * integrate.c (note_modified_parmregs): Take additional parameter.
12194 (mark_stores): Likewise. Make it static.
12195 (save_for_inline_nocopy): Adjust calls to note_stores.
12196 (try_constants): Likewise.
12197 * integrate.h (mark_stores): Remove declaration.
12198 * jump.c (mark_modified_reg): Take additional parameter.
12199 (thread_jumps): Adjust calls to note_stores.
12200 * local-alloc.c (validate_equiv_mem_from_store): Take additional
12202 (no_equiv): Likewise.
12203 (reg_is_set): Likewise.
12204 (validate_equiv_mem): Adjust calls to note_stores.
12205 (update_equiv_regs): Likewise.
12206 (block_alloc): Likewise.
12207 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
12208 (note_addr_stored): Take additional parameter.
12209 (note_set_pseudo_multiple_uses): Likewise.
12210 (record_initial): Likewise.
12211 (prescan_loop): Adjust calls to note_stores.
12212 (strength_reduce): Likewise.
12213 (check_dbra_loop): Likewise.
12214 * regmove.c (flags_set_1): Take additional paramter.
12215 (mark_flags_life_zones): Adjust calls to note_stores.
12216 * reload1.c (mark_not_eliminable): Take additional parameter.
12217 (forget_old_reloads_1): Likewise.
12218 (reload_cse_invalidate_rtx): Likewise.
12219 (reload_cse_check_clobber): Likewise.
12220 (reload_combine_note_store): Likewise.
12221 (move2add_note_store): Likewise.
12222 (reload): Adjust calls to note_stores.
12223 (reload_as_needed): Likewise.
12224 (emit_reload_insns): Likewise.
12225 (reload_cse_regs_1): Likewise.
12226 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
12227 (reload_combine): Adjust calls to note_stores.
12228 * resource.c (update_live_status): Take additional paramter.
12229 (mark_target_live_regs): Adjust calls to note_stores.
12230 * stupid.c (find_clobbered_regs): Take additional parameter.
12231 (stupid_life_analysis): Adjust calls to note_stores.
12233 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
12235 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
12238 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
12241 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
12242 of the variable arm_structure_size_boundary.
12244 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
12246 * alias.c (init_alias_analysis): Allocate reg_known_value and
12247 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
12249 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
12250 * cse.c (cse_main): Call end_alias_analysis.
12251 * haifa-sched.c (schedule_insns): Likewise.
12252 * local-alloc. (update_equiv_regs): Likewise.
12253 * reload1.c (reload_cse_regs): Likewise.
12255 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12257 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
12258 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
12259 mapping from MASK_FPU.
12261 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
12263 * sparc.md (call): Don't bound structure return size to 0xfff.
12265 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
12267 * resource.c (mark_target_live_regs): Check that the target
12268 insn wasn't created after compute_bb_for_insn.
12270 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
12272 * ggc-page.c (poison_pages): Don't be overzealous.
12274 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
12276 * alias.c: Update comments for ADDRESS.
12277 (nonlocal_reference_p): Look inside the ADDRESS to determine if
12278 it is a local memory reference.
12280 * c-typeck.c (build_function_call): Check that the built-in
12281 function is of class BUILT_IN_NORMAL before trying to recongize
12282 it as BUILT_IN_ABS.
12283 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
12284 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
12286 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
12288 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
12290 (pre_gcse): Likewise.
12291 (hoist_expr_reaches_here_p): Likewise.
12292 (hoist_code): Likewise.
12293 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
12295 (pre_expr_reaches_here_p_work): ... here.
12296 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
12298 (expr_reaches_here_p_work): ... here.
12300 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
12302 * resource.c (find_basic_block): Delete.
12303 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
12304 (init_resource_info): Call compute_bb_for_insn.
12306 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
12308 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
12309 with already adjacent blocks, but no fallthru.
12310 (merge_blocks_move_successor_nojumps): Simplify.
12311 (debug_flow_info): New.
12313 * toplev.c (rest_of_compilation): Open jump1 dump file before
12314 jump and close after, as opposed to just using dump_rtl.
12316 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12318 * reload.h (earlyclobber_operand_p): Declare.
12319 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
12320 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
12321 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
12322 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
12324 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
12325 Richard Henderson <rth@cygnus.com>
12327 * emit-rtl.c (emit_block_insn_before): New.
12328 (emit_block_insn_after): New.
12329 * basic-block.h: Declare them.
12331 * bitmap.h: Protect from multiple inclusion.
12333 * recog.c (scratch_operand): Handle VOIDmode correctly.
12335 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
12337 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
12338 * function.c (assign_parms): Likewise.
12339 * global.c (global_conflicts): Clarify STACK_REGS commentary.
12341 * reg-stack.c (max_uid): Remove.
12342 (blocks, block_begin, block_end, block_drops_in): Remove.
12343 (block_stack_in, block_out_reg_set, block_number): Remove.
12344 (struct block_info_def, BLOCK_INFO): New.
12345 (enum emit_where): New.
12346 (current_block): New.
12347 (BLOCK_NUM): Remove.
12348 (mark_regs_pat, record_label_references): Remove.
12349 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
12351 (goto_block_pat, print_blocks, dump_stack_info): Remove.
12352 (reg_to_stack): Simplified test for existance of fp code. Use
12353 flow.c code. Call shorten_branches after cross-jump opt.
12354 (check_asm_stack_operands): Renamed from record_asm_reg_life.
12355 Return false if the asm doesn't use stack regs. Don't do life
12356 analysis on the asm.
12357 (emit_pop_insn): Replace function pointer arg `when' with
12358 enum `where'. Update all callers.
12359 (change_stack): Likewise. Update basic block end.
12360 (emit_swap_insn): Use current_block->head to limit reverse search
12361 for start of block. Use emit_block_insn_after.
12362 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
12363 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
12364 structure assignment instead of bcopy.
12365 (print_stack): New.
12366 (convert_regs_entry, convert_regs_exit): New.
12367 (convert_regs_1, convert_regs_2): Split out from convert_regs.
12368 Work on basic blocks and the CFG.
12369 (convert_regs): Use them.
12371 * i386.c (output_fix_trunc): Remove code for DImode input operand
12372 not at top-of-stack.
12373 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
12375 (fix_truncdi_1): Allow any mode scratch.
12377 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
12379 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
12380 * linux.h, netbsd.h, vms.h: Not here.
12382 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
12384 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
12385 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
12386 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
12387 CONDITIONAL_REGISTER_USEAGE): Use them.
12388 * config/mips/mips.c (mips_move_1word,mips_move_2words,
12389 gen_conditional_branch,override_options) : Use them.
12390 * config/mips/mips.md : Use them.
12392 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
12394 * i386.md (zero_extendqihi2): Use SImode register name with andl.
12396 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
12398 * integrate.c (function_cannot_inline_p): Don't allow inlining
12401 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12403 * c-parse.in (cast_expr): Constify.
12405 * cccp.c (special_symbol): Likewise.
12407 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
12409 * dwarf2out.c (base_type_die): Likewise.
12411 * global.c (allocno_compare): Likewise.
12413 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
12415 * regclass.c (fix_register): Likewise.
12417 * rtl.h (fix_register): Likewise.
12419 * stupid.c (stupid_reg_compare): Likewise.
12421 * toplev.c (decode_f_option): Likewise.
12423 * tree.c (build_complex_type): Likewise.
12425 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
12427 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
12429 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12431 * reload.c (find_reloads): Compute mode and nregs fields of all
12433 * reload1.c (calculate_needs_all_insns): Simplify a bit.
12434 (calculate_needs): Use precomputed mode/nregs values.
12435 (allocate_reload_reg): Likewise.
12437 (failed_reload, set_reload_reg): ... new functions.
12438 (choose_reload_regs_init): New function, mostly broken out from...
12439 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
12440 Also lose one #if 0 block.
12442 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
12444 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
12447 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
12449 * tree.h (BLOCK_TYPE_TAGS): Remove.
12450 (BLOCK_END_NOTE): Likewise.
12451 (BLOCK_LIVE_RANGE_FLAG): Likewise.
12452 (BLOCK_LIVE_RANGE_START): Likewise.
12453 (BLOCK_LIVE_RANGE_END): Likewise.
12454 (tree_block): Remove live_range_flag, live_range_var_flag, and
12455 type_tags. Remove end_note, live_range_start, and live_range_end.
12456 (remember_end_note): Remove prototype.
12457 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
12458 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
12460 * ggc-common.c (ggc_mark_tree_children): Don't mark
12461 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
12462 * integrate.c (adjust_copied_decl_tree): Remove.
12463 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
12464 * stmt.c (last_block_end_note): Remove.
12465 (init_stmt): Don't add a GC root for it.
12466 (expand_fixup): Don't set it.
12467 (remember_end_note): Remove.
12468 (expand_end_bindings): Don't set last_block_end_note.
12470 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12472 * reload1.c (reload_reg_free_for_value_p): Show
12473 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
12476 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
12478 * expmed.c (extract_bit_field): Allow for the case of non-integer
12479 objects that are smaller than a word (like SFmode on a 64-bit
12482 * loop.c (basic_induction_var): A non-integer variable which is
12483 being set by a paradoxical subreg is probably not a biv.
12485 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12487 * prefix.c (translate_name) Check for empty prefix string.
12489 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
12491 * Makefile.in (CPP_CROSS_NAME): New variable.
12492 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
12494 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
12495 names of the files to be uninstalled.
12497 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
12499 * collect2.c (IS_DIR_SEPARATOR): Define.
12500 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
12502 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
12505 * haifa-sched.c (add_dependence): Update the true dependency
12506 cache the first time we add a true dependence to the LOG_LINKS chain.
12508 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
12510 * fold-const.c (fold): Fix comment.
12512 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12514 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
12515 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
12516 dbxout_start_new_source_file, dbxout_source_file,
12517 dbxout_source_line, dbxout_finish, dbxout_type_fields,
12518 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
12520 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
12521 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
12522 (dbxout_block): Initialize variable `blocknum'.
12524 * dbxout.h (dbxout_init, dbxout_finish,
12525 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
12526 dbxout_args, dbxout_source_line): Constify a char*.
12528 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
12529 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
12530 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
12531 low_pc_attribute, high_pc_attribute, body_begin_attribute,
12532 body_end_attribute, comp_dir_attribute, sf_names_attribute,
12533 src_info_attribute, mac_info_attribute, producer_attribute,
12534 lookup_filename, generate_macinfo_entry, fundamental_type_code,
12535 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
12536 dwarfout_undef): Constify a char*.
12537 (add_incomplete_type, retry_incomplete_types): Add prototypes.
12539 * dwarfout.h (dwarfout_define, dwarfout_undef,
12540 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
12542 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
12544 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
12545 (MULTILIB_ISA_DEFAULT): New.
12546 (MULTILIB_DEFAULTS): Use it.
12547 * config/mips/mips.c (): Remove the now unnecessary definition
12548 of MIPS_ISA_DEFAULT.
12549 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
12550 unnecessary definition.
12552 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
12554 * arm.md (pic_load_addr): Add constraints to operand 1.
12556 1999-10-25 Bruce Korb <autogen@linuxbox.com>
12558 * fixinc/genfixes: Provide a means for specifying -D options to
12561 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
12563 * arm.c (arm_override_options): Correct initialization of
12564 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
12565 arm_is_strong, and arm_is_6_or_7.
12567 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
12568 (note_set_pseudo_multiple_uses): New function.
12569 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
12570 if a pseudo set in the loop exit is used elsewhere.
12572 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
12574 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
12576 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
12578 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
12579 a single load-address pattern.
12581 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
12583 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
12584 depending on whether or not line-number notes are present.
12586 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12588 * cccp.c (progname, file_buf, default_include, include_file,
12589 macrodef, definition, hashval, wchar_type, user_label_prefix,
12590 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
12591 expand_to_temp_buffer, is_system_include, base_name,
12592 absolute_filename, read_name_map, open_include_file,
12593 record_control_macro, check_precompiled, check_preconditions,
12594 pcfinclude, pass_thru_directive, create_definition,
12595 check_macro_name, comp_def_part, collect_expansion,
12596 check_assertion, read_token_list, assertion_install,
12597 assertion_lookup, eval_if_expression, conditional_skip,
12598 validate_else, skip_quoted_string, quote_string, macarg1,
12599 error_from_errno, install, lookup, hashf, dump_defn_1,
12600 perror_with_name, pfatal_with_name, main, trigraph_pcp,
12601 check_white_space, rescan, handle_directive, monthnames,
12602 special_symbol, do_include, remap_include_file, write_output,
12603 arglist, do_assert, do_unassert, do_line, do_error, do_once,
12604 do_ident, do_sccs, do_xifdef, skip_if_group,
12605 output_line_directive, macroexpand, macarg, change_newlines,
12606 initialize_builtins, make_definition): Constify a char*.
12608 * pcp.h (stringdef): Likewise.
12610 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
12612 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
12615 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
12616 Richard Henderson <rth@cygnus.com>
12618 * alias.c: Include ggc.h.
12619 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
12620 (record_set): Verify enough room in reg_base_value.
12621 (init_alias_analysis): Allocate reg_base_value with xcalloc.
12622 Register it as a GC root.
12623 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
12624 * Makefile.in (alias.o): Depend on ggc.h.
12626 * unroll.c (unroll_loop): Verify the insn before a barrier
12627 is a JUMP_INSN before checking JUMP_LABEL.
12629 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12631 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
12632 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
12633 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
12634 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
12635 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
12636 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
12638 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12640 * output.h (ctors_section, dtors_section, bss_section): Prototype.
12642 * alpha/alpha-interix.h (text_section): Delete prototype.
12643 * alpha/elf.h (text_section): Likewise.
12644 * arm/linux-elf.h (text_section): Likewise.
12645 * arm/linux-telf.h (text_section): Likewise.
12646 * c4x/c4x.h (text_section): Likewise.
12647 * dsp16xx/dsp16xx.h (bss_section): Likewise.
12648 * elfos.h (text_section): Likewise.
12649 * i386/aix386ng.h (text_section): Likewise.
12650 * i386/i386-interix.h (text_section): Likewise.
12651 * i386/sco5.h (text_section): Likewise.
12652 * i386/svr3gas.h (text_section): Likewise.
12653 * nextstep.h (text_section): Likewise.
12654 * psos.h (text_section): Likewise.
12655 * ptx4.h (text_section): Likewise.
12656 * svr3.h (text_section): Likewise.
12657 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
12659 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12661 * final.c (peephole): Delete prototype.
12663 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
12664 (pre_insert_copies): Remove unused variable `bb'.
12666 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
12669 * output.h (peephole): Add prototype.
12671 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
12673 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
12676 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
12678 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
12679 for inlined declarations.
12681 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
12683 * arm.c (logical_binary_operator): New fucntion.
12684 * arm.h (logical_binary_operator): Declare it.
12685 (PREDICATE_CODES): Handle logical_binary_operator.
12686 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
12687 output constraints. Add appropriate splitters.
12688 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
12689 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
12690 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
12692 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12694 * genoutput.c (struct operand_data): New elt eliminable.
12695 (output_operand_data): Write it.
12696 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
12697 (compare_operands): Take it into account.
12698 * recog.h (struct insn_operand_data): New elt eliminable.
12699 * reload1.c (check_eliminable_occurrences, elimination_effects): New
12701 (old_asm_operands_vec, new_asm_operands_vec): Delete.
12702 (eliminate_regs): Move code that detects changes to elimination
12703 target regs into new function elimination_effects.
12704 Delete one #if 0 block.
12705 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
12706 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
12707 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
12708 Only call eliminate_regs for real operands of the insn, not for parts
12709 of its structure or parts matched by things like match_operator.
12710 Use elimination_effects and check_eliminable_occurrences. Use
12711 copy_insn to duplicate the pattern when not in the final pass.
12713 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
12715 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
12718 1999-10-22 Bruce Korb <autogen@linuxbox.com>
12720 * fixinc/README: document the "mach" machine matching test
12721 * fixinc/fixfixes.c: Implement the #else/#endif label fix
12722 * fixinc/fixtests.c: Implement the #else/#endif label test
12723 * fixinc/inclhack.def: utilize these tests and fixes
12724 * fixinc/inclhack.sh: regen
12725 * fixinc/fixincl.x: regen
12726 * fixinc/fixincl.sh: regen
12728 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
12730 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
12733 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
12735 * gcc.1: Document exit codes.
12737 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12739 * calls.c: Include tm_p.h later, so everything we need is defined.
12740 * expr.c: Likewise.
12741 * function.c: Likewise.
12743 * except.c: Include tm_p.h.
12745 * sparc.c: Likewise.
12746 (dwarf2out_cfi_label): Don't prototype.
12747 (check_return_regs, epilogue_renumber,
12748 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
12749 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
12750 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
12751 ultra_schedule_insn): Add static prototype.
12752 (data_segment_operand, text_segment_operand): Call itself with the
12753 proper number of arguments.
12754 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
12756 * sparc.h: Move all declarations to sparc-protos.h.
12757 (SELECT_RTX_SECTION): Pass a missing MODE argument to
12760 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
12762 * config/svr4.h (text_section, ctors_section, dtors_section): Add
12764 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
12765 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
12766 ASM_OUTPUT_ASCII): Constify a char*.
12768 * sparc-protos.h: New file for sparc prototypes.
12770 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12772 * function.c (record_insns, contains): Always declare and define.
12773 (record_insns): Mark with ATTRIBUTE_UNUSED.
12775 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12777 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
12778 to .section when outputting a .bss section to deal with multiple
12779 .bss input sections (as happens with -fdata-sections)
12780 Also output %progbits, not @progbits so the assembler doesn't treat as
12782 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
12784 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
12785 thumb parts even when building with non-thumb CPUs, by forcing
12788 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
12790 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
12791 (movdf_const_intreg_sp64): Similarly.
12793 * local-alloc.c (update_equiv_regs): Check the correct insn
12794 for pre-existing REG_EQUIV notes.
12796 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
12798 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
12799 block reached by a branch if we're not going to actually process
12802 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
12804 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
12805 a local extern function declaration.
12807 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
12809 * i386.c (ix86_expand_prologue): Properly wrap USE around
12810 reg for CALL_INSN_FUNCTION_USAGE.
12812 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
12814 * config/mips/mips.md (movdf_internal1a): Allow floating-point
12815 move between GP_REGs.
12817 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
12819 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
12820 the mode size when finding out if an offset is legal.
12822 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
12824 * basic-block.h (PROP_*): Move constants from ...
12825 * flow.c: ... here.
12826 (compute_bb_for_insn): Free the array before reallocating.
12827 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
12828 (allocate_reg_life_data): Reset all reg variables collected by
12830 (get_block_head_tail): Don't convert from bb to block.
12831 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
12832 (find_insn_reg_weight): Take block not bb.
12833 (schedule_block): Don't set block num for moved insns.
12834 (schedule_region): Don't update_life_info or find_insn_reg_weight.
12835 (schedule_insns): Do it here instead.
12836 * combine.c (combine_instructions): Invoke compute_bb_for_insn
12837 before update_life_info.
12838 * recog.c (split_all_insns, peephole2_optimize): Update for
12839 new arg to update_life_info.
12840 * rtlanal.c (remove_note): Cope with NULL note.
12841 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
12844 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
12846 * jump.c (jump_optimize_1): More accurately detect casesi insns.
12848 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
12849 block records so that merge_blocks_nomove will clean up correctly.
12850 (split_edge): Handle casesi insns.
12852 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
12854 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
12856 * pa.md (call, call_value): Do not emit a blockage after restoring
12859 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
12861 * c-typeck.c (c_expand_asm_operands): Fix typo.
12863 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12865 * arm.c (fpu_rhs_operand): Verify modes.
12866 (fpu_add_operand): Likewise.
12867 (di_operand): Likewise.
12868 (soft_df_operand): Likewise.
12870 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
12872 * arm.c (arm_return_in_memory): APCS rules state that the elements
12873 of a structure returned in a register must be 'integer-like'.
12875 1999-10-19 Bruce Korb <autogen@linuxbox.com>
12877 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
12878 in the source tree when the generated targets are out of date
12879 * fixinc/genfixes: Alter it to run individual fixes for make.
12880 * fixinc/README: rewrite
12881 * fixinc/inclhack.def: moved initial comments to README
12883 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
12885 * toplev.c (main): Do not generate an error message if an
12886 unrecognised command line switch is recognisable by another
12887 language. If extra_warnings are enabled, then generate a
12888 warning message instead.
12890 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
12892 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
12893 (insert_pack_attributes): Delete prototype.
12895 * c-pragma.c (default_alignment): New static variable.
12896 (push_alignment): Initialize to current effective alignment.
12897 (pop_alignment): Use to set new alignment.
12898 (insert_pack_attributes): Delete function.
12899 (handle_pragma_token): Set default_alignment as well each time
12900 a #pragma pack(<n>) is encountered.
12902 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
12904 * reg-stack.c (stack_result): Aggregates are not returned in
12907 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12909 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
12911 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
12913 * basic-block.h (set_block_num): Declare.
12914 * flow.c (update_life_info): Don't call compute_bb_for_insn
12915 or free_basic_block_vars.
12916 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
12917 (insn_orig_block): Remove.
12918 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
12919 (schedule_block): Keep BLOCK_NUM up-to-date.
12920 (schedule_insns): Use compute_bb_for_insn.
12921 * recog.c (split_all_insns): Likewise.
12922 (peephole2_optimize): Likewise.
12924 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
12926 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
12927 if the pic register is used.
12929 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12931 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
12932 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
12933 if that tests TREE_PERMANENT.
12935 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
12937 * cse.c (invalidate_for_call): Do not remove memory references from
12938 the table here. It's handled elsewhere.
12940 * haifa-sched.c (add_dependence): Protect references to the
12941 true dependency cache with #ifdef INSN_SCHEDULING.
12942 (remove_dependence): Similarly.
12944 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
12945 to the cfg code that this is a return instruction.
12946 * mn10300.md (return_internal): Similarly.
12948 * combine.c (get_last_value): If the last set of a register
12949 is after subst_low_cuid, then we can not use it to determine
12950 the register's last value.
12952 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
12954 * Makefile.in: Back out previous change.
12956 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
12958 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
12960 * haifa-sched.c (add_dependence): Only check/update the cache
12962 (remove_dependence): Likewise.
12963 (schedule_insns): Only create the true_dependency_cache if the
12964 average number of instructions in a basic block is very large.
12966 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
12968 * Makefile.in (ggc-common.o): Depend on genrtl.h.
12969 (ggc-simple.o): Likewise.
12970 (ggc-page.o): Likewise.
12972 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
12974 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
12975 Prototype for exported functions.
12976 (pre_lcm, pre_rev_lcm): Remove prototypes.
12977 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
12978 (compute_available): Move to lcm.c, and change parameter order.
12979 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
12980 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
12981 (gcse_main): No longer call compute_preds_succs. Rebuild the
12982 set table after reach pre pass.
12983 (pre_insert_map, pre_delete_map, edge_list): New.
12984 (alloc_pre_mem): Allocate edge vectors.
12985 (free_pre_mem): Delete edge vectors.
12986 (compute_pre_data): Call new edge based lcm routines.
12987 (process_insert_insn): New function.
12988 (insert_insn_end_bb): Use it.
12989 (pre_edge_insert): New function.
12990 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
12992 (pre_insert_copies): Revamp using new edge based lcm outputs.
12993 (pre_delete): Likewise.
12994 (one_pre_gcse_pass): Insert & remove fake edges to the exit
12996 (compute_code_hoist_vbeinout): New new edge based routines.
12997 * lcm.c: Remove all the old LCM functions. Replace with new ones
12998 that work with the new cfg datastructures and work with edges
13001 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13003 * reload.h (struct reload): Add new fields "mode" and "nregs".
13004 * reload1.c: Change all occurrences of reload_mode and reload_nregs
13005 to reference the "mode" and "nregs" field within struct reload.
13007 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
13009 * haifa-sched.c (true_dependency_cache): New.
13010 (add_dependence): Use the true dependency cache to avoid expensive
13011 walks down the LOG_LINKS dependency list. Add entries to the
13012 cache as necessary.
13013 (remove_dependence): Remove entries from the true dependency cache
13015 (schedule_insns): Allocate and initialize and free the true
13018 * haifa-sched.c (schedule_insns): Do not remove inter-block
13019 dependencies anymore.
13021 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
13023 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13024 * i386/t-winnt: Likewise.
13026 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
13028 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13030 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
13032 * Makefile.in (LANGUAGES): Omit "proto".
13033 (clean): Remove stale comment about removing unprotoize.c.
13035 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13037 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
13038 using arithmetic on void pointers.
13040 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
13042 * haifa-sched.c (compute_block_forward_dependencies): Only check
13043 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
13045 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
13047 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
13048 (expr_equiv_p): Reject memories with different alias sets.
13050 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
13052 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
13053 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
13054 (f_options): Add "bounded-pointers" and "bounds-check" entries.
13055 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
13056 (lang_init): Set default for flag_bounds_check if still "unspecified".
13058 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13060 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
13062 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13064 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
13067 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13069 * config/c4x/c4x.md (*db_noclobber,
13070 *decrement_and_branch_until_zero_noclobber): New patterns and
13071 associated splitters.
13073 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13075 * config/c4x/c4x.md (parallel instruction patterns): Rework
13076 constraints to keep reload happy.
13078 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13080 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
13081 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
13082 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
13083 Add new patterns and associated post-reload splitters.
13085 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13087 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
13089 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13091 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
13093 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
13095 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13097 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
13100 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
13102 * pa.c (move_operand): Rely on memory_address_p to determine the
13103 validity of non-indexed memory addresses.
13104 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
13105 operand in DFmode and SFmode when generating PA2.0 code.
13107 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
13109 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
13111 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
13113 * mips.c (function_prologue): Fix argument types.
13114 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
13115 (casesi_internal): Write to the scratch register.
13117 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
13119 * cppexp.c (cpp_parse_escape): Make static. Change second arg
13121 (parse_charconst): Delete unnecessary cast when calling
13123 (cpplib.h): Kill prototype of cpp_parse_escape.
13125 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
13127 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
13128 * unroll.c (unroll_loop): Cast return value of alloca.
13129 * i370/i370.c: Include function.h and toplev.h.
13130 (i370_label_scan): Remove c++ commented abort.
13131 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
13132 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
13133 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
13134 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
13136 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
13138 * config/t-freebsd: Do not override USER_H.
13139 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
13141 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
13142 Mumit Khan <khan@xraylith.wisc.edu>
13144 * c-parse.in (component_decl): Support anonymous struct/union.
13146 * c-parse.y: Regenerate.
13147 * c-parse.c: Likewise.
13148 * objc/objc-parse.y: Likewise.
13149 * objc/objc-parse.c: Likewise.
13150 * c-decl.c (finish_struct): Don't sort the fields.
13151 (field_decl_cmp): Delete unused function.
13153 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
13155 * sparc.md (movsf_const_intreg): Revert last constraint change.
13156 (movdf_const_intreg_sp32): Likewise.
13158 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
13160 * cse.c: Include hashtab.h instead of splay-tree.h
13161 (struct cse_reg_info): No longer use variant union. Add new
13162 field "regno". All references changed to avoid union.
13163 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
13164 (free_cse_reg_info): Remove.
13165 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
13166 (get_cse_reg_info): Revamp to use expandable hash tables instead
13167 of splay trees. Initialize new fields in cse_reg_info structure.
13168 (new_basic_block): Similarly.
13170 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
13172 * genrecog.c (message_with_line): Prototype.
13173 (validate_pattern): Pass along the set for the dest, not a flag.
13174 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
13175 Check for PC/CC0 as sources.
13176 (nodes_identical): Check for children position match before
13177 allowing the combination.
13179 * rtl.c (read_rtx): Track line number across \\\n.
13181 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
13183 * mips.h (SPECIAL_MODE_PREDICATES): New.
13184 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
13185 (movdi+1, movsi+1): Add output reload constraint.
13186 (casesi_internal): Likewise. Fix commentary.
13187 (return_internal): Use pmode_register_operand.
13189 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
13191 * 1750a.md (movstrqi): Add missing output reload constraint.
13192 (call_value): Likewise.
13193 * a29k.md (cpxxx patterns): Add missing match_operator mode.
13194 (jmpfdec): Add missing inout reload constraint.
13195 * elxsi.md (addsi patterns): Add missing output reload constraint.
13196 (move from sp): Use @ alternates.
13197 (call_value): No constraint on output.
13198 * fr30.md (movsi_pop): Add missing output reload constraint.
13199 (movsf_constant_store): Likewise.
13200 (splits): Remove constraints.
13201 (subsi3): Add missing mode.
13202 * i370.md (cmpstrsi+1): Add missing output reload constraint.
13203 (call_value): Likewise.
13204 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
13205 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
13206 * m32r.md (movsicc_internal): Add output reload constraint.
13207 (movstrsi_internal): Add inout reload constraints.
13208 * m88k.h (reg_names): Don't declare.
13209 (SPECIAL_MODE_PREDICATES): New.
13210 * m88k.md (*): Use register_operand not reg_or_0_operand
13212 * mn10200.h (PREDICATE_CODES): New.
13213 * ns32k.md (ffs pattern): Add output reload constraint.
13214 * pdp11.md (sob pattern): Add inout reload constraint.
13215 * sh.md (splits): Remove constraints.
13216 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
13217 * v850.md (pattern_is_ok_for_epilogue): Likewise.
13218 * vax.md (jgequ pattern): Add inout reload constraint.
13220 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
13222 * configure.in (djgpp): Revert previous patch.
13223 * configure: Rebuit.
13224 * config/i386/djgpp.h: Revert previous patch.
13226 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
13228 * fixinc/inclhack.def: Restore patch lost during last merge of
13229 "no_bogosity" branch.
13230 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13232 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
13234 * fixincludes: Add a HPUX 11 fix for inttypes.h.
13235 * fixinc/inclhack.def: Same.
13236 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
13238 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
13240 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
13241 as the base of a PLUS.
13243 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13245 * config/c4x/c4x.md: Define mode for remaining unspec operators.
13246 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
13248 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
13250 * pa.md (post_stw+1): Use pmode_register_operand.
13251 (dcacheflush, icacheflush): Likewise.
13253 * i386.md (movstricthi_1): Allow r/r.
13255 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
13257 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
13258 to (not (and (arg0) (arg1))). Similary for and.
13260 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
13261 fallthrough to associate code.
13262 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
13265 * combine.c (simplify_logical): Convert XOR to IOR if operands have
13266 no bits in common; remove XOR to ROTATE conversion.
13268 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13270 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
13272 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13274 * config/c4x/c4x.c (dst_operand): New.
13275 (PREDICATE_CODES): Update.
13276 * config/c4x/c4x.h (dst_operand): Declare it.
13277 * config/c4x/c4x.md: Define mode for each unspec usage.
13278 (move patterns): Use dst_operand predicate instead of src_operand.
13279 (movqi_update, movqf_update): Delete.
13281 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
13283 * recog.c (pmode_register_operand): New.
13284 * recog.h: Declare it.
13285 * genrecog.c (pred_codes): Likewise.
13286 (special_mode_pred_table): Likewise.
13287 (validate_pattern): Don't warn no mode for address_operand.
13289 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
13290 if the operand is not insn-like.
13292 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
13293 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
13295 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
13297 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
13299 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
13300 instead of general_operand in a SET_DEST. Use const_double_operand
13301 instead of an explicit test against CONST_DOUBLE.
13302 (movsf_const_lo): Add missing register mode.
13303 (goto_handler_and_restore): Add auxiliary test for Pmode.
13304 (flush): Adjust to use address_operand.
13305 (return_sf_no_fpu): Add missing output constraint.
13307 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
13309 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
13310 for call return value.
13311 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
13313 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
13315 * toplev.c (main): Only warn about options for other languages.
13316 * collect2.c (main): Pass -w to sub-gcc.
13318 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
13320 * flow.c (propagate_block): Add call-clobbered registers to
13323 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
13324 zapping mem_set_list.
13325 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
13326 (mark_set_1, mark_used_regs): Likewise.
13328 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
13330 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
13332 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13334 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
13335 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
13336 options. Also add a new item "C-only Warning Options" to the
13339 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
13341 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
13342 from multiple calls.
13344 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
13346 * i386.md (call value patterns): Move to the end of the file.
13347 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
13349 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
13351 * configure.in (djgpp configuration): Define extra_objects..
13352 * configure: Rebuilt.
13353 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
13354 (DTORS_SECTION_ASM_OP): Define.
13355 (INIT_SECTION_ASM_OP): Define.
13356 (FINI_SECTION_ASM_OP): Define.
13357 (DATA_SECTION_ASM_OP): Define.
13358 (TEXT_SECTION_ASM_OP): Define.
13359 (EH_FRAME_SECTION_ASM_OP): Define.
13360 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
13361 (STARTFILE_SPEC): Add crtbegin.o.
13362 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
13363 to here from LINK_COMMAND_SPEC.
13364 (DO_GLOBAL_CTORS_BODY): Define.
13365 (CRTSTUFF_USE_FINI_SECTION): Define
13366 (HAS_INIT_SECTION): Delete.
13368 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
13370 * Makefile.in (all.cross): Depend on xcpp$(exeext).
13372 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
13374 * pa.h (PREDICATE_CODES): New.
13376 * genrecog.c (validate_pattern): Condense the destination
13377 non-lvalue message.
13379 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
13381 * alpha.md (call-1): Supply missing mode for operator.
13382 (*): Add missing output reload constraints. Remove constraints
13383 from define_splits.
13385 * i386.h (SPECIAL_MODE_PREDICATES): New.
13386 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
13387 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
13388 (addsi_lea_3): Add missing mode for op 3.
13389 (prologue_set_got, prologue_get_pc): Add missing modes.
13390 (*) Add missing output reload constraints.
13392 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
13394 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
13395 check for member bit-size overflow and use var_size if it occurs.
13396 (layout_record): Use bitsize_int() to define the type size in bits.
13397 Likewise for computation and assignment to DECL_FIELD_BITPOS.
13398 (layout_decl): Likewise when assigning to DECL_SIZE.
13400 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
13402 * genrecog.c (validate_pattern): Typo last change. Verify
13403 that output operands have output reloads.
13405 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
13407 * genrecog.c (special_mode_pred_table): New.
13408 (NUM_SPECIAL_MODE_PREDS): New.
13409 (find_operand): New.
13410 (validate_pattern): New argument `insn'. Warn for assignment to
13411 any predicate accepting non-lvalues. Conditionaly warn for
13412 match_operand without a mode. Try much harder to match source
13413 and destination modes on a set.
13414 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
13416 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
13418 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
13420 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
13422 * combine.c (simplify_logical): Recognize xor pattern that encodes
13425 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13427 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
13430 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
13432 * ggc-page.c (MAP_FAILED): Provide default.
13434 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
13436 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
13437 * sparc.h (PREDICATE_CODES): Update.
13439 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
13441 * alpha.c (some_ni_operand): New.
13442 * alpha-protos.h: Declare it.
13443 * alpha.h (PREDICATE_CODES): Update.
13444 * alpha.md (sXaddq reload insns): Use some_ni_operand
13445 for SET_DEST instead of some_operand.
13447 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
13448 Jim Wilson <wilson@cygnus.com>
13450 * genrecog.c (maybe_both_true_2): Don't compare modes of
13452 (process_tree): Elide peephole2_insns. Invoke simplify_tests
13453 after find_afterward.
13454 (debug_decision_1): Dump next and afterward codes.
13456 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
13458 * rtl.c (dump_and_abort): Remove.
13459 (fatal_with_file_and_line): New.
13460 (fatal_expected_char): New.
13461 (read_rtx_lineno, read_rtx_filename): New.
13462 (read_skip_spaces): Track line number.
13463 (read_name): Use fatal_with_file_and_line.
13464 (read_rtx): Use fatal_expected_char. Track line number.
13465 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
13467 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
13468 if it isn't a CODE_LABEL.
13470 * genattr.c (main): Set read_rtx_filename.
13471 * genattrtab.c (main): Likewise.
13472 * gencodes.c (main): Likewise.
13473 * genconfig.c (main): Likewise.
13474 * genemit.c (main): Likewise.
13475 * genextract.c (main): Likewise.
13476 * genflags.c (main): Likewise.
13477 * genopinit.c (main): Likewise.
13478 * genoutput.c (main): Likewise.
13479 * genpeep.c (main): Likewise.
13481 * genrecog.c (decision_test.u.insn): Add `lineno'.
13482 (pattern_lineno, error_count): New variables.
13483 (message_with_line): New.
13484 (add_to_sequence): Break out checking code to ...
13485 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
13486 (merge_insn): Use message_with_line.
13487 (make_insn_sequence): Use validate_pattern. Record insn lineno.
13488 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
13490 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13492 * expr.c (store_constructor): Clear union if constructor is empty.
13494 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
13496 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
13497 Add !endian checks. Change %{...} to %(...).
13499 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
13501 * i386.md (*addsi3_cc): Renamed from addcsi3.
13502 (*addsi3_carry): Renamed from addxsi3.
13503 (*subsi3_cc): Renamed from subcsi3.
13504 (*subsi3_carry): Renamed from subxsi3.
13505 (*xorqi_cc_1): Renamed from xorcqi_1.
13506 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
13507 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
13509 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
13511 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
13512 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
13514 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
13516 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
13517 climb up the chain of insns.
13519 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
13521 * genrecog.c (write_subroutine): Careful for null trees.
13522 (process_tree): Don't elide empty functions.
13524 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
13526 * Makefile.in (genrtl.o): Depend on ggc.h.
13527 * configure.in (valloc): Probe for it.
13528 (with-gc): Use ggc-page if valloc present.
13529 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
13530 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
13531 (ggc_alloc_string): Moved from ggc-page.c.
13532 * ggc-none.c (ggc_alloc_obj): New.
13533 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
13534 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
13535 (struct globals): Likewise for dev_zero_fd.
13536 (init_ggc): Likewise for it's initialization.
13537 (ggc_allocated_p): Move careful dereference from ...
13538 (ggc_lookup_page_table): ... here. Delete.
13539 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
13540 (alloc_anon): Use valloc if no mmap.
13541 (release_pages): Use free if using valloc.
13542 (ggc_alloc_obj): Renamed from alloc_obj.
13543 (ggc_set_mark): Renamed from mark_obj.
13544 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
13545 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
13546 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
13547 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
13548 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
13549 (ggc_collect): Use fp printing instead of our own rounding.
13550 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
13551 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
13552 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
13553 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
13554 (struct ggc_string, struct ggc_any): Delete.
13555 (offsetof): Provide default definition.
13556 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
13558 (struct ggc_mem): New, from corpse of ggc_any.
13559 (struct ggc_status): Delete.
13560 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
13561 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
13562 (n_strings_collected, n_anys_collected): Delete.
13563 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
13564 (ggc_alloc_string, ggc_alloc): Delete.
13565 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
13566 (ggc_free_string, ggc_free_any): Delete.
13567 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
13568 (ggc_compare_addresses, ggc_mark_string): Delete.
13569 (ggc_mark_string_if_gcable, ggc_mark): Delete.
13570 (search_data): Delete.
13571 (struct globals): New.
13572 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
13573 (tree_insert, tree_lookup): New.
13574 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
13575 (clear_marks, sweep_objs): New.
13576 (ggc_collect): Gut. Use clear_marks, sweep_objs.
13577 (init_ggc): Set allocated_last_gc.
13578 (ggc_push_context): Gut. Use G.context.
13579 (ggc_pop_context): Likewise.
13580 (ggc_pop_context_1): New.
13581 (debug_ggc_tree): New.
13582 (debug_ggc_balance, tally_leaves): New.
13583 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
13584 (ggc_mark_string_if_gcable): Remove decl.
13585 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
13586 (ggc_mark_rtvec_children): New.
13587 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
13588 (ggc_mark_if_gcable): New decl.
13589 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
13590 (ggc_alloc_tree, ggc_alloc): Likewise.
13591 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
13592 (ggc_alloc_obj): New decl.
13593 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
13594 (ggc_alloc_tree, ggc_alloc): Likewise.
13595 (ggc_set_mark): New decl.
13596 * rtl.h (struct rtx_def): Remove gc_mark.
13597 (struct rtvec_def): Likewise.
13598 * tree.h (struct tree_common): Likewise.
13600 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
13602 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
13603 float_format and thread_file definitions.
13604 * configure: Rebuilt.
13606 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
13608 * extend.texi (Function Names): Document types of function names.
13610 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13612 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
13613 an earlyclobbered output conflict with RELOAD_INPUT reloads.
13615 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13617 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
13619 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13621 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
13623 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
13625 * collect2.c (main): Do prelimnary link on AIX if rflag.
13627 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
13629 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
13630 __CTOR_LIST__ in opposite order, which is the correct order for sorted
13632 (__do_global_dtors): similarly for __DTOR_LIST__.
13634 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13635 Diego Novillo <dnovillo@cygnus.com>
13637 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
13640 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
13642 * fixincl/*: Merged "no_bogosity" branch
13643 * fixincl/fixlib.h: protect against doubly defining t_bool
13644 * fixincl/server.h: protect against doubly defining t_bool
13646 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
13648 * genoutput.c: Include toplev.h.
13650 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
13652 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
13654 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
13655 * configure: Regenerate.
13657 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
13659 * gcse.c (delete_null_pointer_checks): Returns void.
13661 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13663 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
13664 * emit-rtl.c (copy_insn_1): Likewise.
13666 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
13668 * config/mips/mips.c (mips_build_va_list): Correct
13669 TREE_CHAIN setting when hard-float.
13670 (mips_va_start): Use corrected setting.
13671 (mips_va_arg): Likewise. Also pass a tree to build of
13672 POSTINCREMENT_EXPR rather than a naked 'int'.
13674 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
13676 * ggc.h (ggc_push_context): Fix comment.
13677 (ggc_pop_context): Likewise.
13678 (mark_string_if_gcable): Likewise.
13679 * ggc-common.c (ggc_mark_rtx_children): Use
13680 ggc_mark_string_if_gcable.
13681 * ggc-page.c (ggc_lookup_page_table): New function.
13682 (ggc_allocated_p): Likewise.
13683 (mark_obj): Fix formatting.
13684 (ggc_mark_string_if_gcable): New function.
13685 * ggc-simple.c (ggc_allocated_strings): New variable.
13686 (ggc_strings_used): Likewise.
13687 (ggc_compare_addresses): New function.
13688 (ggc_pop_context): Pop the `any' memory too.
13689 (ggc_mark_string_if_gcable): New function.
13690 (ggc_collect): Initialize and tear down ggc_allocated_strings.
13692 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
13694 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
13695 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
13696 * rs6000.c (expand_block_move): Match movstrsi_?reg register
13699 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
13701 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
13702 (sched_reg_live_length, sched_reg_basic_block): Delete.
13703 (current_block_num, bb_live_regs, old_live_regs): Delete.
13704 (dead_notes, struct sometimes): Delete.
13705 (sched_note_set, birthing_insn_p): Delete.
13706 (adjust_priority): Gut useless reg lifetime code.
13707 (create_reg_dead_note, attach_deaths): Delete.
13708 (attach_deaths_insn, new_sometimes_live): Delete.
13709 (finish_sometimes_live): Delete.
13710 (find_pre_sched_live, find_post_sched_live): Delete.
13711 (update_reg_usage): Delete.
13712 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
13713 (schedule_insns): Delete reg lifetime code.
13714 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
13715 (unlink_other_notes): Adjust REG_NOTE commentary.
13716 (reemit_notes): Use REG_SAVE_NOTE.
13717 (schedule_block): Likewise.
13718 (schedule_region): Allocate bitmap of blocks in region. Use
13719 count_or_remove_death_notes. Use update_life_info.
13721 * rtl.h (REG_SAVE_NOTE): New.
13722 * rtl.c (reg_note_name): Update.
13724 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
13726 * combine.c (refresh_blocks, need_refresh): New.
13727 (combine_instructions): Allocate refresh_blocks. Invoke
13728 update_life_info if needed.
13729 (distribute_notes): Mark refresh_blocks instead of installing
13731 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
13732 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
13734 * Makefile.in (recog.o): Depend on basic-block.h.
13736 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
13738 * genrecog.c (add_to_sequence): Thinko last change: delete
13739 shadowing allow_const_int variable.
13741 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13743 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
13744 __GNUC__ and __GNUC_MINOR__.
13746 * gansidecl.h: Likewise.
13752 * toplev.h: Likewise.
13754 * tree.c: Likewise.
13756 * tree.h: Likewise.
13758 * varray.c: Likewise.
13760 * varray.h: Likewise.
13762 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13764 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
13765 use one before a jump table.
13767 * rtl.def (ADDRESS): Change documentation to match reality.
13768 * md.texi: Don't document it.
13769 * gmicro.md (load address pattern): Use 'p' constraint, delete use
13772 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
13774 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
13776 * genrecog.c (add_to_sequence): Move allow_const_int test outside
13777 known predicate block; default allow_const_int true.
13778 (debug_decision_list): New.
13780 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
13782 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
13784 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
13786 * gcse.c (gcse_main): Avoid global optimizations if we have a
13787 large number of basic blocks and the ratio of edges to blocks
13789 (delete_null_pointer_checks): Likewise.
13791 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
13793 * c-common.c (check_format_info): Warn if format string isn't a
13796 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
13798 * configure.in (arm*-*-*): Don't let autoconf remove brackets
13799 * configure: regenerate
13801 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
13803 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
13804 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
13805 (peepholes): Re-enable.
13807 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
13809 * Makefile.in (flow.o): Depend on TREE_H.
13810 * basic-block.h (REG_SET_EQUAL_P): New.
13811 (XOR_REG_SET): New.
13812 (n_edges): Declare.
13813 (free_regset_vector): Remove declaration.
13814 (flow_delete_insn_chain): Declare.
13815 (enum update_life_extent): New.
13816 (update_life_info, count_or_remove_death_notes): Declare.
13817 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
13818 Verify register live at bb->global_live_at_start before adding USE.
13819 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
13820 (CLEAN_ALLOCA): New.
13822 (PROP_*): New flags.
13823 (find_basic_blocks_1): Use alloc_EXPR_LIST.
13824 (clear_edges): Zero n_edges.
13825 (make_edge): Increment n_edges.
13826 (split_edge): Don't allocate bb->local_set. Increment n_edges.
13827 (flow_delete_insn_chain): Export.
13828 (delete_block): Decrement n_edges.
13829 (merge_blocks_nomove): Likewise.
13830 (life_analysis): Give life_analysis_1 PROP flags.
13831 (verify_wide_reg_1, verify_wide_reg): New.
13832 (verify_local_live_at_start): New.
13833 (update_life_info): Rewrite to call into propogate_block.
13835 (mark_regs_live_at_end): After reload, if epilogue as rtl,
13836 always mark stack pointer. Conditionally mark PIC register.
13837 After reload, mark call-saved registers, return regsiters.
13838 (life_analysis_1): Accept PROP flags not remove_dead_code.
13839 Call mark_regs_live_at_end before zeroing regs_ever_live.
13840 Use calculate_global_regs_live. Copy global_live_at_end before
13841 calling final propagate_block. Zero reg_next_use on exit.
13842 (calculate_global_regs_live): New.
13843 (allocate_bb_life_data): Don't allocate bb->local_set.
13844 (init_regset_vector, free_regset_vector): Remove.
13845 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
13846 Test flags before every operation. Warn if prologue/epilogue insn
13847 would have been deleted.
13848 (mark_set_regs, mark_set_1): Accept and use FLAGS.
13849 Use alloc_EXPR_LIST.
13850 (mark_used_regs): Accept and use FLAGS, not FINAL.
13851 Remove special handling for RETURN.
13852 (try_pre_increment): Use alloc_EXPR_LIST.
13853 (dump_flow_info): Dump n_edges.
13854 (unlink_insn_chain, split_hard_reg_notes): Remove.
13855 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
13856 (find_insn_with_note, new_insn_dead_notes): Remove.
13857 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
13858 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
13859 (replace_insns): Remove.
13860 (count_or_remove_death_notes): New.
13861 (verify_flow_info): Abort on error after all checks.
13862 (remove_edge): Decrement n_edges.
13863 (remove_fake_edges): Tweek format.
13864 * haifa-sched.c (schedule_insns): Use split_all_insns.
13865 * output.h (update_life_info): Remove declaration.
13866 * recog.c (split_all_insns): From the corpse of split_block_insns,
13867 do the whole function block by block. Use update_life_info.
13868 (recog_last_allowed_insn): New.
13869 (recog_next_insn): Mind it.
13870 (peephole2_optimize): Set it. Walk backwards through blocks.
13871 Use update_life_info.
13872 * rtl.h (update_flow_info, replace_insns): Remove declarations.
13873 (split_all_insns): Declare.
13874 * toplev.c (rest_of_compilation): Thread prologue before flow2.
13875 Use split_all_insns.
13877 * i386.md (or -1 peep2s): Disable.
13879 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
13881 * config/mips/mips.md (movstrsi+[123]) : Combine these into
13882 a single pattern. Scrap the 'd' versions as unnecessary.
13884 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
13885 tablejump_mips162,tablejump_internal4): The operands to a
13886 label_ref must be VOIDmode.
13888 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13890 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
13892 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
13894 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
13896 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
13898 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
13899 cache every function if ggc_p.
13901 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13903 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
13904 instead of copy_rtx. Accept sequences that contain asm statements.
13905 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
13906 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
13907 orig_asm_operands_vector, copy_asm_operands_vector,
13908 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
13910 * rtl.h (copy_insn, copy_insn_1): Declare.
13912 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13914 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
13916 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
13917 arguments to `current_file_function_operand'.
13919 * genrecog.c: Include hard-reg-set.h and resource.h in the
13920 generated output file.
13922 * real.c: Include tm_p.h.
13924 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13926 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
13929 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
13931 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
13932 before the fctiwz insn.
13934 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13935 Mark Mitchell <mark@codesourcery.com>
13937 * tree.c (make_lang_type_fn): New funtion pointer.
13938 (make_lang_type): Call it.
13939 * tree.h (make_lang_type): Declare.
13940 (make_lang_type_fn): Likewise.
13941 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
13943 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
13945 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
13946 make sure that HIGH instructions are copied into BASE_REGS.
13948 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
13950 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
13952 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
13954 * c-decl.c (finish_struct): Use simpler method of
13955 removing elements of a singly-linked list.
13957 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
13959 * alpha.md (peephole2's): Comment out peephole2's that generate
13962 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
13964 * genrecog.c (add_to_sequence): Disable mode check for
13967 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13969 * ggc-simple.c (init_ggc): Set empty_string.
13971 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
13973 * configure.in: Detect mmap. Add --with-gc=foo to select
13974 garbage collector; default to page if mmap available.
13975 * Makefile.in (GGC): Substitute.
13977 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
13979 * c-decl.c (ggc_p): Enable.
13981 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13983 * flow.c (verify_flow_info): Make it extern & unconditionally define.
13985 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
13987 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
13988 string for little-endian-data.
13990 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
13992 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
13993 case somebody tries to compile --enable-checking code with gcc
13996 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
13998 * genrecog.c (add_to_sequence): Verify operand to label_ref is
14001 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
14003 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14004 * jump.c (jump_optimize_1): Document why.
14006 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14008 * collect2.c (scan_prog_file, scan_libraries): Prototype function
14009 pointers and casts for `int_handler' and `quit_handler'.
14011 * flow.c (verify_flow_info, split_hard_reg_notes,
14012 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14013 remove_edge, remove_fake_successors): Add static prototypes.
14014 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14015 (mark_set_1): Initialize variable `regno'.
14016 (unlink_insn_chain): Likewise for variable `curr'.
14017 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14019 * loop.c (strength_reduce): Initialize variable
14020 `unrolled_insn_copies'.
14021 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14022 prototypes. Change these functions to take const PTR parameters
14023 to avoid prototype conflict when used as the comparson argument
14025 (check_dbra_loop): Initialize variable `comparison_val'.
14027 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14028 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14029 (find_valid_class): Initialize variable `best_class'.
14030 (find_reloads): Call memcpy, not bcopy.
14032 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
14033 (hard_reg_use_compare): Don't needlessly cast away const.
14034 (reload_reg_class_lower): Likewise.
14035 (choose_reload_regs): Initialize variable `regno'.
14037 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
14039 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
14041 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
14043 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
14044 ({,d}discard): Add forward declarations. Declare parameter as
14046 (main_without_main): Explicitly declare return type to be int.
14047 (memcpy): Properly declare.
14049 * libgcc2.c (toplevel): If inhibit_libc is defined and not
14050 building the trampoline support, declare malloc, free, and
14052 (__clear_cache): Mark arguments as potentially unused.
14054 * frame.c (toplevel): If inhibit_libc is defined, declare
14057 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
14059 * flow.c (make_edge): Accept an optional 2D bitmap in which
14060 to cache edge existence. Update all callers.
14061 (make_label_edge, make_eh_edge): Pass through the edge cache.
14062 (make_edges): Provide the cache.
14064 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14066 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
14068 (local_mbtowc): Change the type of variable `i' from int to size_t.
14070 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
14071 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
14073 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
14075 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
14076 after other includes that define the appropriate types. Include
14077 tm_p.h for getting user prototypes.
14078 * ggc-callbacks.c (toplevel): Ditto.
14079 * ggc-none.c (toplevel): Ditto.
14080 * gcc-page.c (toplevel): Ditto.
14081 * ggc-simple.c (toplevel): Ditto.
14083 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
14084 Jonathan Larmour <jlarmour@cygnus.co.uk>
14086 * config/mips/mips.c (mips_move_2words): Split doubles if
14087 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
14089 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
14091 * genrecog.c (struct decision_test): New.
14092 (struct decision): Remove test-related members, sort the rest by size.
14093 (IS_SPLIT): Simplify.
14094 (new_decision, new_decision_test): New.
14095 (add_to_sequence): Use them. No special handling for args of
14097 (maybe_both_true): Renamed from not_both_true; return sense changed.
14098 (maybe_both_true_1, maybe_both_true_2): New. Broken out
14099 of maybe_both_true and adjusted for decision_test.
14100 (position_merit): Remove.
14101 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
14102 (merge_accept_insn): New, broken out of merge_trees.
14103 (merge_trees): Use them. No special case for c_test; no node
14104 splitting; use test type instead of position_merit.
14105 (factor_tests): New.
14106 (simplify_tests): New.
14107 (break_out_subroutines): Don't write code now.
14108 (find_afterward): New.
14109 (write_afterward, write_switch, write_cond): New.
14110 (write_action, is_unconditional): New.
14111 (write_node): New. Use them.
14112 (write_tree_1): Rewrite. Use the new functions above.
14113 (write_tree): Remove afterward processing.
14114 (write_subroutine): Simplify function variant emission.
14115 (write_subroutines): New.
14116 (same_codes, clear_codes): Remove.
14117 (same_modes, clear_modes): Remove.
14118 (write_header): New, broken out of main.
14119 (make_insn_sequence): Use new_decision and new_decision_test.
14120 (process_tree): New, broken out of main.
14121 (main): Adjust for merge_trees interface change.
14122 Don't #define operands in the output file.
14123 (record_insn_name): New, broken out of make_insn_sequence.
14124 (debug_decision_2, debug_decision_1, debug_decision_0): New.
14125 (debug_decision): New.
14127 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
14129 * resource.c (find_free_register): Mark class_str argument const.
14130 * resource.h: Update prototype to match.
14132 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
14133 * i386.md: Give all anonymous insns names.
14135 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
14137 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
14140 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
14142 * toplev.c (dbr_sched_time): Unconditional.
14143 (peephole2_time): New.
14144 (compile_file): Add pass numbers to all of the dump file suffixes.
14145 Dump peephole2_time. Don't dump times for non-applicable passes.
14146 (rest_of_compilation): Add pass numbers to dump file suffixes.
14147 Conditionalize calls to the scheduler.
14148 * invoke.texi: Update.
14150 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
14152 * flow.c (make_edges): Fix insn iteration.
14153 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
14154 (find_basic_blocks_1): Fix spelling mistake.
14156 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
14158 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
14159 always have side-effects. Use memset not bzero.
14160 (make_node): Likewise.
14162 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
14164 * stmt.c (expand_anon_union_decl): When any of the elements of the
14165 union is addressable, so is the entire union.
14167 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
14169 * sbitmap.c (sbitmap_ones): Don't set too many bits.
14171 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
14172 * bitmap.c (bitmap_operation): Return true iff TO changed.
14173 (bitmap_equal_p): New.
14174 (bitmap_bit_p): Tidy arithmetic.
14175 (debug_bitmap_file): Likewise.
14177 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
14179 * toplev.c (rest_of_compilation): Turn on cse_not_expected
14180 before cse2 instead of after.
14182 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
14184 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
14187 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14189 * cppinit.c (is_idchar initializer): Loosen tests to accept
14192 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
14194 * mips.md: Define conditional move patterns for floating point
14195 operands and DI mode conditions.
14197 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
14199 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
14200 always have side-effects.
14202 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
14204 * mn10200.c (asm_file_start): Fix typo.
14206 * cppinit.c (is_idchar initializer): Tighten tests for when
14207 to put the table into initialized memory.
14209 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
14210 not an array of rtunion.
14211 * gcc-page.c (ggc_alloc_rtvec): Similarly.
14212 * gcc-simple (ggc_free_rtvec): Similarly.
14214 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
14217 * mbchar.h: Add missing #endif.
14219 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
14220 (FPBIT, DPBIT): Define.
14222 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14224 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
14226 * profile.c (instrument_arcs, output_gcov_string,
14227 tablejump_entry_p): Add static prototypes.
14228 (output_gcov_string): Constify a char*.
14230 * regmove.c (replacement_quality, fixup_match_2): Add static
14233 * resource.h (reg_dead_p): Add extern prototype.
14235 * rtl.c (trim_filename): Add static prototype.
14237 * scan-decls.c (skip_to_closing_brace): Likewise.
14239 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
14240 (expand_end_case): Initialize variable `range'.
14241 (emit_case_nodes): Remove unused prototype `rtx_fn'.
14243 * varasm.c (asm_emit_uninitialised): Add static prototype.
14244 (asm_emit_uninitialised, assemble_variable): Mark parameter with
14247 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14249 * cpplib.c (if_directive_nameo): Add static prototype.
14251 * cse.c (cse_insn): Remove unused variable `p'.
14253 * except.c (create_rethrow_ref, push_entry,
14254 receive_exception_label, new_eh_region_entry, find_func_region,
14255 clear_function_eh_region, process_nestinfo): Add static prototypes.
14256 (get_reg_for_handler): Hide definition.
14257 (process_nestinfo): Initialize variable `extra_handlers'.
14259 * expr.h (expand_builtin_longjmp): Add extern prototype.
14261 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
14263 * function.c (prepare_function_start): Likewise.
14264 (pop_function_context_from): Mark parameter `context' with
14266 (push_temp_slots_for_block, flush_addressof): Hide definition.
14268 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
14269 solve_program_flow_graph, calculate_branch_probs,
14270 function_summary, main, fancy_abort): Add prototypes.
14272 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
14273 (add_hash): Constify a char*.
14275 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
14276 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
14277 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
14279 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
14281 * lists.c (free_list, zap_lists): Likewise.
14283 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14285 * alias.c (nonlocal_reference_p): Add static prototype.
14287 * bitmap.c (bitmap_element_allocate): Prototype args in function
14290 * builtins.c (stabilize_va_list): Add static prototype.
14291 (expand_builtin_va_arg): Constify a char*.
14293 * c-lex.c (getch, put_back, extend_token_buffer_to,
14294 read_line_number, token_getch, token_put_back): Add static
14297 * c-parse.gperf (hash, is_reserved_word): Likewise.
14299 * cccp.c (is_dir_separator): Likewise.
14301 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14303 * graph.h: New file to prototype functions exported by graph.c.
14305 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
14307 * graph.c: Include graph.h.
14309 * toplev.c: Likewise. Remove redundant prototypes.
14311 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
14313 * invoke.texi: Removed duplicated description for -Q.
14315 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
14317 * extend.texi: Grammar fix in __extension__ text.
14319 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
14321 * md.texi (define_peephole2): New section.
14323 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
14325 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
14326 (mov $-1 to or peepholer): Enable for pentium when optimizing for
14329 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
14331 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
14333 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
14335 * i386.md (ffs expander): Emit Pentium friendly code for
14338 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
14340 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
14342 (build1): Likewise.
14344 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14346 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
14348 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
14350 * config/m68k/m68k.c (use_return_insn): Return false if the pic
14351 register is in use.
14353 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14355 * md.texi (No Constraints): Delete section.
14356 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
14357 * final.c (final_scan_insn): We always have register constraints.
14358 * genattrtab.c: Don't include "insn-config.h".
14359 (write_attr_case): We always have register constraints.
14360 * genconfig.c (register_constraint_flag): Delete.
14361 (walk_insn_part): Don't check whether we have register constraints.
14362 (main): Don't write out "#define REGISTER_CONSTRAINTS".
14363 * genoutput.c (have_constraints): Delete.
14364 (main): Don't set it.
14365 (output_operand_data): We always have constraints.
14366 (scan_operands): Likewise.
14367 (compare_operands): Likewise.
14368 * local-alloc.c (block_alloc): We always have constraints.
14369 (requires_inout): Always compile this function.
14370 * recog.c (extract_insn): We always have constraints.
14371 (constrain_operands, reg_fits_class_p): Always compile these
14373 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
14375 (struct insn_operand_data): Likewise.
14376 * regclass.c (regclass): We always have constraints.
14377 (record_reg_classes, copy_cost, record_address_regs,
14378 auto_inc_dec_reg_p): Always compile these functions.
14379 * regmove.c (regmove_optimize): We always have constraints.
14380 * reload.c (find_reloads): Likewise.
14381 * reload1.c (reload): Likewise.
14382 (reload_cse_simplify_operands): Likewise.
14383 * i860.c (output_delay_insn): Likewise.
14385 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
14387 * iris6.h (BUILD_VA_LIST_TYPE): Define.
14389 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14391 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
14392 for the va_list record.
14394 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
14396 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
14399 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
14401 * alias.c: Include insn-flags.h.
14402 * Makefile.in (alias.o): Update.
14404 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
14406 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
14407 to LTU and GEU. Handle more cases using sbb.
14409 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
14411 * i386.md (truncatexfdf splitters): Do not use subreg.
14412 (fop XFmode patterns): Fix mode in operand testing.
14414 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
14416 * jump.c (jump_optimize_1): Amend last change to test only the
14417 form of the operand, not the insn.
14419 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
14420 not register_operand to determine when B may need preloading.
14422 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
14424 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
14425 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
14426 (call-value patterns): Move to end of file.
14427 (*): Remove mode from label_ref in (pc) context.
14428 (movstrqi): Use memory not general_operand for BLKmode operands.
14429 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
14430 to register_operand operands.
14431 (peep2 patterns): Convert from commented-out peephole patterns.
14433 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14435 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
14436 to BUILT_IN_INIT_DWARF_REG_SIZES.
14437 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
14438 Renamed from BUILT_IN_DWARF_REG_SIZE; call
14439 expand_builtin_init_dwarf_reg_sizes.
14440 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
14441 with __builtin_init_dwarf_reg_size_table.
14442 * dwarf2out.c (struct reg_size_range): Delete.
14443 (expand_builtin_init_dwarf_reg_sizes): New function.
14444 (expand_builtin_dwarf_reg_size): Delete.
14445 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
14446 (expand_builtin_dwarf_reg_size): Don't declare.
14447 * libgcc2.c (dwarf_reg_size_table_initialized): New.
14448 (dwarf_reg_size_table): New.
14449 (init_reg_size_table): New function.
14450 (copy_reg): Use dwarf_reg_size_table.
14451 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
14454 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
14456 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
14457 Correctly build argument list to constructor and destructor functions.
14459 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
14461 * c-tree.h (warn_float_equal): Declare.
14462 * c-decl.c (warn_float_equal): Define.
14463 (c_decode_option): Recognize -W[no-]float-equal.
14464 * c-typeck.c (build_binary_op): Conditionally warn
14465 about equality tests of floating point types.
14466 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
14467 * invoke.texi: Add docs for -Wfloat-equal warning.
14469 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
14471 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
14472 generating RTL directly.
14473 * mips.h (INIT_TARGET_OPTABS): Likewise.
14474 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
14476 * expr.h (init_mov_optab): Delete declaration
14478 * h8300.c (WORD_REG_USED): Update to avoid useless register
14479 saves in interrupt functions and functions which never return.
14481 * cse.c (struct set): Delete inner_dest_loc field.
14482 (cse_insn): Remove assignments to inner_dest_loc field.
14484 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
14486 * ggc-page.c: Don't include <unistd.h> etc taken care of
14487 by "system.h". Include <sys/mman.h> afterward.
14489 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
14491 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
14494 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
14496 * xcoffout.c (xcoffout_declare_function): Add documentation.
14497 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
14498 TARGET_64BIT. Compare constant to -1, not bit pattern.
14499 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
14500 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
14503 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
14505 * dwarf2out.c (add_abstract_origin_attribute): Abort if
14506 origin_die is NULL.
14507 (gen_inlined_enumeration_type_die): Do not abort if the type has
14508 not been writeen out.
14509 (gen_inlined_structure_type_die): Do not abort if the type has
14510 not been writeen out.
14511 (gen_inlined_union_type_die): Do not abort if the type has
14512 not been writeen out.
14513 (gen_tagged_type_instantiation_die): Do not abort if the type
14514 has not been written out.
14516 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14518 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
14520 * reg-stack.c (straighten_stack): Copy hard reg set with
14523 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
14525 * builtins.c (stabilize_va_list): Stabilize array type va_list
14526 to a pointer type, not the base record type.
14527 (expand_builtin_va_copy): Dereference the pointers explicitly;
14528 use the correct size for the copy.
14530 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
14531 (rs6000_va_arg): Likewise.
14533 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
14535 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
14537 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
14539 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
14541 (DECL_BUILT_IN_CLASS): Adjust accordingly.
14543 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
14545 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
14546 (init_ggc): Use it instead of a constant.
14547 (ggc_collect): Bound allocated_last_gc by it.
14549 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
14551 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
14554 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
14556 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
14557 (mips*-*-openbsd*): Let big endian configuration be a fragment.
14558 * configure: Regen.
14559 * config/mips/openbsd.h: New, OpenBSD little endian target.
14560 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
14561 * config/mips/xm-openbsd.h: New, OpenBSD host.
14563 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
14565 * config/m68k/m68k.c (output_function_prologue,
14566 output_function_epilogue): Use
14567 current_function_uses_pic_offset_table instead of regs_ever_live
14568 to decide whether to save/restore pic register.
14569 (legitimize_pic_address): Don't modify regs_ever_live any more.
14571 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
14573 * function.h (struct function): Add x_dont_save_pending_sizes_p.
14574 * stor-layout.c (variable_size): Don't add sizes to the pending
14575 sizes list if x_dont_save_pending_sizes_p is set.
14577 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
14579 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
14580 for symbolic_operand().
14581 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
14583 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14585 * combine.c (gen_rtx_combine): Add missing call to va_end().
14587 * final.c (asm_fprintf): Likewise.
14589 * genattrtab.c (attr_rtx): Likewise.
14591 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
14593 * cse.c: Update comments.
14594 (cse_insn): When converting a conditional/computed jump into
14595 an unconditional jump, always make sure a BARRIER immediately
14596 follows the converted jump. Do not delete unreachable code.
14597 (cse_basic_block): Do not delete unreachable code.
14598 * toplev.c (rest_of_compilation): Move call to
14599 delete_trivially_dead_insns after the conditional call to
14602 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14604 * collect2.c (make_temp_file): Don't prototype.
14606 * gcc.c (make_temp_file): Likewise.
14608 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
14610 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
14612 * varasm.c (asm_emit_uninitialised): New function: Generate
14613 the assembler statements necessary to declare an uninitialised
14615 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
14617 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
14618 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
14620 (assemble_variable): Use asm_emit_uninitialised to emit an
14621 uninitialised variable.
14623 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
14625 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
14626 constant on a 64 bit host. Patch supplied by Geoffrey Keating
14627 <geoffk@cygnus.com>.
14629 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14631 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
14632 * c-common.h (builtin_function): Don't declare.
14634 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
14636 (pushdecl): Likewise.
14637 (finish_decl): Likewise.
14638 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
14639 int. All callers changed.
14640 Set the builtin's DECL_BUILT_IN_CLASS.
14641 * tree.h (enum built_in_class): New.
14642 (enum built_in_function): Delete NOT_BUILT_IN.
14643 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
14645 (DECL_SET_FUNCTION_CODE): Likewise.
14646 (DECL_BUILT_IN_CLASS): New macro.
14647 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
14648 (struct tree_decl): Split builtin function code field into a
14650 (builtin_function): Declare.
14652 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
14654 * optabs.c (init_traps): Fix typo in last change.
14656 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
14658 * toplev.c (rest_of_decl_compilation): Update comment.
14660 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
14662 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
14663 in .sbss if appropriate.
14664 (EXTRA_SECTION_FUNCTIONS): Add sbss.
14665 (SBSS_SECTION_ASM_OP): New macro.
14666 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
14667 (EXTRA_SECTIONS): Add in_sbss.
14668 * config/mips/mips.h: Prototype sbss_section.
14670 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
14672 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
14675 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
14677 * optabs.c (init_traps): Register trap_rtx as a GC root.
14679 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14681 * config/mips/mips.c (function_arg_pass_by_reference): Define
14682 unconditionally, since it's called unconditionally.
14684 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
14686 * toplev.c (documented_lang_options): Add -fshort-wchar.
14687 * c-decl.c (c_decode_option): Likewise.
14688 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
14690 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
14691 * gcc.c (default_compilers): If -fshort-wchar,
14692 override __WCHAR_TYPE__.
14693 * tm.texi (C Dialect Options): Add -fshort-wchar.
14695 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
14696 symbol for a variable.
14698 * cpplib.h (CPP_PREPROCESSED): New macro.
14699 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
14700 we're seeing this input for a second time.
14702 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
14704 * emit-rtl.c (init_emit_once): Initialize modes first.
14706 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
14708 * config/i386/i386.c (pic_label_name): Change to char pointer.
14709 (global_offset_table): New variable.
14710 (load_pic_register): Fill global_offset_table if it hasn't
14711 already been done. Allocate pic_label_name dynamically.
14712 * ggc.h (empty_string): New variable.
14713 * ggc-simple.c (empty_string): Likewise.
14714 (init_ggc): Allocate empty_string and add as root.
14715 * stmt.c (digit_strings): New variable.
14716 (init_stmt): Add last_block_end_note as root. Allocate and
14717 initialize digit_strings.
14718 (expand_asm_operands): Use empty_string instead of string
14719 constant. Use digit_strings instead of string constants.
14720 * profile.c (init_arc_profiler): Allocate string with
14721 ggc_alloc_string instead of xmalloc.
14722 (output_func_start_profiler): Likewise.
14723 * c-typeck.c (digest_init): Check if init is error_mark_node.
14725 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
14726 Richard Henderson <rth@cygnus.com>
14728 * ggc-page.c: New file.
14729 * Makefile.in (ggc-page.o): New.
14731 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
14733 * invoke.texi: Document -fdelete-null-pointer-checks
14734 * toplev.c (flag_delete_null_pointer_checks): New.
14735 (f_options): Add entry for -fdelete-null-pointer-checks.
14736 (rest_of_compilation): Conditionalize null pointer check
14737 elimination on flag_delete_null_pointer_checks.
14738 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
14740 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
14742 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
14743 copyright notice and special exception to GPL.
14745 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14747 * abi64.h (mips_function_value): Add prototype arguments.
14749 * mips-protos.h: New file with mips prototypes.
14751 * mips.c: Include "tm_p.h".
14752 (mktemp, lookup_name): Add prototype arguments.
14753 (extern_list, string_constant, mips_fill_delay_slot,
14754 mips_output_external, mips_output_external_libcall,
14755 mips_output_filename, mips_declare_object, function_prologue,
14756 mips_expand_prologue, function_epilogue, mips16_constant,
14757 build_mips16_function_stub, mips_output_conditional_branch):
14759 (mips_va_start): Remove unused variable `u'.
14760 (mips_va_arg): Cast value to unsigned when comparing against one.
14762 (save_restore_insns, mips_expand_prologue): Add missing arg in
14763 call to `large_int'.
14765 * mips.h: Move prototypes to mips-protos.h.
14766 (data_section, memory_address_p, rdata_section,
14767 readonly_data_section, simple_epilogue_p, text_section): Delete
14768 prototypes delcared elsewhere.
14769 (mips_epilogue_delay_slots, print_options): Delete unused decls.
14771 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
14773 * mips.md: Delete extra args in call to `mips_move_2words'.
14775 * xm-iris6.h (alloca): Add prototype argument.
14777 * genpeep.c: Include "tm_p.h" in generated output file.
14779 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14781 * basic-block.h (find_edge_index): Change parameters.
14782 * flow.c (verify_edge_list): Pass basic_block parameters to
14783 find_edge_index instead of integers.
14785 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
14787 * combine.c (simplify_comparison): Use an unsigned shift to adjust
14790 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
14792 * gcc.1: Fix a formatting error.
14794 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14796 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
14797 i786, mn10200, mn10300, pdp11, v850.
14799 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
14801 * libgcc2.c (num_digits): Add prototype with
14802 __attribute__((const)).
14803 (__terminate): Add prototype.
14805 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
14807 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
14809 * alpha/alpha.c (print_operand): Fix type of `code'.
14810 (alpha_output_filename): Constify.
14811 * alpha/alpha.h: Move all function declarations ...
14812 * alpha/alpha-protos.h: ... here. New file.
14813 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
14814 (SECTION_FUNCTION_TEMPLATE): Likewise.
14816 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14818 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
14819 * expr.c (expand_expr): Likewise.
14820 (do_jump): Likewise.
14821 (do_store_flag): Pass ccp_store_flag to can_compare_p.
14822 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
14824 (enum can_compare_purpose): New.
14825 (can_compare_p): Adjust prototype.
14826 (prepare_cmp_insn, prepare_operand): Declare.
14827 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
14828 * optabs.c (cmp_available_p): Deleted.
14829 (expand_abs): Pass ccp_jump to can_compare_p.
14830 (can_compare_p): New arg PURPOSE. Check for combined optabs.
14831 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
14832 Call can_compare_p rather than cmp_available_p.
14833 (prepare_operand): No longer static.
14834 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
14835 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
14836 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
14837 sequence to use emit_cmp_and_jump_insns.
14838 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
14840 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
14842 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
14843 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
14844 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
14845 (plus (reg) (const_int 0))
14846 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
14848 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
14850 * rs6000.c (expand_block_move): DImode loads and stores require
14851 word-aligned displacements. Increment address registers with
14852 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
14854 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
14856 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
14857 is no name for the base type, rather than segfault. If we are
14858 writing out a complex integer type, use DW_ATE_lo_user.
14860 * expr.c (emit_move_insn_1): If we are copying a complex that fits
14861 in one word or less (complex char, complex short, or on 64 bit
14862 systems complex float) to/from a hard register, copy it through
14863 memory instead of dying in gen_{real,imag}part. If we have a
14864 short complex type, prevent inlining since it allocates stack
14867 * tree.c (build_complex_type): If we are writing dwarf2 output,
14868 generate a name for complex integer types.
14870 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14872 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
14873 * flow.c (remove_edge): Remove extra whitespace.
14874 (remove_fake_edges): Fix comment.
14875 (add_noreturn_fake_exit_edges): Use the correct name.
14877 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
14879 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
14880 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
14881 (clean): Depend on INTL_CLEAN.
14882 (maintainer-clean): Adjust.
14884 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14886 * configure.in (AC_PREREQ): Bump to 2.13.
14887 (AC_C_STRINGIZE): Call this instead of using a custom macro.
14889 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
14891 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
14893 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
14895 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
14896 (HAVE_STRINGIZE): Define.
14898 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
14900 * c-parse.in: save and restore warn_pointer_arith on __extension__
14901 along with pedantic.
14902 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
14903 Set the type of extension to itype rather than $<itype>1 kludge.
14904 * extend.texi (Alternate Keywords): Adjust documentation.
14905 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
14907 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
14909 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
14910 most assembler templates.
14912 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
14913 FP loads and stores.
14914 (following_call): Always return zero for the PA8000.
14915 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
14916 FP loads and stores.
14917 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
14919 * pa.h (BRANCH_COST): Define.
14921 * pa.md (return, return_internal): Use bve for PA2.0.
14923 * pa.md (fused multiply): Add variants which reduce height for the
14924 fused multiply, but which still generate 2 insns.
14925 (fnegabs): Similarly.
14927 * pa.md (subsi3): Turn into an expander. Create two anonymous
14928 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
14929 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
14931 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
14933 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
14935 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
14936 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
14938 * regclass.c (init_regs): Add "top_of_stack" as a garbage
14941 * flow.c (record_active_eh_regions): Terminate loop after finding
14942 the last insn in the last basic block.
14944 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14946 * config/c4x/c4x.md: Delete parallel instruction peepholes.
14948 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14950 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
14952 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14954 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
14955 splitting to not use output template.
14957 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14959 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
14960 * config/c4x/c4x.c (c4x_va_start): New function.
14962 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
14964 * genrecog.c (not_both_true): Handle correctly cases when called for
14965 tests with different positions in the insn.
14967 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14969 * machmode.h (HOST_PTR_PRINTF): Move from here ...
14971 * system.h (HOST_PTR_PRINTF): ... to here.
14973 * mips-tfile.c: Don't include machmode.h.
14975 * Makefile.in (MACHMODE_H): New variable. Update to use it.
14976 (mips-tfile.o): Don't depend on machmode.h.
14978 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14980 * haifa-sched.c (sched_analyze): Rename local variable `region' to
14981 avoid conflicts with typedef struct `region' at the top level scope.
14983 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
14985 * basic-block.h (basic_block): Add eh_beg, eh_end.
14986 * flow.c (entry_exit_blocks): Update.
14987 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
14988 Call new functions.
14989 (find_basic_blocks_1): Don't record eh_list at each bb. Use
14990 lists.c functions to allocate insn lists.
14991 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
14993 (make_eh_edge): ... here. New.
14994 (move_stray_eh_region_notes): New.
14995 (record_active_eh_regions): New.
14996 (delete_unreachable_blocks): Split out block merging ...
14997 (try_merge_blocks): ... here. New.
14998 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
14999 Dump debugging data.
15000 (merge_blocks_move_successor_nojumps): Likewise.
15001 (merge_blocks): Use eh_beg+eh_end to validate block movement.
15003 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15005 * extend.texi (Bound member functions): Document unbound pmf
15008 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15010 * flow.c (split_edge): Handle insertion on a fallthrough edge which
15011 has the EXIT_BLOCK as a dest.
15013 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15015 * flow.c (remove_edge): New function to remove an edge from the
15017 (remove_fake_successors): New function to remove fake successor edges.
15018 (remove_fake_edges): New function to remove all fake edges from the
15020 (add_fake_exit_edges): New function to add fake edges from all blocks
15021 with no successors to the exit block.
15022 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15023 prototypes for new functions.
15025 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15027 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15028 Use Pmode to determine whether to output .dword or .word.
15030 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
15032 * tree.c (built_in_filename): New variable.
15033 (BUILT_IN_FILENAME): New macro.
15034 (init_tree_codes): Allocate built_in_filename.
15035 (make_node): Use built_in_filename instead of string constant.
15037 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
15039 * configure.in: Add fr30 target.
15040 * configure: Regenerate.
15041 * config/fr30: New directory.
15042 * config/fr30/crti.asm: New file.
15043 * config/fr30/fr30.c: New file.
15044 * config/fr30/crtn.asm: New file.
15045 * config/fr30/fr30.h: New file.
15046 * config/fr30/fr30.md: New file.
15047 * config/fr30/lib1funcs.asm: New file.
15048 * config/fr30/t-fr30: New file.
15049 * config/fr30/xm-fr30.h: New file.
15051 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
15053 * flow.c (merge_blocks_move_successor_nojumps): Delete the
15054 BARRIER at the end of the successor, not the BARRIER before
15057 * pa.c (pa_add_gc_roots): Fix thinko in last change.
15059 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
15061 * stmt.c (any_pending_cleanups): Don't crash when
15062 current_function->stmt is unset.
15064 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15066 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
15067 other initializations that may use it for relative offsets.
15069 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15071 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
15072 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
15073 * config/i386/sol2dbg.h: Removed.
15074 * config/i386/sol2gas.h: New file, to enable gas work-around.
15075 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
15076 Don't use sol2dbg.h.
15077 * configure: Rebuilt.
15079 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
15081 * invoke.texi (-fthis-is-variable): Remove documentation.
15083 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
15085 * basic-block.h (compute_bb_for_insn): Declare.
15086 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
15087 to use; set size of basic_block_for_insn directly.
15088 (find_basic_blocks): Update.
15090 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15092 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
15094 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15096 * crtstuff.c (ON_EXIT): Delete empty macro definition.
15097 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
15099 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
15101 * c-decl.c (c_decode_option): Extend comment.
15103 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
15105 * toplev.c (progname): Make 'const char *'
15106 (flag_print_mem): Move out of main.
15107 (version_flag): Move out of main.
15108 (filename): Move out of main.
15109 (debug_args): Remove g prefix from options.
15110 (documented_lang_options): Remove cpplib specific options.
15111 (display_help): Add g prefix to debug options.
15112 (check_lang_option): Delete this function.
15113 (decode_d_option): New function: Decode -d... option.
15114 (decode_f_option): New function: Decode -f... option.
15115 (decode_W_option): New function: Decode -W... option.
15116 (decode_g_option): New function: Decode -g... option.
15117 (independent_decode_option): New function: Decode a language
15118 independent command line option.
15119 (main): Invoke lang_decode_option and then
15120 independent_decode_option on each command line option in
15123 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
15125 Revert this change. Gavin's patch to operand_equal_p is a better fix.
15126 * fold-const.c (fold_range_test): Do not try to fold the range
15127 test if the rhs or lhs has side effects.
15129 * basic-block.h (compute_flow_dominators): Declare.
15131 * gcse.c (alloc_code_hoist_mem): New function.
15132 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
15133 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
15134 (hoist_code, one_code_hoisting_pass): Likewise.
15135 (gcse_main): If optimizing for size, then hoist expressions
15136 computed in multiple dominated basic blocks.
15138 * gcse.c (invalid_nonnull_info): New function.
15139 (delete_null_pointer_checks): Likewise.
15140 * rtl.h (delete_null_pointer_checks): Declare.
15141 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
15143 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
15144 (merge-blocks_move_successor_nojumps): Likewise.
15145 (merge_blocks): Allow merging of some blocks, even if it requires
15146 physical movement of the blocks, but not if it requires new jumps.
15148 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
15149 Callers and prototype changed.
15150 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
15152 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15154 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
15155 -YP when both -p and -pg are present. From i386/sol2.h.
15157 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15159 * Makefile.in (distclean): Delete tm_p.h.
15160 * configure.in: Create a new file, "tm_p.h", from a list in
15161 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
15162 "i386/i386-protos.h".
15164 * alias.c: Include "tm_p.h".
15165 * c-typeck.c: Likewise.
15166 * calls.c: Likewise.
15168 * emit-rtl.c: Likewise.
15169 * explow.c: Likewise.
15170 * expmed.c: Likewise.
15171 * expr.c: Likewise.
15172 * final.c: Likewise.
15173 * flow.c: Likewise.
15174 * fold-const.c: Likewise.
15175 * function.c: Likewise.
15176 * gcse.c: Likewise.
15177 * global.c: Likewise.
15178 * haifa-sched.c: Likewise.
15179 * integrate.c: Likewise.
15180 * jump.c: Likewise.
15181 * local-alloc.c: Likewise.
15182 * loop.c: Likewise.
15183 * optabs.c: Likewise.
15184 * recog.c: Likewise.
15185 * reg-stack.c: Likewise.
15186 * regclass.c: Likewise.
15187 * regmove.c: Likewise.
15188 * reload.c: Likewise.
15189 * reload1.c: Likewise.
15190 * reorg.c: Likewise.
15191 * resource.c: Likewise.
15192 * stmt.c: Likewise.
15193 * stor-layout.c: Likewise.
15194 * toplev.c: Likewise.
15195 * tree.c: Likewise.
15196 * unroll.c: Likewise.
15197 * genattrtab.c (main): Make generated file include "tm_p.h".
15198 * genemit.c (main): Likewise.
15199 * genoutput.c (main): Likewise.
15200 * genrecog.c (main): Likewise.
15202 * i386.h: Delete all prototypes.
15203 * i386.c: Include "tm_p.h".
15204 (ix86_attr_length_default): Call constant_call_address_operand
15205 with correct number of arguments.
15206 * i386-protos.h: New file.
15207 * i386.md (unnamed patterns): Call constant_call_address_operand
15208 with correct number of arguments.
15209 (exception_receiver): Call load_pic_register with correct number
15212 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
15214 * c-pragma.c (mark_align_stack): Dereference the void* properly.
15216 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
15218 * rtl.h (insns_safe_to_move_p): New function.
15219 * loop.c (find_and_verify_loops): Use it.
15220 * rtlanal.c (insns_safe_to_move_p): Define it.
15222 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
15224 * c-pragma.c: Include ggc.h.
15225 * Makefile.in (c-pragma.o): Update.
15227 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15229 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
15230 (LIB_SPEC): Likewise.
15231 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
15232 Reindent -YP/-p/-pg.
15233 Copied from config/sparc/sol2.h.
15235 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
15237 * c-pragma.c (mark_align_stack): New.
15238 (init_pragma): New.
15239 * c-pragma.h (init_pragma): Declare it.
15240 * c-lex.c (init_parse): Call it.
15242 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15244 * configure.in: Pick up thread library on Solaris/x86 just
15245 like on Solaris/sparc.
15246 * configure: Rebuilt.
15248 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
15250 * rtl.h (global_rtx_index): New enum.
15251 (global_rtl): Change to array of rtx.
15252 (pc_rtx, cc0_rtx): Redefine accordingly.
15253 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
15254 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
15255 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
15256 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
15257 (const_int_rtx): Change to array of rtx.
15258 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
15260 * emit-rtl.c (global_rtl): Change to array of rtx.
15261 (const_int_rtx): Change to aray of rtx.
15262 (gen_rtx_CONST_INT): Redefine accordingly.
15263 (init_emit_once): Allocate and initialize global_rtl. Likewise
15264 for const_int_rtx. Add both as GC roots.
15265 * genattrtab.c (global_rtl): Update declaration.
15267 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
15269 * Makefile (USER_H): Add iso646.h back.
15271 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
15273 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
15274 zapping the LOG_LINKS of sched_before_next_call.
15276 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
15277 * pa.c (insn_refs_are_delayed): Renamed from
15278 insn_sets_and_refs_are_delayed.
15280 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
15282 * functiion.h (struct function): Add x_whole_function_mode_p.
15283 (retrofit_block): Declare.
15284 * function.c (retrofit_block): New function.
15285 (identify_blocks): Add assertions. Allow an incomplete set of
15286 block notes if we're still generating code for the function.
15287 * integrate.c: Include loop.h.
15288 (expand_inline_function): Call find_loop_tree_blocks to map block
15289 notes to blocks when in whole-function mode. Use retrofit_block
15290 to insert new BLOCKs for the inlined function, rather than
15292 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
15293 * Makefile.in (integrate.o): Depend on loop.h.
15295 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
15297 * tree.h (warn_about_unused_variables): Declare.
15298 * stmt.c (warn_about_unused_variables): New function, split out
15300 (expand_end_bindings): Here.
15302 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
15304 * stmt.c (preserve_subexpressions_p): Don't crash when
15305 current_function->stmt is unset.
15307 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
15309 * stmt.c (expand_start_bindings): Allow callers to pass a flag
15310 indicating that no NOTE_INSN_BLOCK_BEG note is required.
15311 (expand_start_target_temps): Use it.
15312 * except.c (expand_eh_region_start_for_decl): Likewise.
15313 * expr.c (expand_expr): Likewise.
15315 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
15317 * fold-const.c (operand_equal_p): Pay attention to side effects.
15319 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
15321 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
15322 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
15324 * tlink.c (scan_linker_output): Look for keywords before accepting
15325 a mangled name in quotes.
15327 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
15329 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
15330 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
15332 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
15334 * alpha.md: Revert Thu Nov 26 change that came in through the
15335 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
15336 Avoid earlyclobber when possible.
15338 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15340 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
15342 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
15343 Define HAVE_ON_EXIT.
15345 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15347 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
15348 CTYPE_CONV in all ctype macros.
15350 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
15353 * cexp.y (initialize_random_junk): Likewise.
15355 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
15357 * i370.c (handle_pragma): Likewise.
15359 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
15361 * v850.c (override_options): Likewise.
15363 * doprint.c (_doprnt): Likewise.
15365 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
15368 * fixinc/server.c (load_data): Likewise.
15370 * fold-const.c (real_hex_to_f): Likewise.
15372 * genattr.c (write_upcase, gen_attr): Likewise.
15374 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
15375 write_upcase): Likewise.
15377 * genemit.c (print_code): Likewise.
15379 * genopinit.c (gen_insn): Likewise.
15381 * genpeep.c (print_code): Likewise.
15383 * genrecog.c (print_code): Likewise.
15385 * optabs.c (init_libfuncs): Likewise.
15387 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
15389 * haifa-sched.c (sched_analyze): Keep the list of notes organized
15391 (reemit_notes): Likewise.
15393 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
15395 * ggc.h (ggc_root): Move to ggc-common.c.
15397 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
15398 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
15399 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
15400 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
15401 * ggc-common.c (ggc_root): Move from ggc.h.
15402 (roots): Declare, static.
15403 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
15404 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
15405 null or check/set mark bit.
15406 (ggc_mark_roots): New.
15407 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
15409 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
15411 * m32r.c: Include toplev.h.
15412 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
15413 (gen_compare): Rename swap_p to must_swap to match uses.
15414 Add default abort case.
15415 (m32r_output_function_epilogue): Remove unused variables.
15416 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
15417 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
15418 define to empty parameter list. Update all uses.
15419 (predicate decls): Use enum machine_mode not int.
15420 * m32r.md (movsi): Call abort, not fatal_insn.
15421 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
15423 1999-09-14 Andrew Haley <aph@cygnus.com>
15425 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
15426 use $0 instead of 0.
15428 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15430 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
15431 computation out of loop over hard regs.
15433 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
15435 * function.c (identify_blocks): Don't shadow a variable in an
15437 * integrate.c (integrate_decl_tree): Don't use pushlevel,
15438 pushdecl, or poplevel to build up the new BLOCK tree.
15439 (expand_inline_function): Likewise.
15440 (integrate_parm_decls): Likewise.
15442 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
15444 * c-typeck.c (qualify_type): Merge qualifiers from both types.
15446 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
15448 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
15449 * invoke.texi: Document this change.
15451 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
15453 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
15455 (mark_emit_status): Renamed from mark_emit_state.
15456 * except.c (mark_eh_status): Renamed from mark_eh_state.
15457 Check not null before marking.
15458 (free_eh_status): New.
15459 * expr.c (mark_expr_status, free_expr_status): New.
15460 * function.c (free_machine_status): New.
15461 (free_after_parsing): New.
15462 (free_after_compilation): Move bits to free_after_parsing; call
15463 free_eh_status, free_expr_status; zero the marked members of the
15465 (prepare_function_start): No can_garbage_collect.
15466 Call init_eh_for_function.
15467 (expand_dummy_function_end): Free up current_function state.
15468 (mark_function_status): Renamed from mark_function_state.
15469 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
15470 * function.h (struct function): No can_garbage_collect.
15471 (free_machine_status, free_after_parsing): Declare.
15472 (free_eh_status, free_expr_status): Declare.
15473 * ggc.h (mark_expr_status): Declare.
15474 * stmt.c (free_stmt_status): Free the struct.
15475 (mark_stmt_status): Renamed from mark_stmt_state.
15476 (init_stmt): Don't call init_eh.
15477 (init_stmt_for_function): Don't call init_eh_for_function.
15478 * toplev.c (compile_file): Call init_eh.
15479 (rest_of_compilation): Free basic block info before ggc_collect.
15480 Call free_after_parsing; conditionally call free_after_compilation.
15481 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
15482 Check not null before marking.
15483 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
15485 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
15487 * c-lex.c (yylex): Initialize warn.
15489 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
15491 * pa.c (emit_move_sequence): Properly set the mode of the scratch
15492 register when performing secondary reloads for the SAR register.
15494 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
15496 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
15497 (NOTE_BLOCK): New macro.
15498 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
15499 * function.h (identify_blocks): Change prototype.
15500 * function.c (identify_blocks): Simplify.
15501 (reorder_blocks): Likewise.
15502 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
15503 NOTE_INSN_BLOCK_{BEG,END}.
15504 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
15505 the list of saved notes if the note isn't a
15506 NOTE_INSN_BLOCK_{BEG,END}.
15507 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
15509 (reemit_notes): Adjust recreation of notes to reflect new saved
15511 * print-rtl.c (print_rtx): Print the address of the BLOCK when
15512 printing a block note.
15513 * stmt.c (block_vector): Remove.
15514 (find_loop_tree_blocks): Simplify.
15515 (unroll_block_trees): Likewise.
15516 * tree.h (reorder_block): Change prototype.
15518 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
15520 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
15521 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
15522 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
15523 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
15524 (atexit, exit): Simplify.
15525 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
15526 * config/lots: Remove defns of HAVE_ATEXIT.
15528 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
15530 * calls.c (precompute_arguments): Fix typo in comment.
15531 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
15534 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
15536 * dsp16xx.c (override_options): Fix typos in GC root registration.
15538 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
15540 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
15541 from config/svr4.h.
15542 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
15543 (FUNCTION_PROFILER): Redefine appropriately for Linux.
15544 (CC1_SPEC): Likewise.
15546 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15548 * genattr.c (main): Add extern prototype. Call return, not exit.
15549 * genattrtab.c (main): Likewise.
15550 * gencheck.c (main): Likewise.
15551 * gencodes.c (main): Likewise.
15552 * genconfig.c (main): Likewise.
15553 * genemit.c (main): Likewise.
15554 * genextract.c (main): Likewise.
15555 * genflags.c (main): Likewise.
15556 * gengenrtl.c (main): Likewise.
15557 * genopinit.c (main): Likewise.
15558 * genoutput.c (main): Likewise.
15559 * genpeep.c (main): Likewise.
15560 * genrecog.c (main): Likewise.
15562 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
15563 * genattrtab.c (get_insn_name): Likewise.
15564 * gencodes.c (get_insn_name): Likewise.
15565 * genconfig.c (get_insn_name): Likewise.
15566 * genemit.c (get_insn_name): Likewise.
15567 * genextract.c (get_insn_name): Likewise.
15568 * genflags.c (get_insn_name): Likewise.
15569 * genopinit.c (get_insn_name): Likewise.
15570 * genpeep.c (get_insn_name): Likewise.
15572 * gencheck.c (usage): Add static prototype.
15573 * genextract.c (print_path): Constify a char*.
15574 * genopinit.c (optabs): Likewise.
15575 * genoutput.c (operand_data, data, output_predicate_decls,
15576 compare_operands): Likewise.
15577 * genrecog.c (write_tree): Add default case in switch.
15579 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15581 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
15583 * print-rtl.c (get_insn_name): Remove prototype.
15585 * toplev.h (progname): Declare const.
15587 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
15588 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
15589 dump_sched_info, dump_local_alloc, regset_release_memory,
15590 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
15591 error_with_file_and_line, error_with_decl, error_for_asm, error,
15592 fatal, warning_with_file_and_line, warning_with_decl, warning,
15593 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
15594 Remove redundant prototypes.
15596 (notice, check_lang_option, report_file_and_line, vnotice,
15597 mark_file_stack): Add static prototype.
15598 (set_fatal_function): Add prototype.
15599 (vnotice, report_file_and_line, set_fatal_function,
15600 check_lang_option): Constify a char*.
15601 (main): Prototype. Call return, not exit.
15603 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15605 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
15607 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
15609 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
15611 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
15613 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15615 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
15616 behave as if it's zero in all cases.
15617 (expand_function_start): Adjust call to assign_parms.
15618 * tree.h (assign_parms): Adjust prototype.
15619 * objc/objc-act.c (hack_method_prototype): Adjust call to
15622 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
15624 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
15625 arg_pointer_rtx fixed if the argument pointer register is
15627 (NONZERO_BASE_PLUS_P): Likewise.
15629 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
15631 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
15632 match_insn2 to match_insn.
15633 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
15635 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
15637 * Makefile.in (USER_H): Remove va-foo.h.
15639 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
15640 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
15641 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
15642 va-spur.h,va-v850.h}: Remove.
15644 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
15646 * sparc/sparc.md (eligible_for_return_delay): New attribute.
15647 (in_return_delay): Use it instead of match_insn.
15649 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15651 * config/alpha/va_list.h (va-alpha.h): Do not include.
15652 (__gnuc_va_list): Typedef as in varargs.h.
15654 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
15656 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
15657 DECL_LIVE_RANGE_RTL.
15659 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
15661 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
15662 not NOTE_BLOCK_NUMBER.
15663 (expand_eh_region_end): Likewise.
15664 (find_exception_handler_labels): Likewise.
15665 (scan_region): Likewise.
15666 (exception_optimize): Likewise.
15667 (update_rethrow_references): Likewise.
15668 (set_insn_eh_region): Likewise.
15669 * final.c (final_scan_insn): Likewise.
15670 * flow.c (make_edges): Likewise.
15671 * integrate.c (expand_inline_function): Likewise.
15672 * print-rtl.c (print_rtx): Likewise.
15674 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
15676 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
15677 terms of builtin functions and types.
15679 * mips.c (mips_build_va_list): New.
15680 (mips_va_start, mips_va_arg): New.
15681 * mips.h (BUILD_VA_LIST_TYPE): New.
15682 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
15684 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
15685 (sh_build_va_list, sh_va_start, sh_va_arg): New.
15686 * sh.h (BUILD_VA_LIST_TYPE): New.
15687 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
15689 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
15691 * recog.h (struct recog_data): Make dup_num, operand_address_p,
15692 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
15693 (struct insn_data): Likewise with n_operands, n_dups,
15694 n_alternatives, output_format.
15695 * regclass.c (scan_one_insn): Cast n_operands to int before
15696 arithmetic inside comparison.
15698 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
15700 * toplev.c (compile_function): Unconditionally emit nop.
15702 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15704 * haifa-sched.c (actual_hazard): Move declaration of variable
15705 `this_cost' into the scope where it is used.
15707 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15709 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
15710 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
15711 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
15713 * genrecog.c (make_insn_sequence): Call memset, not bzero.
15715 * jump.c (find_insert_position): Don't declare or define unless
15716 !HAVE_conditional_arithmetic.
15717 (returnjump_p_1, delete_prior_computation): Add static prototypes.
15719 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
15721 * recog.c (offsettable_address_p): Prototype function pointer.
15722 (preprocess_constraints): Call memset, not bzero.
15724 * tree.c (tree_node_kind_names): Constify a char*. Make static.
15725 (gcc_obstack_init): Don't declare.
15726 (fix_sizetype): Add static prototype.
15727 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
15728 (tree_cons): Call memset, not bzero.
15730 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
15731 definition in macro ASM_WEAKEN_LABEL.
15732 (mark_const_hash_entry): Add static prototype.
15734 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15736 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
15738 * unroll.c (find_common_reg_term, subtract_reg_term,
15739 loop_find_equiv_value): Add static prototypes.
15740 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
15741 (copy_loop_body): Remove unreachable break statement.
15743 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
15745 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
15747 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15749 Undo some changes from the gcc2 merge:
15750 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
15751 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
15755 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
15756 * emit-rtl.c (gen_lowpart_common): Disable optimization of
15757 initialized float-int union if the value is a NaN.
15759 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
15761 * gthr-win32.h: New file.
15763 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
15764 shared as a valid attribute.
15765 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
15766 * extend.texi: Document `shared' variable attribute.
15768 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
15770 * configure.in: Handle --enable-threads on FreeBSD.
15771 * configure: Rebuit.
15773 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15775 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
15777 * configure: Rebuilt.
15779 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
15780 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
15781 Rosimildo DaSilva <rdasilva@connecttel.com>
15783 * configure.in (m68k-*-rtemscoff*): Added.
15784 * configure.in (mips64orion-*-rtems*): Converted to ELF.
15785 * configure.in (sparc-*-rtemsaout*): Added as alias for old
15786 sparc-rtems configuration.
15787 * configure.in (sparc-*-rtemself*): Added.
15788 * configure.in (sparc-*-rtems*): Now ELF not a.out.
15789 * config/i386/rtems.h: Added comment.
15790 * config/sparc/rtemself.h: New file.
15792 * configure.in (m68k-rtemself): Added.
15793 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
15794 and DWARF_DEBUGGING_INFO.
15795 * config/m68k/crti.s: New file.
15796 * config/m68k/crtn.s: New file.
15797 * config/m68k/t-crtstuff: New file.
15798 * config/m68k/rtemself.h: New file.
15800 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
15801 global ctor/dtor and C++ exception handling.
15802 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
15803 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
15805 * config/i386/t-rtems-i386: New File.
15807 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
15809 * stmt.c (expand_end_case): Return right away if the case stack is
15812 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
15814 * Makefile.in (version.c): Remove rule incorrectly brought in from
15817 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
15819 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
15820 * msdos/top.sed: Take into account a prepended $(SHELL) to
15822 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
15824 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
15826 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15828 * regmove.c (fixup_match_1): Don't change an unchanging register.
15829 (stable_but_for_p): Renamed to:
15830 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
15831 Changed all callers.
15833 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
15835 * loop.c (strength_reduce): Don't call reg_used_between_p if the
15836 insn from BL2 is after the insn from BL.
15838 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
15840 * recog.h (INSN_OUTPUT_FORMAT_*): New.
15841 (struct insn_data): Merge `template' and `outfun' into `output'.
15842 Add `output_format'.
15843 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
15844 (struct data): Remove `outfun'; add `output_format'.
15845 (name_for_index): Remove declaration.
15846 (output_insn_data): Handle output formats.
15847 (process_template): Emit the bare array for @.
15848 (gen_expand, gen_split): Set output_format to NONE.
15849 * output.h (get_insn_template): Declare.
15850 * final.c (get_insn_template): New.
15851 (final_scan_insn): Use it.
15852 * toplev.c (compile_file): Likewise.
15854 * c4x/c4x.c (c4x_process_after_reload): Likewise.
15855 * i860/i860.c (output_delayed_branch): Likewise.
15856 (output_delay_insn): Likewise.
15858 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15860 * rtl.c (obstack_alloc_rtx): Removed.
15862 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
15864 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
15866 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
15868 * i386.c (call_insn_operand): Reject const_int.
15869 (expander_call_insn_operand): Use call_insn_operand.
15871 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15873 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
15875 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
15877 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
15878 Use DImode operation.
15880 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
15882 * gcc.c: Include sys/resource.h.
15883 (report_times): New flag.
15884 (execute): If report_times is set, calculate and report the
15885 CPU time consumed by each subprocess.
15887 (rus, prus): New globals.
15888 (option_map): Add --time.
15889 (display_help): Document -time.
15890 (process_command): Set report_times if -time is given.
15891 Turn off -pipe if -time is given.
15893 * invoke.texi: Document new option -time.
15895 * configure.in: Check for getrusage. Check if we have to
15896 prototype getrusage.
15897 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
15898 * configure: Regenerate.
15899 * config.in: Regenerate.
15901 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
15903 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
15906 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
15908 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
15909 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
15910 (nan): Return _thenan_sf or _thenan_df as appropriate.
15911 (L_thenan_sf): Define _thenan_sf.
15912 (L_thenan_df): Define _thenan_df.
15914 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
15915 (DPBIT_FUNCS): Add _thenan_df.
15917 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
15919 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
15922 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15924 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
15927 (lang_specific_driver): Don't take a function pointer parameter.
15928 All callers changed.
15930 * gcc.c: Include gcc.h.
15931 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
15932 lang_specific_extra_outfiles, fatal): Don't declare.
15933 (multilib_defaults_raw): Constify.
15934 (read_specs): Call memset, rather than bzero.
15935 (main): Call return, not exit.
15936 (lookup_compiler): Call memcpy, not bcopy.
15937 (fatal): Make extern.
15939 * cppspec.c: Include gcc.h.
15940 (lang_specific_driver): Initialize variable `quote'. Constify a
15941 char*. All calls to the function pointer parameter now
15942 explicitly call `fatal'.
15944 * gccspec.c (lang_specific_driver): Include gcc.h.
15946 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
15948 * arm.c (note_invalid_constants): Use recog_data.operand_type
15951 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15953 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
15956 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
15957 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
15958 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
15959 reload_secondary_in_reload, reload_secondary_out_reload,
15960 reload_secondary_in_icode, reload_secondary_out_icode,
15961 reload_reg_rtx, reload_when_needed): Delete declarations.
15962 (struct reload): New structure.
15963 (rld): Declare new array.
15964 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
15965 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
15966 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
15967 reload_secondary_in_reload, reload_secondary_out_reload,
15968 reload_secondary_in_icode, reload_secondary_out_icode,
15969 reload_reg_rtx, reload_when_needed): Delete definitions.
15971 (whole file): Replace uses of the deleted arrays with uses of rld.
15972 * reload1.c (whole file): Replace uses of the deleted arrays with
15974 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
15975 explicit loops, not with bcopy.
15977 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
15979 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
15980 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
15981 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
15982 insn_name): Delete and consolidate into new structures.
15983 (insn_operand_predicate_fn): New.
15984 (insn_output_fn): New.
15985 (insn_gen_fn): New.
15986 (struct insn_operand_data): New.
15987 (struct insn_data): New.
15989 (OUT_FCN): Update for insn_data change.
15990 * builtins.c (expand_builtin_strlen): Likewise.
15991 (expand_builtin_memcmp): Likewise.
15992 * combine.c (make_extraction, simplify_comparison): Likewise.
15993 * cse.c (canon_reg, cse_insn): Likewise.
15994 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
15995 * expmed.c (store_bit_field, extract_bit_field): Likewise.
15996 (emit_store_flag): Likewise.
15997 * expr.c (convert_move, emit_block_move): Likewise.
15998 (clear_storage, emit_push_insn, expand_increment): Likewise.
15999 (do_store_flag): Likewise.
16000 * expr.h (GEN_FCN): Likewise.
16001 (insn_gen_function): Die.
16002 * final.c (final_scan_insn): Update for insn_data change.
16003 (output_asm_name): Likewise.
16004 * function.c (fixup_var_refs_1): Likewise.
16005 * loop.c (check_dbra_loop): Likewise.
16006 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16007 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16008 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16009 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16010 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16011 * regmove.c (gen_add3_insn): Likewise.
16012 * reload.c (push_secondary_reload, combine_reloads): Likewise.
16013 (find_reloads, find_reloads_address_1): Likewise.
16014 (debug_reload_to_stream): Likewise.
16015 * reload1.c (emit_reload_insns, gen_reload): Likewise.
16016 * stmt.c (expand_end_case): Likewise.
16017 * toplev.c (compile_file): Likewise.
16019 * c4x/c4x.c (c4x_process_after_reload): Likewise.
16020 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16022 * print-rtl.c (insn_name_ptr): Remove declaration.
16023 (get_insn_name): Declare.
16024 (print_rtx): Use it.
16025 * genoutput.c (insn_name_ptr): Remove.
16026 (next_operand_number): New.
16027 (struct operand_data): New.
16028 (null_operand, odata, odata_end): New.
16029 (struct data): Use struct operand_data.
16030 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16031 (get_insn_name): Renamed from name_for_index.
16032 (output_prologue): Define NO_MD_PROTOTYPES.
16033 (output_predicate_decls): Break out from output_epilogue.
16034 Iterate over the operands list.
16035 (output_operand_data): Break out from output_epilogue. Emit
16036 just the operands list.
16037 (output_insn_data): Break out from output_epilogue. Emit just
16039 (output_epilogue): Remove.
16040 (output_get_insn_name): New.
16041 (constraints, op_n_alternatives, predicates, address_p): Die.
16042 (modes, strict_low, seen): Die.
16043 (scan_operands): Take new param `d' instead of writing to
16044 seven global variables.
16045 (compare_operands): New.
16046 (place_operands): New.
16047 (validate_insn_alternatives): Update for struct data change.
16048 (gen_insn): Don't zero or copy 7 global arrays. Update for
16049 scan_operands; call place_operands.
16050 (gen_peephole, gen_expand, gen_split): Likewise.
16051 (main): Update for new output routines.
16053 * genattr.c (insn_name_ptr): Remove.
16054 (get_insn_name): New function.
16055 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
16056 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
16057 * genrecog.c: Likewise.
16059 * alpha.md (adddi3): Make `pattern' array static.
16061 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16063 * config/c4x/c4x.h (c4x_rpts_cycles_string,
16064 c4x_cpu_version_string): Constify char *.
16065 * config/c4x/c4x.c (c4x_rpts_cycles_string,
16066 c4x_cpu_version_string): Likewise.
16068 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
16070 * tree.c (save_tree_status): Revert 10 Sep change.
16071 (restore_tree_status): Likewise. Call obstack_free with NULL
16072 before freeing the obstack proper.
16074 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
16076 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
16078 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
16079 surrounding context.
16081 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
16083 * tree.c (type_hash_canon): Put all types in the hash-table, when
16086 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
16088 * recog.h (struct recog_data, recog_data): New.
16089 (recog_foo variables): Kill.
16090 * recog.c (recog_operand, recog_operand_loc): Kill.
16091 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
16092 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
16093 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
16094 (recog_data): Define.
16095 (extract_insn): Update all recog_foo references to use recog_data.
16096 (preprocess_constraints, constrain_operands): Likewise.
16097 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
16098 * genattrtab.c (main): Likewise.
16099 * genextract.c (main): Likewise.
16100 * genoutput.c: Likewise.
16101 * genrecog.c (write_subroutine, main): Likewise.
16102 * local-alloc.c (block_alloc): Likewise.
16103 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
16104 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
16105 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
16106 * reload.c (find_reloads, find_reloads_toplev): Likewise.
16107 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
16108 (reload_cse_simplify_operands): Likewise.
16110 * arc/arc.c (arc_final_prescan_insn): Likewise.
16111 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
16112 * h8300/h8300.c (notice_update_cc): Likewise.
16113 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
16114 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16115 * mn10200/mn10200.c (notice_update_cc): Likewise.
16116 * mn10300/mn10300.c (notice_update_cc): Likewise.
16117 * romp/romp.c (update_cc): Likewise.
16118 * sparc/sparc.c (check_pic): Likewise.
16119 * v850/v850.c (notice_update_cc): Likewise.
16121 * genemit.c (main): Don't declare recog_operand.
16123 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
16125 * ggc.h (rtvec_def): Forward declare.
16126 (tree_node): Likewise.
16127 (ggc_root): Define.
16129 (ggc_set_mark_rtx): Add prototype.
16130 (ggc_set_mark_rtvec): Likewise.
16131 (ggc_set_mark_tree): Likewise.
16132 * ggc-simple.c (ggc_root): Don't define.
16133 (roots): Don't declare.
16134 (ggc_mark_rtx): Remove.
16135 (ggc_mark_rtvec): Likewise.
16136 (ggc_mark_tree): Likewise.
16137 (ggc_mark_varray): Likewise.
16138 (ggc_mark_tree_hash_table_entry): Likewise.
16139 (ggc_mark_tree_hash_table): Likewise.
16140 (ggc_set_mart_rtx): New function.
16141 (ggc_set_mark_rtvec): Likewise.
16142 (ggc_set_mark_tree): Likewise.
16143 (ggc_add_root): Remove.
16144 (ggc_add_rtx_root): Likewise.
16145 (ggc_remove_tree_root): Likewise.
16146 (ggc_add_string_root): Likewise.
16147 (ggc_add_tree_varray_root): Likewise.
16148 (ggc_add_tree_hash_table_root): Likewise.
16149 (ggc_del_root): Likewise.
16150 (ggc_mark_rtx_ptr): Likewise.
16151 (ggc_mark_tree_ptr): Likewise.
16152 (ggc_mark_string_ptr): Likewise.
16153 (ggc_mark_tree_varray_ptr): Likewise.
16154 (ggc_mark_tree_hash_table_ptr): Likewise.
16155 * ggc-common.c: New file.
16156 * Makefile.in (OBJS): Add ggc-common.o.
16157 (ggc-common.o): List dependencies.
16159 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
16161 * cppalloc.c (xstrdup): Use memcpy.
16162 * cpperror.c (cpp_print_containing_files): Don't use
16164 * cpplib.c (conditional_skip): Set temp->lineno.
16165 (do_endif): Make error message less obscure.
16166 (if_directive_name): New function.
16167 (cpp_get_token [case EOF]): Unwind the if stack and generate
16168 error messages for each unterminated conditional in this file.
16169 (parse_string): Do not behave differently if -traditional.
16171 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
16173 * builtins.c (expand_builtin_va_arg): Cope with an array-type
16174 va_list decomposing to pointer-type.
16175 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
16176 (rs6000_va_arg): Likewise.
16178 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
16180 * except.c (start_dynamic_handler): Compute size using
16181 STACK_SAVEAREA_MODE.
16183 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16185 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
16186 include directory headers. Don't define strrchr. Don't provide
16187 my_* replacement functions. Prefer PTR over `pointer_type'.
16188 Don't prototype system functions. Don't redefine getopt.
16190 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
16191 safe_read, safe_write, save_pointers, restore_pointers,
16192 is_id_char, in_system_include_dir, directory_specified_p,
16193 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
16194 find_corresponding_lparen, referenced_file_is_newer,
16195 save_def_or_dec, munge_compile_params, gen_aux_info_file,
16196 process_aux_info_file, identify_lineno, check_source,
16197 seek_to_line, forward_to_next_token_char, output_bytes,
16198 output_string, output_up_to, other_variable_style_function,
16199 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
16200 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
16201 find_static_definition, connect_defs_and_decs, add_local_decl,
16202 add_global_decls, needs_to_be_converted, visit_each_hash_node,
16203 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
16204 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
16205 scan_for_missed_items, edit_file, string_list_cons): Add static
16207 (standard_exec_prefix, target_machine, target_version,
16208 default_syscalls_dir, string_list, string_list_cons, find_file,
16209 do_cleaning): Constify a char*.
16210 (safe_read, safe_write): Use PTR, not a char*.
16211 (is_id_char): Take an int, not a char.
16212 (main): Add prototype. Call return, not exit.
16214 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
16216 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
16217 when comparing types.
16219 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
16221 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
16222 (strength_reduce): Release the varrays from the no-bivs early exit.
16224 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
16225 the loop over the registers.
16227 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
16229 (restore_tree_status): Check that instead when freeing the obstack.
16231 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
16233 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
16236 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16238 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
16239 operand size modifiers.
16241 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16243 * c-common.c (c_common_nodes_and_builtins): Don't build
16245 * c-common.h (enum c_tree_index and related accesor macros): Remove
16246 everything now declared in tree.h.
16247 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16248 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
16249 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
16250 (error_mark_node, void_type_node, char_type_node, integer_type_node,
16251 unsigned_type_node, ptr_type_node, va_list_type_node,
16252 integer_zero_node, null_pointer_node, integer_one_node): Delete.
16253 (init_decl_processing): Call build_common_tree_nodes and
16254 build_common_tree_nodes_2 instead of building their nodes here.
16255 Don't add roots for these nodes.
16256 * stor-layout.c (size_zero_node, size_one_node): Delete.
16257 (set_sizetype): Make a new node for bitsizetype each time.
16258 * tree.c (global_trees): New variable.
16259 (init_obstacks): Add a gc root for it.
16260 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16261 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
16262 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
16263 (build_common_tree_nodes): New function.
16264 (fix_sizetype): New function.
16265 (build_common_tree_nodes_2): New function.
16266 * tree.h (enum tree_index): New.
16267 (global_trees): Declare.
16268 Add accessor macros for all nodes now moved to global_trees.
16269 Delete their declarations.
16271 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
16273 * c-decl.c (finish_function): When processing a nested function,
16274 push and pop GC context around rest_of_compilation.
16276 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
16278 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
16279 Default ix86_arch to PROCESSOR_I386.
16280 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
16281 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
16282 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
16283 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
16284 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
16285 (EXTRA_SPECS): Remove deleted specs.
16287 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
16289 * function.c (assign_stack_local_1): Allocate from
16290 function->x_frame_offset, not frame_offset.
16292 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
16294 * ggc.h (lang_cleanup_tree): Remove.
16295 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
16296 * ggc-callbacks.c (lang_cleanup_tree): Remove.
16298 * c-decl.c (finish_struct): Use ggc_alloc to allocate
16299 TYPE_LANG_SPECIFIC when garbage collecting.
16300 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
16301 (lang_cleanup_tree): Remove.
16303 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16305 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
16306 * crtstuff.c: Not here.
16307 * dwarf2out.c: Or here.
16308 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
16311 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
16313 * function.h (free_after_compilation): Remove decl parameter.
16314 (free_varasm_status0: Likewise.
16315 (free_emit_status): Likewise.
16316 (free_stmt_status): Likewise.
16317 (free_after_compilation): Likewise.
16318 (init_lang_status): New variable.
16319 (free_lang_status): Likewise.
16320 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
16321 * function.c (init_lang_status): New variable.
16322 (free_lang_status): Likewise.
16323 (push_function_context_to): Don't set function::decl here.
16324 (free_after_copmilation): Make decl parameter implicit. Call
16325 free_lang_status if defined.
16326 (prepare_function_start): Call init_lang_status if defined.
16327 (init_function_start): Set function::decl here.
16328 * profile.c (output_func_start_profiler): Don't call pushdecl
16329 until we've actually started the function.
16330 * stmt.c (free_stmt_status): Make decl parameter implicit.
16331 * toplev.c (rest_of_compilation): Don't pass decl to
16332 free_after_compilation.
16333 * varasm.c (free_varasm_status): Likewise.
16335 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16337 * except.c (call_get_eh_context): Add root when allocating static
16340 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
16342 * arm.c: Include "ggc.h".
16343 (arm_add_gc_roots): New function.
16344 (arm_override_options): Call it.
16345 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
16347 * arm.md (define_asm_attributes): Add a pool_range attribute.
16349 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
16351 * extend.texi (Volatiles): New node.
16353 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
16355 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
16356 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
16357 (struct ggc_any): Replace `mark' with `magic_mark'.
16358 (ggc_alloc_string): Use memcpy, not bcopy.
16359 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
16360 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
16361 (ggc_free_any): New.
16362 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
16363 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
16364 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
16365 Use IS_MARKED. Use ggc_free_any.
16367 1999-09-09 Scott Bambrough <scottb@netwinder.org>
16369 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
16371 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
16373 * toplev.c (main): Always init_ggc.
16375 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
16377 * except.c (find_all_handler_type_matches): Free the list if
16378 we found no matches.
16380 * combine.c (SUBST): Break out to a real function do_SUBST.
16381 (SUBST_INT): Likewise.
16382 * gcse.c (free_pre_mem): Free `temp_bitmap'.
16383 (pre_insert): Free `inserted'.
16384 * loop.c (basic_induction_var): Always set `location'.
16386 * function.c (expand_function_end): Add initial_trampoline as a root.
16387 * rtl.h (init_varasm_once): Declare.
16388 * toplev.c (compile_file): Call it.
16389 * ggc-simple.c (ggc_mark_string_ptr): New.
16390 (ggc_add_string_root): New.
16391 (ggc_collect): Disable collection avoidance temporarily.
16392 * ggc.h (ggc_add_string_root): Declare.
16393 * except.c (create_rethrow_ref): Use ggc_alloc_string.
16394 * optabs.c (init_libfuncs): Likewise.
16395 * varasm.c (named_section): Use ggc_alloc_string.
16396 (make_function_rtl): Likewise.
16397 (make_decl_rtl): Likewise.
16398 (assemble_static_space): Likewise.
16399 (assemble_trampoline_template): Likewise.
16400 (output_constant_def): Likewise.
16401 (force_const_mem): Likewise.
16402 (mark_const_hash_entry): New.
16403 (mark_pool_sym_hash_table): New.
16404 (mark_varasm_state): Use it.
16405 (init_varasm_once): New.
16407 * expr.h (init_one_libfunc): Declare.
16408 * optabs.c (init_one_libfunc): New.
16409 (init_optabs): Use it.
16410 * config/gofast.h: Likewise.
16411 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
16412 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
16414 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16416 * Makefile.in (cppexp.o): Depend on cpphash.h.
16417 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
16419 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
16420 * cpplib.c (do_define): Generalise to handle poisoned definitions,
16421 redefining poisoned identifiers, etc.
16422 (do_undef): Don't allow poisoned identifiers to be undefined.
16423 (do_pragma): Add #pragma poison.
16424 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16426 * cccp.c: Add T_POISON node type.
16427 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
16429 (do_define): Generalise to handle poisoned definitions,
16430 redefining poisoned identifiers, etc.
16431 (do_undef): Don't allow poisoned identifiers to be undefined.
16432 (do_pragma): Add #pragma poison.
16433 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16435 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
16436 * c-pragma.h: Add ps_poison state. We now always have generic
16439 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
16441 * ggc.h (ggc_alloc): New function.
16442 (ggc_mark): Likewise.
16443 * ggc-simple.c (ggc_any): New structure.
16444 (ggc_status): Add anys.
16445 (n_anys_collected): New variable.
16446 (ggc_alloc): Define.
16447 (ggc_mark): Likewise.
16448 (ggc_collect): Collect the anys.
16450 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16452 * c-decl.c (mark_binding_level): Make static to match prototype.
16454 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
16456 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
16458 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
16460 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
16461 will use into account. Expand the max width to 5.
16464 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
16466 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
16467 for the rtx length.
16469 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
16471 * alpha.md (call value patterns): Remove the result predicates.
16473 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
16475 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
16478 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16480 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
16481 changed from extern char *, to extern PTR. Also fix typo in
16482 NEED_DECLARATION_REALLOC test.
16484 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
16486 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16488 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
16489 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
16490 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
16491 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
16493 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
16495 * cccp.c (pcfinclude): Likewise.
16497 * global.c (allocno_compare): Likewise.
16499 * haifa-sched.c (rank_for_schedule): Likewise.
16501 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
16503 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
16505 * stupid.c (stupid_reg_compare): Likewise.
16507 * tree.c (_obstack_allocated_p): Likewise.
16509 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
16511 1999-09-08 Bruce Korb autogen@linuxbox.com
16513 * Makefile.in: Give the hapless gperf user a hint about
16514 why "gperf -F" fails.
16516 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
16518 * lists.c: Include ggc.h.
16520 (init_EXPR_INSN_LIST_cache): Install it.
16522 * ggc-simple.c (init_ggc): Absorb the old init.
16523 (ggc_push_context): Use xcalloc.
16524 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
16525 (ggc_collect): Add [rvts] tags to the collection stats.
16527 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
16529 * cccp.c (main): Fix handling of -include and -imacros options.
16531 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
16533 * cpplib.c (cpp_push_buffer): Fix order of arguments.
16535 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16537 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
16540 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
16542 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
16543 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
16544 and SET_DEST. Update comment.
16546 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16548 * config/c4x/c4x.c: Include ggc.h.
16549 (c4x_add_gc_roots): New function.
16550 (c4x_override_options): Call c4x_add_gc_roots.
16552 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
16554 * defaults.h (TARGET_ESC): Move ...
16555 * system.h: ... here, where Linas had it in the first place. Silly me.
16557 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
16559 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
16560 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
16561 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
16562 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
16563 * defaults.h (TARGET_ESC): Add default.
16565 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
16567 * configure.in: add i370-*-openedition, i370-*-mvs and
16568 i370-*-linux targets
16570 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
16572 * dsp16xxx.c: Include ggc.h
16573 (override_options): Mark GC roots.
16574 * mn10200.c: Include ggc.h.
16575 (asm_file_start): Mark GC roots.
16576 * tahoe.c: Include ggc.h.
16577 (extensible_operand): Mark GC roots.
16579 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
16581 * README: Add section discussing status of ELF ABI.
16582 * i370.c: Fix misc spelling mistakes.
16583 (i370_label_scan): Updated notes, exception handling.
16584 (i370_function_prolog): Simplify ELF stack handling.
16585 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
16586 (STACK_GROWS_DOWNWARD): ELF stack grows down.
16587 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
16588 * i370.md: (movdi): Add notes.
16589 (floatsidf2): Use stack not rtca for scratch float area.
16590 (iorsi3): Correct operand constraints.
16591 * x-oe: Restore TAROUTOPTS which are used by pax.
16593 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
16595 * rs6000.c: Include ggc.h.
16596 (rs6000_add_gc_roots): New function.
16597 (override_options): Call it.
16599 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
16601 * alpha.h (alpha_compare): New.
16602 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
16603 * alpha.c: Likewise for the definitions.
16604 (alpha_emit_conditional_branch): Update for alpha_compare.
16605 (alpha_emit_conditional_move): Likewise.
16606 * alpha.md (cmpdf, cmpdi): Likewise.
16607 (setcc patterns): Likewise. Zero alpha_compare after use.
16608 (sne): Optimize (x != 0) into (0U < x).
16610 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
16612 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
16613 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
16614 (INIT_EXPANDERS): Remove.
16615 * alpha.c: Include ggc.h.
16616 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
16617 (alpha_init_machine_status, alpha_mark_machine_status): New.
16618 (override_options): Install them.
16619 (struct machine_function): Moved to alpha.h.
16620 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
16621 (alpha_init_expanders): Remove.
16622 (alpha_return_addr): Adjust to use current_function->machine.
16623 (alpha_ra_ever_killed): Likewise.
16624 (alpha_expand_epilogue): Likewise.
16625 * alpha.md (eh_epilogue): Likewise.
16627 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
16628 Melissa O'Neill <oneill@cs.sfu.ca>
16629 Geoffrey Keating <geoffk@cygnus.com>
16631 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
16632 call-used registers (call-saved registers must still be contiguous
16633 and end with r31, of course).
16635 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
16637 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
16638 (self_promoting_type_p): Delete.
16639 (self_promoting_args_p): Move ...
16640 * c-common.c: ... here.
16641 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
16642 (simple_type_promotes_to): New.
16643 * builtins.c (lang_type_promotes_to): New.
16644 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
16645 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
16646 * c-common.h: ... here.
16647 (self_promoting_args_p, simple_type_promotes_to): Declare.
16648 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
16649 (grokdeclarator): Likewise.
16650 * tree.h (lang_type_promotes_to): Declare.
16652 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
16654 Add some machine-dependent GC roots.
16655 * sparc.c: Include ggc.h.
16656 (sparc_add_gc_roots): New function.
16657 (mark_ultrasparc_pipeline_state): Likewise.
16658 (override_options): Call sparc_add_gc_roots.
16659 * pa.c: Include ggc.h.
16660 (pa_add_gc_roots): New function.
16661 (mark_deferred_plabels): Likewise.
16662 (override_options): Call pa_add_gc_roots.
16663 * mips.c: Include ggc.h.
16664 (mips_add_gc_roots): New function.
16665 (override_options): Use it.
16667 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16669 * cpperror.c (cpp_file_line_for_message): Constify a char*.
16671 * cppexp.c (parse_number, parse_charconst, cpp_lex,
16672 cpp_parse_expr): Add static prototypes.
16673 (parse_charconst): Don't cast away const-ness.
16674 (token): Constify a char*.
16676 * cppfiles.c (file_name_list, include_hash, find_include_file,
16677 finclude, initialize_input_buffer): Constify a char*.
16678 (file_cleanup, find_position): Add static prototypes.
16680 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
16681 collect_expansion): Add static prototypes.
16682 (cpp_install, create_definition, monthnames): Constify a char*.
16684 * cpphash.h (cpp_install): Likewise.
16686 * cppinit.c (known_suffixes, default_include,
16687 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
16688 (base_name, dump_special_to_buffer, initialize_dependency_output):
16689 Add static prototypes.
16691 * cpplib.c (my_strerror): Constify a char*.
16692 (null_underflow, null_cleanup, skip_comment, copy_comment,
16693 copy_rest_of_line, handle_directive, pass_thru_directive,
16694 get_directive_token, read_line_number, cpp_print_file_and_line,
16695 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
16696 v_cpp_warning_with_line, detect_if_not_defined,
16697 consider_directive_while_skipping): Add static prototypes.
16698 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
16699 cpp_pedwarn_with_file_and_line): Constify a char*.
16701 * cpplib.h (cpp_options, include_hash, progname, definition,
16702 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
16703 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
16704 find_include_file, deps_output, include_hash): Constify a char*.
16706 * cppmain.c (progname): Constify.
16707 (main): Add prototype. Use return, not exit.
16709 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
16710 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
16711 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
16712 check_protection): Add static prototype.
16714 (progname, recognized_macrom, recognized_extern): Constify a char*.
16715 (main): Add prototype.
16717 * gen-protos.c (progname): Constify a char*.
16719 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
16721 * emit-rtl.c (free_emit_status): Take decl as a parameter.
16722 (init_emit_once): Add more GC roots.
16723 * except.c (mark_func_eh_entry): New function.
16724 (mark_eh_node): Mark false_label and rethrow_label.
16725 (init_eh): Add more GC roots.
16726 * function.c (free_after_compilation): Take decl as a paramter.
16727 Call free_stmt_status.
16728 (mark_function_state): Don't assume x_parm_reg_stack_loc is
16730 * function.h (free_after_compilation): Change prototype.
16731 (free_varasm_status): Likewise.
16732 (free_emit_status): Likewise.
16733 (free_stmt_status): New function.
16734 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
16735 Remove, replacing with ...
16736 (ggc_status): New structure.
16737 (ggc_chain): New variable.
16738 (init_gcc): Define.
16739 (ggc_push_context): New function.
16740 (ggc_pop_context): Likewise.
16741 (ggc_alloc_rtx): Adjust for use of ggc_chain.
16742 (ggc_alloc_rtvec): Likewise.
16743 (ggc_alloc_tree): Likewise.
16744 (ggc_alloc_string): Likewise.
16745 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
16746 (ggc_mark_tree): Give language-dependent code a chance to mark
16748 (ggc_mark_tree_varray): Handle empty arrays.
16749 (ggc_collect): Adjust for use of ggc_chain. Clear
16750 bytes_alloced_since_last_gc.
16751 * ggc.h (ggc_pop_context): New function.
16752 (ggc_push_context): Likewise.
16753 * print-tree.c (print_node): Don't print obstacks when GC'ing.
16754 * stmt.c (free_stmt_status): New function.
16755 (init_stmt_for_function): Clear last_expr_value.
16756 * toplev.c (rest_of_compilation): Always call free_after_compilation.
16757 Conditionalize call to ggc_collect.
16758 (main): Call init_ggc.
16759 * tree.c (push_obstacks): Do the push, even when GC'ing.
16760 (push_obstacks_nochange): Likewise.
16761 (pop_obstacks): Liekwise.
16762 * varasm.c (free_varasm_status): Take decl as a parameter.
16764 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
16766 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
16767 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
16768 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
16769 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
16771 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
16773 * pa/x-pa-mpeix: New file for the MPE port.
16775 * pa/quadlib.asm: New file for long double support.
16777 * configure.in: Add hppa1.0-*-mpeix for MPE port.
16778 * configure: Rebuilt.
16780 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
16782 * final.c (shorten_branches): Fix last change.
16784 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
16786 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
16788 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
16790 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
16793 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16795 * c-aux-info.c (concat): Don't define.
16797 * cccp.c (my_strerror): Likewise. All callers changed to use
16799 (do_include): Call xstrdup, not xmalloc/strcpy.
16800 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
16801 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
16803 * collect2.c (my_strsignal): Likewise. All callers changed to use
16805 (locatelib): Call xstrdup, not xmalloc/strcpy.
16807 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
16809 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
16811 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
16813 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
16815 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
16817 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
16819 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
16821 (find_all_handler_type_matches): Likewise. Don't check return
16823 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
16824 xmalloc, not malloc.
16825 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
16827 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
16828 (init_spec): Call xcalloc, not xmalloc/bzero.
16829 (set_spec): Call xstrdup, not save_string.
16830 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
16831 (find_a_file): Call xstrdup, not xmalloc/strcpy.
16832 (process_command): Call xstrdup, not save_string.
16833 (main): Call xcalloc, not xmalloc/bzero.
16835 * gcov.c (xmalloc): Don't define.
16836 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
16837 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
16838 (output_data): Call xcalloc, not xmalloc/bzero.
16840 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
16842 * mips-tdump.c (xmalloc): Don't define.
16843 (print_symbol): Call xmalloc, not malloc.
16844 (read_tfile): Call xcalloc, not calloc.
16846 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
16847 Don't define. All callers of xfree/my_strsignal changed to use
16848 free/strsignal instead.
16849 (allocate_cluster): Call xcalloc, not calloc.
16851 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
16852 Fix memory leak, free allocated memory.
16854 * prefix.c (translate_name): Call xstrdup, not save_string.
16855 (update_path): Likewise.
16857 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
16859 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
16860 Don't define. Callers of xfree/savestring2 changed to use
16861 free/concat instead.
16863 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
16864 (init_elim_table): Likewise.
16866 * resource.c (init_resource_info): Likewise.
16868 * stupid.c (stupid_life_analysis): Likewise.
16870 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
16871 (open_dump_file): Call concat, not xmalloc/strcpy/...
16872 (clean_dump_file): Likewise.
16873 (compile_file): Call xstrdup, not xmalloc/strcpy.
16875 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
16877 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
16878 * v850.c (v850_va_arg): New.
16880 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16882 * haifa-sched.c: Tidy comments.
16884 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16886 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
16887 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
16888 $(out_object_file)): Depend on ggc.h.
16889 * c-common.c: Include "ggc.h".
16890 (combine_strings): If doing GC, use ggc_alloc_string.
16891 * c-decl.c: Include "ggc.h".
16892 (ggc_p): Define with value 0.
16893 (mark_binding_level): New function.
16894 (init_decl_processing): Add GC roots.
16895 (mark_c_function_context): New function.
16896 (lang_mark_false_label_stack): New function.
16897 (lang_mark_tree): New function.
16898 (lang_cleanup_tree): New function.
16899 * c-lang.c: Include "ggc.h".
16900 (lang_init): Call c_parse_init.
16901 * c-lex.c: Include "ggc.h".
16902 (check_linenum): If doing GC, don't copy filenames to permanent
16904 * c-parse.in: Include "ggc.h".
16905 (c_parse_init): New function.
16906 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
16907 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
16909 * except.c (mark_eh_state): Mark more state.
16910 * function.c (mark_function_state): Likewise.
16911 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
16912 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
16913 * toplev.c (mark_file_stack): New function.
16914 (compile_file): If doing GC, use ggc_alloc_string on input filename.
16915 (main): Add root for input_file_stack.
16917 * i386.c: Include "ggc.h".
16918 (ix86_mark_machine_status): New function.
16919 (override_options): Set mark_machine_status.
16921 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16923 * tree.c (copy_node): Copy node contents also if doing GC.
16925 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16927 * collect2.c (scan_libraries): Fix double-thinko :-).
16929 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
16931 * collect2.c (scan_libraries): Fix thinko.
16933 * cse.c (delete_trivially_dead_insns): Do not skip the last
16934 insn if it is a real insn.
16936 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
16938 * Makefile.in (ggc-simple.o): Depend on hash.h.
16939 * ggc.h (ggc_add_tree_hash_table_root): Declare.
16940 (ggc_mark_tree_varray): Likewise.
16941 (ggc_mark_tree_hash_table): Likewise.
16942 * ggc-simple.c: Include hash.h.
16943 (ggc_mark_tree_hash_table_ptr): New function.
16944 (ggc_mark_tree_hash_table_entry): Likewise.
16945 (ggc_mark_tree_hash_table): Likewise.
16946 (ggc_add_tree_hash_table_root): Likewise.
16947 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
16948 rtx, when defining fields.
16950 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
16952 * profile.c (output_func_start_profiler): Remove apparently
16953 nonsensical call to start_sequence.
16955 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
16957 * clipper/clipper.c (clipper_va_start): Fix typos.
16959 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
16960 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
16961 (spur_va_arg): New stub.
16963 * configure.in: Comment out pyramid.
16965 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
16967 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
16968 don't conflict with the bits that win32, cygwin, and dgux
16971 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
16972 Bernd Schmidt <bernds@cygnus.co.uk>
16974 * integrate.c (function_cannot_inline_p): Do not inline
16975 functions with forced labels.
16977 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
16978 Bernd Schmidt <bernds@cygnus.co.uk>
16979 Mark Mitchell <mark@codesourcery.com>
16981 * Makefile.in (ggc-simple.o): Depend on varray.h.
16982 (rtl.o): Depend on ggc.h.
16983 (genattrtab.o): Depend on ggc.h.
16984 (print-tree.o): Likewise.
16985 (fold-const.o): Likewise.
16986 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
16987 (make_insn_raw): Don't cache insns when GC'ing.
16988 (emit_insn_before): Likewise.
16989 (emit_insn_after): Likewise.
16990 (emit_insn): Likewise.
16991 (start_sequence): Use xmalloc to allocate the sequence_stack.
16992 (end_sequence): Add free to free it.
16993 (gen_sequence): Don't cache insns when GC'ing.
16994 (clear_emit_caches): Don't use sequence_element_free_list.
16995 (init_emit): Use xcalloc, not xmalloc+bzero.
16996 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
16997 * function.c (pop_function_context_from): Use free to free the
16998 fixup_var_refs_queue.
16999 (put_reg_into_stack): Allocate it with xmalloc.
17000 * genattrtab.c: Include ggc.h.
17001 (operate_exp): Don't use obstack_free when GC'ing.
17002 (simplify_cond): Likewise.
17003 (simplify_text_exp): Likewise.
17004 (optimize_attrs): Likewise.
17005 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17007 (gencode): Generate a #include for ggc.h.
17008 * ggc-callbacks.c (ggc_p): Define it to zero.
17009 * ggc-none.c (ggc_p): Likewise.
17010 * ggc-simple.c: Include varray.h.
17011 (ggc_mark_tree_varray): New function.
17012 (ggc_add_tree_varray_root): Likewise.
17013 (ggc_mark_tree_varray_ptr): Likewise.
17014 * ggc.h (ggc_p): Declare.
17015 (varray_head_tag): Likewise.
17016 (ggc_add_tree_varray_root): Declare.
17017 * print-tree.c (print_node): Don't check for TREE_PERMANENT
17018 inconsistencies when GC'ing.
17019 * rtl.c: Include ggc.h.
17020 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17021 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17022 (rtx_free): Don't call obstack_free when GC'ing.
17023 * toplev.c (rest_of_compilation): Call ggc_collect after every
17025 * tree.c (push_obstacks): Do nothing, if GC'ing.
17026 (pop_obstacks_nochange): Likewise.
17027 (pop_obstacks): Likewise.
17028 (make_node): Use ggc_alloc_tree when GC'ing.
17029 (copy_node): Likewise.
17030 (get_identifier): Use ggc_alloc_string when GC'ing.
17031 (build_string): Likewise.
17032 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
17033 (tree_cons): Likewise.
17034 (build1): Likewise.
17035 (type_hash_canon): Don't call obstack_free when GC'ing.
17037 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
17039 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
17040 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
17042 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
17043 Bernd Schmidt <bernds@cygnus.co.uk>
17044 Mark Mitchell <mark@codesourcery.com>
17046 * Makefile.in (stor-layout.o): Depend on ggc.h.
17047 (expr.o): Depend on ggc.h.
17048 (profile.o): Depend on ggc.h.
17049 (stor-layout.o): Depend on ggc.h.
17050 * emit-rtl.c (init_emit_once): Add gc roots.
17051 * expr.c: Include ggc.h.
17052 (emit_block_move): Add gc roots.
17053 (clear_storage): Likewise.
17054 * expr.h (init_stor_layout_once): New function.
17055 * profile.c: Include ggc.h.
17056 (init_arc_profiler): profiler_label is a root.
17057 * scan.c (make_sstring_space): Trust xrealloc to function
17058 correctly with first parameter NULL.
17059 * stor-layout.c: Include ggc.h.
17060 (set_sizetype): Add gc root.
17061 (init_stor_layout_once): New function.
17062 * toplev.c (compile_file): Call it.
17064 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
17065 Bernd Schmidt <bernds@cygnus.co.uk>
17066 Mark Mitchell <mark@codesourcery.com>
17068 * Makefile.in (tree.o): Depend on ggc.h.
17069 (varasm.o): Likewise.
17070 (function.o): Likewise.
17071 (stmt.o): Likewise.
17072 (except.o): Likewise.
17073 (optabs.o): Likewise.
17074 (emit-rtl.o): Likewise.
17075 * emit-rtl.c: Include ggc.h.
17076 (sequence_element_free_list): Remove, and all references.
17077 (mark_sequence): New functions.
17078 (mark_emit_state): New function.
17079 * except.c: Include ggc.h.
17080 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
17081 (mark_tree_label_node): New functions.
17082 (mark_eh_state): New function.
17083 * function.c: Include ggc.h.
17084 (mark_temp_slot, mark_function_chain): New functions.
17085 (mark_function_state): New function.
17086 (init_function_once): New function.
17087 * function.h (init_function_once): New function.
17088 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
17089 * ggc.h (label_node): Declare.
17090 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
17091 (lang_mark_false_label_stack): New function.
17092 (mark_temp_slot): Remove declaration.
17093 (mark_function_chain): Likewise.
17094 (mark_eh_state): Adjust prototype.
17095 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
17097 * optabs.c: Include ggc.h.
17098 (mark_optab): New function.
17099 (init_optabs): Add gc roots.
17100 * stmt.c: Include ggc.h.
17101 (mark_cond_nesting, mark_loop_nesting): New functions.
17102 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
17103 (mark_stmt_state): New function.
17104 * toplev.c (compile_file): Call init_function_once.
17105 * tree.c: Include ggc.h.
17106 (type_hash): Move declaration earlier in file.
17107 (TYPE_HASH_SIZE, type_hash_table): Likewise.
17108 (init_obstacks): Add gc roots.
17109 (mark_type_hash): New function.
17110 * varasm.c: Include ggc.h.
17111 (mark_pool_constant): New function.
17112 (mark_varasm_state): New function.
17114 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17116 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
17118 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17120 * c-decl.c (struct language_function): Renamed from struct c_function.
17122 (c_function_chain): Delete.
17123 (push_c_function_context): New arg F. Don't warn about nested
17124 functions here. Fill LANGUAGE elt of F. Delete code to update
17125 c_function_chain. Don't call push_function_context.
17126 (pop_c_function_context): New arg F. Restore from there instead of
17127 from c_function_chain. Don't call pop_function_context. Clear out
17128 LANGUAGE field of F when done.
17129 * c-lang.c: Include "function.h"
17130 (lang_init): Initialize save_lang_status and restore_lang_status.
17131 * c-parse.in (nested_function, nested_function_notype): Warn about
17132 nested functions. Call push_function_context/pop_function_context
17133 instead of the _c_ variants.
17134 * c-tree.h (push_c_function_context, pop_c_function_context): Update
17136 * Makefile.in (c-lang.o): Update dependencies.
17138 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
17139 regno_pointer_flag, regno_pointer_align.
17140 (gen_reg_rtx): Use xrealloc to enlarge them.
17141 (free_emit_status): New function.
17142 * function.c (mark_machine_status, mark_lang_status): New variables.
17143 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
17144 in some bits from assign_stack_local. All callers changed to use new
17146 (assign_stack_local): Just call assign_stack_local_1.
17147 (free_after_compilation): New function.
17148 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
17149 (trampoline_address): Likewise.
17150 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
17151 (prepare_function_start): Explicitly clear some more variables.
17152 * function.h (struct function): New elt can_garbage_collect.
17153 (mark_machine_status, mark_lang_status): Declare variables.
17154 (free_after_compilation, free_emit_status, free_varasm_status,
17155 init_varasm_status): Declare functions.
17156 * toplev.c (rest_of_compilation): Call free_after_compilation when
17157 done with the current function.
17158 * varasm.c (free_varasm_status): New function.
17160 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
17162 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
17163 (EXPAND_BUILTIN_VA_ARG): Define.
17164 * sparc.c (sparc_va_start): New.
17165 (sparc_va_arg): New.
17167 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17169 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
17171 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17173 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
17175 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
17177 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
17178 (OBJS): Add $(GGC).
17179 (ggc-callbacks.o): New target.
17180 * ggc-callbacks.c: New file.
17182 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17184 * expr.h: Collapse individual optab and libfunc vars to arrays.
17185 (optab_index, libfunc_index): New enumerations.
17186 (optab_table, libfunc_table): New arrays.
17187 Add accessor macros for both.
17189 * optabs.c (optab_table, libfunc_table): New.
17190 Delete declarations for individual optab and libfunc vars.
17192 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
17194 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
17196 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
17198 * Makefile.in (GGC, GGC_LIB): New.
17199 (HOST_RTL): Include ggc-none.o.
17200 (ggc-simple.o): New target.
17201 (ggc-none.o): Likewise.
17202 * tree.h (tree_common): Add gc_mark.
17203 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
17204 (struct rtvec_def): Add gc_mark.
17205 * emit-rtl.c (global_rtl): Update static initializers to contain
17206 enough initializers.
17207 * ggc.h, ggc-none.c, ggc-simple.c: New files.
17208 * toplev.c (gc_time): New variable.
17209 (all_time): New variable.
17210 (compile_file): Print gc time.
17211 (print_time): Calculate percentage of the whole.
17213 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17215 Change obstack memory management and varasm constant pool handling so
17216 that nested functions are treated like any other functions.
17217 * function.c (init_machine_status): New variable.
17218 (push_function_context_to): Set contains_functions for the outer
17219 function. Don't call save_varasm_status.
17220 (pop_function_context_from): Don't call restore_varasm_status. Don't
17221 set current_function_contains_functions.
17222 (prepare_function_start): Call init_varasm_status rather than
17223 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
17225 * function.h (struct function) Add field varasm. Delete fields
17226 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
17227 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
17228 (init_machine_status): Declare.
17229 (save_varasm_status, restore_varasm_status): Delete declarations.
17230 (save_tree_status, restore_tree_status): Delete last argument.
17231 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
17232 code. All callers changed.
17233 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
17234 save_constants_in_decl_trees, restore_constants, save_constants,
17235 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
17237 (inlining): New variable.
17238 (reg_map, label_map, insn_map, orig_asm_operands_vector,
17239 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
17241 (save_for_inline_nocopy): Don't save constants.
17242 Don't set inl_emit field in current_function.
17243 (expand_inline_function): Use emit field, not inl_emit, of the inlined
17244 function. Set new variable inlining before
17245 calling copy_rtx_and_substitute.
17246 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
17247 constant pool references if inlining is nonzero.
17248 Delete ADDRESS and (most of the) CONST cases.
17249 (output_inline_function): Save and restore current_function/
17250 current_function_decl. Delete restore_constants code. Don't call
17251 init_const_rtx_hash_table.
17252 * output.h (init_const_rtx_hash_table): Don't declare.
17253 * rtl.h (struct function): Declare.
17254 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
17255 * toplev.c (rest_of_compilation): Don't treat nested functions or
17256 functions containing them specially. Delete all code to deal with
17257 save_for_inline_copying.
17258 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
17259 inline_obstacks): Delete variables.
17260 (save_tree_status): Lose arg CONTEXT. All callers changed.
17261 Simply allocate a new function_maybepermanent_obstack for the new
17262 function, delete all the special cases.
17263 Don't save inline_obstacks.
17264 (restore_tree_status): Lose arg CONTEXT. All callers changed.
17265 Delete special handling for function_maybepermanent_obstack; simply
17267 Don't restore inline_obstacks.
17268 (permanent_allocation): Delete code that frees inline_obstacks.
17269 (print_inline_obstack_statistics): Delete function.
17270 (dump_tree_statistics): Don't call it.
17271 * varasm.c (struct varasm_status): New.
17272 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
17273 last_pool, pool_offset, const_double_chain): Delete global
17274 variables, replace with accessor macros.
17275 (immed_double_const): Don't walk const_double_chain outside a
17276 function, but don't treat nested functions specially anymore.
17277 (immed_real_const_1): Likewise.
17278 (clear_const_double_mem): Don't treat nested functions specially.
17279 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
17280 (save_varasm_status, restore_varasm_status): Delete functions.
17281 (init_varasm_status): New function.
17282 (force_const_mem): Don't treat nested functions specially.
17283 (find_pool_constant): Accept new arg F, search for constants in
17284 that function's pool rather than the current one. All callers
17286 (get_pool_constant_for_function, get_pool_mode_for_function): New
17289 * i386.c (init_386_machine_status): New function, mostly from
17290 clear_386_stack_locals.
17291 (struct machine_functions): Rename element names to avoid name
17293 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
17294 macros, replacing global variables.
17295 (clear_386_stack_locals, save_386_machine_status,
17296 restore_386_machine_status): Delete functions.
17297 (override_options): Initialize init_machine_status.
17298 * i386.h (INIT_EXPANDERS): Delete macro.
17299 (save_386_machine_status, restore_386_machine_status,
17300 clear_386_stack_locals): Delete declarations.
17302 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17304 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
17305 (doloop_begin): Simplify pattern and use emit_jump_insn.
17306 (doloop_end): Simplify pattern, switch operand order,
17307 and use emit_jump_insn.
17309 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17311 * function.h (struct function): Add new element LANGUAGE.
17312 (save_lang_status): Declare new variable.
17313 (restore_lang_status): Likewise.
17314 * function.c (save_lang_status): Define.
17315 (restore_lang_status): Likewise.
17316 (push_function_context_to): Call language-specific save function.
17317 (pop_function_context_from): Call language-specific restore function.
17319 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
17321 * i386.md (movsf_1): Check REG_P before use of REGNO.
17322 (movdf_1): Likewise.
17323 (movxf_1): Likewise.
17324 (extendsfdf2): Likewise.
17325 (extendsfxf2): Likewise.
17326 (extenddfxf2): Likewise.
17328 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17330 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
17331 constants into memory.
17332 (c4x_shiftable_constant): New function.
17333 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
17334 (c4x_shiftable_constant): Declare.
17335 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
17336 ashlqi3_noclobber): Add new patterns and associated splitters.
17338 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
17340 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
17341 * dwarf2out.c (dwarf2out_frame_init): Likewise.
17342 * final.c (shorten_branches): Likewise.
17343 * global.c (global_alloc): Likewise.
17344 * haifa-sched.c (build_control_flow): Likewise.
17345 * stmt.c (check_for_full_enumeration_handling): Likewise.
17346 (estimate_case_costs): Likewise.
17348 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
17350 * rtl.h (RTL_CHECKC2): Fix typo in last change.
17352 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
17354 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
17355 (recompute_reg_usage): Likewise.
17356 * rtlanal.c (find_regno_fusage): Likewise.
17358 * rtl.c (rtl_check_failed_code1): New function.
17359 (rtl_check_failed_code2): New.
17360 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
17361 (RTL_CHECKC1, RTL_CHECKC2): New.
17362 (XC*): New accessor macros.
17363 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
17364 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
17365 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
17366 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
17367 (TRAP_*, RANGE_INFO_*): Likewise.
17369 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17371 * Makefile.in (tlink.o): Don't depend on toplev.h.
17373 * collect2.c (c_file, o_file, export_file, import_file, ldout,
17374 output_file, nm_file_name, ldd_file_name, strip_file_name,
17375 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
17376 add_prefix, prefix_from_env, prefix_from_string, do_wait,
17377 fork_execute, maybe_unlink, add_to_list,
17378 extract_init_priority, write_list, dump_list,
17379 dump_prefix_list, write_list_with_asm, write_c_file,
17380 write_c_file_stat, write_c_file_glob, scan_prog_file,
17381 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
17382 ignore_library, extract_string, notice, dump_file, target_machine,
17383 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
17384 read_file, print_load_command): Constify a char*.
17385 (fdopen, error, fatal, fatal_perror): Don't prototype.
17386 (my_strerror): Remove. All callers use xstrerror instead.
17387 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
17388 (main): Add prototype. Constify lots of char* ptrs. Change calls
17389 to xcalloc/strcpy/strcat/... to one call to concat.
17390 (main, scan_prog_file, scan_libraries): Use an intermediate
17391 `const char **' to build an argv array.
17392 (mapfile, libselect, libcompare, locatelib): Add prototypes.
17394 * collect2.h (collect_execute, collect_wait, dump_file,
17395 file_exists): Constify a char*.
17396 (ldout, c_file_name, temporary_obstack, permanent_obstack,
17397 temporary_firstobj, vflag, debug): Add extern declarations.
17398 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
17400 * tlink.c: Don't include toplev.h.
17401 (vflag, debug, ldout, c_file_name, temporary_obstack,
17402 permanent_obstack, temporary_firstobj): Don't declare.
17403 (tlink_execute, frob_extension, symbol_hash_lookup,
17404 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
17405 recompile_files, read_repo_files, demangle_new_symbols,
17406 scan_linker_output): Constify a char*.
17407 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
17408 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
17410 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
17412 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
17413 (relative) rather than jsr (absolute) subroutine call insns.
17414 * config/m68k/m68k-coff.h: Ditto.
17416 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
17418 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
17419 now rework these too.
17420 (arm_reorg): If an insn can't reach the end of the current pool,
17421 ensure that we emit that pool before the insn.
17423 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
17425 * tlink.c (scan_linker_output): Skip the initial underscore in
17426 a mangled name if appropriate.
17428 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17430 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
17431 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
17432 error_with_ivar, gen_declarator, create_builtin_decl,
17433 my_build_string, generate_descriptor_table, generate_ivars_list,
17434 generate_dispatch_table, check_protocols, TAG_GETCLASS,
17435 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
17436 dump_base_name, lang_decode_option, build_encode_expr,
17437 start_class, finish_class, encode_pointer, really_start_method,
17438 gen_declaration, dump_interface, handle_class_ref, handle_impent):
17440 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
17441 Add static prototypes.
17442 (build_objc_string_decl, build_selector_reference_decl,
17443 encode_bitfield, build_class_reference_decl): Remove unused
17444 parameter, all callers changed.
17445 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
17446 (objc_printable_name): Likewise. Change second parameter to type int.
17447 (init_objc): Use memcpy, not bcopy, to avoid casts.
17449 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
17451 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
17452 reg notes on a deleted insn.
17453 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
17455 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
17457 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
17459 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17461 * stmt.c (expand_asm_operands): Fix index into inout_mode when
17464 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
17466 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
17467 * tm.texi (MD_ASM_CLOBBERS): Document it.
17469 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
17471 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
17472 * except.c (expand_rethrow): Remove unused variable.
17473 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
17474 * flow.c (replace_insns): Likewise.
17475 (create_edge_list, verify_edge_list): Likewise.
17476 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
17478 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
17479 is special code to run.
17480 (main): Don't define operands to emit_operand.
17481 * genrecog.c (main): Don't emit an empty peephole2_insn function.
17483 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
17485 * alpha/alpha.h (normal_memory_operand): Declare.
17486 (reg_no_subreg_operand): Declare.
17487 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
17489 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
17491 * c-parse.in (compstmt_primary_start): New, broken out of first
17492 part of compstmt handling in primary.
17493 (primary): Use it. Add an error clause.
17494 (compstmt_nostart): Renamed from compstmt; remove all
17495 initial invocations of compstmt_start.
17498 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
17500 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
17503 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
17505 * combine.c (simplify_shift_const): Remove extra semicolon.
17506 * dwarf2out.c (remove_AT): Likewise.
17507 * expmed.c (expand_mult): Likewise.
17508 * gcov.c (create_program_flow_graph): Likewise.
17509 * reorg.c (mostly_true_jump): Likewise.
17511 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
17513 * fold-const.c (fold_range_test): Do not try to fold the range
17514 test if the rhs or lhs has side effects.
17516 * combine.c (simplify_rtx): Recognize another case of a synthesized
17519 * varasm.c (mark_constant_pool): When marking indirect references,
17520 only look at SYMBOL_REFs.
17522 * except.c (expand_fixup_region_end): Do not peek at
17523 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
17525 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
17527 * flags.h: New variables align_loops, align_loops_log,
17528 align_jumps, align_jumps_log, align_labels, align_labels_log,
17529 align_functions, align_functions_log.
17530 * toplev.c: Define them.
17531 (f_options): Handle -falign-* when they have no argument.
17532 (main): Add logic to set variables for -falign-functions,
17533 -falign-jumps, -falign-labels, -falign-loops.
17534 Make it -fsched-verbose=<n> and -finline-limit=<n>.
17535 (display_help): Change help to match options.
17536 * final.c (LABEL_ALIGN): Default to align_labels_log.
17537 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
17538 (LOOP_ALIGN): Default to align_loops_log.
17539 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
17540 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17541 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
17542 * varasm.c (assemble_start_function): Handle align_functions.
17544 * config/sparc/sparc.h: Don't declare sparc_align_*.
17545 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
17546 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
17548 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
17550 * config/sparc/sparc.c: Delete sparc_align_loops,
17551 sparc_align_jumps, sparc_align_funcs and the corresponding string
17553 (sparc_override_options): Default align_functions on ultrasparc.
17554 Delete -malign-* handling.
17556 * config/mips/mips.c (override_options): On 64-bit targets,
17557 try to align code to 64-bit boundaries.
17558 (print_operand): New substitution, %~,
17559 which aligns labels to align_labels_log.
17560 * config/mips/mips.md (div_trap_normal): Use %~.
17561 (div_trap_mips16): Likewise.
17563 (absdi2): Likewise.
17564 (ffssi2): Likewise.
17565 (ffsdi2): Likewise.
17566 (ashldi3_internal): Likewise.
17567 (ashrdi3_internal): Likewise.
17568 (lshrdi3_internal): Likewise.
17569 (casesi_internal): Likewise.
17571 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
17573 Merge new ia32 backend from the branch!
17575 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
17576 See ChangeLog.P2 on new_ia32_branch for details.
17578 * rtl.h (stack_regs_mentioned_p): Delete prototype.
17579 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
17580 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17581 * i386/gas.h (ASM_FILE_START): Define.
17582 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
17583 for name change of ix86_valid_decl_attribute_p.
17584 (i386_pe_valid_type_attribute_p): Similarly.
17586 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
17588 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
17589 to step through CC modes.
17591 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17593 * regmove.c (fixup_match_1): Don't move INSN in front of P if
17594 it would end up in the shadow of a live flags regsiter.
17596 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17598 * reload1.c: Fix many indentation problems.
17599 * reload.c: Likewise.
17601 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
17603 * alias.c (non_local_reference_p): Constify fmt.
17605 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
17607 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
17609 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
17611 * cse.c (delete_trivially_dead_insns): Do not delete stores to
17612 the internal_arg_pointer.
17614 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
17616 Merge peephole2 from new_ia32_branch:
17617 * Makefile.in (STAGESTUFF): Add *.peephole2.
17618 (mostlyclean): Likewise.
17619 (recog.o): Depend on resource.h.
17621 * final.c (peephole): Conditionalize decl on HAVE_peephole.
17622 (final_scan_insn): Likewise for the invocation of peephole.
17623 * genconfig.c (main): Look for peephole and peephole2 patterns.
17624 Emit HAVE_peephole* accordingly.
17625 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
17626 * flags.h (flag_peephole2): Declare.
17627 * toplev.c: New pass peephole2. New flag -fpeephole2.
17629 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
17630 * gencodes.c (main): Likewise.
17631 * genextract.c (main): Likewise.
17632 * genoutput.c (main): Likewise.
17633 * genemit.c (max_operand_1): Look for the max scratch operand.
17634 (gen_rtx_scratch): New.
17635 (gen_exp): Use it, and pass on new arg subroutine_type.
17636 (gen_expand): Take max scratch into account.
17637 (gen_split): Emit peephole2 functions.
17638 (output_peephole2_scratch): New.
17639 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
17640 * genrecog.c (routine_type): Add PEEPHOLE2.
17642 (make_insn_sequence): Match outer parallel for peep2. Discard
17643 top level scratches and dups.
17644 (add_to_sequence): New args insn_type and top. Update all callers.
17645 Handle toplevel peep2 matching insns.
17646 (write_subroutine): Handle peep2.
17647 (write_tree_1): Likewise.
17648 (write_tree): Likewise.
17650 (change_state): New arg afterward. Update all callers.
17651 Handle matching separate insns.
17652 * recog.c (recog_next_insn): New.
17653 (peephole2_optimize): New.
17654 * rtl.def (DEFINE_PEEPHOLE2): New.
17655 * resource.c (find_free_register): New argument last_insn. Use it
17656 to find a register available through the entire span.
17657 * resource.h (find_free_register): Update prototype.
17659 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
17661 * i386.c (output_strlen_unroll): Don't write xops[7]
17662 label if it wasn't set.
17664 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
17666 * cpplib.c (struct directive): Const-ify name pointer and
17667 function pointer prototype.
17668 (validate_else, do_define, do_line, do_include, do_undef,
17669 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
17670 do_elif, do_endif, do_sccs, do_assert, do_unassert,
17671 do_warning): Const-ify second arg.
17672 (directive_table): Mark const. Reorder entries by frequency
17673 of usage, record statistics.
17675 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
17677 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
17678 bounds- check RTL accesses if --enable-checking.
17679 (RTVEC_ELT): Bounds check if --enable-checking.
17680 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
17681 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
17682 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
17684 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
17685 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
17687 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
17688 (NOTE_SOURCE_FILE): Use X0STR.
17689 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
17690 MEM_ALIAS_SET): Use X0INT.
17691 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
17692 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
17694 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
17695 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
17696 (rtl_check_failed_bounds, rtl_check_failed_type1,
17697 rtl_check_failed_type2, rtvec_check_failed_bounds): New
17699 (fancy_abort): Fix comment.
17701 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
17702 (cse_insn): Decrement LABEL_NUSES for jump target before
17703 deleting jump insn.
17704 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
17705 * final.c (alter_subreg): Compute regno before changing x to
17706 REG; set REGNO(x) after changing it.
17707 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
17708 notes containing CONST_INTs.
17709 (delete_eh_regions): Use NOTE_EH_HANDLER.
17710 * function.c (put_reg_into_stack): Make reg a MEM before
17712 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
17714 (gen_mem_addressof): Make reg a MEM before initializing it.
17715 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
17717 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
17718 deleting an insn, not after.
17719 (block_alloc): Only look at PATTERN(insn) if we have to, and
17720 only if it's format class 'i'.
17721 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
17722 CONST_INT before using its INTVAL.
17723 * print-rtl.c (print_rtx): Use X0STR.
17724 * regmove.c (fixup_match_1): Don't look at PATTERN of
17725 non-class-'i' insn chain elements.
17726 * reload.c (loc_mentioned_in_p): Take address of
17727 in->fld[1].rtx directly.
17728 * reload1.c (reload): Change reg to a MEM before initializing
17730 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
17732 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
17734 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
17736 * config/mips/mips.c (machine_dependent_reorg): Force a
17737 barrier to output the local constant pool if a barrier hasn't
17738 been found at a natural point in the instruction stream.
17740 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17742 * c-parse.in (language_string): Constify.
17744 * dwarf2out.c (language_string): Remove declaration.
17746 * dwarfout.c (language_string): Likewise.
17748 * toplev.c (language_string, init_parse, finish_parse): Likewise.
17750 * tree.h (language_string, init_parse, finish_parse): Declare.
17752 * i386/sun386.h (language_string): Remove declaration.
17754 * mips.h (language_string): Likewise.
17756 * nextstep.h (language_string): Likewise.
17758 * nextstep21.h (language_string): Likewise.
17760 * rs6000.c (language_string): Likewise.
17762 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17764 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
17765 (getpwd.o): Remove target.
17767 * getpwd.c: Delete file. Its in libiberty now.
17769 * dbxout.c (getpwd): Don't prototype.
17770 * dwarf2out.c (getpwd): Likewise
17771 * dwarfout.c (getpwd): Likewise
17772 * final.c (getpwd): Likewise.
17773 * protoize.c (getpwd): Likewise.
17775 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17777 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
17779 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
17781 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
17782 mark_set_resources.
17784 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
17786 * fixinc/Makefile.in (subdir): New.
17787 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
17790 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
17792 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
17793 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
17796 * invoke.texi: Fix typo.
17798 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
17799 changed. Handle autoincrement addressing modes.
17801 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
17802 just like we would the virtual incoming args register when
17805 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
17807 * rs6000.h (ASM_FILE_START): Specify complete filename, including
17808 path, in .file directive.
17810 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
17812 * gcc.texi (External Bugs): Remove obsolete note about Perl on
17815 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
17817 * stdbool.h: Make the typedef name _Bool, with bool a #defined
17820 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17822 * tree.c (tree_code_name): Constify a char*.
17824 * tree.h (tree_code_name, decl_printable_name): Likewise.
17826 * function.h (struct function): Likewise.
17828 * toplev.c (decl_name, decl_printable_name): Likewise.
17830 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
17832 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
17833 (init_objc): Remove function pointer cast.
17835 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
17837 * pa.md (interspace_jump): New pattern.
17838 (builtin_longjmp): New expander.
17840 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
17842 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
17843 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
17844 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
17846 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
17848 * jump.c (delete_prior_computation): Also check calls
17849 to constant functions. Don't bother checking for a
17850 REG_UNUSED note before adding it.
17851 (delete_computation): Handle multi-word hard registers
17852 when synthesizing missing REG_DEAD notes for a register
17853 which is both set and used by an insn.
17855 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17857 * loop.c (this_loop_info): New variable.
17858 (loop_has_call, loop_has_volatile, loop_has_tablejump,
17859 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
17861 (prescan_loop, strength_reduce): New argument loop_info. All callers
17863 (scan_loop): New variable loop_info, initialise to address of
17865 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
17866 Delete variable loop_has_multiple_exit targets and replace with
17867 field in this_loop_info.
17868 (find_and_verify_loops): Rename this_loop to this_loop_num.
17869 (strength_reduce): Delete loop_iteration_info. Replace variable
17870 loop_info with function argument of same name.
17871 (insert_bct): Rework test for loop being completely unrolled.
17873 * loop.h (struct loop_info): New fields num, loops_enclosed,
17874 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
17875 has_indirect_jump, and cont. Redefine use of unroll_number.
17876 (loop_unroll_number): Delete.
17878 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
17879 field of loop_info.
17880 (loop_iterations): Delete variable vtop and instead use
17881 loop_info->vtop computed in prescan_loop.
17883 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
17885 * fix-header.c (main): Do not pass a null pointer to strcmp.
17887 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
17889 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
17891 * configure: Rebuilt.
17893 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
17895 * jump.c (jump_optimize_1): Do not delete assignments to
17896 internal_arg_pointer.
17897 * cse.c (delete_trivially_dead_insns): Always consider a set of
17898 the internal_arg_pointer live.
17900 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
17902 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
17903 (update_life_info) [REG_WAS_0]: Search the original insns rather
17904 than the new insns for the note. Fix typos finding note_dest.
17905 If no dest found, discard the note rather than abort.
17906 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
17907 (replace_insns): Remove the old insn list after update_life_info
17910 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
17912 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
17913 sched_analyze_insn.
17914 (sched_analyze_1): Let add_dependence care for not adding dups.
17915 (sched_analyze_2): Likewise.
17916 (add_branch_dependences): Likewise.
17918 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
17920 * i386/winnt.c (export_list): New type.
17921 (exports_head): Rename to
17922 (export_head): this.
17923 (i386_pe_record_exported_symbol): Add is_data flag.
17924 (i386_pe_asm_file_end): Emit directive for exported variables.
17925 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
17927 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
17928 (ASM_DECLARE_OBJECT_NAME): Likewise.
17929 (ASM_DECLARE_FUNCTION_NAME): Likewise.
17930 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
17932 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
17934 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
17936 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
17939 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
17941 * config/openbsd.h: Define SET_ASM_OP.
17942 * tm.texi: cross-reference SET_ASM_OP in the index.
17944 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
17946 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
17947 for a CONST_DOUBLE, at compile time. Initialize rtx_length
17948 and class_narrowest_mode at compile time. Kill init_rtl.
17949 Mark rtx_length, mode_class, mode_size, mode_unit_size,
17950 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
17951 rtx_format as const. Kill all references to EXTRA_CC_MODES or
17953 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
17955 * rtl.h: Declare rtx_length and rtx_format as const.
17956 * machmode.def: Define CC(). Use CC() to define CCmode. If
17957 EXTRA_CC_MODES is defined, expand it here.
17958 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
17959 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
17960 const. Kill all references to EXTRA_CC_MODES.
17962 * toplev.c: Don't prototype or call init_rtl.
17963 * optabs.c: Don't call init_mov_optab.
17964 * genemit.c: Don't generate init_mov_optab. Don't call
17966 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
17968 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
17969 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
17970 genrecog.c: Don't call init_rtl.
17972 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
17973 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
17974 definition of EXTRA_CC_MODES.
17976 * md.texi: Kill ref to EXTRA_CC_NAMES.
17977 * tm.texi: Document new way to define EXTRA_CC_MODES.
17979 * genrecog.c: Do not look up the name of a define_split.
17980 (Unrelated bugfix.)
17982 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
17984 * config/v850/v850.md: Fix typo introduced by previous delta.
17986 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17988 * gcc.c (fatal): Make definition static to match prototype.
17990 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17992 * combine.c (get_last_value): Don't look for earlier sets if the last
17993 known set is somewhere in between the insns being combined.
17995 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
17997 * configure.in: Don't use shell ! to negate exit codes
17998 * configure: Regenerate
18000 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
18002 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18003 the fact that ALIGN is measured in bits, not bytes.
18005 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
18007 * errors.c: New file; defines functions error, warning, and
18008 fatal, variables have_error and progname.
18009 * errors.h: New file; prototypes and decls for stuff in errors.c.
18011 * Makefile: Add rules to build errors.o and
18012 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
18013 genopinit, genrecog, genextract, genpeep, genattr, and
18014 genoutput with errors.o. Add errors.h to deps of genconfig.o,
18015 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18016 genpeep.o, genattr.o, and genoutput.o.
18018 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18019 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
18020 define or prototype fatal. Set progname at beginning of main.
18021 * genoutput.c: Likewise, and don't define or prototype error
18024 * c-typeck.c (c_expand_start_case): Return immediately if exp
18026 * fold-const.c (operand_equal_p): Return immediately if arg1
18027 or arg0 are ERROR_MARKs.
18028 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18029 fields of type ERROR_MARK when calculating if the record can
18032 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
18033 with much help from Jeffrey A Law and Richard Henderson
18035 * i386.md: In the 6 insns which call output_fix_trunc,
18036 earlyclobber operands[0].
18038 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
18040 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
18041 creating new registers.
18043 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
18045 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
18046 i386_reg_alloc_order, i386_regparm_string,
18047 i386_align_loops_string, i386_align_jumps_string,
18048 i386_align_funcs_string, i386_preferred_stack_boundary_string,
18049 and i386_branch_cost_string as type "const char *".
18050 * i386.c: Define all above strings as type "const char *".
18052 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
18054 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
18055 when emitting alignment padding. Emit padding byte of 0 instead of 4.
18057 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
18059 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
18060 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
18062 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
18064 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
18065 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
18066 (dwarf2out_line, dwarf2out_finish): Likewise.
18067 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
18069 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
18071 * tree.c (lang_unsave_expr_now) : Correct return type.
18072 * tree.h (lang_unsave_expr_now) : Same.
18074 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
18076 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
18077 instead of duplicating code.
18079 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18081 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
18083 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
18085 * tree.h: fancy_abort always takes three args.
18086 * resource.c: Move include of system.h before toplev.h.
18088 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
18090 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
18093 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
18095 * system.h: Don't redefine abort or trim_filename.
18096 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
18097 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
18098 whether or not __FUNCTION__ is available.
18099 * tree.h: Duplicate rtl.h's definition of abort, for files
18100 that don't include rtl.h. Delete all code to perform type
18101 checking with a compiler other than GCC.
18102 * varray.h: Delete all code to perform type checking with a
18103 compiler other than GCC. Make VARRAY_CHECK() always evaluate
18104 its arguments exactly once, using a statement expression.
18105 Adjust the VARRAY_<type> accessor macros to match.
18106 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
18107 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
18108 caller's location. Define fatal_insn and fatal_insn_not_found
18109 as macros that use _fatal_insn and _fatal_insn_not_found.
18110 (fancy_abort, trim_filename): Kill prototypes.
18112 * rtl.c (trim_filename): Move here from toplev.c.
18113 (fancy_abort): New function.
18114 (DIR_SEPARATOR): Provide default definition.
18115 * tree.c (tree_check_failed, tree_class_check_failed): Go
18116 through fancy_abort.
18117 (tree_check, tree_class_check, cst_or_constructor_check,
18118 expr_check): Delete.
18119 * varray.c (varray_check_failed): New function.
18120 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
18121 _fatal_insn and _fatal_insn_not_found. Go through
18123 (trim_filename, fancy_abort): Delete.
18125 * builtins.c (expand_builtin_args_info): Report ICE with abort.
18126 * except.c (start_catch_handler): Report ICE with error/abort
18128 * final.c (output_operand_lossage): Likewise.
18129 * flow.c (verify_flow_info): Likewise.
18131 * gcc.c: Prototype fatal.
18132 * gengenrtl.c: Undef abort after including rtl.h not system.h.
18133 * genattr.c, genattrtab.c, genemit.c, genextract.c,
18134 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
18135 Don't define fancy_abort.
18137 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
18139 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
18142 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
18144 * m88k.h (VERSION_INFO2): Kill.
18145 (VERSION_STRING): Kill.
18147 (VERSION_INFO1): Tidy.
18148 (TARGET_VERSION): Update.
18149 * m88k/dgux.h (VERSION_INFO2): Kill.
18150 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
18151 * m88k/luna.h (VERSION_INFO1): Tidy.
18152 * m88k/sysv4.h (VERSION_INFO1): Likewise.
18153 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18154 (output_file_start): Adjust for death of VERSION_STRING.
18156 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
18158 * cpplib.c (detect_if_not_defined): New function.
18159 (do_if): Use it to detect potential once-only headers.
18161 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
18163 * c-common.c (combine_strings): Always set TREE_CONSTANT.
18165 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
18167 * combine.c (nonzero_bits) : Allow single-ly set registers to be
18168 anywere in the function only if they are pseudos and set before
18169 being used (not live at the start of the function).
18170 (num_sign_bit_copies) : Same.
18171 (get_last_value_validate) : Same.
18172 (get_last_value) : Same.
18174 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
18176 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
18177 where N and M are constant and N is an integer multiple of M.
18179 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18181 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
18182 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
18183 sbitmap_union_of_preds): Add prototypes.
18184 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
18185 the intersection of successors with the new flow graph structures.
18186 (sbitmap_intersection_of_preds): New function to compute the
18187 intersection of predecessors with the new flow graph structures.
18188 (sbitmap_union_of_succs): New function to compute the union of
18189 successors with the new flow graph structures.
18190 (sbitmap_union_of_preds): New function to compute the union of
18191 predecessors with the new flow graph structures.
18192 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
18193 (expr_reaches_here_p): Use edge and basic_block structures instead
18194 of s_preds and s_succs.
18195 (compute_cprop_avinout): Use new sbitmap routines.
18196 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
18197 of s_preds and s_succs.
18198 * flow.c (compute_flow_dominators): Compute dominators using
18199 edges and basic blocks instead of s_preds and s_succs.
18201 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18203 * lists.c (unused_insn_list, unused_expr_list): New file for
18204 maintaining various types of lists. New statics for maintaining a
18205 cache of available INSN_LIST and EXPR_LIST nodes.
18206 (free_list): Static function for freeing a list of INSN/EXPR nodes.
18207 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
18208 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
18209 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
18210 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
18211 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
18212 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
18213 (free_INSN_LIST_node): Free an individual INSN_LIST node.
18214 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
18215 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
18216 (remove_dependence, free_pending_lists): Use new global routines.
18217 (flush_pending_lists, sched_analyze_insn): Use new global routines.
18218 (sched_analyze, compute_block_backward_dependences): Use new routines.
18219 (sched_analyze_1, sched_analyze_2): Use new routines.
18220 (schedule_insns): Use new global routines.
18221 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
18223 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
18224 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
18226 * toplev.c (rest_of_compilation): Initialize node cache.
18227 * Makefile.in (OBJS): Add lists.o to list of object files.
18228 (lists.o): Add dependancies.
18230 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
18232 * config/v850/v850.md: Fix compile time warning messages.
18233 * config/v850/v850.c: Fix compile time warning messages.
18234 * config/v850/v850.h: Fix compile time warning messages.
18236 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18238 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
18239 Remove unused prototype for `init_lengths'.
18241 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18243 * calls.c (emit_call_1): Mark parameter `stack_size' with
18245 (expand_call): Initialize variable `insn'.
18246 (emit_library_call): Likewise for variable `high_to_save'.
18247 (emit_library_call_value): Likewise.
18248 (store_one_arg): Likewise for variables `lower_bound' and
18251 * combine.c (try_combine): Likewise for variables `i2_code_number'
18252 and `other_code_number'.
18253 (find_split_point): Likewise for variables `pos', `unsignedp' and
18255 (simplify_if_then_else): Likewise for variables `op' and `c1'.
18256 (simplify_and_const_int): Remove unused variable `width'.
18257 (merge_outer_ops): Likewise.
18259 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
18260 HOST_WIDE_INT' when comparing against one.
18261 (simplify_relational_operation): Likewise.
18262 (cse_insn): Initialize variables `src_eqv_volatile',
18263 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
18265 * final.c (init_final): Constify parameter `filename'.
18266 (final_start_function): Mark parameter `optimize' with
18268 (profile_function): Likewise for parameters `first' and `optimize'.
18269 (output_source_line): Likewise for parameter `file'.
18271 * integrate.c (subst_constants): Cast a value to `size_t' when
18272 comparing against one.
18273 (mark_stores): Initialize variable `mode'. Cast a value to
18274 `size_t' when comparing against one.
18276 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
18278 * loop.c (move_movables): Initialize variable `first'.
18279 (strength_reduce): Likewise for variable `increment'.
18280 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
18281 value to `size_t' when comparing against one.
18282 (load_mems): Initialize variable `end_label'.
18284 * output.h (init_final): Constify parameter.
18286 * reload.c (decompose): Initialize variable `base'.
18288 * reload1.c (reload): Likewise for variable `is_scalar'.
18289 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
18290 (choose_reload_regs): Initialize variable `mode'.
18291 (emit_reload_insns): Likewise for variable `store_insn'.
18292 (reload_cse_noop_set_p): Mark parameter `insn' with
18294 (reload_combine): Initialize variable `set'.
18296 * unroll.c (unroll_loop): Likewise for variable `local_label'.
18297 (copy_loop_body): Cast a value to `size_t' when comparing against
18300 * varasm.c (assemble_variable): Initialize variable `size_tree'.
18301 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
18302 (remove_from_pending_weak_list): Mark parameter `name' with
18305 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18307 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
18310 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
18312 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
18313 (ASM_DECLARE_FUNCTION_NAME): Define.
18314 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
18315 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
18316 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
18317 not already defined.
18319 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
18321 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
18322 of n_popped when call/call_value are not defined.
18324 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
18326 * tm.texi: GNU CC -> GCC conversion.
18327 (CC1_SPEC): Indicate it is used for all language front ends.
18329 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
18331 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
18332 NOTE_INSN_EH_REGION_END correctly.
18334 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
18335 Jeff Law <law@cygnus.com>
18337 * loop.c (strength_reduce): Automatically unroll loops if the
18338 unrolled loop size is smaller than the rolled loop size.
18340 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
18341 and delete comment that code should be rewritten.
18343 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
18345 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
18348 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
18350 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
18352 * fixinc/mkfixinc.sh: Don't fix uwin headers.
18353 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
18354 (LINK_SPEC): Add -u _main when building executables.
18355 (ASM_DECLARE_FUNCTION): Update from Cygwin.
18356 (ASM_FILE_END): Use the default for ix86-pe.
18357 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
18359 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
18361 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
18362 and ASM_CLOSE_PAREN are empty strings.
18364 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
18365 Geoffrey Keating <geoffk@cygnus.com>
18367 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
18368 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
18369 (unprotoize.o): Ditto.
18370 (test-protoize-simple): Don't define STD_PROTO_DIR.
18371 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
18372 changes to make 'test-protoize-simple' pass.
18373 (STD_PROTO_DIR): Remove define.
18374 (STANDARD_EXEC_PREFIX): Supply default define.
18375 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
18376 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
18377 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
18378 (GET_ENV_PATH_LIST): New macro.
18379 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
18380 (do_processing): Initialize default_syscalls_dir using new
18381 macros. Use it to initialize syscalls_absolute_filename.
18383 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
18385 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
18386 B into a register before emit_conditional_move.
18388 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
18390 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
18391 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
18392 multiplicand out of (+ (* a b) (* c d)).
18394 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
18395 Richard Henderson <rth@cygnus.com>
18397 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
18398 (new_insn_dead_notes): Likewise.
18399 (update_n_sets): Likewise.
18400 (update_flow_info): Move to flow.c, renamed to update_life_info;
18401 extend to handle multiple source insns.
18402 * flow.c: Include resource.h
18403 (unlink_insn_chain): New.
18404 (split_hard_reg_notes): New.
18405 (maybe_add_dead_note): New.
18406 (maybe_add_dead_note_use): New.
18407 (find_insn_with_note): New.
18408 (new_insn_dead_notes): New.
18409 (update_n_sets): New.
18410 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
18411 (maybe_remove_dead_notes): New.
18412 (update_life_info): New.
18413 (prepend_reg_notes): New.
18414 (replace_insns): New.
18415 * output.h (update_life_info): Declare.
18416 * recog.c (split_block_insns): Use update_life_info.
18417 * resource.c (find_free_register): Use reg_alloc_order, don't use
18418 fixed regs, make sure the mode is supported, don't use new regs.
18420 * rtl.h (replace_insns): Declare.
18422 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
18424 * expr.c (expand_expr): Cope with COND_EXPRs with one
18425 non-returning branch.
18427 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
18429 * expr.c (store_expr): Always pass down the target, even when not
18432 1999-08-24 Nick Clifton <nickc@cygnus.com>
18434 * configure.in: Define target_cpu_default for v850 targets.
18435 * configure: Regenerate
18437 * config/v850/v850.h (TARGET_CPU_generic): Define.
18438 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
18439 addresses are 4 byte aligned.
18441 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
18444 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18446 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
18447 (main): Add prototypes.
18449 * genattrtab.c (substitute_address, write_const_num_delay_slots,
18450 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
18451 (write_attr_get): Emit prototypes along with function definition.
18452 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
18453 (write_complex_function): Emit static prototype along with
18454 function definition.
18456 * genemit.c (gen_split): Emit prototypes along with function
18459 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
18460 Likewise for predicates and `insn_operand_predicate'.
18461 (process_template): Emit static prototype along with function
18464 * genrecog.c (make_insn_sequence): Constify a char*. Add
18465 prototypes for get_split_*().
18466 (write_subroutine): Emit prototypes along with function
18469 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18471 * gcse.c (find_avail_set): Follow chains of register-register copies.
18472 Use oprs_not_set_p to guarantee that the returned value can be
18474 (cprop_insn): Don't verify the return value of find_avail_set with
18477 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
18478 (cprop_cc0_jump): New function.
18479 (cprop_insn): Break out new function cprop_jump and use it.
18480 Also use cprop_cc0_jump for machines with CC0.
18481 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
18483 * tree.h (current_function_calls_setjmp,
18484 current_function_calls_longjmp): Delete declarations.
18485 * dsp16xx.c: Include "function.h".
18486 * elxsi.c: Likewise.
18487 * gmicro.c: Likewise.
18488 * h8300.c: Likewise.
18489 * i370.c: Likewise.
18490 * m32r.c: Likewise.
18491 * mn10200.c: Likewise.
18492 * mn10300.c: Likewise.
18493 * ns32k.c: Likewise.
18494 * spur.c: Likewise.
18495 * v850.c: Likewise.
18497 * rtl.h (rtx_equal_function_value_matters): Declare.
18498 * toplev.c (rtx_equal_function_value_matters): Don't declare.
18500 * function.c: Likewise.
18501 * emit-rtl.c: Likewise.
18503 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
18505 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
18508 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18510 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
18513 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
18515 * cpp.texi: Add a node documenting macro varargs (copied
18518 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
18520 * cppspec.c: Put a null pointer at the end of the new argv.
18522 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
18524 * configure.in: Remove code to select/de-select the haifa
18525 scheduler. Every scheduled port gets haifa now.
18526 * configure: Rebuilt.
18527 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
18529 * Makefile.in: Corresponding changes.
18531 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18533 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
18534 All callers changed.
18535 (prepare_float_lib_cmp): Likewise.
18536 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
18537 * expr.h (emit_float_lib_cmp): Delete declaration.
18538 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
18539 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
18540 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
18542 (cmptf): Now conditional on TARGET_HARD_QUAD.
18544 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
18546 * resource.c (mark_target_live_regs): Use
18547 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
18549 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18551 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
18553 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
18555 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
18557 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18559 * rtl.h (rtx_format): Constify a char*.
18561 * rtl.c (rtx_format): Likewise.
18562 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
18563 (init_rtl): Use accessor macro, not `rtx_format'.
18565 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
18568 * caller-save.c (mark_referenced_regs): Likewise.
18570 * combine.c (subst, make_compound_operation, known_cond,
18571 gen_rtx_combine, update_table_tick, get_last_value_validate,
18572 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
18574 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
18575 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
18576 count_reg_usage): Likewise.
18578 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
18581 * final.c (leaf_renumber_regs_insn): Likewise.
18583 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
18584 dump_edge_info, count_reg_references): Likewise.
18586 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
18587 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
18590 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
18591 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
18592 add_label_notes): Likewise.
18594 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
18595 clear_struct_flag, count_sub_rtxs, count_alternatives,
18596 compares_alternatives_p, contained_in_p, walk_attr_value,
18597 write_expr_attr_cache): Likewise.
18599 * genconfig.c (walk_insn_part): Likewise.
18601 * genemit.c (max_operand_1, gen_exp): Likewise.
18603 * genextract.c (walk_rtx): Likewise.
18605 * genflags.c (num_operands): Likewise.
18607 * genoutput.c (scan_operands): Likewise.
18609 * genpeep.c (match_rtx): Likewise.
18611 * genrecog.c (add_to_sequence): Likewise.
18613 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
18616 * integrate.c (save_constants, copy_for_inline,
18617 copy_rtx_and_substitute, subst_constants, restore_constants):
18620 * jump.c (mark_jump_label, invert_exp, redirect_exp,
18621 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
18623 * local-alloc.c (contains_replace_regs, memref_referenced_p):
18626 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
18627 add_label_notes, replace_call_address, count_nonfixed_reads,
18628 invariant_p, find_single_use_in_loop, find_mem_givs,
18629 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
18632 * print-rtl.c (reg_names, print_rtx): Likewise.
18634 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
18636 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
18637 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
18638 print_blocks): Likewise.
18640 * regclass.c (fix_register, record_address_regs,
18641 reg_scan_mark_refs): Likewise.
18643 * regmove.c (stable_but_for_p): Likewise.
18645 * reload.c (loc_mentioned_in_p, operands_match_p,
18646 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
18647 copy_replacements, refers_to_regno_for_reload_p,
18648 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
18649 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
18652 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
18653 delete_address_reloads_1, count_occurrences,
18654 reload_cse_mem_conflict_p, reload_combine_note_use,
18655 add_auto_inc_notes): Likewise.
18657 * resource.c (mark_referenced_resources, mark_set_resources):
18660 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
18661 reg_mentioned_p, regs_set_between_p, modified_between_p,
18662 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
18663 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
18664 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
18665 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
18667 * sched.c (sched_analyze_2, attach_deaths): Likewise.
18669 * stupid.c (stupid_mark_refs): Likewise.
18671 * unroll.c (remap_split_bivs): Likewise.
18673 * varasm.c (mark_constants): Likewise.
18675 * a29k/a29k.c (uses_local_reg_p): Likewise.
18677 * alpha/alpha.c (summarize_insn): Likewise.
18679 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
18680 eliminate_lr2ip): Likewise.
18682 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
18684 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
18685 reg_mentioned_in_mem): Likewise.
18687 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
18688 symbolic_reference_mentioned_p): Likewise.
18690 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
18692 * sh/sh.c (regs_used, mark_use): Likewise.
18694 * vax/vax.c (vax_rtx_cost): Likewise.
18696 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18698 * machmode.h (mode_name): Constify a char*.
18700 * rtl.c (mode_name): Likewise.
18702 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
18704 * optabs.c (init_libfuncs): Constify a char*.
18706 * print-tree.c (mode_name): Remove redundant declaration.
18707 (print_node): Use accessor macro, not `mode_name'.
18709 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
18711 (new_spill_reg): Constify a char*.
18713 * tree.c (mode_name): Remove redundant declaration.
18715 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18717 * rtl.c (rtx_name): Constify a char*.
18719 * rtl.h (rtx_name, fix_sched_param): Likewise.
18721 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
18722 (mypr): Use accessor macro, not `rtx_name'.
18724 * genemit.c (print_code): Constify a char*.
18726 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
18728 * genpeep.c (print_code): Constify a char*.
18730 * genrecog.c (print_code): Likewise.
18732 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
18733 end_bb): Add static prototype.
18734 (draw_edge): Constify a char*.
18735 (end_bb): Remove unused parameter.
18737 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
18738 print_block_visualization): Constify a char*.
18740 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
18742 * c-common.c (c_get_alias_set): Update comment.
18744 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
18746 * linux.h (LIB_SPEC): Added.
18748 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18750 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
18752 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
18754 * tree.c (expr_check): Fix typo in last change.
18756 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
18758 * rtl.def (NOTE): Change format to "iuu0n".
18759 (ADDR_DIFF_VEC): Change format to "eEee0".
18760 (ADDRESSOF): Change format to "eit".
18762 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
18763 (RTVEC_ELT): Change to match.
18764 (XVECEXP): Use XVEC and RTVEC_ELT.
18765 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
18766 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
18767 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
18768 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
18769 TRAP_CONDITION, TRAP_CODE): Use XEXP.
18770 (INTVAL): Use XWINT.
18771 (ADDRESSOF_DECL): Use XTREE.
18772 (SET_ADDRESSOF_DECL): Delete.
18773 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
18774 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
18775 ifdefed out since 2.6 at least.
18776 (gen_rtvec_vv): Delete prototype.
18778 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
18780 (copy_most_rtx): Handle 't' format letter.
18781 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
18782 (gen_rtvec_vv): Delete function. All callers changed to use
18783 gen_rtvec_v instead.
18784 * print-rtl.c (print_rtx): Move special casing of NOTEs to
18785 the '0' format letter.
18787 * function.c (gen_mem_addressof): Don't use
18788 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
18790 * integrate.c (copy_rtx_and_substitute): Likewise.
18791 Copy 't' slots with XTREE.
18792 (subst_constants): Treat 't' slots like '[swi]' slots.
18793 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
18794 * jump.c (rtx_equal_for_thread_p): Likewise.
18795 * rtlanal.c (rtx_equal_p): Likewise.
18796 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
18797 only four arguments.
18798 * gengenrtl.c (type_from_format): Provide correct types for
18802 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
18803 If a recent gcc is in use (always in stage2 and beyond), use
18804 statement expressions, so we don't make a function call unless
18805 the check fails. Evaluate arguments exactly once.
18806 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
18807 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
18809 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
18810 they evaluate their arguments exactly once, irrespective of
18811 the compiler in use.
18813 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
18814 is used by the currently-enabled check macros. This is:
18815 (tree_check_failed, tree_class_check_failed): For gcc.
18816 (tree_check, tree_class_check, cst_or_constructor_check,
18817 expr_check): For other compilers.
18819 * gencheck.c: Do not define any *_CHECK1 macros.
18821 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
18822 Mark Mitchell <mark@codesourcery.com>
18824 * c-common.c (c_get_alias_set): Fix support for poitners and
18827 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
18829 * alias.c: Include tree.h.
18830 (nonlocal_reference_p, mark_constant_function): New functions.
18831 * flow.c (life_analysis): Call mark_constant_function.
18832 * rtl.h (mark_constant_function): Declare it.
18834 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
18836 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
18837 unrecognisable switches.
18839 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18841 * loop.c (recombine_givs): Set ix field after sorting.
18842 (recombine_givs): Remove bogus index / giv lockstep looping.
18844 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18846 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
18848 (emit_store_flag_force): Use do_compare_rtx_and_jump.
18849 (do_cmp_and_jump): Formatting fixes.
18850 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
18851 do_compare_rtx_and_jump instead of compare_from_rtx.
18852 (do_compare_rtx_and_jump): New function; mostly copied from
18854 (do_jump_for_compare): Delete.
18855 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
18857 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
18858 of compare/do_jump_for_compare pairs.
18859 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
18860 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
18861 compare_from_rtx/do_jump_for_compare pairs.
18862 (do_jump_by_parts_equality): Likewise.
18863 (do_jump_by_parts_equality_rtx): Likewise.
18864 * expr.h (do_compare_rtx_and_jump): Declare.
18865 * optabs.c (prepare_cmp_insn): New function, contains most of the code
18866 that used to be in emit_cmp_insn.
18867 (cmp_available_p): New function.
18868 (prepare_operand): New function.
18869 (emit_cmp_and_jump_insn_1): New function, contains some code that used
18870 to be in emit_cmp_insn.
18871 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
18872 parameters to be pointers; don't emit final compare but modify some of
18873 the values pointed to by the args so the caller can perform the
18874 correct comparison.
18875 (expand_binop): Call emit_store_flag_force with signed forms of
18877 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
18878 emit_jump_insn pair.
18879 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
18880 emit_cmp_and_jump_insn_1. Call emit_queue.
18881 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
18883 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
18884 jump sets cc0 before deleting it.
18885 * integrate.c (expand_inline_function): Likewise.
18886 * unroll.c (unroll_loop): Similar changes in several places.
18887 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
18888 before deleting it.
18890 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18892 * Makefile.in (insn-recog.o): Update dependencies.
18893 * genrecog.c (main): Make generated file include "function.h".
18895 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
18897 * cse.c (cse_insn): Call never_reached_warning when a jump is
18898 changed to be unconditional.
18899 * flags.h: Declare warn_notreached.
18900 * flow.c (delete_block): Call never_reached_warning when
18901 a block is deleted.
18902 * jump.c (delete_barrier_successors): Call never_reached_warning
18903 when we delete everything after a BARRIER.
18904 (never_reached_warning): New function.
18905 * rtl.h: Declare never_reached_warning.
18906 * toplev.c (warn_notreached): New variable.
18907 (lang_independent_options): Set warn_notreached
18908 when -Wunreachable-code.
18909 (compile_file): We need line numbers for -Wunreachable-code.
18911 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
18913 * haifa-sched.c (insn_unit): Fix typo on out of range test.
18914 * sched.c (insn_unit): Likewise.
18916 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
18918 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
18920 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18922 * flow.c (create_edge_list): Use xmalloc, not malloc.
18924 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
18926 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
18927 C-style comments. Do not lose the character before double slash.
18929 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18931 * basic-block.h (struct edge_list): Stucture to maintain a vector
18933 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
18934 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
18935 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
18936 New function prototypes.
18937 * flow.c (create_edge_list): Function to create an edge list.
18938 (free_edge_list): Discards memory used by an edge list.
18939 (print_edge_list): Debug output showing an edge list.
18940 (verify_edge_list): Internal consistency check for an edge list.
18941 (find_edge_index): Function to find an edge index for a pred and succ.
18943 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
18945 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
18948 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
18950 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
18952 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18954 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18956 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
18958 * toplev.c (rest_of_compilation): Allow machine dependent
18959 reorganisation pass to place information into the RTL dump
18960 file if it so wishes.
18962 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
18964 * explow.c (hard_function_value): Use VOIDmode instead of
18966 * stmt.c (expand_return): Likewise.
18967 * stor-layout.c (get_best_mode): Likewise.
18969 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
18970 emit call instead of emit_insn call.
18972 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
18974 * configure.in: Handle --disable/enable-win32-registry.
18975 * install.texi: Document --disable/enable-win32-registry.
18976 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
18977 (WIN32_REGISTRY_KEY): New macro.
18978 * prefix.c: Use to enable/disable win32-specific code.
18979 (lookup_key): Use versioned key.
18980 * configure: Regenerate.
18981 * config.in: Likewise.
18983 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
18985 * cpplib.c (read_line_number): New fn, split out of...
18988 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
18990 tree.c (lang_unsave_expr_now) : New.
18991 (unsave_expr_now): Call lang_unsave_expr_now.
18992 tree.h (lang_unsave_expr_now) : New.
18994 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
18996 * toplev.c (flag_new_exceptions): On by default.
18998 1999-08-13 Michael Meissner <meissner@cygnus.com>
19000 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19002 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
19004 * dwarfout.c (fundamental_type_code): Return FT_boolean for
19005 INTEGER_TYPE with precision==1, it's __java_boolean.
19007 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19009 * global.c (prune_preferences): Move some invariants out of the
19012 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
19014 * configure.in (alpha*-dec-osf*): Add osf5.
19016 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
19018 * configure.in: Rework handling of ARM GNU/Linux slightly.
19019 (arm*-*-linux-gnuoldld): New target.
19020 * configure: Regenerate.
19021 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19022 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
19023 * config/arm/linux-oldld.h: New file.
19024 * config/arm/linux-elf26.h: Don't include linux-elf.h.
19025 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19027 * config/arm/linux-elf.h (ASM_SPEC): Define.
19028 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19029 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19030 for 26-bit APCS and old linker.
19031 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19033 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
19034 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
19035 don't define `arm' or `arm_elf'.
19036 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
19037 MULTILIB_DIRNAMES): Define. Fix typo in comment.
19039 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
19041 * rtl.texi: Fix typo.
19043 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
19045 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
19047 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
19049 * extend.texi (C++ Signatures): Remove node.
19050 * invoke.texi: Remove discussion of -fhandle-signatures,
19051 signature, sigof, __signature__, and __sigof__.
19053 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
19055 * Makefile.in (JAVAGC): Removed.
19057 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
19059 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19061 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
19063 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19065 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
19067 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
19068 a register that is already known to be a pointer.
19070 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
19072 * fixinc/inclhack.tpl: Only install assert.h conditionally.
19073 * fixinc/inclhack.sh: Regenerated.
19074 * fixinc/fixincl.sh: Regenerated.
19076 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
19078 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
19079 Fix documentation of -ansi flag to describe its C++ behavior.
19080 Remove bogus reference to GCC 2.9.
19082 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
19084 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
19085 note if it is non-NULL.
19087 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19089 * except.h (eh_nesting_info): Add new structure defintion.
19090 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
19091 (reachable_handlers, update_rethrow_references): Add function
19093 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
19094 a rethrow symbol instead of an integer exception region number.
19095 * flow.c (Make_edges): Use new exception nesting routines to determine
19096 which handlers are reachable from a CALL or asynchronous insn.
19097 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
19099 (delete_eh_regions): Update rethrow labels, and don't delete
19100 regions which are the target of a rethrow.
19101 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
19102 avoid overloading the SYMBOL_REF_USED flag.
19103 (rethrow_symbol_map): Use new rethrow_ref field.
19104 (rethrow_used): Use new rethrow_ref field.
19105 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
19106 of an integer. Fix formatting.
19107 (output_exception_table_entry): Use new rethrow_ref field.
19108 (can_throw): Check for EH_REGION_NOTE before deciding
19109 whether a CALL can throw or not.
19110 (scan_region): Call rethrow_used() instead of accessing data structure.
19111 (update_rethrow_references): New function to make sure only regions
19112 which are still targets of a rethrow are flagged as such.
19113 (process_nestinfo): New static function to initialize a handler
19114 list for a specific region.
19115 (init_eh_nesting_info): New function to allocate and initialize
19116 the list of all EH handlers reachable from all regions.
19117 (reachable_handlers): New function to retrieve the list of handlers
19118 reachable from a specific region and insn.
19119 (free_eh_nesting_info): New function to dispose of a list of
19120 reachable handlers.
19122 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19124 * flow.c (split_edge): Set JUMP_LABEL field.
19125 (commit_one_edge_insertion): Set head correctly for insert_before.
19126 When inserting insns, update insn block numbers if allocated.
19128 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19130 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
19131 retry_incomplete_types): Add static prototype.
19132 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
19133 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
19134 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
19135 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
19136 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
19139 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
19140 dwarf2out_start_source_file, dwarf2out_line): Likewise.
19142 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19144 * output.h (assemble_name): Constify a char*.
19146 * varasm.c (UNIQUE_SECTION, assemble_start_function,
19147 assemble_variable, assemble_name): Likewise.
19149 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
19151 * arm/pe.c (arm_pe_unique_section): Likewise.
19153 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
19155 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
19157 * i386/interix.c (i386_pe_unique_section): Likewise.
19159 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
19161 * i386/winnt.c (i386_pe_unique_section): Likewise.
19163 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
19165 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
19167 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
19169 * pa/pa.c (output_call): Likewise.
19171 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
19173 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
19175 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
19178 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
19181 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
19183 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
19184 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
19186 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
19188 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19190 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
19192 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19194 * tree.h (lang_identify): Constify a char*.
19195 (print_error_function): Add extern prototype. Constify a char*.
19197 * c-lang.c (lang_identify): Constify a char*.
19199 * objc/objc-act.c (lang_identify): Constify a char*.
19201 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19203 * genpeep.c (main): Make generated file include "function.h".
19204 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
19206 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19208 * Makefile.in: Update dependencies.
19209 * alias.c: Include "function.h"
19210 * c-decl.c: Likewise.
19211 * caller-save.c: Likewise.
19212 * calls.c: Likewise.
19213 * combine.c: Likewise.
19215 * explow.c: Likewise.
19216 * final.c: Likewise.
19217 * global.c: Likewise.
19218 * graph.c: Likewise.
19219 * local-alloc.c: Likewise.
19220 * loop.c: Likewise.
19221 * optabs.c: Likewise.
19222 * profile.c: Likewise.
19223 * recog.c: Likewise.
19224 * regclass.c: Likewise.
19225 * regmove.c: Likewise.
19226 * reload.c: Likewise.
19227 * reorg.c: Likewise.
19228 * resource.c: Likewise.
19229 * sched.c: Likewise.
19230 * stupid.c: Likewise.
19231 * config/1750a/1750a.c: Likewise.
19232 * config/a29k/a29k.c: Likewise.
19233 * config/arc/arc.c: Likewise.
19234 * config/arm/arm.c: Likewise.
19235 * config/arm/thumb.c: Likewise.
19236 * config/c4x/c4x.c: Likewise.
19237 * config/clipper/clipper.c: Likewise.
19238 * config/convex/convex.c: Likewise.
19239 * config/fx80/fx80.c: Likewise.
19240 * config/i860/i860.c: Likewise.
19241 * config/m68k/m68k.c: Likewise.
19242 * config/m88k/m88k.c: Likewise.
19243 * config/mips/mips.c: Likewise.
19244 * config/pdp11/pdp11.c: Likewise.
19245 * config/pyr/pyr.c: Likewise.
19246 * config/romp/romp.c: Likewise.
19247 * config/sh/sh.c: Likewise.
19248 * config/tahoe/tahoe.c: Likewise.
19249 * config/vax/vax.c: Likewise.
19250 * config/we32k/we32k.c: Likewise.
19251 * config/sparc/sparc.c: Include "function.h".
19252 (mem_min_alignment): Test current_function rather than
19253 regno_pointer_align.
19254 * config/pa/pa.c: Likewise.
19255 (compute_frame_size): Delete declaration of
19256 current_function_outgoing_args_size.
19257 * config/arc/arc.h (current_function_varargs): Delete declaration.
19258 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
19260 * config/i370/i370.h (current_function_outgoing_args_size): Delete
19262 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
19263 current_function_uses_pic_offset_table.
19264 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
19265 of current_function_returns_pointer.
19266 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19267 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19268 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19269 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19270 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19271 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19272 * config/m88k/m88k.c: Include "function.h"
19273 (call_used_regs, current_function_pretend_args_size,
19274 current_function_outgoing_args_size, frame_pointer_needed): Delete
19276 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
19278 * config/mips/mips.h (current_function_calls_alloca): Delete
19280 * config/mn10200/mn10200.h (current_function_needs_context,
19281 rtx_equal_function_value_matters): Delete declarations.
19282 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
19283 flag_pic): Delete declarations.
19284 * config/pa/pa.h (current_function_pretend_args_size,
19285 current_function_decl): Delete declarations.
19286 * config/pa/som.h (current_function_varargs): Delete declaration.
19287 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
19289 * config/pyr/pyr.h (current_function_pretend_args_size,
19290 current_function_args_size, current_function_calls_alloca): Delete
19292 * config/sh/sh.h (current_function_varargs): Delete declaration.
19293 * config/sparc/sparc.h (current_function_outgoing_args_size,
19294 current_function_calls_alloca, current_function_decl): Delete
19296 * config/spur/spur.h (current_function_pretend_args_size,
19297 current_function_calls_alloca): Delete declarations.
19298 * config/v850/v850.c (current_function_outgoing_args_size): Delete
19300 * config/vax/vms.h (current_function_name): Delete declaration.
19301 * gcse.c: Include "function.h".
19302 (current_function_name, current_function_calls_setjmp): Delete
19304 * haifa-sched.c: Include "function.h".
19305 (forced_labels): Delete declaration.
19306 * jump.c: Likewise.
19307 * reg-stack.c: Likewise.
19308 * reload1.c: Likewise.
19309 * genemit.c (main): Make generated file include function.h.
19310 * genoutput.c (output_prologue): Likewise.
19312 * builtins.c (saveregs_value, apply_args_value): Delete variables.
19313 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
19314 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
19315 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
19316 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
19317 macros for some of them.
19318 (emit_filename, emit_lineno): Delete declarations.
19319 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
19320 regno_pointer_* variables through current_function.
19321 (gen_inline_header_rtx): Delete function.
19322 (save_emit_status): Delete function.
19323 (set_new_last_label_num): New function.
19324 (clear_emit_caches): New function.
19325 (restore_emit_status): Just clear last_labelnum and call
19327 (get_last_insn_anywhere): Variable sequence_stack is now accessed
19328 through macro seq_stack.
19329 (add_insn_after): Likewise.
19330 (add_insn_before): Likewise.
19331 (remove_insn): Likewise.
19332 (pop_topmost_sequence): Likewise.
19333 (in_sequence_p): Likewise.
19334 (start_sequence_for_rtl_expr): Likewise.
19335 (start_sequence): Likewise, and likewise for
19336 sequence_rtl_expr/seq_rtl_expr.
19337 (push_topmost_sequence): Likewise.
19338 (end_sequence): Likewise.
19339 (init_virtual_regs): Now takes a "struct emit_status *" argument.
19340 All callers changed. Store into that pointer instead of globals.
19341 (init_emit): Allocate emit elt of current_function.
19342 Changes for sequence_rtl_expr/sequence_stack renaming.
19343 Call clear_emit_caches instead of doing it in-line.
19344 Access regno_pointer_* variables through current_function.
19345 (init_emit_once) Don't clear sequence_stack.
19347 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
19349 (arg_pointer_save_area): Delete declaration.
19350 (finish_expr_for_function): Renamed from init_queue; no longer static.
19351 (init_expr): Don't call init_queue.
19352 (save_expr_status, restore_expr_status): Delete functions.
19353 (expand_expr): Changes to reflect new layout of struct function.
19354 Don't access current_function_check_memory_usage when current_function
19356 * expr.h (forced_labels, save_expr_regs, saveregs_value,
19357 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
19358 current_function_outgoing_args_size, current_function_arg_offset_rtx,
19359 current_function_uses_const_pool, function_call_count,
19360 current_function_uses_pic_offset_table, nonlocal_labels,
19361 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
19362 current_function_check_memory_usage, nonlocal_goto_handler_slots,
19363 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
19365 (finish_expr_for_function): Declare.
19366 * flags.h (current_function_has_nonlocal_label,
19367 current_function_has_nonlocal_goto, current_function_is_thunk,
19368 current_function_has_computed_jump): Delete declarations.
19369 * flow.c (forced_labels): Delete declaration.
19370 * function.c (current_function_pops_args,
19371 current_function_returns_struct, current_function_returns_pcc_struct,
19372 current_function_needs_context, current_function_calls_setjmp,
19373 current_function_calls_longjmp, current_function_has_nonlocal_label,
19374 current_function_has_nonlocal_goto, current_function_is_thunk,
19375 current_function_has_computed_jump, current_function_calls_alloca,
19376 current_function_contains_functions, current_function_returns_pointer,
19377 current_function_epilogue_delay_list, current_function_args_size,
19378 current_function_pretend_args_size, current_function_arg_offset_rtx,
19379 current_function_outgoing_args_size, current_function_varargs,
19380 current_function_stdarg, current_function_args_info, cleanup_label,
19381 current_function_name, current_function_uses_const_pool,
19382 current_function_instrument_entry_exit, current_function_return_rtx,
19383 current_function_uses_pic_offset_table, nonlocal_labels,
19384 current_function_internal_arg_pointer, current_function_cannot_inline,
19385 current_function_check_memory_usage, function_call_count,
19386 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
19387 nonlocal_goto_stack_level, return_label, save_expr_regs,
19388 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
19389 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
19390 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
19391 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
19392 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
19394 (push_function_context_to): Don't save them. Don't call
19395 save_storage_status, save_emit_status or save_expr_status.
19396 (pop_function_context_from): Don't restore them. Don't call
19397 restore_storage_status or restore_expr_status.
19398 (get_func_frame_size): New function.
19399 (get_frame_size): Use it.
19400 (assign_outer_stack_local): Reflect some member name changes in struct
19402 (put_reg_into_stack): Likewise.
19403 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
19405 (fixup_var_refs): Likewise.
19406 (fix_lexical_addr): Likewise.
19407 (trampoline_address): Likewise.
19408 (prepare_function_start): Clear field inlinable of current_function.
19409 (init_function_for_compilation): New function.
19410 (expand_dummy_function_end): New function.
19411 (expand_function_end): Call finish_expr_for_function.
19412 * function.h (struct emit_status): New; fields moved here from struct
19413 function and from global variables. Add accessor macros for some of
19415 (struct expr_status): Likewise.
19416 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
19417 (struct function): Add fields expr and emit, inlinable, inl_emit,
19418 original_arg_vector, original_decl_initial, inl_last_parm_insn,
19419 inl_max_label_num. Add many comments.
19420 Add accessor macros for all elts of struct function that no longer
19421 have a global variable.
19422 (cleanup_label, return_label, frame_offset, tail_recursion_label,
19423 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
19424 stack_slot_list): Delete declarations.
19425 (get_func_frame_size): Declare.
19426 (save_expr_status, restore_expr_status, save_emit_status,
19427 save_storage_status, restore_storage_status): Delete declarations.
19428 (init_virtual_regs): Declare.
19429 * output.h (current_function_pops_args,
19430 current_function_returns_struct, current_function_returns_pcc_struct,
19431 current_function_needs_context, current_function_calls_setjmp,
19432 current_function_calls_longjmp, current_function_calls_alloca,
19433 current_function_has_nonlocal_label, current_function_varargs,
19434 current_function_has_computed_jump, current_function_returns_pointer,
19435 current_function_contains_functions, current_function_args_size,
19436 current_function_pretend_args_size, current_function_stdarg,
19437 current_function_outgoing_args_size, current_function_args_info,
19438 current_function_name, current_function_return_rtx,
19439 current_function_epilogue_delay_list,
19440 current_function_uses_const_pool, current_function_cannot_inline):
19441 Delete declarations.
19442 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
19443 regno_reg_rtx): Delete declaration.
19444 (REGNO_POINTER_FLAG): Delete macro.
19445 * stmt.c (expand_goto): Changes to reflect that some fields in struct
19446 function were renamed.
19447 * stor-layout.c (save_storage_status, restore_storage_status): Delete
19449 * toplev.c: Include "function.h".
19450 (current_function_decl): Delete declaration.
19451 (compile_file): Call init_dummy_function_start and
19452 expand_dummy_function_end around some initializations that need to
19454 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
19455 Call init_function_for_compilation.
19456 * unroll.c: Include "function.h"
19457 (unroll_loop): Access regno_pointer_* variables through
19460 * tree.h (struct tree_decl): Add elt f to saved_insns member.
19461 (DECL_SAVED_INSNS): use it.
19462 (expand_dummy_function_end): Declare.
19463 (init_function_for_compilation): Declare.
19464 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
19465 that it's no longer an INLINE_HEADER.
19466 (expand_call): Likewise.
19467 * integrate.c (finish_inline): Delete function.
19468 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
19469 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
19470 args. Don't generate an INLINE_HEADER rtx, just return the arg
19471 vector. All callers changed.
19472 (save_for_inline_copying): Create a duplicate struct emit_status to
19473 hold the emit state for compiling the current function. Use this and
19474 the other new fields in struct function that are for integration
19475 instead of an INLINE_HEADER.
19476 Use memcpy instead of bcopy.
19477 Store the current struct function in DECL_SAVED_INSNS of fndecl.
19478 (save_for_inline_nocopy): Similar changes, except no new emit_status
19480 (expand_inline_function): Get information from function structure,
19481 not from an inline header rtx.
19482 (output_inline_function): Lose code to extract the necessary
19483 information from an inline header; simply put back the function
19484 structure into current_function. Clear its inlinable elt.
19485 * rtl.def (INLINE_HEADER): Delete.
19486 * rtl.h: Delete all accessors for an INLINE_HEADER.
19487 (gen_inline_header_rtx): Delete declaration.
19488 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
19489 Delete declarations.
19490 (REGNO_POINTER_ALIGN): Delete.
19491 (clear_emit_caches): Declare.
19492 (set_new_last_label_num): Declare.
19494 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
19496 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
19498 * except.c (expand_eh_region_start_for_decl): Always start a new block.
19499 * stmt.c (is_eh_region): Make sure current_function is present, too.
19501 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
19503 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
19504 for 64bit PA targets.
19506 * pa.h (SELECT_SECTION): Define.
19507 * som.h (SELECT_SECTION): Delete.
19509 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19511 * alias.c (init_alias_analysis): Wrap call to
19512 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
19514 1999-08-07 Bruce Korb <autogen@linuxbox.com>
19516 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
19517 <sys/asm.h> contains an asm comment with an apostrophe
19518 * fixinc/inclhack.sh: regen
19519 * fixinc/fixincl.x: regen
19521 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
19523 * function.c (init_function_start): Clear prologue & epilogue.
19524 (prologue_epilogue_contains): New function.
19525 * alias.c (init_alias_analysis): Use it.
19526 * rtl.h (prologue_epilogue_contains): Declare it.
19528 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
19530 * jump.c (onlyjump_p): New function.
19531 * rtl.h: Declare it.
19532 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
19533 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
19535 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
19537 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
19538 to invert loops. Simplify block scanning.
19540 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19542 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
19543 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
19545 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
19547 * config/sparc/liteelf.h: New file to support sparclite-elf target
19548 * config/sparc/t-sp86x: New file to support sparc86x targets
19549 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
19550 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
19551 * configure.in: Support above target triplets
19552 * configure: Regenerated
19554 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
19556 * fixinc/server.c (server_setup): Do not prefix function used as
19557 parameter with `&'.
19559 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
19561 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
19562 Remove fp reg alternatives.
19564 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
19566 * Makefiin (TAROUTOPTS): Kill.
19567 (install-headers-tar): Use "xpf" for tar headerfile extraction
19568 * i370/x-oe (TAROUTOPTS): Delete.
19569 * m68k/x-apollo68 (TAROUTOPTS): Delete.
19570 * m68k/x-hp320 (TAROUTOPTS): Delete.
19571 * m68k/x-hp320g (TAROUTOPTS): Delete.
19572 * gcc.texi: Update bug reporting text.
19574 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19576 * reg-stack.c (change_stack) Fixed problem with negative array index.
19578 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
19580 * extend.texi, install.texi: Fix spelling mistakes.
19582 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
19583 (s-attrtab); No longer try to use pre-made insn-attrtab file.
19584 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
19585 PREMADE_ATTRTAB_MD.
19586 * mips/t-ecoff: Likewise.
19587 * mips/t-elf: Likewise.
19588 * mips/t-mips: Likewise.
19589 * mips/t-osfrose: Likewise.
19590 * mips/t-r3900: Likewise.
19591 * mips/t-svr3: Likewise.
19592 * mips/t-svr4: Likewise.
19593 * mips/t-ultrix: Likewise.
19595 * gcc.texi: Document recommend means to provide software floating
19596 point libraries in libgcc.a
19598 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
19600 * c-lex.c (yylex): We can have a number with no digits.
19602 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
19604 * jump.c (delete_prior_computation): New function, broken
19605 out of delete_computation. Check for side effects with
19606 side_effects_p instead of FIND_REG_INC_NOTE. Handle
19607 multi-word hard registers.
19608 (delete_computation): Use it. Check for side effects with
19609 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
19610 missing REG_DEAD note for a register which is both set and
19613 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
19615 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
19616 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
19617 (ASM_FILE_START): Import _mcount with the right type.
19618 (ASM_DECLARE_FUNCTION_NAME): Define.
19619 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
19620 * pa.c (output_function_prologue): Always emit the function's label
19622 * pa.h (TEXT_SPACE_P): Define.
19623 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19624 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
19625 * som.h (TEXT_SPACE_P): Delete.
19626 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19627 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
19629 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
19631 * expr.c (emit_group_load): Allow src to be a CONCAT.
19633 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19635 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
19636 (___mulsi3): Use '!' comment character.
19638 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19640 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
19642 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
19644 * gcc.c: Update URLs and mail addresses.
19645 * gcc.texi: Likewise.
19647 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
19649 * rs6000.c (current_file_function_operand): Return zero for
19651 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
19653 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
19656 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
19658 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
19659 allocate space in the stack frame for the PIC register.
19661 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
19663 * m68k.md (xordi3, anddi3): These patterns are not available on
19666 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
19668 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
19669 (PUT_REAL): Likewise.
19671 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19673 * final.c (shorten_branches): Don't add an alignment for loops
19674 that have no label inside.
19676 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19678 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
19679 prototypes in macro HAVE_cmpstrsi.
19681 * cpplib.c (cpp_get_token): Remove unused label `op3'.
19683 * emit-rtl.c (operand_subword): Remove unused variable
19686 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
19688 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
19690 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
19692 * cpphash.c (macroexpand): Delete leading whitespace when arg
19693 is concatenated before.
19694 (unsafe_chars): Correct test for whether + and - can extend a
19697 * cppinit.c (cpp_start_read): Do dependencies for
19698 -include/-imacros files also.
19700 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
19701 tokenizing non-directive lines.
19702 (cpp_expand_to_buffer): Temporarily disable no-output mode.
19703 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
19706 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
19708 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
19710 * c-lex.c: Sync with C++ frontend.
19711 (linemode): New variable.
19712 (parse_float): imag, conversion_errno, and type are output only.
19713 (yylex): Adjust. Move initial '.' case into main switch.
19715 (handle_generic_pragma): Just deal with tokens.
19716 (readescape): Use ISXDIGIT and ISGRAPH.
19717 * c-parse.in: Add END_OF_LINE token.
19719 * c-lex.c (lang_init): Generalize.
19720 (nextchar): Remove. Replace uses with UNGETC.
19721 (skip_white_space): Handle linemode here. Optimize for cpplib.
19722 (skip_white_space_on_line): Remove.
19723 (extend_token_buffer_to): New fn.
19724 (extend_token_buffer): Use it.
19725 (read_line_number, check_newline): Just deal with tokens.
19726 (token_getch, token_put_back): New fns.
19727 (yylex): Use them. More cpplib optimizations. Simplify.
19729 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
19730 Jason Merrill <jason@yorick.cygnus.com>
19732 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
19733 (consume_string): Make this smart about USE_CPPLIB.
19734 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
19735 (yylex): Rewrite to be intelligent about USE_CPPLIB.
19736 Also, clean up cases where we redundantly set token_buffer[0].
19737 (read_line_number): New fn.
19738 (ignore_escape_flag): New variable.
19740 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
19742 * a29k/t-a29kbare: Fix some comments.
19743 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
19744 (FPBIT, DPBIT): Define.
19745 * a29k/t-vx29k: Likewise.
19746 * arc/t-arc: Likewise.
19747 * arm/t-arm-elf: Likewise.
19748 * arm/t-bare: Likewise.
19749 * arm/t-pe: Likewise.
19750 * arm/t-pe-thumb: Likewise.
19751 * arm/t-semi: Likewise.
19752 * arm/t-thumb: Likewise.
19753 * arm/t-thumb-elf: Likewise.
19754 * arm/t-thumb-linux: Likewise.
19755 * h8300/t-h8300: Likewise.
19756 * i960/t-i960: Likewise.
19757 * i960/t-vxworks960: Likewise.
19758 * m32r/t-m32r: Likewise.
19759 * mips/t-ecoff: Likewise.
19760 * mips/t-elf: Likewise.
19761 * mips/t-r3900: Likewise.
19762 * pa/t-pro: Likewise.
19763 * rs6000/t-aix43: Likewise.
19764 * rs6000/t-beos: Likewise.
19765 * rs6000/t-newas: Likewise.
19766 * rs6000/t-ppccomm: Likewise.
19767 * rs6000/t-rs6000: Likewise.
19768 * rs6000/t-winnt: Likewise.
19769 * rs6000/t-xnewas: Likewise.
19770 * rs6000/t-xrs6000: Likewise.
19771 * sh/t-sh: Likewise.
19772 * sparc/t-elf: Likewise.
19773 * sparc/t-sparcbare: Likewise.
19774 * sparc/t-sparclite: Likewise.
19775 * sparc/t-splet: Likewise.
19776 * v850/t-v850: Likewise.
19777 * mn10200/t-mn10200: Fix comments.
19778 * mn10300/t-mn10300: Likewise.
19780 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
19781 dummy operand. Allocate a new pseudo for the dummy operand.
19782 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
19784 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
19786 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
19788 * configure: Rebuilt.
19789 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
19791 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
19793 * recog.c (preproces_constraints): Zero recog_op_alt before
19794 processing the constraints.
19796 * arm.c (typedef minipool_node): Renamed from pool_node.
19797 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
19798 (add_minipool_constant): New function.
19799 (dump_minipool): New function.
19800 (find_barrier): Remove special case for getting the insn size of
19801 an insn that references the constant pool.
19802 (minipool_fixup): New structure.
19803 (push_minipool_barrier): New function.
19804 (push_minipool_fix): New function.
19805 (note_invalid_constants): New function.
19806 (add_pool_constant, dump_table, fixit, broken_move): Delete.
19807 (arm_reorg): Rewrite code to fix up the constant pool into a
19808 series of mini-pools embedded in the insn stream.
19809 (arm_output_epilogue): New function, made mainly from the body
19810 of output_func_epilogue.
19811 (output_func_epilogue): Move insn generation part of epilogue code
19812 to arm_output_epilogue.
19813 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
19814 * arm.md (pool_range): New attribute.
19815 (zero_extendqidi2): Add attribute pool_range.
19816 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
19817 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
19818 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
19819 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
19820 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
19821 (epilogue): New expand.
19822 (epilogue_insn): New insn. Call arm_output_epilogue.
19824 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
19825 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
19827 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
19829 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19831 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
19833 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
19835 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
19837 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
19839 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
19841 * global.c: Fix comment.
19843 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
19845 * gcc.c (access_check): New static function.
19846 (find_a_file): Use it when searching a directory list.
19847 * collect2.c (find_a_file): Don't accept directories found when
19848 searching a directory list.
19850 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
19852 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
19853 function parameters with `&'.
19854 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
19856 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
19858 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
19859 or tidy_fallthru_edge if the last insn in the block is not
19860 an unconditional jump or a simple conditional jump.
19862 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19864 * Makefile.in (c-decl.o): Depends on defaults.h.
19866 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
19868 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
19870 (CLASS_MAX_NREGS): Likewise.
19872 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
19874 * cse.c (cse_insn): Fix dumb thinko in last change.
19876 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19878 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
19881 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
19883 * dwarf2out.c (add_location_or_const_value_attribute): Correct
19884 test for sizes of passed and declared parameter types.
19886 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19888 * fixincludes: Fix the return type of bsearch, char* -> void*.
19890 * fixinc/inclhack.def: Likewise.
19892 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
19894 * invoke.texi (-fdump-translation-unit): New option.
19896 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
19898 * expr.h (PROMOTE_PROTOTYPES): Move ...
19899 * defaults.h: ... to here.
19900 * c-decl.c: Include defaults.h instead of expr.h.
19901 * c-typeck.c: Include defaults.h.
19903 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
19905 * toplev.h (errorcount): Declare.
19906 (warningcount): Likewise.
19907 (sorrycount): Likewise.
19908 * c-lex.c (errorcount): Don't declare.
19909 * dwarf2out.c (errorcount): Don't declare.
19911 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
19913 * config/libgloss.h: Add a note discouraging use with ELF.
19914 * configure.in: Don't use libgloss.h for ELF targets.
19915 Always use_collect2 on a.out targets.
19917 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
19919 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
19920 (force_to_mode, case ASHIFTRT): Add shiftrt label.
19922 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19924 * loop.c (strength_reduce): When doing biv->giv conversion, update
19925 reg note of NEXT->insn.
19927 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
19929 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
19931 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
19933 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
19934 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
19935 Ensure expr.h is included.
19936 * c-typecheck.c (convert_arguments): Ditto.
19938 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
19940 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
19941 * config/convex/convex.h: Ditto.
19942 * config/dsp16xx/dsp16xx.h: Ditto.
19943 * config/fx80/fx80.h: Ditto.
19944 * config/gmicro/gmicro.h: Ditto.
19945 * config/i370/i370.h: Ditto.
19946 * config/i386/i386.h: Ditto.
19947 * config/m32r/m32r.h: Ditto.
19948 * config/m68k/m68k.h: Ditto.
19949 * config/m88k/m88k.h: Ditto.
19950 * config/mips/mips.h: Ditto.
19951 * config/pa/pa.h: Ditto.
19952 * config/pyr/pyr.h: Ditto.
19953 * config/tahoe/tahoe.h: Ditto.
19954 * config/we32k/we32k.h: Ditto.
19956 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
19957 based on arch size.
19959 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
19961 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
19964 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
19966 1999-08-02 Richard Henderson <rth@cygnus.com>
19968 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
19969 for the register spill block.
19970 (m32r_va_arg): New.
19971 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
19972 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
19974 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
19975 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
19976 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
19978 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
19980 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
19981 MAX_WCHAR_TYPE defined in sparc.h.
19982 * config/sparc/linuxaout.h: Likewise.
19983 * config/sparc/linux64.h: Likewise.
19984 Also default to -mvis if CPU is UltraSPARC.
19986 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
19988 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
19989 (RTX_OK_FOR_OLO10): Likewise.
19990 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
19991 %lo(), allow it in addresses...
19992 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
19993 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
19994 does not make sense.
19995 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
19996 (sparc_output_scratch_registers): New function.
19997 (output_function_prologue, sparc_flat_output_function_prologue): Use
19999 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20001 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20002 * configure.in: Add check for .register pseudo-op support in as and
20003 check for offsetable %lo().
20004 * acconfig.h: Add templates for the above checks.
20005 * configure: Regenerate.
20007 1999-08-02 Richard Henderson <rth@cygnus.com>
20009 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20010 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20011 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20013 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20015 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20018 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
20020 * config/float-sparc.h: New file.
20021 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20022 sparc-*-linux-gnu and sparc64-*-linux*.
20024 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20026 * rs6000.c (rs6000_va_list): Type is an array.
20027 (rs6000_va_start): Don't doubly adjust for varargs.
20028 (rs6000_va_arg): Evaluate long long GPR adjustment.
20030 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
20032 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
20033 -maix64 and -maix32.
20034 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
20035 LINK_SPEC): Change appropriately.
20036 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
20037 (u_short_cint_operand): Likewise.
20038 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
20040 * rs6000/t-aix43 (MULTILIB): Change to -m64.
20042 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
20044 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
20046 * rs6000/rs6000.c (num_insns_constant_wide): Correct
20047 for type promotion.
20048 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
20049 (non_add_cint_operand): Likewise.
20050 (logical_operand): Likewise.
20051 (non_logical_cint_operand): Likewise.
20052 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
20053 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
20054 (rs6000_select_rtx_section): Suppress warning.
20055 (small_data_operand): Suppress warning.
20056 (rs6000_got_register): Suppress warning.
20057 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
20058 type, so `J' is generally the wrong constraint for a SImode value;
20060 (andsi3_internal2): Likewise.
20061 (andsi3_internal3): Likewise.
20062 (iorsi3_internal1): Likewise.
20063 (xorsi3_internal1): Likewise.
20065 (movsf_softfloat): Likewise.
20066 (scc insns): Likewise.
20067 (movsi+2): Preserve sign bits of SImode constant.
20068 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
20069 (movdf+1): Sign-extend properly.
20070 (movdi_32+1): Sign-extend properly.
20071 (scc insns): Sign-extend properly.
20073 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
20076 1999-08-02 Richard Henderson <rth@cygnus.com>
20078 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
20079 -mcpu parsing code.
20080 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
20081 * alpha.md (all fp insns): Likewise.
20083 1999-08-02 Nick Clifton <nickc@cygnus.com>
20085 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
20088 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
20090 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
20091 pic_load_label generator directly.
20092 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
20093 No longer a named pattern.
20095 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
20097 * explow.c (force_reg): Call force_operand if X does not
20098 satisfy general_operand.
20100 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
20102 * fix-header.c (main): When testing for CONTINUED, use string
20103 equality, not pointer equality.
20105 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
20107 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
20109 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
20111 * cse.c (cse_insn): Fix loop which deletes insns after a jump
20112 that has become an unconditional jump.
20114 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
20115 (output_function_epilogue): Similarly.
20117 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20119 * tree.h (init_dummy_function_start): Declare.
20121 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20123 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
20124 last_expr_type, last_expr_value, block_start_count, block_stack,
20125 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
20126 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
20127 dynamically in stmt elt of struct function for each function.
20128 (struct nesting): Rename function_call_count elt to n_function_calls,
20129 target_temp_slot_level to block_target_temp_slot_level. All users
20131 (struct stmt_status): New structure definition.
20132 Add many accessor macros for stmt_status elements which previously
20133 were global variables.
20134 (init_stmt_for_function): Allocate stmt elt for current_function.
20135 Reflect that block_start_count was renamed to
20136 current_block_start_count.
20137 (save_stmt_status, restore_stmt_status): Delete functions.
20138 (preserve_subexpressions_p): Don't access loop_stack when outside
20140 (expand_start_bindings): Reflect that block_start_count was renamed to
20141 current_block_start_count.
20142 (expand_fixup): Likewise.
20143 (expand_decl): Don't access block_stack when outside a function.
20144 (expand_decl_cleanup): Likewise.
20145 (expand_dcc_cleanup): Likewise.
20146 (expand_dhc_cleanup): Likewise.
20147 (expand_anon_union_decl): Likewise.
20148 (set_file_and_line_for_stmt): New function.
20149 (in_control_zone_p): New function.
20151 * function.h (struct function): Add new elt stmt.
20152 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
20153 case_stack, nesting_stack, nesting_depth, block_start_count,
20154 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
20155 emit_lineno, goto_fixup_chain.
20156 (save_eh_status, restore_eh_status, save_stmt_status,
20157 restore_stmt_status): Delete declarations.
20158 * function.c (push_function_context_to): Don't call save_stmt_status.
20159 (pop_function_context_to): Don't call restore_stmt_status.
20160 * tree.h (in_control_zone_p): Declare.
20161 * rtl.h (set_file_and_line_for_stmt): Declare.
20163 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
20164 call set_file_and_line_for_stmt.
20166 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
20168 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
20169 Also update copyright.
20171 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20173 * c-pragma.c: Don't include "except.h".
20174 * emit-rtl.c: Likewise.
20175 * stor-layout.c: Likewise.
20176 * tree.c: Likewise.
20177 * varasm.c: Likewise.
20179 * flow.c: Include "function.h".
20180 * tree.h (init_dummy_function_start): Declare new function.
20182 * except.h (struct eh_status): New structure.
20183 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
20185 (eh_return_stub_label, ehstack, catchstack, ehqueue,
20186 catch_clauses, false_label_stack, caught_return_label_stack,
20187 protect_list, current_function_ehc): Add accessor macros for the
20188 corresponding fields in current_function->eh; delete declarations
20189 for all items that used to be declared here.
20190 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
20191 catch_clauses, false_label_stack, caught_return_label_stack,
20192 protect_list, current_function_ehc): Delete variables.
20193 (init_eh_for_function): Allocate current_function->eh.
20194 (save_eh_status, restore_eh_status): Delete functions.
20196 * function.h (struct function): Add fields next_global and eh.
20197 Delete all exception handling related fields.
20198 * function.c (current_function): New variable.
20199 (all_functions): New variable.
20200 (push_function_context_to): Don't allocate a struct function,
20201 use current_function instead. Call init_dummy_function_start when
20202 outside a function. Clear current_function before returning.
20203 (pop_function_context_from): Restore current_function.
20204 Don't free the restored struct function.
20205 (prepare_function_start): New function.
20206 (init_dummy_function_start): New function.
20207 (init_function_start): Break out some code into prepare_function_start
20210 * stmt.c (save_stmt_status): Don't call save_eh_status.
20211 (restore_stmt_status): Don't call restore_eh_status.
20213 * Makefile.in: Update dependencies.
20215 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
20217 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
20218 of depending on a magic constant value. Update comments.
20219 (hppa_expand_prologue): Similarly.
20221 * pa.md (reload_indi, reload_outdi): Allow any register for the
20222 original reload register.
20224 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
20226 * cccp.c (print_help): Change marcos to macros.
20228 1999-07-30 Richard Henderson <rth@cygnus.com>
20230 * c-typeck.c (initializer_constant_valid_p): Move ...
20231 * c-common.c (initializer_constant_valid_p): ... here. Use
20232 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
20233 of label addresses.
20234 * c-common.h (initializer_constant_valid_p): Declare.
20235 * c-tree.h (initializer_constant_valid_p): Remove.
20237 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
20239 * config/i386/sol2-c1.asm: Align the stack.
20240 * config/i386/sol2-gc1.asm: Likewise.
20242 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
20244 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
20245 -Asparclite for sparc86x.
20246 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
20248 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
20250 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
20252 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
20253 the user if using the non-default arch size in BI_ARCH configuration.
20254 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
20256 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
20257 Fix patterns so that they actually match.
20258 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
20259 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
20260 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
20262 (mulsidi3): Reflect this in the expand.
20263 (smulsi3_highpart): Only on TARGET_ARCH32.
20264 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
20265 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
20266 (umulsidi3): Reflect this in the expand.
20267 (umulsi3_highpart): Only on TARGET_ARCH32.
20268 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
20269 don't require g0 to be zero.
20270 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
20271 ({,u}divsi3): New expands.
20272 ({,u}divsi3_sp64): New patterns.
20273 (after lshrdi3_v8plus): Four new patterns to help combiner
20274 optimizing nested mixed mode shifts.
20276 * config/sparc/sparc.c (sparc_override_options): Use deprecated
20277 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
20278 speed things up. Don't use them by default on plain v9 in 64bit
20279 mode, according to what SPAMv9 sais.
20281 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
20282 top 32 bits of %[og][0-7] in signal handlers.
20283 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
20285 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
20287 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
20288 (ashlsi3): Corresponding changes.
20290 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
20292 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
20294 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
20296 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20298 * arm.h (Hint): Delete macro.
20299 Substitute HOST_WIDE_INT for Hint in some prototypes.
20300 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
20302 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
20304 * builtins.c (expand_builtin_setjmp): Use force_operand to
20305 make sure that the buffer address is in a suitable form to be
20306 passed to force_reg.
20308 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
20310 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
20313 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
20315 * pa.md (indirect_jump): Remove mode from match_operand. Verify
20316 proper mode in the condition string.
20317 (icacheflush, dcacheflush): Remove modes from match_operands.
20319 * pa.c (emit_move_sequence): Always convert scratch_reg to the
20320 proper mode before using it.
20322 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
20325 * pa.c (store_reg): Do not call add_high_const generator directly.
20326 (load_reg, set_reg_plus_d): Likewise.
20327 * pa.md (add_high_const): No longer a named pattern.
20329 * pa.c (legitimize_address): Consistently use Pmode rather than
20330 SImode. Do not call gen_pic2_highpart directly anymore.
20331 * pa.md (pic2_highpart): No longer a named pattern.
20332 (pic2_lo_sum): Similarly. Reformat to make more readable.
20334 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
20339 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20341 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
20343 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
20345 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
20346 and tag the spill mems.
20347 (hppa_va_start): New.
20348 (hppa_va_arg): New.
20349 * pa.h (EXPAND_BUILTIN_VA_START): New.
20350 (EXPAND_BUILTIN_VA_ARG): New.
20352 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
20354 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
20355 and tag the spill mems.
20356 (mn10300_va_start): New.
20357 (mn10300_va_arg): New.
20358 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
20359 (EXPAND_BUILTIN_VA_ARG): New.
20361 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
20363 * mn10200.c (mn10200_va_arg): New.
20364 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
20366 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
20368 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
20369 rather than play with TREE_INT_CST_LOW.
20371 1999-07-27 Philip Blundell <pb@nexus.co.uk>
20373 * config/arm/telf.h: Include dbxelf.h.
20374 (CPP_PREDEFINES): Only define if not already defined.
20375 (ASM_IDENTIFY_GCC): Likewise.
20376 (SUBTARGET_EXTRA_SECTIONS): Likewise.
20377 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
20378 * config/arm/thumb.h (LINK_SPEC): Only define if not already
20380 (DBX_DEBUGGING_INFO): Don't define.
20381 * config/arm/linux-telf.h: New file.
20382 * config/arm/linux-tgas.h: New file.
20383 * config/arm/t-thumb-linux: New file.
20384 * config/arm/uclinux-elf.h: New file.
20385 * config/arm/uclinux-telf.h: New file.
20386 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
20387 thumb-*-uclinux): New targets.
20388 * configure: Regenerate.
20390 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
20392 * pa.md (post_store, pre_load): New expanders.
20393 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
20394 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
20395 need to directly generate RTL for them.
20396 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
20399 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
20401 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
20402 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
20403 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
20404 (secndary_reload_class): Make TARGET_ELF conditional compile.
20405 (print_operand_address): Similar.
20406 (output_toc): Print all values as hex.
20407 (get_issue_rate): Rearrange and add RS64A and PPC630.
20408 * rs6000.h (processor_type): Add RS64A and PPC630.
20409 (PROCESSOR_POWERPC64): New.
20410 (PROMOTE_MODE): Use word_mode.
20411 (RTX_COSTS): Add RS64A and PPC630.
20412 * rs6000.md (scheduling information): Add lmul and ldiv
20413 representing 64-bit integer multiply and divide. Add rs64a and
20414 PPC630 information.
20415 (ashldi3): Add support for "rldic" instruction.
20416 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
20418 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
20420 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
20421 instead of V8 for sparclite86x in cpu_table.
20423 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20425 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
20426 output_file_directive.
20428 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
20430 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
20431 tree for op1, not the rtl.
20433 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
20435 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
20436 to m88k_va_start, leaving only the register spill.
20437 (m88k_build_va_list): New.
20438 (m88k_va_start): New.
20439 (m88k_va_arg): New.
20440 * m88k.h (BUILD_VA_LIST_TYPE): New.
20441 (EXPAND_BUILTIN_VA_START): New.
20442 (EXPAND_BUILTIN_VA_ARG): New.
20444 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
20446 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
20447 Rename from expand_builtin_saveregs.
20448 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
20450 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
20452 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
20453 for the register spill block.
20454 (i960_build_va_list): New.
20455 (i960_va_start): New.
20456 (i960_va_arg): New.
20457 * i960.h (BUILD_VA_LIST_TYPE): New.
20458 (EXPAND_BUILTIN_VA_START): New.
20459 (EXPAND_BUILTIN_VA_ARG): New.
20460 * i960.md (store_multiple): Use change_address on individul mems.
20462 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
20464 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
20466 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
20467 (expand_builtin_va_end): Evaluate arg for side effects.
20468 * c-common.c (c_common_nodes_and_builtins): Construct a
20469 va_list_arg_type_node to handle array decomposition to pointer.
20471 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
20473 * except.c (st_dynamic_cleanup): Use force_operand on the
20476 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
20478 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
20479 * c4x.c (c4x_va_arg): New.
20481 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
20483 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
20484 has manual_pop set.
20486 1999-07-26 Nathan Sidwell <nathan@acm.org>
20488 * eh-common.h (__eh_matcher): Prototype correctly.
20490 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
20492 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
20493 (TARGET_SINGLE_PIC_BASE): Likewise.
20494 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
20496 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
20497 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
20498 (TARGET_OPTIONS): Add -mpic-register=N.
20499 (OUTPUT_INT_ADDR_CONST): New macro.
20500 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
20501 LEGITIMATE_PIC_OPERAND_P): Likewise.
20502 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
20503 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
20504 output_addr_const directly.
20505 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
20507 (thumb_pic_register, thumb_pic_register_string): Declare.
20509 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
20511 (label_mentioned_p): New function: Imported from arm.c.
20512 (legitimize_pic_address): New function: Imported from arm.c.
20513 (is_pic):New function: Imported from arm.c.
20514 (thumb_finalize_pic):New function: Imported from arm.c.
20515 (add_constant): Cope with PIC constants.
20516 (fixit): Cope with PIC constants.
20517 (output_return): Do not treat the PIC register as live if
20518 TARGET_SINGLE_PIC_BASE is true.
20519 (thumb_function_prologue): Do not treat the PIC register as live if
20520 TARGET_SINGLE_PIC_BASE is true.
20521 (thumb_expand_prologue): Do not treat the PIC register as live if
20522 TARGET_SINGLE_PIC_BASE is true.
20523 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
20524 TARGET_SINGLE_PIC_BASE is true.
20525 (thumb_print_operand): Accept '|'.
20526 (thumb_override_options): Process PIC options.
20528 * config/arm/thumb.md (movsi): Support PIC.
20529 (call_insn): Change "i" constraint to "X".
20530 (call_value_insn): Likewise.
20531 (consttable_4, consttable_8, consttable_end): Set and clear
20532 "making_const_table" as appropriate.
20533 (pic_load_addr, pic_add_dot_plus_four): New insns.
20535 * invoke.texi (Thumb Options): Fix spelling. Document new
20536 options -msingle-pic-base and -mpic-register=.
20538 1999-07-26 Andrew Haley <aph@cygnus.com>
20540 * config/m32r/initfini.c (__init): Use a full word immediate for
20541 __fini: this allows it to be placed in any memory region.
20543 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
20544 -mmodel=medium. This is OK for all memory models.
20546 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
20548 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
20549 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
20551 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
20553 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
20556 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
20558 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
20560 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
20561 (BUILD_VA_LIST_TYPE): New.
20562 (EXPAND_BUILTIN_VA_START): New.
20563 (EXPAND_BUILTIN_VA_ARG): New.
20564 * i860.c (output_delayed_branch): Disable.
20565 (output_delay_insn): Likewise.
20566 (i860_saveregs): New.
20567 (i860_build_va_list): New.
20568 (i860_va_start): New.
20569 (i860_va_arg): New.
20570 * i860.md: Disable all peepholes using output_delayed_branch.
20571 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
20573 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
20575 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
20576 (BUILD_VA_LIST_TYPE): New.
20577 (EXPAND_BUILTIN_VA_START): New.
20578 (EXPAND_BUILTIN_VA_ARG): New.
20579 * clipper.c (clipper_builtin_saveregs): Only dump registers.
20580 Return the address of the save area.
20581 (clipper_build_va_list): New.
20582 (clipper_va_start): New.
20583 (clipper_va_arg): New.
20585 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
20587 * arc.h (EXPAND_BUILTIN_VA_START): New.
20588 (EXPAND_BUILTIN_VA_ARG): New.
20589 * arc.c (arc_setup_incoming_varargs): Set alias set of
20591 (arc_va_start): New.
20594 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
20596 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
20597 (BUILD_VA_LIST_TYPE): New.
20598 (EXPAND_BUILTIN_VA_START): New.
20599 (EXPAND_BUILTIN_VA_ARG): New.
20600 * alpha.c (alpha_builtin_saveregs): Delete.
20601 (alpha_build_va_list): New.
20602 (alpha_va_start): New.
20603 (alpha_va_arg): New.
20605 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
20607 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
20609 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
20610 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
20612 * gcc.texi: More changes related to list conversion.
20613 * invoke.texi: Likewise.
20615 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
20617 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
20618 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
20619 (expand_builtin_next_arg): Accept ARGLIST not EXP.
20620 (stabilize_va_list): New function.
20621 (std_expand_builtin_va_start): New function.
20622 (expand_builtin_va_start): New function.
20623 (get_varargs_alias_set): New function.
20624 (std_expand_builtin_va_arg): New function.
20625 (expand_builtin_va_arg): New function.
20626 (expand_builtin_va_end): New function.
20627 (expand_builtin_va_copy): New function.
20628 (expand_builtin): Call them.
20629 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
20630 __builtin_{varargs_start,stdarg_start,end,copy}.
20631 (build_va_arg): New function.
20632 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
20633 (build_va_arg): Declare.
20634 * c-decl.c (ptr_type_node, va_list_type_node): New.
20635 * c-parse.gperf (__builtin_va_arg): New.
20636 * c-parse.in (VA_ARG): New token.
20637 (unary_expr): Recognize it.
20638 * expr.c (expand_expr): Expand VA_ARG_EXPR.
20639 * expr.h (std_expand_builtin_va_start): Declare.
20640 (std_expand_builtin_va_arg): Declare.
20641 (expand_builtin_va_arg): Declare.
20642 (get_varargs_alias_set): Declare.
20643 * tree.def (VA_ARG_EXPR): New.
20644 * tree.h (BUILT_IN_VARARGS_START): New.
20645 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
20646 (ptr_type_node, va_list_type_node): Declare.
20647 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
20648 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
20649 * m88k.h, m88k.c: Likewise.
20650 * mn10300.h, mn10300.c: Likewise.
20651 * pa.h, pa.c: Likewise.
20652 * rs6000.h, rs6000.c: Likewise.
20653 * sh.h, sh.c: Likewise.
20654 * sparc.h, sparc.c: Likewise.
20656 * emit-rtl.c (operand_subword): Copy alias set.
20657 (change_address): Likewise.
20659 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
20661 * pa.c (compute_frame_size): Scan all the used callee saved registers,
20662 not just the first one.
20664 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
20666 * config/arm/arm.h (TARGET_SWITCHES): Add
20667 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
20668 (TARGET_OPTIONS): Add -mpic-register=.
20669 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
20670 (arm_pic_register_string): Declare.
20671 (NEED_PLT_GOT): Delete, replace with ...
20672 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
20673 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
20674 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
20675 * config/arm/arm.c (arm_override_options): Add new option
20677 (arm_pic_register_string): New variable.
20678 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
20679 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
20680 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
20681 (output_return_instruction): Likewise.
20682 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
20683 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
20684 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
20686 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
20687 mention of -msched-prolog. Document new options -msingle-pic-base
20688 and -mpic-register=.
20690 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
20692 * haifa-sched.c (reemit_notes): Tidy.
20693 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
20696 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
20698 * explow.c (trunc_int_for_mode): New function.
20699 (plus_constant_wide): Use it.
20700 * combine.c (simplify_and_const_int): Likewise.
20701 (merge_outer_ops): Likewise.
20702 (simplify_shift_const): Likewise.
20703 * cse.c (simplify_unary_operation): Likewise.
20704 (simplify_binary_operation): Likewise.
20705 * emit-rtl.c (operand_subword): Likewise.
20706 * rtl.h: Declare it.
20708 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20710 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
20711 (use NUM_REGS instead of NUM_INTS).
20713 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20715 * builtins.c: New file.
20716 * expr.c (saveregs_value, apply_args_value): Delete definition,
20717 moved into builtins.c.
20718 (string_constant): No longer static.
20719 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
20720 apply_args_size, apply_result_size, result_vector,
20721 expand_builtin_apply_args, expand_builtin_apply,
20722 expand_builtin_return): Delete functions, moved into builtins.c.
20723 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
20724 * expr.h (saveregs_value, apply_args_value): Declare variables.
20725 (expand_builtin, string_constant): Declare functions.
20726 * Makefile.in: Update to build builtin.o.
20728 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
20730 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
20731 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
20732 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
20733 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
20735 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
20738 1999-07-21 Michael Meissner <meissner@cygnus.com>
20740 * print-rtl.c (print_rtx): Print the names of the virtual
20743 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
20745 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
20746 introduced in previous delta.
20748 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20750 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
20751 to avoid name clash.
20753 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20755 * c-lex.c (yylex) : Correct the test for overflow when lexing
20758 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
20760 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
20761 (adjust_priority): Always call ADJUST_PRIORITY.
20762 (schedule_insn): Only put insns into the ready at cost 0.
20763 (schedule_block): Remove redundant initial sort. Give clock_var
20764 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
20766 * tm.texi (MD_SCHED_REORDER): Update docs.
20768 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
20769 * sparc.c (ultra_reorder_called_this_block): Delete.
20770 (ultrasparc_sched_init): Don't set it.
20771 (ultrasparc_sched_reorder): Don't check it.
20773 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
20775 * rs6000.h (struct rs6000_args): Add sysv_gregno.
20776 * rs6000.c (init_cumulative_args): Init sysv_gregno.
20777 (function_arg_boundary): Align DFmode.
20778 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
20779 to get fp reg and stack overflow correct.
20780 (function_arg): Likewise.
20781 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
20782 (setup_incoming_varargs): Restructure for ABI_V4; use
20783 function_arg_advance to skip final named argument.
20784 (expand_builtin_saveregs): Properly unskip the last integer arg
20785 when doing varargs. Adjust overflow location calculation.
20787 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
20788 explicitly unsigned.
20789 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
20790 (__VA_GP_REGSAVE): Similarly.
20791 (__va_longlong_p): Delete.
20792 (__va_arg_type_violation): New declaration.
20793 (va_arg): Restructure. Flag promotion errors. Align double.
20794 TFmode passed by reference.
20796 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
20797 in the HOST_BITS_PER_WIDE_INT > 32 case.
20799 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
20801 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
20803 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
20805 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
20806 * toplev.c (documented_lang_options): Add -fpreprocessed.
20807 * cpplib.h (struct cpp_buffer): Add preprocessed.
20808 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
20809 (cpp_start_read): Don't expand macros or emit an initial #line
20810 directive if -fpreprocessed.
20812 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20814 * cpplib.h (struct cpp_buffer): Added manual_pop for
20815 better C++ tokenization.
20816 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
20817 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
20818 * c-common.c (cpp_token): Make non-static.
20820 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20822 * c-common.h: New file.
20823 * c-common.c (permanent_obstack): Delete unused declaration.
20824 (c_global_trees): New array.
20825 (c_common_nodes_and_builtins): New function; split off common code
20826 from init_decl_processing in both c-decl.c and cp/decl.c.
20827 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
20828 c_global_trees and accessor macros defined in c-common.h.
20829 Include c-common.h.
20830 * c-decl.c: Delete definitions for tree nodes that were replaced by
20832 (init_decl_processing): Build void_list_node.
20833 Call c_common_nodes_and_builtins; delete code to generate the common
20835 * objc/objc-act.c (build_module_descriptor): Rename variable
20836 void_list_node to avoid clash with c-common.h.
20838 * Makefile.in: Update dependencies.
20839 * objc/Make-lang.in: Likewise.
20841 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
20843 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
20844 (UNIQUE_SECTION_P): Likewise.
20845 (UNIQUE_SECTION): Likewise.
20847 1999-07-19 Linas Vepstas <linas@linas.org>
20849 * config/i370/README: New file.
20850 * config/i370/linux.h: New file.
20851 * config/i370/mvs.h: New file.
20852 * config/i370/oe.h: New file.
20853 * config/i370/t-linux: New file.
20854 * config/i370/t-mvs: New file.
20855 * config/i370/t-oe: New file.
20856 * config/i370/x-oe: New file.
20857 * config/i370/xm-linux.h: New file.
20858 * config/i370/xm-mvs.h: New file.
20859 * config/i370/xm-oe.h: New file.
20861 * i370.c (label_node_t): Add first_ref_page, label_addr,
20862 label_first_ref, label_last_ref members.
20863 (mvs_need_base_reload): Renamed from mvs_label_emitted.
20864 (MAX_MVS_LABEL_SIZE): Define.
20865 (MAX_LONG_LABEL_SIZE): Define.
20866 (alias_node_t, alias_anchor, alias_number): New.
20867 (mvs_function_table): Reorder for EBCDIC.
20868 (ascebc, ebcasc): Unconditionally define.
20869 (i370_branch_dest, i370_branch_length): New functions.
20870 (i370_short_branch, i370_label_scan): New functions.
20871 (mvs_get_label): Renamed from mvs_add_label. Search for
20872 an existing label before creating a new one.
20873 (mvs_add_label): New function.
20874 (mvs_get_label_page): New function.
20875 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
20876 over the entire list.
20877 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
20878 (mvs_check_page) [TARGET_ELF_ABI]: New function.
20879 (mvs_add_alias, mvs_need_alias): New functions.
20880 (mvs_get_alias, mvs_check_alias): New functions.
20881 (handle_pragma): New function.
20882 (mvs_function_check): New function.
20883 (unsigned_jump_follows_p): Search harder.
20884 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
20885 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
20886 * i370.h (TARGET_VERSION): Delete.
20887 (CPP_SPEC, CPP_PREDEFINES): Delete.
20888 (mvs_label_emitted): Delete.
20889 (TARGET_EBCDIC): Delete.
20890 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
20891 (HANDLE_PRAGMA): Define.
20892 (HARD_REGNO_NREGS): Handle complex modes.
20893 (HARD_REGNO_MODE_OK): Likewise.
20894 (CLASS_MAX_NREGS): Likewise.
20895 (RET_REG): Likewise.
20896 (EXTRA_CONSTRAINT): Define.
20897 (RETURN_IN_MEMORY): True for DImode.
20898 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
20899 (FUNCTION_PROFILER): Delete.
20900 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
20901 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
20902 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
20903 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
20904 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
20905 (ASM_FILE_START): Add "RMODE ANY".
20906 (ASM_OUTPUT_EXTERNAL): Check for aliases.
20907 (ASM_GLOBALIZE_LABEL): Likewise.
20908 (ASM_OUTPUT_LABELREF): Likewise.
20909 (ASM_OUTPUT_COMMON): Likewise.
20910 (PRINT_OPERAND): Handle 'K', 'W', default.
20911 (PRINT_OPERAND_ADDRESS): New.
20912 (Lots of defines): Add support for TARGET_ELF_ABI.
20913 * i370.md (attr length): New. Define for all patterns.
20914 (*): Lots of tweeks to assembly output and constraints.
20916 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
20918 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
20919 Disable patterns performing SImode comparisons with SImode values
20920 if TARGET_POWERPC64 and instruction does not sign-extend or does
20921 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
20922 differ for signed quantities.
20923 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
20924 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
20925 (decrement_and_branch_on_count): Add 64-bit variant.
20927 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20929 * final.c (output_asm_insn): When searching for the matching string
20930 for a given dialect, don't run past the end of the list of
20931 alternatives if there are fewer alternatives in the template than
20934 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
20936 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
20937 Removed paragraph about compression of files and size limitation,
20938 duplicated in the FAQ. Use gcc-patches for posting patches.
20939 * gcc.c (main): Updated URL with bug reporting instructions to
20940 gcc.gnu.org. Removed e-mail address.
20941 * system.h (abort): Likewise.
20943 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20945 * Makefile.in (stmp-multilib-sub): Make the files extracted
20946 from $(LIBGCC1) writable.
20948 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
20950 * config/arm/aout.h: Reformat for improved readability.
20952 * config/arm/arm.h: Reformat for improved readability.
20953 Replace uses of fprintf with asm_fprintf where appropriate.
20954 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
20955 function declaration assembler actions.
20956 (NUM_INTS): New macro: Convert from bytes to words.
20957 (NUM_REGS): New macro: Compute number of registers required to
20958 hold a quanitity of tyep MODE.
20959 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
20961 (NUM_ARG_REGS): New macro: The number of argument registers
20963 (ARG_REGISTER): New macro: Compute the register number of the Nth
20965 (LAST_ARG_REGNUM): New macro: The number of the last argument
20967 (SP_REGNUM): New macro: Register number of the stack pointer.
20968 (FP_REGNUM): New macro: Register number of the frame pointer.
20969 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
20970 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
20971 CUMULATIVE_ARGS so that it counts registers not bytes.
20973 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
20975 Replace uses of fprintf with asm_fprintf where appropriate.
20976 (output_ascii_pseudo_op): Replace with version from thumb.c
20978 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
20980 * config/arm/elf.h (CPP_PREDEFINES): Replace with
20981 SUBTARGET_CPP_SPEC.
20982 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
20983 (ASM_FILE_START): Emit ASM_APP_OFF.
20985 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
20987 * pa.c (compute_frame_size): Round frame according to
20988 STACK_BOUNDARY rather than a hardwired value.
20990 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
20992 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
20994 * configure: Rebuilt.
20996 * configure.in (hppa*-*-linux*): New configuration.
20997 * configure: Rebuilt.
20998 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
20999 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21000 * pa/pa-linux.h: New file.
21001 * pa/t-linux: New file.
21002 * pa/xm-linux.h: New file.
21004 * pa.c (hppa_legitimize_address): Change references from SImode to
21005 either Pmode or word_mode as appropriate.
21006 (emit_move_sequence, store_reg, load_reg): Likewise.
21007 (set_reg_plus_d, hppa_expand_prologue): Likewise.
21008 (output_mul_insn): Likewise.
21009 * pa.h (PROMOTE_MODE): Likewise.
21010 (INITIALZE_TRAMPOLINE): Likewise.
21011 (Pmode): Define to word_mode.
21013 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21014 value of 4. Allocate 8 bytes for each FP register save.
21015 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21017 (hppa_expand_prologue): Likewise.
21018 * pa.h (PROMOTE_MODE): Likewise.
21019 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21020 (FUNCTION_ARG_BOUNDARY): Likewise.
21022 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21024 * pa.c (out_of_line_prologue_epilogue): Delete.
21025 (override_options): Remove -mspace related code.
21026 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21027 (compute_frame_size): Only allocate space for register that
21028 actually need to be saved.
21029 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21030 (TARGET_SWITCHES): Remove -mspace, -mno-space
21031 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21032 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
21033 * pa/ee.asm, pa/ee_fp.asm: Delete.
21035 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
21037 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
21038 directive in column zero.
21040 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
21042 * m68k.c (output_function_prologue): Fix computation of save mask
21043 when generating PIC code.
21045 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
21047 * tree.c (build_type_attribute_variant): Move current_obstack restore
21048 after build_qualified_type call.
21050 1999-07-15 Mark Mitchell <mark@codesourcery.com>
21052 * configure.in: Use t-iris6, even with GNU LD.
21053 * config/mips/iris6gld.h: Fix typo in linker spec.
21054 * config/mips/t-iris6gld: Remove.
21056 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
21058 * rs6000.md (insv, extzv): Remove SImode dependence in named
21059 patterns. Explicitly generate DImode RTL if PowerPC64 and
21061 (insvdi): Reverse start and size in instruction template.
21063 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
21065 * invoke.texi: Typo fixes.
21067 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
21069 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
21070 handle at this time instead of silently generating incorrect code.
21071 (gen_imagpart): Likewise.
21073 * reload.c (find_reloads): Emit a USE for a pseudo register without
21074 a hard register if we could not create an optional reload for the
21077 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21079 * c-typeck.c (output_init_element, process_init_element):
21080 When advancing constructor_unfilled_fields for a RECORD_TYPE,
21081 check for nameless bit fields.
21083 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
21085 * regclass.c (scan_one_insn): Notice subregs that change the
21086 size of their operand.
21087 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
21089 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
21091 * configure.in (alpha*-*-*): Include alpha/t-ieee.
21092 * configure: Rebuilt.
21093 * alpha/t-ieee: New file.
21095 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
21097 * rs6000.c (find_addr_reg): Do not select r0 as an address
21100 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
21102 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
21104 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
21106 * rs6000.md (movsf): Do not force easy FP constants into memory.
21108 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
21109 immed_double_const to ensure they are properly truncated then
21112 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
21114 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
21115 always unless NO_DEBUG is used. Compile this code
21117 (replace_symbols_in_block): Compile it unconditionally.
21119 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
21121 * configure.in (i?86-*-elf*): New target.
21122 * configure: Rebuilt.
21123 * i386/i386elf.h, i386/t-i386elf: New files.
21125 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
21127 * toplev.c (main): Don't complain about saying -gdwarf.
21128 (rest_of_compilation): Remove redundant code.
21130 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
21132 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
21134 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
21136 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
21137 "Li960R:", to avoid name clash.
21139 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21141 * loop.c (check_dbra_loop): When reversing a loop, delete all
21142 REG_EQUAL notes referencing the reversed biv except those which are
21143 for a giv based on it.
21145 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
21147 * version.c: Drop "gcc-" prefix from version #.
21149 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
21151 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
21152 the label if we're being verbose.
21154 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
21156 * m68k.c (output_function_prologue): Add pic register to mask
21157 if live and flag_pic.
21158 (output_function_epilogue): Likewise.
21160 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
21162 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
21163 directives in column zero.
21165 * pa/elf.h (ASM_FILE_START): Define.
21166 * pa/som.h (ASM_FILE_START): Include .level directives.
21167 * pa/hpux10.h (ASM_FILE_START): Delete.
21168 * pa/hpux11.h (ASM_FILE_START): Delete.
21170 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
21172 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21174 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
21175 when reload_out equals reload_in.
21177 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
21179 * invoke.texi (Spec Files): New node: Describe the contents of
21182 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
21184 * invoke.texi (DEC Alpha Options): Put @end table at
21185 beginning of line, to avoid confusing texi2html.
21187 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
21189 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
21190 introduced in previous delta.
21192 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21194 * reload1.c (gen_reload): When synthesizing a 3 operand add
21195 sequence, improve test for when to reload OP1 into the reload
21196 register instead of OP0.
21198 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
21200 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
21202 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
21204 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
21207 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
21209 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
21210 (va_dcl): Use __builtin_va_alist_t.
21212 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
21214 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
21215 on the permanent_obstack.
21216 * dwarfout.c (output_type): Likewise.
21218 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
21220 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21221 Merged from c-typeck.c and cp/typeck.c.
21222 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21223 Merged into c-common.
21225 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
21227 * c-lex.c (errorcount): Declare it.
21228 (finish_parse): Update errorcount when using CPPLIB.
21230 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
21232 * fixinc/inclhack.def(end_else_label): Double the backslash so
21233 sed gets a chance to see it.
21234 * fixinc/inclhack.sh: regen
21235 * fixinc/fixincl.x: regen
21237 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
21239 Add framework to support armv5 architecture when it becomes
21242 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
21243 (arm_arch5): New variable.
21244 (all_architectures): Add armv5 line.
21245 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
21246 -march=armv5 is specified on the command line.
21247 (arm_arch5): Export this variable.
21248 * invoke.texi: Document new string accepted by -march= switch for
21251 * config/arm/arm.h: Replace use of constant 12 as a register
21252 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
21253 * config/arm/arm.c: Replace use of constant 12 as a register
21254 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
21256 * config/arm/elf.h: Tidy up.
21257 * config/arm/coff.h: Tidy up.
21259 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
21261 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
21262 * gcc/config/mips/t-iris6gld: New file.
21263 * gcc/config/mips/iris6gld.h: Likewise.
21265 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
21267 * c-decl.c (widest_integer_literal_type_node,
21268 widest_unsigned_literal_type) : New.
21269 (init_decl_processing): Handle/use the two new types.
21270 * c-common.c (type_for_size,type_for_mode) : Same.
21271 * c-lex.c (yylex) : Same.
21272 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21274 * c-tree.h (widest_integer_literal_type_node,
21275 widest_unsigned_literal_type) : New.
21277 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
21279 * dwarfout.c (field_byte_offset): Correctly compute the object's
21280 byte offset for the first bit of a field which crosses an alignment
21281 boundary on a !BYTES_BIG_ENDIAN target.
21283 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
21285 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
21288 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
21289 Jeff Law <law@cygnus.com>
21291 * ginclude/varargs.h (va_dcl): Use word_mode for type of
21294 * except.c: Include intl.h.
21295 (expand_eh_return): Set current_function_cannot_inline.
21296 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
21297 * function.h (struct function): Add eh_return_stub_label.
21298 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
21299 * Makefile.in (except.o): Depend on intl.h.
21301 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
21303 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
21304 same as offsettable in cases 1 and 2.
21306 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
21308 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
21309 (extlh, extwh): Likewise.
21311 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
21313 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
21315 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
21317 * configure.in: Add arm-pe and thumb-pe targets.
21318 * configure: Regenerate.
21320 * thumb.c (arm_naked_function_p): New function: Determines if
21321 a function is naked (has no gcc generated prologue/epilogue).
21322 (is_called_in_ARM_mode): Return true if the func has the
21323 interfacearm attribute.
21324 (output_return): Do not generate a return for naked functions.
21325 (thumb_function_prologue): Do not generate a prologue for
21327 (thumb_expand_prologue): Do not generate a prologue for naked
21329 (thumb_expand_epilogue): Do not generate an epilogue for naked
21331 (arm_valid_machine_decl_attribute): New function, copied from
21332 arm.c: Permit naked and interfacearm attributes.
21334 * config/arm/pe.c: New file: Support code for arm-pe target.
21335 * config/arm/pe.h: New file: Header file for arm-pe target.
21336 * config/arm/tpe.h: New file: Header file for thumb-pe target.
21337 * config/arm/t-thumb-pe: New file: Makefile fragment for
21340 1999-07-01 Mark Kettenis <kettenis@gnu.org>
21342 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
21343 -fPIC or -fpic is specified.
21345 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
21347 * expr.c (emit_block_move): Use copy_to_mode_reg for
21348 !TARGET_MEM_FUNCTIONS case too.
21350 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
21352 * configure: Rebuilt.
21353 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
21354 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
21355 definitions made redundant by dbxelf.h inclusion. Delete
21356 lots of definitions related to assembly output that are
21357 specific to the SOM object format.
21358 * pa.c (output_function_prologue): Do not emit the function's
21360 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
21361 * pa-pro.h: Deleted.
21362 * som.h: New file with SOM specific definitions.
21363 * elf.h: New file with ELF specific definitions.
21365 * elfos.h (const_section): Output a tab before assembler directives.
21366 (ctors_section, dtors_section): Likewise.
21367 (ASM_OUTPUT_SECTION_NAME): Likewise.
21369 * pa/pa1.h: Delete unused file.
21371 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
21373 * configure.in (hppa*-hp-hpux11*): New configuration.
21374 * configure: Rebuilt.
21375 * pa/pa-hpux11.h: New file.
21376 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
21379 * mips.md (leasi, leadi): New patterns.
21381 * expr.c (emit_block_move): Properly handle case where one of the
21382 block move arguments has a queued increment or decrement.
21383 (clear_storage): Similarly. Fix formatting goof.
21385 1999-06-28 "David O'Brien" <obrien@NUXI.com>
21387 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
21388 semicolon from the BSD VA_LIST replacement expression.
21390 * fixinc/inclhack.sh: regen
21391 * fixinc/fixincl.x: regen
21393 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
21394 now use the fixincl program.
21396 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
21398 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
21399 case. Also make the PIC register call_used.
21401 * m68k.h (FINALIZE_PIC): Delete.
21402 * m68k.c (finalize_pic): Delete.
21404 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
21406 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
21409 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
21411 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
21413 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
21415 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
21417 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
21419 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
21421 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
21423 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
21425 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
21427 * rs6000.c (output_toc): Always use hex values for floating-point
21428 constants. Store single-precision values in upper-half of TOC
21429 entry in 64-bit mode.
21430 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
21431 to final constraints.
21432 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
21433 (fctiwz): Improve accuracy of RTL for pattern.
21435 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
21437 * expr.c (expand_expr): Allow RTL_EXPR's through the
21438 MAX_INTEGER_COMPUTATION_MODE checks.
21440 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
21442 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
21443 such that MASK_SUPPORT_ARCH is not negative.
21445 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
21447 * loop.c (verify_dominator): Properly handle ADDR_VEC and
21448 ADDR_DIFF_VEC insns that appear inside loops.
21450 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
21451 Jeff Law <law@cygnus.com>
21453 * rs6000.md (movdf_hardfloat32): Revert previous patch.
21454 Handle LO_SUM the same as offsettable in cases 1 and 2.
21455 * rs6000.c (find_addr_reg): Revert previous patch.
21457 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
21459 * system.h (strstr): New external function declaration.
21460 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
21461 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
21462 * config.in, configure: Rebuilt.
21464 1999-06-24 Tom Tromey <tromey@cygnus.com>
21466 * gcc.c (main): Read user-specified specs files after computing
21467 additional startfile_prefixes.
21469 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
21471 Revert these two patches:
21473 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21474 * loop.c (strength_reduce): When doing biv->giv conversion, update
21475 reg note of NEXT->insn.
21477 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21478 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21480 (recombine_givs): Set ix field after sorting.
21482 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21484 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
21485 for the parts of an UNSPEC / UNSPEC_VOLATILE.
21487 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
21489 *fixinc/inclhack.def: Add fix development commentary
21490 (read_ret_type): reactivate and add selection clause
21491 (zzz_*): tweak output file name to match what is used in hackshell.tpl
21492 *fixinc/{fixincl.x|inclhack.sh}: regen
21494 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
21496 * expr.c (expand_expr): STRIP_NOPS before checking against
21497 MAX_INTEGER_COMPUTATION_MODE
21498 (check_max_integer_computation_mode): Likewise.
21500 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
21502 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
21504 1999-06-22 Jim Wilson <wilson@cygnus.com>
21506 * expr.c (store_expr): When target is a promoted subreg, return a
21507 promoted subreg as a result.
21509 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
21511 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
21513 (dwarf2out_define): Mark unused parameters appropriately.
21514 (gen_unspecified_parameters_die): Ditto.
21515 (gen_subprogram_die): Fix signed/unsigned warnings.
21516 (gen_variable_die): Ditto.
21518 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
21520 * fixinc/inclhack.def(end_else_label): combined else_label
21521 and endif_label and fixed the sed expression.
21522 *fixinc/{fixincl.x|inclhack.sh}: regen
21524 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
21526 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
21527 'x' when handling non-offsettable addresses
21529 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
21531 * final.c (shorten_branches): Don't try to split an insn that has
21534 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
21536 * config/mips/mips.c (symbolic_expression_p): New function.
21537 (mips_select_rtx_section): Put symbolic expressions in the
21538 data section, not the read-only data section.
21540 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
21542 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
21544 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
21546 * collect2.c (main): Log frame table count.
21547 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
21548 (scan_prog_file) [COFF]: Handle frame tables.
21550 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
21551 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
21552 * alpha/elf.h: Undef them again.
21553 * alpha/vms.h: Remove their definitions.
21555 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21557 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
21558 remove the clobber of r0 and change the REG_UNUSED note to
21561 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
21563 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
21564 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
21565 fits in HOST_WIDE_INT and one uses union to access a long constant
21568 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
21570 * sparc.c (sparc_override_options): Don't allow profiling for
21571 code models other than medlow.
21572 (sparc_function_profiler): New function from old FUNCTION_PROFILER
21573 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
21574 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
21575 (sparc_block_profiler): Likewise.
21576 (sparc_function_block_profiler_exit): Likewise.
21577 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
21578 (FUNCTION_BLOCK_PROFILER): Likewise.
21579 (BLOCK_PROFILER): Likewise.
21580 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
21581 (MCOUNT_FUNCTION): New.
21582 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
21583 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
21584 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
21585 (MCOUNT_FUNCTION): New.
21586 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
21587 (BLOCK_PROFILER): Delete.
21588 (MCOUNT_FUNCTION): New.
21590 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
21592 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
21594 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
21596 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21599 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21602 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21605 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21608 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
21610 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
21613 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
21615 * i386/djgpp.h (LIB_SPEC): New.
21616 (STARTFILE_SPEC): New.
21618 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
21620 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
21622 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
21625 * system.h (WSTOPSIG): New macro.
21627 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
21629 * c-pragma.c (push_alignment): Don't ignore alignments greater than
21631 (insert_pack_attributes): Take into account member natural
21634 * i386/winnt.c (exports_head): New static variable.
21635 (i386_pe_record_exported_symbol): New function.
21636 (i386_pe_asm_file_end): Use.
21637 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
21638 symbols to be emitted at end of assembly.
21639 (ASM_DECLARE_OBJECT_NAME): Likewise.
21640 (ASM_DECLARE_FUNCTION_NAME): Likewise.
21642 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
21645 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
21647 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
21650 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
21652 * haifa-sched.c (sched_analyze_1): Use free_list instead of
21653 zapping reg_last_uses directly.
21654 (sched_analyze_2, sched_analyze_insn): Likewise.
21655 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
21657 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
21659 * rs6000.md (movdf_hardfloat32): Use worst case insn length
21660 attributes for cases 1 and 2.
21662 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
21664 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
21667 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
21669 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
21671 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
21673 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
21674 PIC_OFFSET_TABLE_REGNUM for general alloaction.
21675 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
21676 must be stacked if it is used for PIC accesses.
21677 * arm.c (use_return_insn): Handle PIC register specially.
21678 (output_return_instruction): Likewise.
21679 (output_func_{prologue,epilogue}): Likewise.
21680 (output_expand_prologue): Likewise.
21682 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
21683 (*strsi_predec): Renamed from *strqi_predec.
21684 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
21685 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
21687 * arm.c (arm_override_options): Remove warning about PIC code
21688 not being supported.
21690 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
21692 * rs6000.c (find_addr_reg): New function.
21693 * rs6000.h (find_addr_reg): Declare.
21694 (offsettable_addr_operand): Delete.
21695 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
21696 from and stores to GPRs.
21698 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
21700 * alpha.c (alpha_expand_block_move): Use get_insns rather than
21701 gen_sequence as argument to emit_no_conflict_block.
21703 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21705 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
21706 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
21707 *fixinc/fixincl.x: regen
21708 *fixinc/inclhack.sh: regen
21710 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
21712 * added support for -mpcrel (PC relative addressing for m68k)
21713 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
21714 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
21715 * m68k.c (print_operand_address): Handle 32-bit PIC case.
21716 (comments for general_src_operand): Add some explanation
21717 about EXTRA_CONSTRAINTS.
21718 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
21719 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
21720 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
21721 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
21722 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
21723 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
21724 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
21725 if not already set.
21726 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
21727 * m68k.h (TARGET_PCREL): New target flag.
21728 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
21729 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
21730 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
21731 contains a SYMBOL_REF. Relax this constraint during reload, since
21732 we want to use the predicates, not reload's built-in concept of a
21733 valid memory address, to control what insns need reloading.
21734 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
21735 operands (essentially 'g', 'm', and 's' under normal circumstances).
21736 * m68k.c (print_operand): Cause printing of pc-relative addresses
21737 to include pc register.
21738 (print_operand_address): Ditto.
21739 (general_src_operand): Accept operands that are not only
21740 general_operands, but are also valid when used as a pc-relative
21742 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
21743 (memory_src_operand): Similar, for memory_operands.
21744 (pcrel_address): New predicate to accept the special case of a
21745 pc-relative address.
21746 * m68k.md (many patterns): Rewrite common SImode, HImode, and
21747 QImode insns to accept *_src_operand instead of *_operand where
21748 pc-relative operands can fit. For example, a pc-relative operand
21749 can be used as a memory source operand for addsi3, but not as a
21750 memory destination.
21751 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
21753 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
21755 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
21756 .thumb_set pseudo op to mark aliases of thumb functions.
21758 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
21760 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
21761 preference to ASM_OUTPUT_DEF, if it is defined.
21763 * tm.texi: Document new, optional target macro
21764 ASM_OUTPUT_DEF_FROM_DECLS.
21766 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21768 * fixincludes: ISCNTL patch
21769 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
21770 (dgux_int_varargs): new for DG/UX
21771 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
21773 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
21775 * invoke.texi (ia32 options): Fix typo.
21777 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21779 * loop.c (strength_reduce): When doing biv->giv conversion, update
21780 reg note of NEXT->insn.
21782 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
21784 * loop.c (move_movables): Note issues with replacing REGs with
21786 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
21788 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
21790 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
21792 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
21793 the reference to `mcount' was not correct for the ELF on FreeBSD.
21795 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21797 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21800 (recombine_givs): Set ix field after sorting.
21802 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
21804 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
21805 to safe to extract a subword out of a REG.
21807 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21809 * sh.md (mulsi3): Don't add a no-op move at the end.
21811 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21813 * cse.c (cse_insn): Don't put hard register source into tables for
21814 the last insn of a libcall.
21816 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21818 * loop.c (strength_reduce): Insert sets of derived givs at every
21819 biv increment, even if it's the only one.
21821 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21823 * dwarfout.c (add_incomplete_type): New fn.
21824 (output_type): Call it.
21825 (retry_incomplete_types): New fn.
21826 (dwarfout_finish): Call it.
21828 From Eric Raskin <ehr@listworks.com>:
21829 (output_type): Output types for bases.
21831 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21833 * mips.c (mips_output_conditional_branch): Add `break'
21834 between `default' label and `close braces'.
21836 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
21838 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
21839 specifications and make it realistic.
21840 (LIB_SPEC): Likewise.
21842 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
21844 * config/mips/mips.c (mips_secondary_reload_class): Check for
21845 (PLUS (SP) (REG)) and return appropriate register class.
21846 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
21847 Handle (PLUS (SP) (REG)).
21848 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
21849 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
21850 of emit_insn for tablejump.
21852 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
21854 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
21855 asm_fprintf format string by itself.
21856 (output_function_profiler): Likewise.
21858 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
21860 * combine.c (simplify_logical, case AND): Only call
21861 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
21862 or the constant is positive.
21864 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
21866 * configure.in: Fix typo in rs6000-ibm-aix4 case.
21867 * configure: Regenerate.
21869 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
21871 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
21872 require a sub-version #.
21873 * configure: Rebuilt.
21875 1999-06-14 Robert Lipe (robertlipe@usa.net)
21877 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
21879 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
21881 * c-typeck.c (process_init_element): Detect excess elements in
21882 char array initializer.
21884 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21886 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
21888 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
21890 * invoke.texi (Option Summary): Add -fpermissive flag.
21892 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
21894 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
21895 that require PIC code sequences.
21897 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
21899 * configure.in: Add new target: thumb-elf.
21900 * configure: Regenerate.
21901 * config/arm/t-thumb-elf: New file: Makefile fragment for
21903 * config/arm/telf.h: New file: Header file for thumb-elf
21906 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
21908 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
21909 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
21910 initializers is some circumstances.
21912 * fixinc/inclhack.def (endif_label): Add additional selector for
21913 more bogus stuff after #endif statements.
21914 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
21916 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
21918 * i386/cygwin.h (SET_ASM_OP): Define.
21920 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
21922 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
21924 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21926 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
21929 * sh.md (ic_invalidate_line_i): Remove second alternative.
21931 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21933 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
21934 test for the presence of valid prototypes. Delete bypass expr.
21935 (ioctl_fix_ctrl): Correct the selection expression.
21936 (no_double_slash): Correct quoting rules
21937 *fixinc/fixincl.x: regen
21938 *fixinc/inclhack.sh: regen
21940 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
21942 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
21944 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21946 * rs6000.md (movsi_got_internal_mem): Delete.
21947 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
21948 (GOT_TOC_REGNUM): Delete.
21949 (PIC_OFFSET_TABLE_REGNUM): Define.
21950 (FINALIZE_PIC): Disable.
21951 * rs6000.c (rs6000_got_register): New code for fixed pic register.
21952 (rs6000_replace_regno): Delete.
21953 (rs6000_finalize_pic): Likewise.
21954 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
21956 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21958 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
21959 is a note; use <= for the compare; advance P while it is
21962 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
21964 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
21965 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
21967 * varasm.c (remove_from_pending_weak_list): Verify t->name
21968 is non-NULL before passing it to strcmp.
21970 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21972 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
21973 the typed arguments are not part of a comment
21974 (ioctl_fix_ctrl): Added a purpose comment
21975 *fixinc/fixincl.x: regenerate
21976 *fixinc/inclhack.sh: regenerate
21978 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21980 * invoke.texi: Add C4x invocation docs.
21982 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21984 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
21986 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
21988 (c4x_legitimize_reload_address): New function.
21989 * config/c4x/c4x.md: Update docs.
21991 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
21993 * fixincludes: Avoid removing '.'.
21994 * fixinc/fixinc.svr4: Likewise.
21995 * fixinc/fixinc.winnt: Likewise.
21996 * fixinc/inclhack.tpl: Likewise.
21997 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
21999 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22001 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22003 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22005 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
22007 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22010 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
22012 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22013 * configure: Regenerate.
22015 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
22017 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22020 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
22022 * fixinc/inclhack.def (avoid_bool): Also catch
22023 "typedef [unsigned] int bool".
22024 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22026 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22027 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22028 * configure: Rebuilt.
22030 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
22032 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
22033 such that we can override its definitions if necessary.
22034 (CPP_SPEC): New define. Support processor specific predefines via
22036 (CC1_SPEC): New define. Support processor specific compiler
22037 options via %(cc1_cpu).
22038 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
22041 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22043 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
22044 between sed's -e flag, and the open-quote following it.
22045 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22047 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
22048 Jeffrey A Law (law@cygnus.com)
22050 * varasm.c (assemble_start_function): Remove the function
22051 from the pending weak decls list when we define a function.
22052 (assemble_variable): Similarly for variables.
22053 (weak_finish): Ignore items on the list with a NULL name.
22054 (remove_from_ending_weak_list); New function to "remove" an item
22055 from the pending weak declarations list.
22057 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
22059 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
22061 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
22063 * c-lex.c (GETC): Redefine to call getch.
22064 (UNGETC): Redefine to call put_back.
22065 (putback_buffer): New structure type.
22066 (putback): New static structure.
22067 (getch): New function.
22068 (put_back): New function.
22069 (yylex): Replace unused bytes from bad multibyte character.
22071 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
22073 * cpplib.c (do_define): Cast `alloca' return value.
22074 (do_include, do_undef, do_pragma): Likewise.
22075 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
22077 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
22078 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
22080 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
22082 * sparc.md (abstf2): This should be an expand.
22083 (split after abstf2_notv9): Fix mode.
22084 (abstf2_hq_v9): New pattern.
22085 (abstf2_v9): Only use when no hard quad.
22086 (absdf2_v9): Fix if target is not the same as source.
22087 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
22088 Add correct output constraints.
22090 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
22092 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
22093 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
22095 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
22097 * mips.h (mips_output_conditional_branch): New function.
22098 (mips_adjust_insn_length): Likewise.
22099 (ASSEMBLER_SCRATCH_REGNUM): New macro.
22100 (ADJUST_INSN_LENGTH): Likewise.
22101 * mips.c (print_operand): Add `F' and `W' for floating-point
22102 comparison opcodes.
22103 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
22105 (mips_adjust_insn_length): New function.
22106 (mips_output_conditional_branch): New function.
22107 * mips.md (length): Adjust attribute definition to handle
22108 conditional branches. Change lengths to bytes, rather than
22109 instructions throughout. Remove length attribute from
22110 instructions whose length is four bytes, and rely on the default
22112 (dslot): Fix typo in comment.
22113 Reword conditional branch patterns to use
22114 mips_output_conditional_branch.
22116 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
22118 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
22119 (LIB_SPEC): Likewise.
22120 Link with -lprof1_r for -g/-pg.
22122 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22124 * loop.c (check_dbra_loop): Fix change of Jan 19.
22126 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
22128 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
22129 (STARTFILE_SPEC): Define, override the svr4.h version.
22130 (ENDFILE_SPEC): Likewise.
22132 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
22134 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
22135 * fixinc/fixincl.x: Regenerated.
22136 * fixinc/inclhack.sh: Regenerated.
22138 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22140 * sh.c (barrier_align): Don't return early for normal branch/barrier
22141 when optimizing for SH2.
22143 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
22145 * i386/udk.h (LINK_SPEC): Correct linker search path for
22148 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22150 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
22151 (braf_label_ref_operand): Delete.
22152 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
22153 * sh.md (casesi_jump_2): Operand1 is now the inside of a
22154 label_ref, and has no predicate.
22155 The patten has a predicate to guard against invalid substitutions.
22156 (dummy_jump): Delete.
22157 (casesi): Update use of casesi_jump_2.
22159 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22161 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
22162 *fixinc/fixincl.x: regenerate
22163 *fixinc/inclhack.sh: regenerate
22165 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
22167 * dwarf2out.c (add_incomplete_type): New fn.
22168 (gen_struct_or_union_type_die): Call it.
22169 (retry_incomplete_types): New fn.
22170 (dwarf2out_finish): Call it.
22172 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
22174 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
22175 current block starts with a CODE_LABEL and ends with a CALL and
22176 we can not find all the argument setup instructions for the CALL.
22178 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
22180 Revert this change:
22181 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22182 something is a candidate for optimize_bit_field_compare.
22184 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22186 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
22188 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
22190 * alpha.c (override_options): Thinko in last patch.
22192 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
22193 (LIB_SPEC): Recognize -pthread.
22195 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
22197 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
22198 definition in config/arm/coff.h
22199 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
22201 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22203 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
22204 fixes that need "file=xxx\n" prepended before invocation
22205 (start_fixer - new): starting the fixer process is complex enough
22206 to warrent its own routine. It prepends the "file=xxx\n" stuff.
22207 (process): uses the new routine; omit usage of putenv()
22208 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
22209 * fixinc/fixincl.x: regenerate
22211 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
22213 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
22214 and version #s (1.1 -> 2.96) as needed.
22215 * README.g77: Kill way out of date file in the toplevel directory.
22217 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
22219 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
22220 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
22221 * configure: Rebuilt.
22222 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
22223 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
22224 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
22225 (SWITCH_TAKES_ARG): Likewise.
22226 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
22227 * config/t-freebsd: Moved from config/i386/ so it can used for all
22230 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
22232 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
22234 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
22236 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
22237 * configure: Rebuilt.
22239 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
22241 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
22242 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
22243 * rs6000/rs6000.c (rs6000_file_start): Use putc.
22244 (rs6000_output_load_toc_table): Same.
22245 (output_prolog, output_mi_thunk): Same.
22246 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
22247 (ASM_GLOBALIZE_LABEL): Use putc.
22249 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
22251 * alpha.md (reload_*_help): New patterns and splitters.
22252 (reload_*): Use them.
22253 (mov[qh]i): Likewise.
22255 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
22257 * cccp.c (handle_directive): Handle backslash-newlines in quoted
22260 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
22262 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
22264 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
22266 * flow.c (mark_regs_live_at_end, insn_dead_p,
22267 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
22268 and HARD_FRAME_POINTER_REGNUM special treatment if reload
22269 hasn't run or the frame pointer is needed.
22270 * haifa-sched.c (attach_deaths): Likewise.
22271 * sched.c (attach_deaths): Likewise.
22273 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
22275 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
22276 calculate_can_reach_end returns nonzero.
22278 * configure.in (native gas tests): Search for an assembler in the
22279 same manner that the installed compiler will.
22280 * configure: Rebuilt.
22281 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
22283 * alias.c (find_base_term): Improve handling of addresses
22284 constructed from binary operations.
22286 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
22288 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
22290 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
22292 * function.h (cleanup_label, frame_offset): Declare.
22293 (tail_recursion_label, tail_recursion_reentry): Likewise.
22294 (arg_pointer_save_area, rtl_expr_chain): Likewise.
22295 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
22296 (tail_recursion_label, tail_recursion_reentry): Likewise.
22297 (arg_pointer_save_area, rtl_expr_chain): Likewise.
22299 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
22301 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
22303 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
22304 (MAX_OFILE_ALIGNMENT): Define.
22306 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
22308 * fixincl.c: Replace local include scheme with #includes of
22309 gansidecl.h and system.h.
22310 * procopen.c: Likewise.
22311 * server.c: Likewise.
22313 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
22315 * i386/t-dgux (EXTRA_PARTS): Add crti.o
22316 (crti.o): Add build rule and dependencies.
22317 * fixinc/fixinc.dgux: Use modified _int_varargs.h
22319 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22321 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
22322 (LIB_LINUX_SPEC): Likewise.
22323 (LIB_LINUX_SPEC): Add support for -pthread
22324 (CPP_OS_LINUX_SPEC): Likewise.
22325 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
22328 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
22330 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
22332 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
22333 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
22334 for IEEE math and CC_FCOMI.
22335 (put_jump_code): No IEEE if CC_FCOMI is set.
22337 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22339 * fold-const.c (fold_truthop): Make the field reference unsigned
22340 when converting a single bit compare.
22342 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22344 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
22346 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
22348 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
22349 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
22352 * reload.c (push_reload): Do not call remove_address_replacements
22353 when presented with identical optional reloads.
22355 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
22357 * alpha.h (MASK_FIX, TARGET_FIX): New.
22358 (MASK_*): Reorganize constants.
22359 (CPP_AM_FIX_SPEC): New.
22360 (TARGET_SWITCHES): Add FIX.
22361 (EXTRA_SPECS): Likewise.
22362 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
22363 (SECONDARY_MEMORY_NEEDED): Likewise.
22364 (REGISTER_MOVE_COST): Likewise.
22365 * alpha.c (override_options): Add FIX support. Always use
22366 ALPHA_TP_PROG for ev6.
22367 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
22368 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
22369 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
22371 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
22373 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22374 something is a candidate for optimize_bit_field_compare.
22376 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
22378 * gcc.texi (Passes): Document branch-shortening.
22379 * invoke.texi (Debugging Options): Document the fact that `-dp'
22380 outputs length information for instructions.
22382 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
22384 * flow.c: Revert previous delta.
22386 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
22388 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
22389 FRAME_POINTER_REGNUM.
22390 (mark_set_1): Ditto.
22391 (mark_used_regs): Ditto.
22393 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
22395 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
22396 (GOT_PCREL): New macro. Define to 1 if not already defined.
22397 * arm/elf.h (GOT_PCREL): Define to 0.
22398 * arm.c (arm_finalize_pic): Take into account the setting of
22401 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
22403 * output.h (STRIP_NAME_ENCODING): Provide default definition.
22404 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
22406 * flow.c (mark_set_1): Do not record BLKmode stores as dead
22407 store elimination candidates.
22409 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
22411 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
22414 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
22416 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
22417 Add use of x-aix41-gld.
22419 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
22421 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
22422 (ASM_OUTPUT_DESTRUCTOR): Define.
22424 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
22426 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
22427 last CODE_LABEL in a loop if we have previously passed a jump
22428 to the top of the loop.
22430 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
22432 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
22433 applying Philip's patch.
22435 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
22437 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
22440 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
22442 * loop.c (strength_reduce): Grow reg_single_usage as needed.
22444 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
22446 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
22447 Also remove a useless comment.
22449 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
22451 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
22453 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
22455 * collect2.c (main): Only generate import or export file and add
22456 to link arguments if non-empty. Use xmalloc not alloca.
22457 (write_{export,import}_file): Delete.
22458 (write_aix_file): New function.
22459 (locatelib): Use xmalloc not malloc.
22460 (GCC_OK_SYMBOL): Do not check type if aix64.
22462 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
22464 Based on patch by Scott Bambrough and Pat Beirne:
22465 * config/arm/arm.c (making_const_table): New variable.
22466 * config/arm/arm.h (making_const_table): Declare.
22467 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
22469 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
22470 Keep track of when we are building the constant table.
22472 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
22474 * config/arm/arm.c (arm_override_options): Fix erroneous warning
22477 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
22479 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
22482 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
22484 * tm.texi (FUNCTION_ARG): Correct description of a stack element
22487 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
22489 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
22491 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22493 * rs6000.c (output_mi_thunk): Enable full support again.
22495 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22497 * sh.h (BRANCH_COST): Define.
22499 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
22501 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
22503 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
22505 * function.c (assign_stack_local): Align stack slot propertly.
22506 (assign_outer_stack_local): Likewise.
22508 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
22510 * expr.h (lang_expand_constant): Declare.
22511 * toplev.c (lang_expand_constant): Define it.
22512 * varasm.c (output_constant): Use it.
22514 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22516 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
22517 Change function definitions to K&R style.
22519 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22521 * fixinc/fixincl.c: We must not ignore SIGCLD now.
22523 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
22525 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
22526 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
22527 (several places): omit static initialization
22528 (process): use single fd, since only the read fd is used
22529 * fixinc/gnu-regex.c: define 'const' away, if not supported
22530 * fixinc/procopen.c(several places): omit static initialization
22531 * fixinc/server.c: define 'volitile' away, if not supported
22533 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22535 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
22536 asm_fprintf and %L to generate the label name.
22537 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
22538 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
22540 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
22542 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
22543 insn for a conditional jump can not be found.
22545 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
22547 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
22548 on variables in specific sections other than .sbss and .sdata.
22550 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
22552 * stmt.c (expand_return): Call start_cleanup_deferral and
22553 end_cleanup_deferral around conditional code.
22555 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22557 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
22558 filename lists. Utilizes new "krstr" AutoGen function.
22559 * fixinc/fixincl.x: Rebuilt.
22561 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
22563 * i386.c (output_float_compare): Avoid GNU-C extensions.
22565 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
22567 * version.c: Bump to distinguish mainline tree from the
22570 See ChangeLog.1 for earlier changes.