1 1999-12-16 Ben Collins <bcollins@debian.org>
3 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4 argument to genmultilib.
5 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
6 the contents into the multilib.h header.
7 * gcc.c: Declare multilib_exclusions for the specs file.
8 (set_multilib_dir): Use it.
9 (print_multilib_info): Likewise.
10 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
11 to pass to genmultilib.
13 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15 * builtins.c (built_in_class_names, built_in_names): Constify a
18 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
20 (_mcleanup): Ensure value matches format specifier in sprintf.
22 * cpphash.c (special_symbol): Don't needlessly cast away
25 * cppinit.c (base_name): Delete unused prototype.
27 * mkdeps.c (deps_init): Make definition K&R safe.
29 * tree.h (built_in_class_names, built_in_names): Constify a
32 2000-03-06 Jakub Jelinek <jakub@redhat.com>
34 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
35 floating point instructions for epilogue delay.
37 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
38 to gas if it supports .register pseudo.
40 2000-03-06 Mark Mitchell <mark@codesourcery.com>
42 * function.c (free_temps_for_rtl_expr): Don't free slots
43 that have been pushed into a higher level.
46 2000-03-05 Mark Mitchell <mark@codesourcery.com>
48 2000-03-05 Mark Mitchell <mark@codesourcery.com>
50 * basic-block.h (ALLOCA_REG_SET): Remove.
51 (INITIALIZE_REG_SET): New macro.
52 * flow.c (update_life_info): Use it.
53 (calculate_global_regs_live): Likewise.
54 (propagate_block): Likewise.
55 * global.c (build_insn_chain): Likewise.
56 * haifa-sched.c (schedule_region): Likewise.
58 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
60 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
61 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
62 (DWARF_ARANGES_PAD_SIZE): New define.
63 (output_aranges): Use it to pad the address range header.
64 (DWARF_ROUND): Fix for non power of 2 rounding.
66 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
68 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
70 2000-03-05 Mark Mitchell <mark@codesourcery.com>
72 * tree.def (RTL_EXPR): Update documentation.
73 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
74 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
75 * function.c (preserve_rtl_expr_temp): New function.
76 (preserve_rtl_expr_temps): Likewise.
77 (preserve_rtl_expr_result): Use it.
80 2000-03-04 Mark Mitchell <mark@codesourcery.com>
82 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
84 * regmove.c (copy_src_to_dest) Do not create src->dest move
85 for unchanging destination.
87 2000-03-04 Mark Mitchell <mark@codesourcery.com>
89 * function.h (struct sequence_stack): Remove rtl_expr.
90 (struct emit_staus): Likewise.
91 (seq_rtl_expr): Remove.
92 * tree.h (free_temps_for_rtl_expr): Don't declare.
93 (start_sequence_for_rtl_expr): Likewise.
94 * rtl.h (preserve_rtl_expr_result): Likewise.
95 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
96 (start_sequence_for_rtl_expr): Remove.
97 (push_topmost_sequence): Don't save sequence_rtl_expr.
98 (pop_topmost_sequence): Remove comment about not restoring it.
99 (end_sequence): Don't set seq_rtl_expr.
100 (init_emit): Don't initialize it.
101 (mark_sequence_stack): Don't mark it.
102 (mark_emit_status): Likewise.
103 * except.c (protect_with_terminate): Use
104 start_sequence_for_rtl_expr, not start_sequence.
105 * expr.c (expand_expr, case RTL_EXPR): Don't call
106 preserve_rtl_expr_result or free_temps_for_rtl_expr.
107 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
108 (preserve_rtl_expr_result): Remove.
109 (free_temps_for_rtl_expr): Likewise.
110 (pop_temp_slots): Likewise.
111 (mark_temp_slot): Don't mark the rtl_expr.
112 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
113 start_sequence_for_rtl_expr.
115 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
117 * mkdeps.c, mkdeps.h: New files.
118 * po/POTFILES.in: Add them.
119 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
120 (cpplib.o, cppinit.o): Depend on mkdeps.h.
121 (mkdeps.o): New target.
123 * cppfiles.c: Delete deps_output.
124 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
125 OBJECT_SUFFIX, and base_name.
126 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
128 (initialize_dependency_output): Use deps_init,
129 deps_add_target, deps_calc_target, and deps_add_dep. Remove
130 all the unnecessary string bashing.
131 (cpp_finish): Use deps_write. Remove an unnecessary nesting
133 * cpplib.c (do_include): Use deps_add_dep.
134 * cpplib.h (struct cpp_reader): Replace deps_buffer,
135 deps_allocated_size, deps_size, deps_column members with
136 single pointer to a struct deps. Delete prototype of
139 * cppinit.c: Fix thinko in previous patch.
141 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
143 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
144 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
145 (mode_for_size_tree): New function.
146 (layout_decl, layout_type): Call it and clean up BLKmode checks.
147 * tree.h (mode_for_size_tree): New declaration.
149 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
151 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
153 * stmt.c (is_body_block): Move...
154 * dwarfout.c, dwarf2out.c: ...from here.
155 * tree.h: Declare it.
156 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
157 * final.c (final_start_function): Do call remove_unnecessary_notes
160 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
162 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
164 * cpplib.h (_dollar_ok): New macro.
165 (is_idchar, is_idstart): Use it.
166 (IStable): Rename to _cpp_IStable. Declare it const if
167 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
168 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
169 is_space): Update for renamed IStable.
171 * cppinit.c: Delete all references to FAKE_CONST and CAT
172 macros. Define init_IStable as empty macro if gcc >=2.7 or
173 C99. Change TABLE() to ISTABLE and hardcode name of table.
174 (cpp_start_read): Don't change the IStable based on
177 * cpphash.c (unsafe_chars): Add pfile argument. All callers
178 changed. Handle '$' for char1 correctly.
179 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
181 * cppexp.c (tokentab2): Make const.
182 (cpp_lex): Make toktab const.
183 * cppinit.c (include_defaults_array): Make const.
184 (initialize_standard_includes): Make default_include const.
186 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
188 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
189 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
190 (gen_decl_die): Likewise.
191 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
192 (output_decl): Likewise.
194 * varasm.c (make_function_rtl): If we change the name used in the
195 rtl, update DECL_ASSEMBLER_NAME accordingly.
196 (make_decl_rtl): Likewise.
198 * toplev.c (rest_of_compilation): Tweak formatting.
200 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
201 remove_unnecessary_notes.
202 (debug_ignore_block): New fn.
203 * toplev.h: Declare it.
204 * emit-rtl.c (remove_unncessary_notes): Call it.
205 * dwarf2out.c (dwarf2out_ignore_block): New fn.
206 * dwarf2out.h: Declare it.
207 * final.c (final_start_function): Don't call remove_unnecessary_notes
208 if we did insn scheduling.
210 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
212 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
213 * cpplib.h: Delete SET_CPP_PEDANTIC.
215 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
217 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
218 result is a RECORD_TYPE.
220 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
222 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
224 2000-03-03 Richard Henderson <rth@cygnus.com>
226 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
227 addition over compliments over shifts.
229 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
231 * reload1.c (reload_combine_note_use): Handle return register USEs.
232 REG case: Handle multi-hard-register hard regs.
234 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
236 * md.texi: Document use of '*' in insn pattern name.
238 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
240 * calls.c (special_function_p): operator new may not be malloc-like.
242 * gcse.c (dump_hash_table): Really fix error in last change.
244 2000-03-02 Denis Chertykov <denisc@overta.ru>
246 * avr.c (print_operand): Use print_operand_address instead of
248 * avr/libgcc.S: Cleanup code.
250 2000-03-02 Richard Henderson <rth@cygnus.com>
252 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
254 2000-03-02 Mark Mitchell <mark@codesourcery.com>
256 * tree.h (TYPE_ALIGN_UNIT): New macro.
258 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
260 * i386.c: (constant_call_address_operand): Reject CONST_INT.
262 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
264 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
266 (SET_CPP_PEDANTIC): New macro.
267 * cpplib.c (do_include): Don't bother checking system_header_p.
268 (do_warning, do_ident, do_assert, do_unassert): Likewise.
269 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
271 * function.h (struct expr_status): Add x_arg_space_so_far.
272 (arg_space_so_far): New macro.
273 * expr.c (init_expr): Initialize it.
274 * calls.c (emit_call_1): Reset it.
275 (compute_argument_block_size, expand_call): Use it.
276 (expand_call, store_one_arg): Increment it.
278 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
280 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
283 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
285 * cppfiles.c (cpp_read_file): New function.
287 * cpphash.c (collect_expansion): Make sure to reset last_token
288 to NORM when we hit a string. Handle trailing whitespace
289 properly when the expansion is empty.
290 (create_definition): Disable line commands while parsing the
292 (dump_definition): If pfile->lineno == 0, output a line
293 command ahead of the dump, and add a trailing newline.
295 * cppinit.c (append_include_chain): Add fifth argument, which
296 indicates whether or not system headers are C++ aware.
297 (initialize_standard_includes): New function,
298 broken out of read_and_prescan. Pass 'cxx_aware' value from
299 the include_defaults_array on to append_include_chain.
300 (dump_special_to_buffer): Const-ify char array.
301 (builtin_array): Don't dump __BASE_FILE__.
302 (cpp_start_read): Use cpp_read_file. Reorder code for
303 clarity. Don't output line commands here for -D/-A/-U
304 switches. Don't call deps_output for files included with
305 -include or -imacros.
307 * cpplib.c (do_define): Don't pay any attention to the second
309 (cpp_expand_to_buffer): Disable line commands while scanning.
310 (output_line_command): Work in the file buffer.
311 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
312 Fix formatting of comments. Prototype cpp_read_file.
314 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
316 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
317 reference the language-equivalent of sizetype.
318 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
319 * fold-const.c (size_binop, size_diffop): Put back checks.
320 * gcse.c (dump_hash_table): Fix minor error in last change.
321 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
322 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
325 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
327 * calls.c (expand_call) Do not attempt to combine stack adjustments
328 with inhibit_defer_pop set.
330 2000-03-01 Mark Mitchell <mark@codesourcery.com>
332 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
333 the DECL_SIZE for a FIELD_DECL.
335 2000-03-01 Bruce Korb <bkorb@gnu.org>
337 * fixinc/inclhack.tpl: remove unused symlinks
338 * fixinc/README: GCC Maintainer info
339 * fixinc/inclhack.sh: regen
340 * fixinc/fixincl.sh: regen
342 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
344 * cpphash.c (collect_expansion): Trim trailing white space
345 from macro definitions, but don't go past the last insertion
348 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
350 * i386.md (mulqi3): New pattern.
352 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
354 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
356 (struct cpp_reader): Add parsing_if_directive and
357 parsing_define_directive flags.
358 (struct cpp_options): Remove output_conditionals flag.
359 (check_macro_name): Delete prototype.
361 * cpphash.h (struct macrodef): Delete.
362 (struct reflist): Separate from struct definition.
363 (struct definition): Remove unused fields. Add column number.
364 (create_definition): Returns a DEFINITION *. Takes a
365 cpp_reader * and an int.
367 * cpphash.c (SKIP_WHITE_SPACE): Delete.
368 (PEEKC): Copy defn from cpplib.c.
369 (rest_extension, REST_EXTENSION_LENGTH): Delete.
371 (struct arglist): Simplify.
372 (collect_expansion): Rewrite. Get tokens by calling
373 cpp_get_token. Add more error checking.
374 (collect_formal_parameters): New function, broken out of
375 create_definition and reworked to use get_directive_token.
376 (create_definition): All real work is now in collect_expansion
377 and collect_formal_parameters. do_define handles finding the
378 macro name. Return a DEFINITION, not a MACRODEF.
379 (macroexpand): Replace bcopy with memcpy throughout. Replace
380 character-at-a-time copy loop with memcpy and pointer increments.
381 (compare-defs): d1->argnames / d2->argnames might be null.
383 * cpplib.c (copy_rest_of_line): Delete function.
384 (skip_rest_of_line): Do all the work ourselves.
385 (skip_string): New function.
386 (parse_string): Use skip_string.
387 (get_macro_name): New function.
388 (check_macro_name): Delete.
389 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
390 (cpp_skip_hspace): Use CPP_BUMP_LINE.
391 (handle_directive): ICE if we're called on a macro buffer.
392 (do_define): Determine macro name and type (funlike/objlike)
393 here. Expunge all uses of MACRODEF.
394 (cpp_push_buffer): Set line_base to NULL.
395 (do_undef, read_line_number): Don't worry about getting a POP token.
396 (eval_if_expression): Set/reset parsing_if_directive around
397 cpp_parse_expr. Don't clear only_seen_white.
398 (skip_if_group): Remove output_conditionals logic. Use
400 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
401 tokens under appropriate conditions.
402 (cpp_unassert): Call do_unassert not do_assert. Oops.
404 * cppexp.c (parse_defined): New function, break out of
406 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
407 ourselves, with cpp_defined.
408 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
410 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
411 * gcc.dg/strpaste-2.c: New.
413 2000-02-29 Mark Mitchell <mark@codesourcery.com>
415 * fold-const.c (size_binop): Don't asert inputs are the same and
416 have TYPE_IS_SIZETYPE set.
417 (size_diffop): Likewise.
419 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
421 * dwarfout.c (output_block): Output abstract blocks even if they
422 don't have TREE_ASM_WRITTEN set.
424 * calls.c (emit_library_call): Check for null REG.
426 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
428 * c-decl.c (current_function_decl): Move to toplev.c.
429 (init_decl_processing): Don't add current_function_decl as a ggc
431 * dbxout.c (dbxout_symbol): Change return type to int.
432 (dbxout_symbol_location, dbxout_syms): Likewise.
433 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
434 any locals. Use current_function_func_begin_label if set.
435 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
436 * dwarf2out.c (dwarf2out_begin_prologue): Set
437 current_function_func_begin_label.
438 * final.c (final_start_function): Reset it.
439 * toplev.c (current_function_decl): Define it here.
440 (current_function_func_begin_label): New variable.
441 (main): Add both as ggc roots.
442 * tree.h (current_function_func_begin_label): Declare.
444 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
446 * gcse.c: Cleanups throughout: mostly white-space, but also
447 some minor rearrangement of code.
449 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
451 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
452 returns a PARALLEL. Use emit_group_load and use_group_regs
454 (emit_library_call_value): Similarly.
456 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
457 * pa/quadlib.asm: Remove.
458 * pa/quadlib.c: New file.
460 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
461 * configure: Rebuilt.
463 2000-02-29 Philip Blundell <pb@futuretv.com>
465 * config/arm/conix-elf.h: New file.
466 * configure.in (arm*-*-conix*): New configuration.
467 * configure: Regenerate.
469 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
471 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
472 don't have TREE_ASM_WRITTEN set.
474 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
476 * Eliminate DECL_FIELD_SIZE.
477 * builtins.c (built_in_class_names, built_in_names): New variables.
478 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
479 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
480 DECL_SIZE, not DECL_FIELD_SIZE.
481 * print-tree.c (print_node): Remove code that prints extra blank
483 Properly handle inline and builtin function cases.
484 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
485 * tree.h (built_in_class_named, built_in_names): New declarations.
486 (union tree_decl): Rename internal unions to u1 and u2 and change
487 some of their components.
488 Add new field built_in_class.
489 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
490 Reflect above changes.
491 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
492 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
493 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
494 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
496 2000-02-28 Dmitri Makarov <dim@windriver.com>
498 * extend.texi: Document ARM's support for long/short calls.
500 * invoke.texi: Document ARM's -mlong-calls command line switch.
502 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
503 (arm_encode_call_attribute): Add prototype.
504 (arm_set_default_type_attribute): Add prototype.
505 (arm_strip_name_encoding): Add prototype.
507 * config/arm/arm.c (arm_init_cumulative_args): replace
508 initialisation og 'long_calls' field with initialisation of
510 (enum arm_pragma_enum): New enum.
511 (arm_pragma_long_calls): New static variable.
512 (arm_process_pragma): Also process "#pragma long_calls_off".
513 (arm_valid_type_attribute_p): Accept short_call attribute.
514 (arm_comp_type_attributes): Check long/short call attributes.
515 (arm_encode_call_attribute): New function: Encode long_call
516 or short_call attribute in function name.
517 (arm_set_default_type_attributes): New function: Assign
518 default attributes to newly defined type.
519 (current_file_function_operand): New function: Return true if
520 the symbol is a function which has already been compiled.
521 (arm_is_longcall_p): New function: Return true if the
522 indicated function should be called via a long call.
523 (arm_get_strip_length): New function. Returns number of
524 prefix characters to be stripped from a function's name.
525 (arm_strip_name_encoding): New function. Strip prefix characters
526 from a function's name.
528 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
530 (SHORT_CALL_FAG_CHAR): Define.
531 (LONG_CALL_FAG_CHAR): Define.
532 (ENCODED_SHORT_CALL_ATTR_P): Define.
533 (ENCODED_LONG_CALL_ATTR_P): Define.
534 (ARM_NAME_ENCODING_LENGTHS): Define.
535 (STRIP_NAME_ENCODING): Define.
536 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
537 (ARM_ENCODE_CALL_TYPE): Define.
538 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
539 (ARM_DECLARE_FUNCTION_SIZE): Define.
540 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
542 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
543 if a long call is needed.
545 (call_symbol): Ditto.
547 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
548 ARM_DECLARE_FUNCTION_SIZE.
550 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
551 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
552 (ARM_STRIP_NAME_ENCODING): Undefine.
553 (STRIP_NAME_ENCODING): Undefine.
554 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
555 (ASM_DECLARE_FUNCTION_NAME): Ditto.
556 (ASM_OUTPUT_COMMON): Ditto.
557 (ASM_DECLARE_OBJECT_NAME): Ditto.
559 * config/arm/pe.c (arm_dllexport_name_p): Check for
561 (arm_dllimport_name_p): Ditto.
562 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
563 (arm_mark_dllimport): Ditto.
565 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
567 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
569 2000-02-28 Mark Mitchell <mark@codesourcery.com>
571 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
573 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
575 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
576 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
577 NO_BUILTIN_WCHAR_TYPE is not defined.
578 (CPP_WCHAR_TYPE): Delete.
579 * cccp.c (main): Don't change wchar_type if cplusplus.
580 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
582 2000-02-28 Nick Clifton <nickc@cygnus.com>
584 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
586 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
588 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
589 (ASM_WEAKEN_LABEL): Define.
591 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
593 * expr.c (store_constructor): Do not emit USE.
594 * rtl.h (stupid_life_analysis): Remove.
596 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
598 * function.c (number_blocks): Reset next_block_index based on
599 what debugging format is used, not what is defined.
601 * lcm.c: Minor reformatting throughout.
602 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
604 * toplev.c (rest_of_compilation): Account for time in
605 optimize_mode_switching.
607 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
608 if only marking labels.
610 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
612 * calls.c (expand_call): Attempt to combine stack adjustments with
613 pending stack adjustments.
615 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
617 * loop.c (reg_in_basic_block_p): Don't abort when falling through
618 to the end of the function.
620 2000-02-27 Mark Mitchell <mark@codesourcery.com>
622 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
624 * final.c (next_block_index): Remove.
625 (max_block_depth): Likewise.
626 (pending_blocks): Likewise.
627 (init_final): Don't initialize them.
628 (final_start_function): Don't set next_block_index. Set up
630 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
631 * function.h (number_blocks): New function.
632 * function.c (get_block_vector): New function.
633 (identify_blocks): Use it.
634 (reorder_blocks): Set NOTE_BLOCK.
635 (number_blocks): New function.
636 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
637 * tree.h (BLOCK_NUMBER): New macro.
638 (tree_block): Add block_num field.
639 * dbxout.c (next_block_number): Remove.
640 (dbxout_init): Don't set it.
641 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
642 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
644 * toplev.c (rest_of_compilation): Always call
645 find_loop_tree_blocks. Fix indentation.
646 * dwarf2out.c (next_block_number): Remove.
647 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
648 to determine block numbers.
649 (gen_inlined_subroutine_die): Likewise.
650 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
651 (decls_for_scope): Don't increment next_block_number.
652 * dwarfout.c (next_block_number): Remove.
653 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
654 to determine block numbers.
655 (output_inlined_subroutine_die): Likewise.
656 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
657 (output_decls_for_scope): Don't increment next_block_number.
658 * sdbout.c (next_block_number): Remove.
659 (sdbout_block): Use BLOCK_NUMBER.
660 (sdbout_begin_block): Simplify.
661 * xcoffout.c (next_block_number): Remove.
662 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
663 (xcoffout_begin_block): Don't set next_block_number.
664 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
667 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
669 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
670 (expand_builtin_strcpy): Pass correct type to size_binop.
671 (expand_builtin_strcmp): Likewise.
672 Clean up conditional structure.
673 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
674 (complete_array_type): Don't use size_binop for MAXINDEX.
675 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
676 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
677 (c_alignof): Use size_one_node.
678 (build_unary_op): Pass arg of proper type to size_binop.
679 (really_start_incremental_init, push_init_level): Use sizetype for
680 constructor{,_bit,_unfilled}_index.
681 (pop_init_label, output_init_element): Likewise.
682 (output_pending_init_elements, process_init_element): Likewise.
683 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
684 * expr.c (store_expr): Use size_int.
685 (store_constructor): Use proper types for size_binop args.
686 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
687 (expand_expr_unaligned): Likewise.
688 (string_contant): Return object of sizetype.
689 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
690 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
691 (ARGS_SIZE_TREE): Pass proper types to size_binop.
692 * fold-const.c (int_const_binop): Refine when size_int is called.
693 (fold_convert): Likewise.
694 (size_int_wide): Rework to take KIND as arg, only take low order
695 bits, handle new sizetype_tab datatype, and chain entries in
697 (size_int_type_wide): New function.
698 (size_binop): Validate types of arguments.
699 (ssize_binop): Deleted.
700 (size_diffop): New function.
701 (extract_muldiv): Only fold division into multiplication for sizetypes.
702 * function.c (assign_parms): Use size_diffop and make sure
703 VAR field is of ssizetype; also pass proper type to size_binop.
704 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
705 (round_down): Deleted from here.
706 * store-layout.c (sizetype_tab): Now an array.
707 (sizetype_set, early_root_list): New variables.
708 (variable_size): Use size_one_node.
709 (round_up): Pass proper type to size_binop.
710 (round_down): Moved to here and corrected as above.
711 (layout_record): Pass proper arg types to size_binop.
712 (layout_type): Likewise.
713 If sizetype_set is zero, record the type just laid out.
714 (make_unsigned_type): Don't call set_sizetype;
715 (make_signed_type): Likewise; also, call fixup_signed_type.
716 (initialize_sizetypes): New function.
717 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
718 set name of bitsizetype to "bit_size_type".
719 Fix up type of sizes of all types made before call.
720 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
721 * tree.c (fix_sizetype): Deleted.
722 (build_common_tree_nodes): Call initialize_sizetypes.
723 (build_common_tree_nodes_2): Don't call fix_sizetype.
724 * tree.h (TYPE_IS_SIZETYPE): New macro.
725 (initialize_sizetype): New declaration.
726 (enum size_type_kind): New type.
727 (struct sizetype_tab): Deleted.
728 (sizetype_tab): Now array; adjust sizetype macros.
729 (size_diffop, size_int_type_wide): New functions.
730 (size_int_wide): Change number of args and type; access macros changed.
731 (ssize_int, sbitsize_int): New macros.
732 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
733 (ROUND_TYPE_SIZE_UNIT): New macro.
735 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
737 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
739 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
741 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
742 Mark as possibly unused.
744 * cse.c (cse_insn): Delete dead code involving tablejump.
745 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
747 * Makefile.in (libcpp.a): Start by deleting it.
749 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
751 * cpplib.h (enum file_change_code): Added rename_file.
752 * cpplib.c (do_line): If a filename is given, set file_change to
754 (output_line_command): If file_change is rename_file, always
755 output a # directive with the file name.
757 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
759 2000-02-26 Mark Mitchell <mark@codesourcery.com>
761 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
762 when copying a PARM_DECL or RESULT_DECL.
764 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
766 * fix-header.c (recognized_function): Also fix prototypes for
767 functions taking "void".
769 2000-02-26 Geoff Keating <geoffk@cygnus.com>
771 * reload1.c (do_output_reload): Check reg_reloaded_valid before
772 looking at reg_reloaded_contents.
774 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
776 * Makefile.in (STMP_FIXINC): New toggle.
777 (LIBGCC2_DEPS): Delete all references.
778 (stmp-headers): Delete target. All references either deleted
779 or changed to stmp-int-headers.
780 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
781 (LIBCPP_OBJS): Take out cppalloc.o.
782 (cppalloc.o): Delete target.
783 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
784 (gen-protos, fix-header): Link with libiberty.a.
785 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
788 * configure.in: Remove refs to strerror.
789 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
790 * system.h: Take out strerror stanza.
792 * cpperror.c (my_strerror): Delete function.
793 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
794 * cppmain.c (main): Call xmalloc_set_program_name first thing.
795 * cppalloc.c: Delete file.
796 * gen-protos.c: Don't provide xrealloc.
798 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
799 xstrerror throughout.
801 2000-02-26 Bruce Korb <bkorb@gnu.org>
803 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
804 match for DOS headers, too.
805 * fixinc/inclhack.sh,fixincl.x: Regenerate.
807 2000-02-26 Geoff Keating <geoffk@cygnus.com>
809 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
810 is right for most ELF targets.
811 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
812 Let the default file use %U properly.
813 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
816 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
819 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
821 * toplev.c (documented_lang_options): Correct spelling error.
822 (decode_d_option, decode_f_option, main): Likewise.
824 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
826 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
827 to tell assembler it is permitted to expand large constants.
829 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
831 * protoize.c: (AUX_INFO_SUFFIX): New macro.
832 (aux_info_suffix): Use.
833 (SAVE_SUFFIX): New macro.
835 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
836 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
837 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
839 * invoke.texi (Running Protoize): Update documentation.
841 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
843 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
845 2000-02-25 John Wehle (john@feith.com)
847 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
849 2000-02-25 Anthony Green <green@cygnus.com>
851 * toplev.c (rest_of_compilation): Rebuild jump labels if
852 combine_instructions has created a new direct jump.
853 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
855 (combine_instructions): Call try_combine with new argument.
856 Return non-null value when new direct jump instruction is created.
857 * rtl.h: combine_instructions returns an int.
859 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
861 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
862 jump when changing a computed jump into a jump to a known
865 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
867 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
868 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
870 * i386.md (define_expand "clrstrsi"): Fix typo.
872 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
874 * rtl.texi: Fix typo.
876 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
878 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
879 UNITS_PER_WORD. Change caller initial_elimination_offset.
880 (rounded_frame_size): Take into account that argument pushed has
881 changed. Fix TARGET_ALIGN_DOUBLE problem.
883 2000-02-25 Geoff Keating <geoffk@cygnus.com>
885 * haifa-sched.c (schedule_block): Explain the real reason
886 we delete REG_SAVE_NOTEs on the first insn of a block.
887 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
889 2000-02-24 Mark Mitchell <mark@codesourcery.com>
891 * input.h (push_srcloc): New function.
892 (pop_srcloc): Likewise.
893 * toplev.c (push_srcloc): Define it.
894 (pop_srcloc): Likewise.
896 2000-02-24 Richard Henderson <rth@cygnus.com>
898 * flow.c (life_analysis): When collecting reg info, clear
901 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
903 Fix bug exposed by reload.c no longer rounding the frame
904 size to BIGGEST_ALIGNMENT:
905 * sh.c (rounded_frame_size): New function.
906 (sh_expand_prologue, sh_expand_epilogue): Use it.
907 (initial_elimination_offset): Likewise.
909 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
911 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
912 * sh-protos.h (sh_need_epilogue): Declare.
913 * sh.c (sh_need_epilogue_known): New static variable.
914 (sh_need_epilogue): New function.
915 (function_epilogue): Clear need_epilogue_known.
916 * sh.md (return): Split into expander / insn pattern.
917 Make the expander conditional on ! sh_need_epilogue ().
919 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
921 * machmode.h (get_mode_alignment): Declare.
922 (GET_MODE_ALIGNMENT): Call it.
923 * stor-layout.c (get_mode_alignment): New function. Make
924 sure alignment is always power of 2.
926 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
928 * i386.h: Remove useless definition of "I386" and misleading
931 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
933 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
934 under which TREE_PERMANENT will be set.
935 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
936 build1): Use TREE_SET_PERMANENT.
937 * print-tree.c (print_node): Don't report value of
938 TREE_PERMANENT if ggc_p is true.
940 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
941 decide whether to give a type a new alias set.
942 * objc/objc-act.c (build_objc_string_object): Never copy the string.
943 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
944 of value of 'obstack'.
947 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
949 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
951 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
953 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
954 * cpplib.c (cpp_get_token): Produce them.
955 * cppexp.c (cpp_lex): Handle them.
957 2000-02-23 Nick Clifton <nickc@cygnus.com>
959 * config/arm/arm.c (arm_comp_type_attributes): Simply and
960 comment tests on type attributes.
962 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
964 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
965 conform to documentation.
966 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
967 to check for special cases.
968 * sh-protos.h (sh_loop_align): Declare.
969 * sh.c (sh_loop_align): Define.
971 2000-02-22 Andrew Haley <aph@cygnus.com>
973 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
974 (SIZE_TYPE): Is 32 bits when using -mgp32.
975 (PTRDIFF_TYPE): Ditto.
977 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
979 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
981 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
983 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
984 BIGGEST_FIELD_ALIGNMENT a constant.
986 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
988 * dwarf2out.c (output_line_info): Put the marker for the end of
989 the line number info at the actual end.
990 (gen_struct_or_union_type_die): Use decl_function_context
991 to check for local classes.
992 * dwarfout.c (output_type): Likewise.
994 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
996 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
997 for arguments with a mode, but no type.
998 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
999 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
1000 * pa/long_double.h: New file.
1001 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
1002 both have 128bit wide long doubles.
1003 * configure: Rebuilt.
1005 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1007 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
1009 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
1010 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
1011 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
1013 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
1015 * integrate.c (compare_blocks, find_block): Likewise.
1017 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
1019 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
1021 * stmt.c (stmt_status, set_file_and_line_for_stmt,
1022 expand_asm_operands): Likewise.
1024 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
1026 * predict.c (estimate_probability): Added the pointer heuristic to
1027 the collection of static branch predictors.
1029 2000-02-21 Catherine Moore <clm@cygnus.com>
1031 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
1032 * invoke.texi (-mfix7000): Document.
1034 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
1036 * diagnostic.c (init_output_buffer): Make it possible to output at
1037 least 32 characters if we're given a too long prefix.
1039 2000-02-20 Mark Mitchell <mark@codesourcery.com>
1041 * varasm.c (initializer_constant_valid_p): Call
1042 lang_expand_constant to simplify the constant.
1044 2000-02-20 Bruce Korb <bkorb@gnu.org>
1046 * fixinc/inclhack.def(stdio_va_list):
1047 typedef needs to be disabled.
1048 * fixinc/inclhack.sh: regen
1049 * fixinc/fixincl.x: regen
1051 2000-02-20 Geoff Keating <geoffk@cygnus.com>
1053 * print-rtl.c (print_rtx): Don't print addresses when
1054 flag_dump_unnumbered.
1056 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1058 * sparc.c (sparc_output_scratch_registers): Mark parameter with
1060 (sparc_va_arg, sparc_flat_output_function_prologue,
1061 sparc_flat_output_function_epilogue): Cast value to unsigned in
1063 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
1065 * sparc.md: Add default case in switch.
1067 2000-02-19 Richard Henderson <rth@cygnus.com>
1069 * c-typeck.c (add_pending_init): Don't abort for multiple
1070 fields at the same offset.
1071 (pending_init_member): Test the correct member.
1073 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1075 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
1077 (start_catch_handler) : Same.
1079 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
1081 * Makefile.in: Have flow.o depend on $(EXPR_H)
1083 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1085 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
1086 * c-decl.c (duplicate_decls, finish_enum): Likewise.
1087 (finish_decl): Remove -Wlarger-than code from here.
1088 * flags.h (id_clash_len): Now int.
1089 (larger_than_size): Now HOST_WIDE_INT.
1090 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
1091 Clean up checking to see if in table.
1092 (make_bit_field_ref): Remove extra parm to bitsize_int.
1093 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
1094 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
1095 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
1096 and for computing size of decl.
1097 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
1098 Move -Wlarger-than code to here.
1099 (layout_record): Remove extra arg to bitsize_int.
1100 Set TYPE_BINFO_SIZE_UNIT.
1101 (layout_union): Remove extra arg to bitsize_int.
1102 Use proper type for size of QUAL_UNION.
1103 (layout_type): Remove extra arg to bitsize_int.
1104 * toplev.c (id_clash_len): Now int.
1105 (larger_than_size): Now HOST_WIDE_INT.
1106 (decode_W_option): Clean up id-clash and larger-than- cases.
1107 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
1108 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
1109 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
1110 (struct tree_decl): New field size_unit.
1111 (size_int_wide): No HIGH operand; NUMBER is now signed.
1112 (size_int_2): Deleted.
1113 (size_int, bitsize_int): Don't use it and rework args.
1114 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
1116 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
1118 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
1120 2000-02-18 Geoff Keating <geoffk@cygnus.com>
1122 * invoke.texi (Warning Options): Add an explanation of why
1123 you might want the -Wfloat-equal flag.
1125 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1127 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
1128 * cppinit.c (new_pending_define): Add cast to avoid warning.
1129 * expmed.c (extract_bit_field): Likewise.
1130 * flow.c (enum reorder_skip_type): New type.
1131 (skip_insns_between_blcok): New it.
1132 Rework to avoid warning about possibly undefined variable.
1133 * function.c (assign_parms): Make thisparm_boundary unsigned.
1134 * genrecog.c (write_switch): Cast XWINT result to int.
1135 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
1136 * mips-tfile.c (init_file): Make two versions of FDR intializer:
1137 one for MIPS and one for Alpha.
1138 (get_tag, copy_object): Add casts to avoid warnings.
1139 * optabs.c (init_one_libfunc): Cast NAME to (char *).
1140 * reload.c (find_reloads): Make TYPE enum reload_type.
1141 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
1142 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
1143 * varasm.c (compare_constant_1): Add cast to avoid warning.
1144 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
1146 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
1147 Cast switch operand of size to int.
1148 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
1149 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
1152 2000-02-18 Nick Clifton <nickc@cygnus.com>
1154 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
1155 anything for an alignment of zero.
1157 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
1158 anything for an alignment of zero.
1160 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
1162 * gcc.texi (Bug Reporting): Refer to bugs.html.
1163 (Bug Lists): Likewise.
1164 * system.h (GCCBUGURL): New preprocessor define.
1165 * rtl.c (fancy_abort): Use it.
1166 * gcc.c (main): Likewise.
1168 2000-02-18 Richard Henderson <rth@cygnus.com>
1170 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
1171 (life_analysis_1): Subsume into ...
1172 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
1173 Use update_life_info for the relaxation.
1174 (update_life_info): Update REG_BASIC_BLOCK for registers live on
1175 entry and regs_live_at_setjmp.
1176 (set_noop_p): Simplify.
1177 (notice_stack_pointer_modification_1): Renamed from s/_1//.
1178 (record_volatile_insns): Split into ...
1179 (delete_noop_moves): ... here,
1180 (notice_stack_pointer_modification): ... here,
1181 (insn_dead_p): ... and here.
1182 (propagate_block): Don't query INSN_VOLATILE.
1183 (mark_used_regs): Mind !PROP_REG_INFO.
1184 * toplev.c (rest_of_compilation): Call mark_constant_function here,
1185 not in life_analysis.
1187 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
1189 * loop.c (canonicalize_condition): New function,
1190 broken out of get_condition.
1191 (get_condition): Use it.
1192 * expr.h (canonicalize_condition): Prototype it.
1194 * tree.h (tree_int_cst_msb): Declare.
1195 * tree.c (tree_int_cst_msb): New function.
1197 2000-02-17 Mark Mitchell <mark@codesourcery.com>
1199 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
1202 * invoke.texi (-fmessage-length=n): Document.
1204 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
1206 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
1208 2000-02-17 Mark Mitchell <mark@codesourcery.com>
1210 * function.c (thread_prologue_and_epilogue_insns): Put a line note
1213 2000-02-17 Nick Clifton <nickc@cygnus.com>
1215 * config/arm/thumb.c: Replace includes of system headers with
1216 #include "system.h".
1218 2000-02-16 Richard Henderson <rth@cygnus.com>
1220 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
1221 Add crtbeginS.o and crtendS.o.
1222 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
1223 (ENDFILE_SPEC): Use crtendS.o.
1224 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
1226 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
1227 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
1229 (__dso_handle): New variable.
1230 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
1231 bias to __CTOR_END__.
1233 2000-02-16 Richard Henderson <rth@cygnus.com>
1235 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
1237 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
1239 * longlong.h (__clz_tab): Declare as static to match definition.
1241 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
1242 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
1243 (XREF_FILE_NAME): Define.
1245 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
1246 (EH_FRAME_SECTION_ASM_OP): Define.
1247 (IDENT_ASM_OP): Define.
1248 (TEXT_SECTION_ASM_OP): Define.
1250 (CTORS_SECTION_ASM_OP): Define.
1251 (CTOR_SECTION_FUNCTION): Use it.
1252 (DTORS_SECTION_ASM_OP): Define.
1253 (DTOR_SECTION_FUNCTION): Use it.
1255 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
1257 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
1260 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
1261 debug_bb_n): New functions.
1262 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
1263 * basic-block.h: Prototype new functions.
1265 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
1267 * configure.in: Add support for avr target.
1268 * configure: Rebuilt.
1270 * invoke.texi: Add AVR invocation docs.
1271 * install.texi: Add information about AVR.
1272 * md.texi: Add AVR constraint letters description.
1273 * extend.texi: Add description for AVR specific attributes.
1275 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
1277 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
1279 2000-02-16 Nick Clifton <nickc@cygnus.com>
1281 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
1282 (make_insn_raw): Move RTL check here.
1284 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1286 * version.c: Include gansidecl.h and version.h.
1288 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
1290 * configure.in (gcc_version): When setting, narrow search to
1291 lines containing `version_string'.
1293 * Makefile.in (mainversion): Likewise.
1294 (GCC_H): New variable.
1295 (gcc.h): Delete target.
1296 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
1297 (version.o): Depend on version.h.
1298 (dbxout.o): Don't depend on gcc.h.
1300 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
1301 Michael Meissner <meissner@cygnus.com>
1303 * md.texi (Simple Constraints): Add item about whitespace.
1304 * genoutput.c (strip_whitespace): New.
1305 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
1306 strip_whitespace for constraints.
1307 Test pointer using NULL, not 0.
1309 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1311 * cpplib.c (do_line): Pedwarn for #line > 32767.
1313 * c-lex.c (readescape): Warn about '\x', but do not reject it.
1315 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
1317 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
1318 to default cpp spec.
1319 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
1320 * cpp.texi: Document __GNUC_PATCHLEVEL__.
1323 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
1326 2000-02-15 Denis Chertykov <denisc@overta.ru>
1328 * configure.in: Add support for avr target.
1330 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1332 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
1333 (sh_addr_diff_vec_mode): Don't declare.
1334 * sh.c (sh_addr_diff_vec_mode): Delete.
1336 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1338 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
1340 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1342 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
1343 (smulsi3_highpart_i): Name.
1344 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
1345 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
1346 (smulsi3_highpart, umulsi3_highpart): Likewise.
1348 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
1349 correctly independent of endianness.
1350 (mulsidi3, umulsidi3): Now define_insn. Hide details that
1351 confuse the optimizers.
1352 (mulsidi3+1, umulsidi3+1): New define_split.
1354 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
1356 * config/sh/sh.md: Guard insn splits against illegal registers.
1357 * config/sh/sh.h: Correct comment about macros.
1359 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1360 Andrew MacLeod <amacleod@cygnus.com>
1362 * Makefile.in (lcm.o): Depend on insn-attr.h.
1363 * basic-block.h (optimize_mode_switching): Declare.
1364 * lcm.c (tm_p.h, insn-attr.h): #include.
1365 (seginfo, bb_info): New structs.
1366 (antic, transp, comp, delete, insert) : New file-scope static variables.
1367 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
1368 (reg_becomes_live, optimize_mode_switching): Likewise.
1369 * tm.texi: Add description of mode switching macros.
1370 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
1372 * sh-protos.h (remove_dead_before_cse): Remove prototype.
1373 (fldi_ok, fpscr_set_from_mem): New prototypes.
1374 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
1375 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
1376 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
1377 (sh_flag_remove_dead_before_cse): Remove declaration.
1378 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
1379 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
1380 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
1381 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
1382 (barrier_align): Allow for JUMP_INSNS containing a parallel.
1383 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
1384 (fldi_ok): New function.
1385 (get_fpscr_rtx): Add fpscr_rtx as GC root.
1386 (emit_sf_insn): Only generate fpu switches when optimize < 1.
1387 (emit_df_insn): Likewise.
1388 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
1389 (sh_flag_remove_dead_before_cse): Delete.
1390 (get_free_reg, fpscr_set_from_mem): New functions.
1391 * sh.md (movdf, movsf): Remove no_new_pseudos code.
1392 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
1394 2000-02-15 Loren Rittle <ljrittle@acm.org>
1396 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
1398 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1400 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
1401 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
1403 * cccp.c: Include version.h and/or don't declare `version_string'.
1404 * collect2.c: Likewise.
1405 * alpha.c: Likewise.
1406 * arm/aof.h: Likewise.
1407 * arm/coff.h: Likewise.
1408 * arm/elf.h: Likewise.
1409 * arm/pe.h: Likewise.
1410 * arm/tcoff.h: Likewise.
1411 * arm/telf.h: Likewise.
1412 * arm/tpe.h: Likewise.
1413 * arm/vxarm.h: Likewise.
1414 * convex/convex.c: Likewise.
1415 * i386/dgux.c: Likewise.
1416 * i386/sun386.h: Likewise.
1417 * m88k/m88k.c: Likewise.
1418 * mcore/mcore-pe.h: Likewise.
1419 * mips/mips.h: Likewise.
1420 * romp/romp.h: Likewise.
1421 * sh/sh.c: Likewise.
1422 * cpphash.c: Likewise.
1423 * cppinit.c: Likewise.
1424 * dwarf2out.c: Likewise.
1425 * dwarfout.c: Likewise.
1428 * mips-tfile.c: Likewise.
1429 * protoize.c: Likewise.
1430 * toplev.c: Likewise.
1433 * version.c (version_string): Constify a char*.
1435 * version.h: New file.
1437 2000-02-14 Nick Clifton <nickc@cygnus.com>
1439 * configure.in: Add mcore-elf and mcore-pe targets.
1440 * configure: Regenerate.
1442 * NEWS: Add note that MCore port has been contributed.
1444 * invoke.texi: Document command line switches for MCore port.
1445 * install.texi: Add MCore to list of supported targets.
1447 2000-02-14 Geoff Keating <geoffk@cygnus.com>
1449 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
1450 then we will need to import the frame handling functions.
1451 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
1452 to import the frames themselves.
1454 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
1455 Jason Eckhardt <jle@cygnus.com>
1457 * basic_block.h: Added prototype for reorder_basic_blocks.
1458 * toplev.c: Changes to add -freorder-blocks and graph dump after
1459 block reordering is done.
1460 * flow.c (reorder_block_def): New structure for use during block
1462 (REORDER_BLOCK_*): New macros to access members of above structure.
1463 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
1464 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
1465 functions for block reordering.
1467 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
1469 * gcc.texi (Passes): Fix typo.
1470 * md.texi (Standard Names): Ditto.
1471 * tm.texi (Storage Layout): Ditto.
1473 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
1475 * cpplib.c (do_define): Only free the old definition if it
1478 2000-02-13 Neil Booth <NeilB@earthling.net>
1480 * cppfiles.c (read_and_prescan): When emitting deferred
1481 newlines, test speccase[] again instead of checking each
1482 possible whitespace character in turn. When we encounter \r,
1483 look behind for \n first, then ahead.
1485 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
1487 * cse.c (cse_altered): New internal flag.
1488 (cse_insn): Set it if we changed an insn.
1489 (cse_main): Clear cse_altered before each basic block.
1490 Only garbage collect if cse_altered is true afterward.
1492 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1494 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
1496 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
1498 * combine.c (simplify_comparison): Fix typo.
1500 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
1502 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
1505 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1507 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
1508 previously inserted node instead of root node. Caller changed.
1510 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1512 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
1514 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1516 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
1517 __dereg_frame_dtor): Add prototype argument.
1519 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
1521 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
1523 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
1525 * gthr-vxworks.h (__gthread_once): Likewise.
1527 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
1529 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
1531 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
1532 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
1533 stack pointer in functions w/o saved registers, output LEAVE more often
1534 on TARGET_USE_LEAVE machines.
1536 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
1538 * config/arm/arm.c (arm_init_cumulative_args); New function:
1539 Initlaise the CUMULATIE_ARGS strcuture for a function
1541 (arm_function_arg): New function: Determine where to place a
1542 function's argument. Also handles deciding the function's
1544 (current_file_function_operand): New function: Return true if
1545 the symbol is a function which has already been compiled.
1546 (arm_is_long_call_p): New function: Return true if the
1547 indicated function should be called via a long call.
1548 (arm_valid_type_attribute_p): New function: Return true if the
1549 attribute is a valid, arm specific, attribute.
1550 (arm_comp_type_attribute): New function: Return true if the
1551 two types have compatable, arm specific, attributes.
1553 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
1555 (FUNCTION_ARG): Redefine to call arm_function_arg.
1556 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
1558 (INIT_CUMULATIVE_ARGS): Redefine to call
1559 arm_init_cumulative_args.
1560 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
1562 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
1564 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
1566 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
1567 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
1568 (COMP_TYPE_ATTRIBUTES): Define.
1570 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
1571 if a long call is needed.
1572 (call_value): Call arm_is_long_call_p to decide if a long call
1574 (call_symbol): Call arm_is_long_call_p to decide if a long call
1577 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
1579 2000-02-11 Denis Chertykov <denisc@overta.ru>
1581 * README.AVR: New file with information about the avr ports.
1582 * config/avr: New directory with avr port files.
1584 2000-02-11 Andreas Jaeger <aj@suse.de>
1586 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
1588 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
1590 * cpphash.c: Fix formatting, update commentary.
1591 (dump_definition): Take three separate arguments instead of a
1592 MACRODEF structure argument.
1593 * cpphash.h: Update prototype of dump_definition.
1594 * cppinit.c (cpp_finish): Update call of dump_definition.
1596 * cpplib.c (do_define): Always create new hash entry with
1597 T_MACRO type. Remove redundant check for redefinition of
1598 poisoned identifier. Update call of dump_definition.
1599 (do_undef): Don't call check_macro_name. Rename sym_length to
1601 (do_error, do_warning): Don't use copy_rest_of_line or
1603 (do_warning): Don't use pedwarn for the actual warning,
1604 only the notice about its not being in the standard. (Fixes
1605 bug with #warning in system headers.)
1606 (do_ident): Stricter argument checking - accept only a single
1607 string after #ident. Also, macro-expand the line.
1608 (do_xifdef): Use cpp_defined. De-obfuscate.
1610 (do_pragma): Split out specific pragma handling to separate
1611 functions. Use get_directive_token. Update commentary. Do
1612 not pass on #pragma once or #pragma poison to the front end.
1613 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
1614 do_pragma_default): New.
1616 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
1618 * jump.c (jump_optimize_1): The first operand in a relational
1620 * optabs.c (emit_conditional_move): Handle relationals which
1621 have a known true/false result.
1623 2000-02-11 Geoff Keating <geoffk@cygnus.com>
1625 * function.c (thread_prologue_and_epilogue_insns): Don't insert
1626 a RETURN insn into a block which already ends with a jump.
1628 2000-02-11 Geoff Keating <geoffk@cygnus.com>
1630 * haifa-sched.c (BUF_LEN): Increase a lot.
1632 2000-02-11 Nick Clifton <nickc@cygnus.com>
1634 * configure.in: Add tm_p_file specification for thumb targets.
1635 * configure: Regenerate.
1637 * config/arm/thumb-protos.h: New file: Prototypes for exported
1638 functions defined in thumb.c.
1640 2000-02-11 Robert Lipe <robertl@sco.com>
1642 * Makefile.in (bootstrap-lean): Remove additional files.
1643 (bootstrap2-lean): Likewise.
1644 (VOL_FILES): List of files for above.
1646 2000-02-11 Nathan Sidwell <nathan@acm.org>
1648 * cpphash.c (special_symbol): Remove spurious argument to
1651 2000-02-11 Joel Sherrill (joel@OARcorp.com>
1653 * configure.in: (i*86-*-rtems*): Swapped elf and coff
1655 * configure: Rebuilt.
1657 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
1659 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
1661 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
1663 * pa.c, pa.h: Remove trigraph sequences within comments.
1665 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
1667 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
1669 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
1671 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
1673 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1675 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
1677 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1679 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
1680 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
1681 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
1682 (ASM_FILE_END): Use c4x_file_end.
1683 * config/c4x/c4x.c (c4x_global_label): New function.
1684 (c4x_external_ref, c4x_file_end): Likewise.
1686 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
1687 (c4x_external_ref, c4x_end_file): Likewise.
1689 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
1691 * cppexp.c: Don't include cpphash.h.
1692 (parse_charconst, cpp_lex): Use cpp_defined.
1693 (cpp_lex): Use get_directive_token throughout. Remove
1694 unnecessary cases from switch. Move assertion-handling code
1696 (cpp_parse_expr): If we see '+' or '-', check the context to
1697 determine if they are unary or binary operators. Streamline
1698 the jumps a bit. Do not call skip_rest_of_line.
1700 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
1701 static. Export get_directive_token. Update commentary.
1702 (cpp_defined): New function.
1703 (do_define): Remove reference to T_PCSTRING. Call
1704 free_definition to release memory for old definition, when
1706 (eval_if_expression): Set only_seen_white to 0 before calling
1707 cpp_parse_expr. Call skip_rest_of_line after it returns.
1708 (cpp_read_check_assertion): Don't preserve a pointer into the
1709 token buffer across a call to cpp_get_token.
1711 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
1712 * cppfiles.c (redundant_include_p): Use cpp_defined.
1713 * cpphash.c (free_definition): New function.
1714 (delete_macro): Use it. Update commentary.
1715 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
1717 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
1718 from enum node_type. Prototype cpp_defined and get_directive_token.
1719 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
1721 * fix-header.c (check_macro_names): Use cpp_defined.
1722 (read_scan_file): Set inhibit_warnings and inhibit_errors in
1723 the options structure.
1725 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1727 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
1729 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
1731 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
1732 rather than die->die_tag.
1734 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1736 * combine.c (make_extraction, force_to_mode): Avoid warning on
1737 mixed-signedness conditionals.
1738 (make_field_assignment, nonzero_bits): Likewise.
1739 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
1740 (store_split_bit_field, extract_split_bit_field): Likewise.
1741 (extract_fixed_bit_field, store_bit_field,
1742 * expr.c: Change alignment to be unsigned everywhere.
1743 (move_by_pieces, store_constructor_field, store_constructor):
1744 Alignment parm is unsigned.
1745 (emit_block_move, emit_group_load, emit_group_store): Likewise.
1746 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
1747 (do_compare_rtx_and_jump): Likewise.
1748 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
1749 Compare align with GET_MODE_ALIGNMENT.
1750 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
1751 (get_inner_reference): Likewise.
1752 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
1753 (expand_assignment): Local vars for alignment now unsigned.
1754 (store_constructor, store_field, expand_expr, do_jump): Likewise.
1755 (do_compare_and_jump): Likewise.
1756 (store_field): Call new function expr_align.
1757 * expr.h (emit_block_move, emit_group_load, emit_group_store):
1758 Alignment arg now unsigned.
1759 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
1760 (do_compare_rtx_and_jump, store_bit_field): Likewise.
1761 (extract_bit_field): Likewise.
1762 * fold-const.c (add_double): Add cast to eliminate signedness warning.
1763 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
1764 (get_best_mode): Alignment arg is unsigned.
1765 * rtl.h (move_by_pieces): Likewise.
1766 * store-layout.c (maximum_field_alignment, set_alignment):
1768 (layout_decl): Alignment arg is now unsigned.
1769 Remove unneeded casts.
1770 (layout_record, layout_union, layout_type): Remove unneeded casts.
1771 Local alignment variables now unsigned.
1772 (get_best_mode): Alignment arg now unsigned.
1773 * tree.c (expr_align): New function.
1774 * tree.h (expr_align): Likewise.
1775 (maximum_field_alignment, set_alignment): Now unsigned.
1776 (get_inner_reference): Alignment argument is now pointer to unsigned.
1777 * varasm.c (assemble_variable): Add cast to eliminate warning.
1779 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
1781 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
1782 then store directly into op0.
1784 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
1785 the CALL_INSN, and emit the note immediately after it.
1787 2000-02-10 Nick Clifton <nickc@cygnus.com>
1789 * config/arm/thumb.md (epilogue): Include a (return) in the
1790 generated insn, and emit it using emit_jump_insn not
1793 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
1795 * function.c (assign_temp): Change zero-sized arrays to size 1.
1796 * integrate.c (expand_inline_function): Do not update
1797 stack_alignment_needed
1798 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
1799 add some sanity checking, remove optimization for function with
1802 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1804 * flow.c (mark_regs_live_at_end): Delete unused variables.
1806 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
1808 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
1809 in macro FRAME_GROWS_DOWNWARD.
1811 * stmt.c (expand_end_bindings): Delete unused variable.
1813 * unroll.c (iteration_info): Mark parameter `loop' with
1816 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1818 * fixinc/server.c (load_data): Return NULL if the marker line is
1820 (run_shell): If load_data returns NULL, retry the command once, in
1823 * configure: Rebuilt.
1825 2000-02-09 Bruce Korb <bkorb@gnu.org>
1827 * gcc/fixincludes: ** DELETED **
1828 * gcc/fixcpp: ** DELETED **
1829 * gcc/fixinc-nt.sed: ** DELETED **
1830 * gcc/just-fixinc: ** DELETED **
1831 * gcc/Makefile.in: Removed out-dated commentary
1832 * gcc/configure.in: Removed fast-fixincludes disablement.
1833 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
1835 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
1836 * function.c (thread_prologue_and_epilogue_insns): Uncomment
1839 2000-02-09 Richard Henderson <rth@cygnus.com>
1841 * jump.c (delete_insn): Don't delete user labels at -O0.
1843 2000-02-09 Robert Lipe <robertl@sco.com>
1845 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
1846 Don't link with HOST_LIBS.
1848 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
1850 * configure.in: Correct --help text for --with-dwarf2.
1851 Put tm-dwarf2.h after other tm files, if it's requested.
1852 * configure: Regenerate.
1853 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
1856 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
1858 * cpplib.h: Provide HASHNODE typedef and forward decl of
1859 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
1860 DEFINITION, struct hashnode, struct macrodef, struct
1861 definition, scan_decls prototype, default defn of
1862 INCLUDE_LEN_FUDGE moved elsewhere.
1864 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
1865 definition, and struct hashnode moved here. Remove the unused
1866 'predefined' field from struct definition. Replace the 'args'
1867 union with its sole member. All users updated (cpphash.c).
1868 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
1869 multiple include guard.
1871 * cpphash.c (hashf): Make static; use better algorithm; drop
1872 HASHSIZE parameter; return an unsigned int.
1873 (cpp_lookup): Drop HASH parameter. PFILE parameter is
1874 used. Calculate HASHSIZE modulus here.
1875 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
1877 (create_definition): Drop PREDEFINITION parameter.
1878 * cpplib.c (do_define): Don't calculate a hash value here.
1879 Don't pass (keyword == NULL) to create_definition.
1881 * scan.h: Prototype scan_decls here.
1882 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
1883 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
1884 callers of cpp_lookup and cpp_install updated.
1886 * cpphash.c (macarg): Hoist all the flag diddling out of the
1888 (macroexpand): ... and out of the loop that calls macarg.
1889 Skip over the initial paren before macro arguments with
1890 cpp_get_non_space_token; point may be some distance before
1891 that paren. Abort if it's not there.
1893 * cpplib.c (parse_clear_mark): Delete function.
1894 (parse_set_mark, parse_goto_mark): Make static.
1895 (ACTIVE_MARK_P): New macro.
1896 (skip_block_comment, skip_line_comment): Do not bump the line
1897 if ACTIVE_MARK_P is true.
1898 (cpp_pop_buffer): The buffer to be popped may not have an
1900 (cpp_get_token): When looking for the initial paren before
1901 macro arguments, only set a mark in a file buffer, Always
1902 return to that mark before proceeding to call macroexpand or
1903 return a NAME token.
1905 * cpplib.h: Remove prototypes of parse_set_mark,
1906 parse_clear_mark, parse_goto_mark.
1907 (struct cpp_options): Rename 'put_out_comments' to
1908 'discard_comments' and invert its sense.
1909 * cppinit.c, cpphash.c, cpplib.c: All users of
1910 put_out_comments changed to use discard_comments, with
1913 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
1915 * function.c (thread_prologue_and_epilogue_insns): Don't delete
1916 the edge from a block that both jumps and falls through to the
1919 2000-02-09 Scott Bambrough <scottb@netwinder.org>
1921 * config/arm/arm.md (movsi): In PIC mode, make sure that a
1922 constant source address is legitimate.
1924 2000-02-09 Philip Blundell <pb@futuretv.com>
1926 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
1929 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
1931 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
1933 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
1935 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
1936 ends with a newline and a NUL. Don't be so clever manipulating
1939 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
1941 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
1942 not to BIGGEST_ALIGNMENT.
1944 2000-02-08 Geoff Keating <geoffk@cygnus.com>
1946 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
1947 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
1948 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
1949 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
1950 * frame.c (execute_cfa_insn): Handle
1951 DW_CFA_GNU_negative_offset_extended.
1953 2000-02-08 Richard Henderson <rth@cygnus.com>
1955 * flow.c (tidy_fallthru_edges): Split out from ...
1956 (delete_unreachable_blocks): ... here.
1957 (find_basic_blocks): Use it.
1959 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1961 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
1963 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
1965 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
1966 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
1967 (fix-header.o): Don't depend on cpphash.h.
1969 * scan.c (hashstr): New function.
1970 * scan.h: Prototype it.
1971 * fix-header.c: Don't include cpphash.h. Use hashstr.
1972 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
1973 hashstr. Report hash table statistics. Add private
1974 definition of xrealloc.
1976 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1978 * i386.h (TARGET_SWITCHES): Fix typo in option name.
1980 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
1982 * function.c (thread_prologue_and_epilogue_insns): Don't replace
1983 jumps with returns unless they are jumps to the fallthru block.
1985 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
1987 * i386.md (addqi3_cc): Fix contraints.
1989 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
1991 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
1993 2000-02-07 Mark Mitchell <mark@codesourcery.com>
1995 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
1996 carriage return after a macro name.
1998 2000-02-07 Fred Fish <fnf@be.com>
2000 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
2001 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
2003 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
2005 * cppfiles.c (deps_output): Count spacers in deps_column.
2007 2000-02-07 Neil Booth <NeilB@earthling.net>
2009 * cppinit.c (initialize_dependency_output): If there is no
2010 suffix, don't try to look for known suffixes. Use strrchr.
2011 (cpp_start_read): Remove duplicate initialization.
2013 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
2015 * calls.c (compute_argument_block_size): New argument
2016 preferred_stack_boundary.
2017 (expand_call): update cfun->preferred_stack_boundary, update call of
2018 compute_argument_block_size
2019 (emit_library_call): Increate cfun->preferred_stack_boundary
2020 to PREFERRED_STACK_BOUNDARY
2021 (emit_library_call_value): Likewise.
2022 * explow.c (allocate_dynamic_stack_spave): Likewise.
2023 * function.c (prepare_function_start): Set
2024 cfun->preferred_stack_boundary
2025 * function.h (struct function): Add preferred_stack_boundary field.
2026 * integrate.c (expand_inline_function): Update
2027 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
2028 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
2029 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
2031 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
2033 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
2034 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
2035 cpp_pedwarn, cpp_pedwarn_with_line,
2036 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
2037 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
2038 v_cpp_error_with_line, v_cpp_warning_with_line,
2039 cpp_message_from_errno, cpp_perror_with_name): Delete.
2041 * cpperror.c (cpp_print_containing_files): Take starting
2043 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
2044 (v_cpp_message): Now called directly by all entry points.
2046 (cpp_pfatal_with_name, cpp_message): Delete.
2047 (cpp_notice_from_errno, cpp_ice): New functions.
2048 (cpp_notice): Is now for reporting error conditions, just
2049 without an associated file.
2050 (cpp_error, cpp_error_with_line): Don't do anything if
2051 opts->inhibit_errors is on.
2052 (cpp_pedwarn_with_file_and_line): Take column argument also.
2054 * cpplib.h: Update prototypes of exported functions.
2055 (struct cpp_options): Add inhibit_errors.
2057 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
2058 non-error messages. Include intl.h.
2060 * cppinit.c, cppmain.c: Likewise. Also, use
2061 cpp_notice_from_errno instead of cpp_perror_with_name or
2062 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
2064 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
2065 report internal errors.
2067 * cpplib.c (do_define): Switch bcopy to memcpy.
2068 Give cpp_pedwarn_with_file_and_line a dummy column argument.
2070 * cpplib.c (copy_rest_of_line): Revert previous change: don't
2071 bail out early if we hit a line comment.
2073 2000-02-06 Richard Henderson <rth@cygnus.com>
2075 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
2076 * basic-block.h: Declare them.
2077 * emit-rtl.h (active_insn_p): New.
2078 (next_active_insn, prev_active_insn): Use it.
2079 * rtl.h: Declare it.
2080 * function.c (emit_return_into_block): New.
2081 (thread_prologue_and_epilogue_insns): Insert return insns instead
2082 of epilogues when possible.
2083 * jump.c (jump_optimize_1): Remove code to insert a return insn
2084 on the fallthru to the exit block.
2086 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
2087 and for non-empty stack frames.
2088 * i386.md (return): Expand to return-pop as needed.
2090 2000-02-06 Richard Henderson <rth@cygnus.com>
2092 * simplify-rtx.c (simplify_relational_operation): Canonicalize
2093 constant to op1 for testing.
2095 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2097 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
2098 (fixuns_truncqfqi2): Use it.
2100 2000-02-06 Richard Henderson <rth@cygnus.com>
2102 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
2105 * i386.md (widening and peepholes): Mask the constant instead of
2108 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
2110 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
2111 input pointer before possibly branching off to the backslash
2113 * cpphash.c (macroexpand): Correctly delete \r escapes when
2114 stringifying parameters.
2115 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
2116 if we can; bail out early if we hit a line comment.
2117 (handle_directive): Treat '# 123' in an .S file just like
2118 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
2119 Return 1 for '# not_a_directive'.
2120 (get_directive_token): Pop macro buffers here, so that
2121 cpp_get_token can't sneakily move past a newline.
2123 (cpp_get_token): goto randomchar if handle_directive returns 0.
2125 * cppalloc.c: Update copyright.
2126 * cpplib.c: Merge all the static function prototypes into one
2128 * cpplib.h: Remove #if 0 block.
2130 * cpperror.c: Remove #ifdef EMACS block.
2131 * cppmain.c: Likewise.
2132 * cpphash.c: Remove #if 0 blocks.
2133 * cppinit.c: Remove #if 0 blocks, and the -lint option.
2134 * cpplib.c: Remove #if 0 blocks and code referencing
2135 pcp_inside_if or for_lint. Remove duplicate error message.
2136 Fix error messages for #else after #else or #elif. Reformat.
2137 Remove archaic TODO list.
2138 * cpplib.h: Remove pcp_inside_if and for_lint flags.
2140 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
2142 * i386/osf1elf.h: Add missing backslash to multiline string.
2144 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2146 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
2148 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2150 * Makefile.in (c-common.o): Depend on $(EXPR_H).
2152 * c-common.c: Include expr.h.
2154 * c-pragma.c (mark_align_stack): Add prototype.
2156 * caller-save.c (add_stored_regs): Likewise.
2158 * combine.c (record_promoted_value): Likewise.
2160 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
2163 * cppinit.c (new_pending_define): Likewise.
2165 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
2167 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
2168 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
2169 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
2170 class_scope_p): Likewise.
2172 * dwarf2out.h (dwarf2out_set_demangle_name_func,
2173 dwarf2out_add_library_unit_info): Likewise.
2175 * ggc.h (ggc_page_print_statistics): Likewise.
2177 * haifa-sched.c (propagate_deps): Likewise.
2179 * reg-stack.c (next_flags_user, record_label_references): Likewise.
2181 * rtl.h (set_stack_check_libfunc): Likewise.
2183 * toplev.h (set_fatal_function): Likewise.
2185 * toplev.c (set_fatal_function): Delete prototype.
2187 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
2189 2000-02-05 Geoff Keating <geoffk@cygnus.com>
2191 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
2192 (FUNC_END): Likewise.
2194 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2196 * caller-save.c: Include tm_p.h.
2198 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2200 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
2202 2000-02-04 Neil Booth <NeilB@earthling.net>
2204 * cccp.c (main): Check 'dir' for a NULL pointer before passing
2207 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
2209 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
2210 * genflags.c: Use the max_operand_1 logic from genemit.c to
2211 calculate how many arguments gen_insn prototypes have. Remove
2212 NO_MD_PROTOTYPES ifdefs from the generated file.
2213 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
2214 file. Cast gen_insn initializers to insn_gen_fn.
2215 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
2216 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
2218 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2220 * fixinc/Makefile.in (HDR): Add machname.h.
2223 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2225 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
2226 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
2227 (c4x_cpu_version): Ditto.
2228 * config/c4x/c4x-protos.h: ... here.
2230 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
2232 * dwarf2out.c (add_abstract_origin_attribute): Don't call
2233 gen_abstract_function on our context if we're a nested function.
2235 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2237 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
2238 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
2240 2000-02-04 Bruce Korb <bkorb@gnu.org>
2242 * fixinc/genfixes(machname.h):
2243 Move the functionality from gen-machine.h into this file.
2244 UNdef MN_NAME_PAT if there are no names to change.
2245 Also, be a little kinder when AutoGen is not present.
2247 * fixinc/Makefile.in(machname.h):
2248 Change the generation rule to use genfixes.
2250 * fixinc/fixfixes.c(machine_name):
2251 machine_name_fix's functionality now dependent upon whether
2252 MN_NAME_PAT is defined.
2254 * fixinc/fixtests.c(machine_name):
2257 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
2260 * fixinc/fixlib.h(mn_get_regexps):
2263 * fixinc/gen-machine.h: DELETED
2265 2000-02-04 Jan Hubicka <jh@suse.cz>
2266 Richard Henderson <rth@cygnus.com>
2268 * i386.c (SAVE_REGS_FIRST): Remove.
2269 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
2270 (ix86_compute_frame_size): Likewise.
2271 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
2272 (ix86_emit_restore_regs): Remove.
2273 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
2274 when a frame pointer is in use.
2275 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
2276 instead of pop to restore a register when profitable; emit leave
2278 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
2280 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
2281 * i386.md (prologue_allocate_stack): Remove.
2282 (epilogue_deallocate_stack): Remove.
2283 (pro_epilogue_adjust_stack): New.
2285 2000-02-04 Richard Henderson <rth@cygnus.com>
2287 * function.c (diddle_return_value): Rework to use a callback function.
2288 Use current_function_return_rtx if it's been set up.
2289 (do_clobber_return_reg, clobber_return_register): New.
2290 (do_use_return_reg, use_return_register): New.
2291 (expand_function_end): Use them.
2292 * stmt.c (expand_null_return): Likewise.
2293 * function.h: Declare them.
2294 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
2295 (mark_reg): Change arguments as appropriate for callback.
2296 * integrate.c (expand_inline_function): Revert 19 Jan change.
2298 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
2300 * tm.texi (Values in Registers): Fix typo: "fo" "for".
2301 (Misc): Say the scheduler, not the Haifa scheduler.
2303 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
2305 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
2306 when in_mem is set. Update all callers.
2308 2000-02-04 Richard Henderson <rth@cygnus.com>
2310 * i386/openbsd.h (INT_ASM_OP): Define.
2312 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
2314 * tm.texi: Fix various typos.
2316 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
2318 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
2319 (MD_STARTFILE_PREFIX_1): New macro.
2321 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
2323 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
2324 destination when needed.
2325 (strmovsi, strsetsi): New expander.
2326 (strmovsi_1, strsetsi_1): New pattern.
2327 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
2328 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
2329 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
2330 * invoke.texi (align-stringops, inline-all-stringops): Document.
2332 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
2334 * i386/netbsd.h (INT_ASM_OP): Define.
2336 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
2338 * cpplib.h (cpp_reader): Add new flag, no_directives.
2339 * cpphash.c (macarg): Set it.
2340 * cpplib.c (handle_directive): If no_directives is on and we
2341 find a directive, issue an error and discard the line.
2343 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
2345 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
2346 FP constants. Add ! TARGET_FPU check for FP constants.
2348 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
2350 * flow.c (find_basic_blocks): Don't kill label_value_list
2352 (cleanup_cfg): Kill it here.
2354 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2356 * expr.c (store_field): Ensure ALIGN is no stricter than the
2359 2000-02-02 Richard Henderson <rth@cygnus.com>
2361 * jump.c (delete_insn): Partially revert 19 Jan change;
2362 don't convert unused code labels to notes at -O0.
2364 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2366 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
2367 split_all_insns to recreate REG_LABEL notes for flow2 pass.
2369 2000-02-01 Richard Henderson <rth@cygnus.com>
2371 * i386.c (general_no_elim_operand): New.
2372 (nonmemory_no_elim_operand): New.
2373 (ix86_expand_move): Copy eliminable operands before a push.
2374 * i386-protos.h: Declare new functions.
2375 * i386.h (CAN_ELIMINATE): Simplify.
2376 (PREDICATE_CODES): Update.
2377 * i386.md (push insns): Don't allow eliminable register operands.
2379 2000-02-01 Richard Henderson <rth@cygnus.com>
2381 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
2382 replace BLKmode with DECL_RTL's mode.
2384 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
2386 * frame.c (find_fde): Convert for loop to do-while so compiler
2387 sees it's always executed at least once.
2388 * libgcc2.c (BBINBUFSIZE): Kill.
2389 (__bb_init_prg): Use fgets.
2390 (__bb_exit_trace_func): Don't paste strings.
2391 * unroll.c (unroll_loop): Initialize unroll_type, not
2392 unroll_number, and tweak logic to match.
2394 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
2396 (ix86_flags_dependant): Likewise. Disentangle control flow.
2397 (ix86_sched_reorder): Break guts out to
2398 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
2399 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
2402 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
2403 use string concatenation. Don't save and restore esi.
2405 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
2406 (machname.h): Remove script to separate file. Use two-step
2407 sequence so target is not created if script fails.
2408 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
2409 identifiers are defined.
2410 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
2411 an empty string, machine_name doesn't need to do anything at
2413 (is_cxx_header): Add more cases to regexp.
2414 * fixinc/fixlib.h: Update prototype.
2415 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
2417 * fixinc/fixincl.c: Define NO_BOGOSITY.
2419 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
2420 (hp_sysfile): Add missing comma.
2421 (math_exception): Put the wrapper ifdefs at the beginning and
2422 the end of the file.
2423 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
2425 2000-02-01 Richard Henderson <rth@cygnus.com>
2427 * sparc.c (fp_zero_operand): Turn into a normal predicate.
2428 Use CONST0_RTX. Update all callers.
2429 * sparc.h, sparc-protos.h: Update accordingly.
2430 * sparc.md (fp mov insns): Use fp_zero_operand directly
2433 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
2435 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
2438 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2440 * Makefile.in (specs.ready): New target.
2441 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
2443 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2445 * fixinc.irix: Use unique filenames for writing into /tmp,
2446 * fixinc.ptx: Likewise.
2447 * fixinc.sco: Likewise.
2448 * fixinc.svr4: Likewise.
2449 * fixinc.winnt: Likewise.
2451 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2453 * tsystem.h: New file.
2455 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
2456 s-crtS): Depend on tsystem.h.
2458 * crtstuff.c: Include tsystem.h.
2459 * frame.c: Likewise.
2460 * libgcc2.c: Likewise.
2462 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
2464 * builtins.c (expand_builtin_memset): Expand for variable sized
2467 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
2469 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
2472 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
2474 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
2476 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
2478 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
2480 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
2481 case 3->2 combining (combining with splitting) in which 2 is CC0
2482 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
2483 checked at the begining of the function with the aid of calling
2484 function 'can_combine_p'.
2486 2000-01-31 Dave Brolley <brolley@redhat.com>
2488 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
2490 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
2492 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
2495 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2497 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
2499 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
2502 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
2504 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
2505 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
2506 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
2507 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
2508 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
2509 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
2510 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
2511 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
2512 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
2513 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
2515 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
2516 Add %(cpp_cpu) to CPP_SPEC.
2518 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
2519 Add %(cc1_cpu) to CC1_SPEC.
2521 2000-01-28 Ulrich Drepper <drepper@redhat.com>
2523 * c-decl.c (c_decode_option): Accept optional numeric argument to
2524 -Wformat and set warn_format.
2525 * c-common.c: Don't emit warning about non-constant printf format
2526 string unless warn_format > 1.
2528 2000-01-30 Richard Henderson <rth@cygnus.com>
2530 * alpha.md (return_internal): Allow after reload only.
2532 2000-01-30 Richard Henderson <rth@cygnus.com>
2534 * i386.c (ix86_compute_frame_size): Omit padding1 if the
2535 local frame size is zero.
2537 2000-01-30 Richard Henderson <rth@cygnus.com>
2539 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
2540 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
2541 * alpha.md (return): Turn into an expander.
2542 (return_internal): Don't use $26.
2543 (epilogue): Emit the return insn.
2545 2000-01-30 Richard Henderson <rth@cygnus.com>
2547 * alpha.md (negtf2, abstf2): Fix word order thinko.
2549 (trunctfsf2): Avoid intermediate rounding errors.
2551 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
2553 * cppfiles.c (find_position): Drop 'colp' argument, return the
2555 (read_and_prescan): Adjust to match. Don't ever manipulate
2556 line or line_base except via find_position.
2558 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
2560 * c-parse.in: Apply Ulrich's changes from c-parse.y.
2561 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
2564 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
2566 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
2567 just print "<command line>". If 'filename' is null or an
2568 empty string, print "<stdin>" for the filename.
2569 * cpplib.c (do_define): Don't print the 'location of the
2570 previous definition' message if we're still parsing the
2572 (cpp_pedwarn_with_file_and_line): Always call
2573 cpp_file_line_for_message.
2575 2000-01-29 Mark Mitchell <mark@codesourcery.com>
2577 * flow.c (mark_regs_live_at_end): Fix typo.
2579 2000-01-28 Ulrich Drepper <drepper@redhat.com>
2581 * c-common.c: Adjust variable names, comments, help strings to c99.
2582 * c-lex.c: Likewise.
2583 * c-parse.y: Likewise.
2584 * c-tree.h: Likewise.
2586 * cpplib.h: Likewise.
2587 * c-decl.c: Likewise. Recognize options with names "*99" as well.
2588 * cppinit.c: Likewise.
2590 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2592 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
2593 * c4x.c: Define the optab rtx values.
2594 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
2595 (c4x_emit_libcall): Use new optab rtx values.
2596 (c4x_emit_libcall3): Likewise.
2597 (c4x_emit_libcall_mulhi): Likewise.
2598 * c4x-protos.h: Add prototypes for optab rtx values and change
2599 prototypes for above c4x_emit_libcall functions.
2601 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2603 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
2605 (c4x_function_prologue): Use regnames intead of float_reg_names when
2607 (c4x_function_epilogue): Likewise.
2608 (c4x_print_operand): Likewise.
2609 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
2610 * c4x.md (set_high): Disable for TARGET_TI.
2612 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2614 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
2615 of framepointer + constant to ADDR_REGS class.
2616 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
2617 * c4x.c (std_or_reg_operand): New function.
2618 * c4x-protos.h (std_or_reg_operand): Prototype it.
2620 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2622 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
2623 object names as libgcc2.c.
2624 * libgcc.S: Use newly defined names.
2626 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
2627 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
2629 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
2630 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
2631 (FLOW_LOOP_LAST_BLOCK): Likewise.
2633 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2635 * basic-block.h (struct loop): New fields 'first' and 'last'.
2636 * flow.c (flow_loops_find): Compute loop->first and loop->last.
2637 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
2638 and loop->last to check for NOTE_INSN_LOOP_END.
2640 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
2642 * predict.c (estimate_probability): Use the new FIRST and LAST fields
2643 of the loop descriptor rather than HEADER and LATCH. Also added
2644 missing break statements as well making some coding style modifications
2645 as suggested by Michael Hayes.
2647 2000-01-28 Richard Henderson <rth@cygnus.com>
2649 * flow.c (find_basic_blocks): Remove do_cleanup argument.
2650 Break out that code ...
2651 (cleanup_cfg): ... here.
2652 (commit_one_edge_insertion): Detect a return instruction being
2653 emitted to an edge. Emit a barrier following; clear fallthru.
2654 (commit_edge_insertions): Verify CFG consistency.
2655 * function.c (expand_function_start): Kill unused variable.
2656 (expand_function_end): Likewise.
2657 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
2658 to insert the epilogue.
2660 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
2661 (delete_null_pointer_checks): Likewise.
2662 * output.h: Likewise.
2663 * reg-stack.c (reg_to_stack): Likewise.
2664 * toplev.c (rest_of_compilation): Likewise. Run
2665 thread_prologue_and_epilogue_insns after rebuilding the CFG.
2667 2000-01-28 Richard Henderson <rth@cygnus.com>
2669 * Makefile.in (flow.o): Revert 24 Jan change.
2670 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
2671 FUNCTION_VALUE result to DECL_RESULT's mode.
2673 * haifa-sched.c (schedule_insns): Don't recompute reg info
2676 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
2678 * configure.in: Make --enable-cpplib the default.
2679 * configure: Regenerate.
2680 * gcc.dg/990119-1.c: No longer expected to fail.
2682 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
2684 * jump.c (jump_optimize_1): Delete an optimization that is also done
2685 by merge_blocks in flow.
2687 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2689 * diagnostic.c (build_message_string, output_printf,
2690 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
2691 (build_location_prefix): Fix non-literal format string.
2693 2000-01-27 Richard Henderson <rth@cygnus.com>
2695 * alpha.md (trunctfsf2): New.
2697 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
2699 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
2701 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
2703 * cppinit.c (cpp_handle_option): Recognize C++ comments under
2705 * cpplib.c (skip_block_comment, skip_line_comment): Split code
2707 (skip_comment) ... here. Permit C++ comments in system
2708 headers always. Warn about C++ comments in user code under
2709 -std=gnu89 -pedantic.
2710 (copy_comment): Use skip_comment.
2711 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
2713 (consider_directive_while_skipping, do_else, do_endif): Call
2714 validate_else unconditionally.
2715 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
2716 text after the conditional in a system header.
2717 * cpplib.h (struct cpp_buffer): Add flag
2718 warned_cplusplus_comments.
2720 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
2722 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
2723 Use unshare_all_rtl_1.
2724 (unshare_all_rtl_again): New function.
2725 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
2727 * function.c (purge_addressof_1): Use unshare_all_rtl_again
2728 rather than resetting the 'used' flags ourself.
2730 * toplev.c (rest_of_compilation): Add current_function_decl
2731 to the unshare_all_rtl call.
2732 * tree.h: Prototype unshare_all_rtl.
2733 * rtl.h: Prototype unshare_all_rtl_again here.
2735 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
2737 * genoutput.c (output_prologue): Include ggc.h in generated
2739 * Makefile.in (insn-output.o): Depends on ggc.h.
2741 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
2742 Hans-Peter Nilsson <hp@bitrange.com>
2744 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
2745 Remove redundant include of xm-ns32k.h.
2746 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
2747 Remove redundant include of xm-ns32k.h.
2748 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
2749 Remove redundant include of xm-ns32k.h.
2750 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
2752 * ns32k/ns32k.h: Update comment on multiply-add instructions.
2753 (TARGET_SWITCHES): Add documentation strings.
2754 (DWARF_FRAME_REGNUM): Override default definition.
2755 (REG_CLASS_CONTENTS): Add comments.
2756 (SUBSET_P): Format to reduce line length.
2757 (SMALL_REGISTER_CLASSES): Make a run time option.
2758 (GO_IF_NONINDEXED_ADDRESS): Reformat.
2759 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
2760 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
2761 (regclass_map): fix typo in comment.
2762 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
2763 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
2764 (trace, reg_or_mem_operand): Delete, unused function.
2765 (calc_address_cost): Small offsets are cheaper than large ones.
2766 (expand_block_move): Generate more efficient code when bytes is a
2767 known at compile time.
2768 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
2769 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
2770 instead of reg_or_mem_operand.
2772 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
2773 not general_operand. Similarly use "=rm" or stricter, not "=g".
2774 For input operands, use stricter constraints than "g" if not
2775 general_operand. Similarly use stricter predicate than
2776 "general_operand" when stricter constraints than "g" are present,
2777 except for matching constraints.
2778 (movstrsi): Use "memory_operand" for operands 0 and 1.
2779 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
2780 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
2781 not reg_or_mem_operand.
2782 (udivmoddisi4): Ditto.
2783 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
2784 Use nonimmediate_operand for operand 3, not register_operand.
2785 (udivmoddiqi4_internal): Use register_operand for operand 1, not
2788 2000-01-27 Fred Fish <fnf@be.com>
2790 * gthr-posix.h: Fix typo; compatibily -> compatibility.
2791 * gthr-single.h: Likewise.
2792 * gthr-solaris.h: Likewise.
2793 * gthr-vxworks.h: Likewise.
2794 * gthr-win32.h: Likewise.
2797 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
2799 * cppinit.c: Add " (cpplib)" to end of string printed by
2802 2000-01-27 Richard Henderson <rth@cygnus.com>
2804 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
2805 testing for a signed comparison.
2806 (alpha_emit_floatuns): New.
2807 * alpha-protos.h: Declare it.
2808 * alpha.md (floatunsdisf2, floatunsdidf2): New.
2809 (extendsfdf2): Tidy.
2811 2000-01-27 Jakub Jelinek <jakub@redhat.com>
2813 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
2814 no -g option specifying debugging format, default to -gstabs+.
2816 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2818 * calls.c (special_function_p): New argument fork_or_exec.
2819 (expand_call): When profile_arc_flag is set and the function
2820 is in the fork_or_exec group, call __bb_fork_func first.
2821 * libgcc2.c, _bb module (__bb_fork_func): New function.
2822 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
2824 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
2825 * tree.h (special_function_p): Update prototype.
2827 2000-01-26 Richard Henderson <rth@cygnus.com>
2829 * alpha.c (alpha_split_tfmode_pair): New.
2830 * alpha-protos.h: Declare it.
2831 * alpha.md (abstf2, negtf2): New.
2832 (movtf insn): Add input G constraint.
2833 (movtf splitter): Use alpha_split_tfmode_pair.
2835 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2837 * i386/cygwin.h: PROTO -> PARAMS.
2839 2000-01-26 Jakub Jelinek <jakub@redhat.com>
2841 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
2842 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
2843 using _Qp_cmp/_Q_cmp and testing the return value.
2844 (print_operand): Call reverse_condition_maybe_unordered if
2845 we are handling CCFPmode or CCFPEmode.
2846 Handle ORDERED, UN* and LTGT comparisons.
2847 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
2848 if not TARGET_HARD_QUAD.
2849 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
2850 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
2851 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
2852 Adjust gen_b* calls so that they reflect return comparison of
2853 sparc_emit_float_lib_cmp.
2855 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2857 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
2858 incoming operands array is large enough for one more operand.
2859 (alpha_emit_xfloating_arith): Likewise.
2861 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
2863 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
2864 file with one line and no trailing newline.
2865 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
2866 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
2867 checking if the match is on the line.
2868 * fixinc/gnu-regex.c: Provide regerror not __regerror.
2870 2000-01-25 Richard Henderson <rth@cygnus.com>
2872 * sparc.c (output_cbranch): Fix accidental squashing of the
2873 fp branch pre-delay nop.
2875 2000-01-25 Richard Henderson <rth@cygnus.com>
2877 * tree.def (UNNE_EXPR): Remove.
2878 * c-typeck.c (build_binary_op): Don't handle it.
2879 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
2881 * rtl.def (UNNE): Remove.
2883 * jump.c (reverse_condition): Update accordingly.
2884 (swap_condition): Likewise.
2885 (comparison_dominates_p): Handle unordered comparisons.
2886 (reverse_condition_maybe_unordered): New.
2887 * rtl.h (reverse_condition_maybe_unordered): Declare.
2889 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
2890 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
2891 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
2892 * sparc.md (bltgt): New.
2894 2000-01-25 Nick Clifton <nickc@redhat.com>
2896 * emit-rtl.c (emit_insn): Only check machine class insns for
2897 improper emission of a RETURN.
2899 2000-01-25 Richard Henderson <rth@cygnus.com>
2901 * Makefile.in (flow.o): Depend on $(EXPR_H).
2902 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
2903 duplicate the structure of diddle_return_value for keeping regs live.
2905 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2907 * loop.c (current_loop_info): Delete.
2908 (consec_sets_invariant_p): Add loop argument, update callers.
2909 (get_condition_for_loop): Likewise.
2910 (count_nonfixed_reads, update_giv_derive): Likewise.
2911 (simplify_giv_expr, general_induction_var): Likewise.
2912 (consec_sets_giv, recombine_givs): Likewise.
2913 (move_movables): Delete loop_start and loop_end arguments,
2914 add loop argument, and update callers.
2915 (find_mem_givs, check_final_value): Likewise.
2916 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
2917 (loop_invariant_p): Rename from invariant_p, add loop argument, and
2919 (basic_induction_var): Add loop argument, delete loop_level argument,
2921 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
2922 add loop argument, and update callers.
2923 (find_splittable_regs, find_splittable_givs): Likewise.
2924 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
2925 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
2926 (biv_total_increment): Delete loop_start and loop_end arguments;
2928 (precondition_loop_p): Delete loop_start and loop_info arguments;
2930 * loop.h (get_condition_for_loop): Add loop argument.
2931 (biv_total_increment): Delete loop_start and loop_end arguments.
2932 (precondition_loop_p): Delete loop_start and loop_info arguments;
2934 (final_biv_value): Delete loop_start and loop_end arguments;
2936 (final_giv_value, back_branch_in_range_p): Likewise.
2938 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
2940 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
2942 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
2944 * Makefile.in (c-gperf.h) : Change the "See" pointer to
2945 point to the new "generated_files" doc.
2947 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
2949 * config/fp-bit.c (_unord_f2): Fix typo.
2951 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
2953 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
2954 c-typeck.c, objc/objc-act.c: Remove all references to obstack
2955 functions obsoleted by GC, such as push_obstacks_nochange,
2956 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
2957 and code which existed only to decide whether or not to call
2958 them. Remove now-unused NESTED argument from start_function;
2959 all callers changed. Do not change behavior based on ggc_p.
2960 The use of the ixp_obstack in c-iterate.c and the util_obstack
2961 in objc/objc-act.c remain; these are not obsoleted by garbage
2963 * c-tree.h: Update prototype for start_function.
2965 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
2967 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
2969 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
2972 2000-01-25 Richard Henderson <rth@cygnus.com>
2974 * sparc-protos.h (select_cc_mode): Declare.
2975 * sparc.c (select_cc_mode): New. Handle unordered compares.
2976 (output_cbranch): Always reverse via code change. Handle
2977 unordered compares. Factor tests and string updates.
2978 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
2979 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
2980 * sparc.md (bunordered, bordered): New.
2981 (bungt, bunlt, buneq, bunge, bunle): New.
2983 2000-01-25 Richard Henderson <rth@cygnus.com>
2985 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
2986 * ggc-common.c (ggc_add_rtx_varray_root): New.
2987 (ggc_mark_rtx_varray): New.
2988 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
2989 functions down below ggc_mark_foo.
2990 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
2992 2000-01-25 Richard Henderson <rth@cygnus.com>
2994 * alpha.c (secondary_reload_class): Don't allocate a secondary
2995 for integral mode memories into FLOAT_REGS. Rearrange the more
2996 complicated memory expression inward.
2998 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
3000 * inclhack.def: Fixes to play nicer with FreeBSD, and
3001 corrections to comments.
3002 (cxx_unready): Add select expression.
3003 (irix_sockaddr): Add bypass expression.
3004 (machine_ansi_h_va_list): New fix.
3005 (stdio_va_list): No need to edit _BSD_VA_LIST_.
3006 Split out addition of "#include <stdarg.h>" to...
3007 (stdio_stdarg_h): ... here.
3008 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
3009 to stdlib.h also. Do not munge _BSD_SIZE_T_.
3010 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
3012 (ultrix_ifdef): Tighten up select expression.
3014 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
3015 re_ct and max_mach to avoid use of shell. Make printed names
3016 match names in inclhack.def. Use static copyright date.
3017 Don't count c_test and test expressions as requiring regex_t
3018 slots. Add some commentary.
3019 * inclhack.tpl: Do not include the 'This script contains N
3020 fixup scripts' line if PROGRAM is defined. Use static
3023 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
3025 * dwarf2out.c: include "varray.h", not dyn-string.h.
3026 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
3027 (addr_const_to_string, addr_to_string): Lose.
3028 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
3029 (struct dw_val_struct): val_addr is now an rtx.
3030 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
3031 (used_rtx_varray): New varray.
3032 (dwarf2out_init): Initialize it.
3034 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
3036 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
3037 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
3038 * Makefile.in (dwarf2out.o): Update dependencies.
3040 2000-01-24 Richard Henderson <rth@cygnus.com>
3042 * i386.c (i386_dwarf_output_addr_const): New.
3043 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
3045 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
3047 * dwarfout.c (output_mem_loc_descriptor): Likewise.
3048 * i386.c (i386_simplify_dwarf_addr): New.
3049 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
3051 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
3053 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
3054 TYPE_STUB_DECL is NULL.
3056 2000-01-24 Richard Henderson <rth@cygnus.com>
3058 * builtins.c (expand_tree_builtin): Move ...
3059 * c-common.c (expand_tree_builtin): ... here.
3061 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3063 * loop.h (LOOP_INFO): New accessor macro.
3064 * basic-block.h (struct loop): Rename field `info' to `aux'.
3065 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
3066 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
3067 * unroll.c (loop_iterations, unroll_loop): Likewise.
3069 2000-01-24 Christopher Faylor <cgf@cygnus.com>
3071 * config/i386/t-cygwin: Accomodate new winsup directory layout
3072 when searching for include files.
3074 2000-01-24 Richard Henderson <rth@cygnus.com>
3076 * rtl.def: Add unordered fp comparisions.
3077 * tree.def: Likewise.
3078 * tree.h: Add ISO C 9x unordered fp comparision builtins.
3080 * builtins.c (expand_tree_builtin): New function.
3081 * c-typeck.c (build_function_call): Use it.
3082 (build_binary_op): Support unordered compares.
3083 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
3085 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
3086 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
3087 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
3088 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
3089 * jump.c (reverse_condition): Don't abort for UNLE etc, but
3091 (swap_condition): Handle unordered compares.
3092 (thread_jumps): Check can_reverse before reversing.
3093 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
3096 * optabs.c (can_compare_p): New argument CODE. Verify branch or
3097 setcc is present before acking for cmp_optab. Update all callers.
3098 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
3099 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
3100 * expr.c (expand_expr): Likewise. Support unordered compares.
3101 (do_jump, do_store_flag): Likewise.
3102 * expr.h (enum libfunc_index): Add unordered compares.
3104 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
3105 (DPBIT_FUNCS): Add _unord_df.
3106 * config/fp-bit.c (_unord_f2): New.
3107 * fp-test.c (main): Try unordered compare builtins.
3109 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
3110 * alpha.c (alpha_comparison_operator): Check mode properly.
3111 (alpha_swapped_comparison_operator): Likewise.
3112 (signed_comparison_operator): Likewise.
3113 (alpha_fp_comparison_operator): New.
3114 (alpha_emit_conditional_branch): Handle unordered compares.
3115 * alpha.h (PREDICATE_CODES): Update.
3116 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
3117 (bunordered, bordered): New.
3119 2000-01-24 Richard Henderson <rth@cygnus.com>
3121 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
3122 * alpha.md (movtf): New expander, insn, and splitter.
3124 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
3126 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
3129 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
3131 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
3132 (FIXED_REGISTERS, CALL_USED_REGISTERS,
3133 REG_ALLOC_ORDER): Add frame pointer
3134 (FRAME_POINTER_REGNUM): Set to 20
3135 (HARD_FRAME_POINTER_REGNUM): New macro.
3136 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
3137 to HARD_FRAME_POINTER.
3138 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
3139 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
3140 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
3141 (HI_REGISTER_NAMES): Add "frame".
3142 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
3143 (debug_reg): Handle FRAME_POINTER_REGNUM.
3144 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
3145 GENERAL_REGS and INDEX_REGS.
3146 * i386.c (SAVED_REGS_FIRST): new macro.
3147 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
3148 (ix86_decompose_address, memory_address_length): Likewise.
3149 (regclass_map): Add frame pointer.
3150 (call_insn_operand): Handle frame_pointer_rtx.
3151 (reg_no_sp_operand): Likewise.
3152 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
3153 (print_operand, legitimize_pic_address): Fix formating.
3154 (ix86_compute_frame_size): Make static, update prototype, new
3155 parameters padding1, padding2, use ix86_nsaved_regs, use
3156 stack_alignment_needed.
3157 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
3158 to HARD_FRAME_POINTER_REGNUM conversions.
3159 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
3160 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
3161 (print_reg): Abort on FRAME_POINTER_REGNUM
3163 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
3165 * i386.h (PREDICATE_CODES): Add aligned_operand.
3166 * i386.c (aligned_operand): New function.
3167 (ix86_aligned_p): Kill.
3168 * i386.md (movhi_1): Emit mov for aligned operands.
3169 (promoting peep2s): Use aligned_operand.
3171 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
3173 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
3174 expression to allow underscores in macro names.
3175 (fix_char_macro_defines): Increment scanning pointer.
3177 2000-01-23 Richard Henderson <rth@cygnus.com>
3179 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
3180 * alpha/osf5.h: New file.
3181 * configure.in (alpha-*-osf5): Add it to tm_file.
3183 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
3185 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
3186 (alpha_emit_xfloating_cvt, function_arg): Declare.
3187 * alpha.c (alpha_emit_conditional_branch): Call
3188 alpha_emit_xfloating_compare for TFmode compares.
3189 (alpha_lookup_xfloating_lib_func): New.
3190 (alpha_compute_xfloating_mode_arg): New.
3191 (alpha_emit_xfloating_libcall): New.
3192 (alpha_emit_xfloating_arith): New.
3193 (alpha_emit_xfloating_compare): New.
3194 (alpha_emit_xfloating_cvt): New.
3195 (print_operand): Add default abort case.
3196 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
3197 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
3198 (BIGGEST_ALIGNMENT): Increase to 128 bits.
3199 (RETURN_IN_MEMORY): True for TF/TCmode.
3200 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
3201 (FUNCTION_ARG): Move to function_arg.
3202 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
3203 (ASM_OUTPUT_LONG_DOUBLE): New.
3204 (ASM_OUTPUT_DOUBLE): Always output bits.
3205 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
3206 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
3207 (extenddftf2, trunctfdf2): New.
3209 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3211 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
3212 * config/sparc/sol2.h: ... here.
3214 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3216 * basic-block.h (struct loops): New field `levels'.
3217 * flow.c (flow_loops_level_compute): Traverse all outer loops.
3218 (flow_loop_level_compute): Initialise level to 1.
3219 (flow_loops_find): Set loops->levels.
3220 (flow_loops_dump): Print loops->levels.
3222 2000-01-23 Richard Henderson <rth@cygnus.com>
3224 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
3225 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
3227 2000-01-23 Richard Henderson <rth@cygnus.com>
3229 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
3230 * i386.h (DBX_REGISTER_NUMBER): Use them.
3231 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
3232 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
3233 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
3234 * i386/sequent.h: Kill incorrect comment.
3236 2000-01-23 Mark Mitchell <mark@codesourcery.com>
3238 * ggc-page.c (struct page_entry): Make `context_depth' an
3240 (struct globals): Likewise.
3242 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
3244 * loop.c (check_dbra_loop): When checking a loop for
3245 reversability, check the source of any stores to ensure
3246 they don't depend on an initial value.
3248 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3250 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
3252 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
3254 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
3255 'pz_scan' into scope of entire function. Only affects
3256 compiles with -DDEBUG.
3258 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
3260 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
3261 section naming to that prior to 2000-01-07 patch.
3262 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
3263 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
3264 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
3265 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
3266 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
3268 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
3270 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
3273 2000-01-21 Jim Wilson <wilson@cygnus.com>
3275 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
3276 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
3278 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
3280 * cpphash.c (change_newlines): Delete function.
3281 (struct argdata): Delete 'newlines' and 'use_count' fields.
3282 (macroexpand): Remove code referencing those fields.
3284 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3286 * loop.c (loops_info): New variable.
3287 (loop_optimize): Allocate loops->array and free it on exit.
3288 Allocate memory for loops_info and assign to each loop,
3290 (find_and_verify_loops): Do not allocate loops->array.
3292 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
3294 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
3296 2000-01-21 Jakub Jelinek <jakub@redhat.com>
3298 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
3299 pseudos if expanded after first flow.
3300 (movdi_pic_label_ref): Likewise.
3302 2000-01-20 Richard Henderson <rth@cygnus.com>
3304 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
3306 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
3308 * Makefile.in (fixinc.sh): Depend on specs.
3309 * fixinc/Makefile.in: Add rule to create machname.h.
3310 (fixlib.o): Depend on machname.h.
3311 * fixinc/fixtests.c (machine_name): New test.
3312 * fixinc/fixfixes.c (machine_name): New fix.
3313 * fixinc/fixlib.c (mn_get_regexps): New helper function for
3314 the machine_name test and fix.
3315 * fixinc/fixlib.h: Prototype it.
3316 * fixinc/inclhack.def (machine_name): Use the C test and fix.
3317 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
3319 * gcc.c (do_spec_1) [case P]: Take care not to create
3320 identifiers with three leading or trailing underscores.
3322 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
3323 (fixincl): Don't specify libraries twice on link line.
3324 (gnu-regex.o): Remove special rule.
3325 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
3326 defined by config.h. Do not define _REGEX_RE_COMP.
3327 (regcomp): Allocate and initialize a fastmap.
3328 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
3330 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
3332 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
3334 2000-01-19 Richard Henderson <rth@cygnus.com>
3336 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
3337 arguments with BB. Update all callers. Tidy line wrapping.
3339 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
3341 * emit-rtl.c (try_split): Return last_insn if we split the
3344 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
3346 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
3347 (ix86_initial_elimination_offset): Declare.
3348 * i386.c (ix86_nsaved_regs): Break out from ...
3349 (ix86_can_use_return_insn_p): ... here.
3350 (ix86_emit_save_regs): Break out from ...
3351 (ix86_expand_prologue): ... here.
3352 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
3354 (ix86_expand_epilogue): ... here.
3355 (ix86_compute_frame_size): Make static, add prototype.
3356 (ix86_initial_elimination_offset): Break out from ...
3357 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
3359 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3361 * recog.h (OUT_FCN): Delete.
3363 * vax.md: Call `get_insn_template' instead of OUT_FCN.
3365 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3367 * cppalloc.c: PROTO -> PARAMS.
3368 * cpperror.c: Likewise.
3369 * cppfiles.c: Likewise.
3370 * cpplib.c: Likewise.
3371 * cpplib.h: Likewise.
3373 * config/arm/arm-protos.h: PROTO -> PARAMS.
3374 * config/arm/arm.c: Likewise.
3375 * config/c4x/c4x.c: Likewise.
3376 * config/fr30/fr30-protos.h: Likewise.
3377 * config/nextstep.c: Likewise.
3378 * config/pa/pa.c: Likewise.
3379 * config/pj/pj.c: Likewise.
3380 * config/rs6000/rs6000.c: Likewise.
3381 * config/v850/v850-protos.h: Likewise.
3382 * config/v850/v850.c: Likewise.
3384 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3386 * i370-protos.h: New file.
3388 * i370.c: Include tm_p.h. Fix compile time warnings.
3390 * i370.h: Move prototypes to i370-protos.h. Fix compile time
3393 * i370.md: Likewise.
3395 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3397 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
3398 (target_isinf, target_isnan, eisnan): Mark parameter with
3400 (eiisinf): Wrap in INFINITY.
3401 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
3402 (ibmtoe): Remove unused variable `rndsav'.
3404 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3406 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
3407 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
3409 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
3411 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
3412 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
3413 (fix_char_macro_defines, fix_char_macro_uses): New functions.
3415 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
3416 Recognize Emacs mode markers also.
3417 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
3418 C++ comments in C++ headers. Call is_cxx_header only if
3421 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
3423 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
3424 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
3425 ... these, which use the new C fixes.
3426 (math_exception): Escape literal '+' in bypass expression.
3428 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
3431 2000-01-19 Geoff Keating <geoffk@cygnus.com>
3433 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
3436 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3438 * loop.c (loop_optimize): Allocate loop_info structure for each loop
3439 prior to calling scan_loop.
3441 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3443 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
3444 (split_branches, calc_live_regs): Likewise.
3446 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3448 * sh.md (fpu_single, fp_mode): New attributes.
3450 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3452 * loop.c (current_loop_info): Renamed from loop_info_data
3453 and changed to a pointer.
3454 (loop_optimize): Allocate loop_info structure for each loop
3455 and initialise to zero.
3456 (scan_loop): Set current_loop_info.
3458 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
3461 2000-01-19 Richard Henderson <rth@cygnus.com>
3463 * stupid.c: Die die die.
3464 * Makefile.in (OBJS): Remove stupid.o.
3465 (stupid.o): Likewise.
3467 * except.c (emit_eh_context): Don't emit USEs for stupid.
3468 * explow.c (probe_stack_range): Likewise.
3469 * flags.h (obey_regdecls): Remove.
3470 * flow.c (find_basic_blocks): Don't run try_merge_blocks
3471 when not optimizing.
3472 (life_analysis): Limit data collection when not optimizing.
3473 (mark_regs_live_at_end): Always mark the return value registers.
3474 (mark_used_regs): Remove dummy RETURN case.
3475 (print_rtl_with_bb): Don't consult obey_regdecls.
3476 * function.c (use_variable, use_variable_after): Remove.
3477 (assign_parms): Consult optimize not obey_regdecls.
3478 (expand_function_start): Don't emit USEs for stupid.
3479 (expand_function_end): Likewise.
3480 * global.c (build_insn_chain): Export.
3481 * integrate.c (expand_inline_function): Kill return-value USE
3483 * jump.c (jump_optimize_1): Do simple jump optimizations and
3484 dead code elimination.
3485 (calculate_can_reach_end): Remove check_deleted argument.
3486 (delete_insn): Patch out insns even when not optimizing.
3487 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
3488 * rtl.h (use_variable, use_variable_after): Remove declarations.
3489 (build_insn_chain): Declare.
3490 * stmt.c (expand_value_return): Don't emit USEs for stupid.
3491 (expand_end_bindings): Likewise.
3492 (expand_decl): Likewise. Consult optimize not obey_regdecls.
3493 * toplev.c (obey_regdecls): Remove.
3494 (rest_of_compilation): Don't set it. Kill stupid in favour of
3495 flow1, local-alloc, and reload.
3496 (main): Don't set obey_regdecls.
3498 * config/nextstep.c (handle_pragma): Likewise.
3500 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
3502 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
3504 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3506 * alpha-protos.h: PROTO -> PARAMS.
3507 * alpha.c: Likewise.
3509 * h8300.c: Likewise.
3510 * i386-protos.h: Likewise.
3512 * m32r-protos.h: Likewise.
3515 * mips.md: Likewise.
3516 * gmon-sol2.c: Likewise.
3517 * sparc.c: Likewise.
3519 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3521 * ns32k-protos.h: New file.
3523 * ns32k.c: Fix compile time warnings.
3525 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
3528 * ns32k.md: Likewise.
3530 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3532 * vax-protos.h: New file.
3534 * vax.c: Fix compile time warnings.
3536 * vax.h: Move prototypes to vax-protos.h. Fix compile time
3541 * vaxv.md: Likewise.
3543 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3545 * romp-protos.h: New file.
3547 * romp.c: Fix compile time warnings.
3549 * romp.h: Move prototypes to romp-protos.h. Fix compile time
3552 * romp.md: Likewise.
3554 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3556 * we32k-protos.h: New file.
3558 * we32k.c: Fix compile time warnings.
3560 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
3563 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3565 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
3567 * except.c (eh_regs): Likewise.
3569 * final.c (output_operand): Likewise.
3571 * fold-const.c (target_isinf, target_isnan): Likewise.
3573 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3575 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
3576 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
3578 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
3580 (clrstrsi): Rewrite.
3581 (strsethi, strsetqi): New expanders.
3582 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
3583 (cmpstrsi): Emit compare insn before cmpstrsi_1
3584 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
3585 (strlensi_1): Likewise.
3586 (cmpstrsi_1): Likewise; do not output compare.
3587 (strlen expander): Do not unroll when optimizing for size.
3588 (*subsi3_carry): Rename to subsi3_carry
3589 (addqi3_cc): New pattern.
3590 * i386.h (processor_costs): Add move_ratio field.
3591 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
3592 * i386.c (*_cost): Set move_ratio.
3593 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
3594 (x86_expand_strlensi_1): Rewrite the main loop.
3596 2000-01-17 Richard Henderson <rth@cygnus.com>
3598 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
3599 * cse.c (find_comparison_args, fold_rtx): Likewise.
3600 * integrate.c (subst_constants): Likewise.
3601 * loop.c (get_condition): Likewise.
3603 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
3605 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
3607 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3609 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
3610 (RESTORE_WARN_FLAGS): Unpack it.
3611 Change semantic type of extension to ttype.
3612 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
3613 * c-parse.y, c-parse.c, objc/objc-parse.y,
3614 objc/objc-parse.c: Regenerate.
3616 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
3618 * fixinc/fixlib.c: Add copyright notice.
3619 (compile_re): New function.
3620 * fixinc/fixlib.h: Prototype compile_re.
3622 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
3623 Use compile_re to compile regular expressions.
3625 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
3626 where the pattern matched.
3628 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
3630 (ultrix_ansi_compat): Likewise.
3631 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
3633 (interactv_add2, interactv_add3): Delete.
3634 (x11_sprintf): Don't use filename glob.
3635 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
3638 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3640 * print-rtl.c: PROTO -> PARAMS.
3642 * reg-stack.c: Likewise.
3643 * resource.c: Likewise.
3644 * sdbout.h: Likewise.
3645 * simplify-rtx.c: Likewise.
3646 * stor-layout.c: Likewise.
3647 * stupid.c: Likewise.
3648 * xcoffout.c: Likewise.
3649 * xcoffout.h: Likewise.
3651 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3653 * toplev.c: PROTO -> PARAMS.
3654 * toplev.h: Likewise.
3657 * unroll.c: Likewise.
3658 * varasm.c: Likewise.
3659 * varray.c: Likewise.
3660 * varray.h: Likewise.
3662 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3664 * reload.c: PROTO -> PARAMS.
3665 * reload.h: Likewise.
3666 * reload1.c: Likewise.
3667 * reorg.c: Likewise.
3668 * resource.h: Likewise.
3671 * rtlanal.c: Likewise.
3672 * sbitmap.h: Likewise.
3673 * sdbout.c: Likewise.
3674 * stack.h: Likewise.
3676 * system.h: Likewise.
3678 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3680 * machmode.h: PROTO -> PARAMS.
3681 * mbchar.h: Likewise.
3682 * mips-tdump.c: Likewise.
3683 * mips-tfile.c: Likewise.
3684 * optabs.c: Likewise.
3685 * output.h: Likewise.
3686 * prefix.c: Likewise.
3687 * profile.c: Likewise.
3688 * protoize.c: Likewise.
3690 * recog.c: Likewise.
3691 * recog.h: Likewise.
3692 * regclass.c: Likewise.
3693 * regmove.c: Likewise.
3696 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3698 * ggc-common.c: PROTO -> PARAMS.
3699 * ggc-page.c: Likewise.
3700 * ggc-simple.c: Likewise.
3702 * global.c: Likewise.
3703 * graph.c: Likewise.
3704 * gthr-win32.h: Likewise.
3705 * haifa-sched.c: Likewise.
3706 * halfpic.h: Likewise.
3707 * integrate.c: Likewise.
3708 * integrate.h: Likewise.
3711 * local-alloc.c: Likewise.
3715 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3717 * genattr.c: PROTO -> PARAMS.
3718 * genattrtab.c: Likewise.
3719 * gencheck.c: Likewise.
3720 * gencodes.c: Likewise.
3721 * genconfig.c: Likewise.
3722 * genemit.c: Likewise.
3723 * genextract.c: Likewise.
3724 * genflags.c: Likewise.
3725 * gengenrtl.c: Likewise.
3726 * genopinit.c: Likewise.
3727 * genoutput.c: Likewise.
3728 * genpeep.c: Likewise.
3729 * genrecog.c: Likewise.
3731 2000-01-16 Mark Mitchell <mark@codesourcery.com>
3733 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
3735 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3737 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
3738 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
3739 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
3740 * configure, config.in: Rebuilt.
3742 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
3744 * config/i386/i386.md: Add peephole to merge successive stack
3747 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
3749 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
3750 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
3751 when walking backwards to find all the parameter loads when
3752 the basic block ends in a call.
3754 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3756 * loop.c (this_loop_info): Delete.
3757 (uid_loop): Add in place of uid_loop_num. All uses updated.
3758 (loop_number_exit_count): Delete and replace with entry in loop
3759 structure. All uses updated.
3760 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
3761 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
3762 (loop_outer_loop): Likewise.
3763 (loop_invalid, loop_number_exit_labels): Likewise.
3764 (loop_used_count_register): Delete and replace with entry in
3765 loop_info structure.
3766 (find_and_verify_loops): Add loops argument.
3767 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
3768 loop_end, etc. arguments with loop structure pointer. All callers
3770 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
3771 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
3772 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
3773 (insert_bct): Likewise.
3774 (basic_induction_var): New argument level.
3775 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
3776 vtop, and cont. Add used_count_register.
3777 (uid_loop): Delete declaration.
3778 (loop_number_exit_count): Likewise.
3779 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
3780 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
3781 (loop_outer_loop, loop_used_count_register): Likewise.
3782 (loop_invalid, loop_number_exit_labels): Likewise.
3783 (unroll_loop): Replace loop_start and loop_end arguments
3784 with loop structure pointer.
3785 (loop_precondition_p, loop_iterations): Likewise.
3786 Include basic-block.h.
3787 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
3788 with loop structure pointer.
3789 (loop_precondition_p, loop_iterations): Likewise.
3790 * basic-block.h (struct loop): New entries vtop, cont,
3791 cont_dominator, start, end, top, scan_start, exit_labels,
3793 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
3795 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3797 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
3799 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
3801 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
3803 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3805 * pdp11-protos.h: New file.
3807 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
3810 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
3813 * pdp11.md: Likewise.
3817 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3819 * mn10300-protos.h: New file.
3821 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
3824 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
3827 * mn10300.md: Likewise.
3829 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3831 * mn10200-protos.h: New file.
3833 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
3836 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
3839 * mn10200.md: Likewise.
3841 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3843 * h8300-protos.h: New file.
3845 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
3848 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
3851 * h8300.md: Likewise.
3853 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3855 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
3856 (asm_emit_uninitialised): Likewise.
3858 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
3860 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
3861 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
3863 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
3865 * config/mips/mips.c (override_options): Don't turn on extra
3866 alignment for mips16.
3868 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
3870 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
3871 eabi, and make sure queued POSTINCREMENT rtl is emitted at
3874 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
3876 * builtins.c (PAD_VARARGS_DOWN): Define.
3877 (std_expand_builtin_va_arg): Use the above macro.
3878 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
3879 * tm.texi (Register Arguments): Document the above macro.
3881 2000-01-14 Nick Clifton <nickc@cygnus.com>
3883 * emit-rtl.c (emit_insn): If checking is enabled, make sure
3884 that this function has not been used to emit a jump
3887 * jump.c (return_jump_1): Cope with being passed a null rtx.
3889 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3891 * eh-common.h: PROTO -> PARAMS.
3892 * emit-rtl.c: Likewise.
3893 * errors.c: Likewise.
3894 * errors.h: Likewise.
3895 * except.c: Likewise.
3896 * except.h: Likewise.
3897 * explow.c: Likewise.
3898 * expmed.c: Likewise.
3901 * final.c: Likewise.
3902 * fix-header.c: Likewise.
3904 * fold-const.c: Likewise.
3905 * function.c: Likewise.
3906 * function.h: Likewise.
3908 * gcov-io.h: Likewise.
3912 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3914 * sh-protos.h: New file.
3916 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
3917 Add static prototypes. Fix compile time warnings.
3919 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
3923 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3925 * arc-protos.h: New file.
3927 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
3930 * arc.h: Move prototypes to arc-protos.h. Fix compile time
3935 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3937 * dsp16xx-protos.h: New file.
3939 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
3942 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
3945 * dsp16xx.md: Likewise.
3947 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3949 * convex-protos.h: New file.
3951 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
3954 * convex.h: Move prototypes to convex-protos.h. Fix compile time
3957 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3959 * elxsi-protos.h: New file.
3961 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
3964 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
3967 * elxsi.md: Likewise.
3969 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
3971 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
3972 case for moving from HI/LO/HI_LO_REG. This makes the behavior
3973 match the comment for MIPS16.
3975 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
3977 * flow.c (split_edge): Do not call set_block_for_insn if we
3978 do not have a basic_block_for_insn structure.
3980 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
3981 and destination functions are 32bit aligned within the trampoline.
3982 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
3983 (TRAMPOLINE_ALIGNMENT): Define.
3985 * cse.c (cse_insn): When changing (set (pc) (reg)) to
3986 (set (pc) (label_ref)), verify the change creates a valid insn.
3988 * fr30.c (call_operand): Tighten and rework to match rules for
3989 call RTL expressions.
3990 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
3991 * fr30.md (call patterns): Improve constraints.
3993 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
3995 * fr30.c (fr30_expand_epilogue): Revert last change.
3996 Use emit_jump_insn for the return insn.
3998 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
3999 Stan Cox <scox@cygnus.com>
4001 * predict.c: New file. Preliminary infrastructure work for static
4002 branch prediction and basic block reordering.
4003 * basic-block.h: Add prototype for estimate_probability.
4004 * Makefile.in: Add rules for predict.o.
4006 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
4008 * fixincludes (va_list): Use __not_va_list__ for the dummy.
4009 * fixinc/*: Likewise.
4011 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4013 * cccp.c: PROTO -> PARAMS.
4015 * collect2.c: Likewise.
4016 * combine.c: Likewise.
4017 * convert.h: Likewise.
4019 * dbxout.c: Likewise.
4020 * dbxout.h: Likewise.
4021 * diagnostic.c: Likewise.
4022 * doprint.c: Likewise.
4023 * dwarf2out.c: Likewise.
4024 * dwarf2out.h: Likewise.
4025 * dwarfout.c: Likewise.
4026 * dwarfout.h: Likewise.
4027 * dyn-string.h: Likewise.
4029 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4031 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
4032 macro conditionals guarding use.
4034 * dwarf2out.c: Include "tm_p.h".
4036 * function.c (locate_and_pad_parm): Mark parameter with
4038 (expand_function_end): Likewise for variable `context'.
4040 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
4042 2000-01-13 Nick Clifton <nickc@cygnus.com>
4044 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
4045 register to prevent compile time warnings.
4047 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
4049 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
4050 to avoid -Wtraditional warning.
4052 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4054 * 1750a-protos.h: New file.
4056 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
4059 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
4062 * 1750a.md: Likewise.
4064 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4066 * a29k-protos.h: New file.
4068 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
4071 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
4074 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4076 * clipper-protos.h: New file.
4078 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
4081 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
4084 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4086 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
4088 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
4090 * configure.in (--enable-new-gxx-abi): New option.
4091 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
4092 * Makefile.in (GXX_ABI_FLAG): New variable.
4093 * configure: Regenerate.
4095 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4097 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
4098 * tm.texi (FORCE_STRUCT_BLK): Document.
4099 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
4101 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
4103 * config/ns32k/ns32k.md: Revert Jan 9 change.
4105 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
4106 to a mode-test, if the predicate is address_operand.
4108 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
4110 * combine.c (if_then_else_cond): Be careful about what kinds
4111 of RTL expressions are passed to operand_subword.
4113 * flow.c (split_edge): If we have to insert a new jump, make
4114 sure to associate it with a basic block.
4116 * flow.c (commit_one_edge_insertion): A block with one successor
4117 can end in a JUMP_INSN that is not a simplejump.
4119 2000-01-12 Robert Lipe <robertl@sco.com>
4121 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
4122 (BUILD_VA_LIST_TYPE): Define.
4123 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
4126 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
4128 * cccp.c (do_pragma): Add cast to (char *).
4130 2000-01-12 Richard Henderson <rth@cygnus.com>
4131 Fred Fish <fnf@be.com>
4132 Jason Merrill <jason@cygnus.com>
4134 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
4135 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
4136 * i386/beos-elf.h, i386/beos-pe.h: New files.
4138 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
4139 * cross-make (SYSTEM_HEADER_DIR): Define using
4140 CROSS_SYSTEM_HEADER_DIR.
4142 * gcc.c (LIBRARY_PATH_ENV): Provide default.
4143 (process_command): Use it.
4144 (main): Likewise. Kill trailing = from env vars.
4145 (build_search_list): Put it back.
4146 * collect2.c (main): Use LIBRARY_PATH_ENV.
4148 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
4149 * toplev.c: Use NEED_DECLARATION_ENVIRON.
4151 * tm.texi (Frame Layout): Document SMALL_STACK.
4152 * c-common.c (c_common_nodes_and_builtins): Check it.
4154 * system.h: Undef alloca after including glibc's <stdlib.h>,
4155 if USE_C_ALLOCA is defined.
4157 * gcc.c (set_input): New fn.
4158 (main): After all input files are compiled, reset the input file
4161 * aclocal.m4 (rindex, index): If already defined, don't attempt
4164 * ginclude/varargs.h: (__va_list__): Define ifndef.
4165 * ginclude/stdarg.h: Likewise.
4167 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
4168 instead of unsigned char.
4170 * hash.h (true, false, boolean): Undef before enum.
4172 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
4173 proper type of "HOST_WIDE_INT *", rather than their natural type of
4174 "unsigned HOST_WIDE_INT *".
4176 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4178 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
4180 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
4182 * regclass.c (choose_hard_reg_mode): Likewise.
4184 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
4186 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
4188 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4190 * c-common.c: PROTO -> PARAMS.
4191 * c-common.h: Likewise.
4192 * c-decl.c: Likewise.
4193 * c-iterate.c: Likewise.
4194 * c-lang.c: Likewise.
4195 * c-lex.c: Likewise.
4196 * c-lex.h: Likewise.
4197 * c-parse.in: Likewise.
4198 * c-pragma.c: Likewise.
4199 * c-pragma.h: Likewise.
4200 * c-tree.h: Likewise.
4201 * c-typeck.c: Likewise.
4202 * objc/objc-act.c: Likewise.
4203 * objc/objc-act.h: Likewise.
4205 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4207 * m88k-protos.h: New file.
4209 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
4212 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
4214 * m88k.md: Likewise.
4216 * tekXD88.h: Likewise.
4218 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4220 * m68k-protos.h: New file.
4222 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
4225 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
4227 * mot3300.h: Likewise.
4229 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
4231 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
4233 (extract_bitlist): Declare bitlen.
4235 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
4237 * cccp.c: Accept and ignore -lang-fortran.
4239 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
4240 qualifiers don't match at any level of pointerness.
4242 2000-01-12 Robert Lipe <robertl@sco.com>
4244 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
4246 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
4248 * reload1.c (reload_reg_unavailable): New static variable.
4249 (reload_reg_free_p): Test it.
4250 (reload_reg_free_for_value_p): Test it instead of
4252 (choose_reload_regs_init): Compute it.
4254 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
4256 * reorg.c (fill_slots_from_thread): Check modified_in_p
4259 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
4261 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
4262 these nodes even if INTERNALS is not set.
4264 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
4266 * gcse.c (delete_null_pointer_checks_1): Cope when
4267 get_condition cannot determine the condition.
4269 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
4271 * toplev.h (set_message_length): Declare.
4273 * diagnostic.c (obstack_chunk_alloc): Define macro.
4274 (obstack_chunk_free): Likewise.
4275 (struct output_buffer): New data structure.
4277 (output_maximum_width): New variable.
4278 (doing_line_wrapping, set_message_length, init_output_buffer,
4279 get_output_prefix, output_space_left, emit_output_prefix,
4280 output_newline, output_append, output_puts, dump_output,
4281 vbuild_message_string, build_message_string, build_location_prefix,
4282 voutput_notice, output_printf, line_wrapper_printf,
4283 vline_wrapper_message_with_location): New functions. Implement
4284 automatic line wrapping.
4285 (v_message_with_decl): Make it handle automatic line wrapping.
4286 (v_error_with_file_and_line): Likewise.
4287 (v_warning_with_file_and_line): Likewise.
4288 (announce_function): Likewise.
4289 (default_print_error_function): Likewise.
4291 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
4293 * cpplib.h (struct cpp_options): Change lang_asm to char.
4295 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
4296 done in cpp_handle_option now.
4297 (initialize_builtins): Take out special case code used only by
4299 (cpp_handle_option): Turn off trigraphs and trigraph warnings
4300 if -traditional. Recognize -lang-fortran and set
4301 lang_fortran, also turn off cplusplus_comments.
4302 (print_help): Document -lang-fortran.
4303 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
4304 lang_asm. Ignore all directives other than `# 123 "file"' if
4306 (cpp_get_token): If -traditional, don't recognize directives
4307 unless the # is in column 1.
4308 (parse_string): If lang_fortran or lang_asm, silently
4309 terminate strings ('' or "") at end of line.
4310 Remove unnecessary braces.
4312 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4313 Richard Henderson <rth@cygnus.com>
4315 * resource.c (mark_referenced_resources): Mark a set strict_low_part
4317 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
4318 strict_low_part when possible.
4320 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4322 * alias.c: PROTO -> PARAMS.
4323 * basic-block.h: Likewise.
4324 * bitmap.c: Likewise.
4325 * bitmap.h: Likewise.
4326 * builtins.c: Likewise.
4327 * c-aux-info.c: Likewise.
4328 * caller-save.c: Likewise.
4329 * calls.c: Likewise.
4331 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4333 * Makefile.in (toplev.o): Depend on regs.h.
4335 * output.h (tdesc_section): Prototype.
4337 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
4339 * sdbout.c: Include "tm_p.h".
4341 * toplev.c: Include "regs.h".
4343 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
4345 * unroll.c (unroll_loop): Add EH support.
4347 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4349 * pa-protos.h: New file.
4351 * pa.c: Include recog.h and tm_p.h.
4352 (compute_zdepwi_operands, compute_movstrsi_length,
4353 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
4354 find_addr_reg, import_milli): Add static prototypes.
4355 (pa_cpu_string, pa_arch_string): Constify a char*.
4356 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
4357 (read_only_operand): Add argument `mode'.
4358 (singlemove_string, output_move_double, output_fp_move_double,
4359 output_block_move, output_and, output_ior, output_ascii,
4360 remove_useless_addtr_insns, milli_names, output_mul_insn,
4361 output_div_insn, output_mod_insn, output_arg_descriptor,
4362 output_cbranch, output_bb, output_bvb, output_dbra, ,
4363 output_millicode_call, output_call, hppa_encode_label,
4364 output_parallel_movb, output_parallel_addb): Constify a char*.
4365 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
4366 (output_parallel_addb): Remove extra arg to `constrain_operands'
4368 * pa.h: Move all prototypes to pa-protos.h.
4369 (pa_cpu_string, pa_arch_string): Constify a char*.
4370 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
4372 * pa.md: Call `function_label_operand' with mode argument.
4373 Likewise for `read_only_operand'.
4374 Fix nesting of parens in call to `symbolic_operand'.
4376 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4378 * i860-protos.h: New file.
4380 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
4383 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
4385 * i860.md: Likewise.
4387 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
4389 * i386.md (movstrsi expander): Rewrite.
4390 (movstrsi_1 insn): Deleted.
4391 (strmovhi, strmovqi expander): New expanders.
4392 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
4393 * i386.c (x86_single_stringop): New global variable.
4394 * i386.h (x86_single_stringop): Declare.
4395 (TARGET_SINGLE_STRINGOP): New macro.
4397 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
4399 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
4400 integer vararg POSTINCREMENT before the destination of the jump
4401 for the hard fp case.
4402 (function_arg_pass_by_reference): Pass a copy of CUM to
4405 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
4406 for CONSTANT_ADDRESS_P above while loop for subreg.
4408 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
4410 * flow.c (propagate_block): When a prologue/epilogue insn
4411 is marked dead, unconditionally clear libcall_is_dead and
4412 insn_is_dead, and only dump rtl if warnings aren't being
4415 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
4417 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
4418 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
4419 (FIXED_REGISTERS): Set dirflag as fixed.
4420 (CALL_USED_REGISTERS): Set dirflag as used.
4421 (REG_ALLOC_ORDER): Set dirflag as last one.
4422 (DIRFLAG_REG): New macro.
4423 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
4424 (HI_REGISTER_NAMES): Add dirflag.
4425 (DEBUF_PRINT_REG): Handle dirflag.
4426 * i386.md (type attribute): New cld and str types.
4427 (length_opcode attribute): Set cld and str to 1.
4428 (memory attribute): Set str to unknown - it is not clear from the
4430 (pent_np function unit): Prefixed string operations takes 12 cycles
4431 minimally; cld takes 2 cycles.
4432 (ppro_uops attribute): Str is "many" and cld is "few".
4433 (ppro_p0 unit): Handle cld here.
4434 (k6_alux unit): Handle cld and str types.
4435 (k6_load unit): It is ocupied by str opcodes.
4436 (k6_store unit): It is ocupied by str opcodes.
4437 (athlon_decode): Str is vector decoded.
4438 (athlon_ieu): Handle str and cld.
4440 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
4441 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
4442 cmpstrsi_nz_1 insn): Do not output cld instruction
4444 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
4446 * gcc.texi (G++ and GCC): Add Java and Chill.
4447 (Bug Critera): Don't list languages.
4449 * gcc.texi (Incompatibilities): No longer claim most C compilers
4452 * gcc.texi (G++ and GCC): Update other front-ends list.
4454 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
4456 * i386.c (ix86_expand_setcc): Fix typo.
4457 (ix86_expand_movcc): Similarly.
4459 * Band-aid until haifa's bitset implementation is nuked.
4460 * haifa-sched.c (extract_bitlst): New parameter for size of the
4461 bitset in bits. All callers changed. Avoid looking at undefined
4463 (edgeset_bitsize): New variable.
4464 (schedule_region): Initialize edgeset_bitsize.
4466 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4468 * Makefile.in (optabs.o): Depend on real.h
4469 (resource.o): Depend on insn-attr.h
4471 * builtins.c (result_vector): Wrap prototype in macro conditions
4472 governing definition and use.
4474 * c-common.c: Include tm_p.h.
4476 * c-lex.c: Likewise.
4478 * elfos.h: Constify a char*.
4480 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
4481 (get_attr_length, shorten_branches, profile_after_prologue): Mark
4482 parameter with ATTRIBUTE_UNUSED.
4484 * fold-const.c (exact_real_inverse): Wrap variable `i' in
4487 * haifa-sched.c (schedule_insns): Mark parameter with
4490 * optabs.c: Include real.h.
4492 * real.h (ereal_atof): Add prototype arguments.
4494 * resource.c: Include insn-attr.h.
4496 * sdbout.c (sdbout_queue_anonymous_type,
4497 sdbout_dequeue_anonymous_types): Wrap in macro
4498 SDB_ALLOW_FORWARD_REFERENCES.
4499 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
4502 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
4504 * stupid.c: Include tm_p.h.
4506 * tree.c (real_value_from_int_cst): Mark parameter with
4509 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4511 * i960-protos.h: New file.
4513 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
4516 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
4518 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4520 * combine.c (expand_field_assignment): Do not discard SUBREGs
4521 while computing nonzero_bits.
4523 2000-01-09 Nick Clifton <nickc@cygnus.com>
4525 * config/arm/arm.c: Fix compile time warnings about signed vs
4527 * config/arm/arm.h: Fix compile time warnings about signed vs
4530 2000-01-09 Philip Blundell <philb@gnu.org>
4532 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
4533 than `ldm' with only one register.
4534 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
4537 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
4540 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
4542 * config/ns32k/ns32k.md (load or push effective address): Operand 1
4545 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4547 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4548 assignment used as truth value.
4550 * function.c (assign_temp): Mark parameter `dont_promote' with
4551 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
4552 PROMOTE_FOR_CALL_ONLY.
4554 * genrecog.c (write_subroutine): Mark variable `operands' with
4557 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
4560 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
4561 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
4563 * toplev.c (note_deferral_of_defined_inline_function): Likewise
4566 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4568 * config/c4x.h: Tidy up comments.
4569 * config/c4x.c: Likewise.
4571 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
4573 * fold-const.c (lshift_double, rshift_double): Handle
4574 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
4576 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4578 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
4579 in prepare_function_start().
4581 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
4583 * config/v850/v850.c (expand_epilogue): Interrupt functions no
4584 longer allocate extra stack for function calls.
4586 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4588 * config/c4x/c4x.md (*subqf3_set): Fix typo.
4590 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4592 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
4594 2000-01-07 David Edelsohn <edelsohn@gnu.org>
4596 * rs6000.c (processor_target_table): Add power3 as alias for 630.
4597 * aix43.h: Revert Aug 2 change.
4598 (HAS_INIT_SECTION): Define, not visible yet.
4599 (LD_INIT_SWITCH): Define, not visible yet.
4600 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4602 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
4604 * collect2.c (main): Expand ld2 size further.
4605 (export_object_lst): Cast assignment to avoid warning.
4606 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
4607 (scan_prog_file, COFF): Do not collect initialization or
4608 finalization functions generated for entire shared object if
4609 init/fini support present.
4611 2000-01-07 Nick Clifton <nickc@cygnus.com>
4613 * config/elfos.h: Tidy up formatting of marcos. Make sure
4614 that .section directives are always prefixed by a tab.
4616 * config/svr4.h: Add #include "elfos.h" and remove duplicate
4619 2000-01-07 Matt Austern <austern@sgi.com>
4621 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
4624 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
4626 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
4628 (crtbegin.o, s-crtS): Likewise.
4630 2000-01-06 Richard Henderson <rth@cygnus.com>
4632 * alpha.md (adddi_2+1): Limit offset such that it will be
4633 loadable with a single ldah+lda pair.
4634 (adddi_2+2): Explicitly fail split if we can't make it work.
4636 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
4638 * protoize.c: Conditionally include unistd.h.
4639 (IS_SAME_PATH_CHAR): New macro.
4640 (IS_SAME_PATH): New macro.
4641 (CPLUS_FILE_SUFFIX): New macro.
4642 (cplus_suffix): New static variable.
4643 (is_abspath): New static function.
4644 (in_system_include_dir): Handle DOS style pathnames.
4645 (file_could_be_converted): Likewise.
4646 (file_normally_convertible): Likewise.
4647 (directory_specified_p): Likewise.
4648 (file_excluded_p): Likewise.
4649 (abspath): Likewise.
4650 (shortpath): Likewise.
4651 (referenced_file_is_newer): Likewise.
4652 (save_def_or_dec): Likewise.
4653 (do_processing): Likewise.
4655 (edit_file): Likewise. Use rename instead of link.
4656 (rename_c_file): Likewise. Don't rename syscalls file.
4657 (munge_compile_params): Define null device for DOS based systems.
4658 (process_aux_info_file): Use binary mode if appliable.
4659 (edit_file): Likewise.
4660 * invoke.texi (Running Protoize): Document C++ suffixes used.
4662 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
4663 IS_DIR_SEPARATOR macros.
4664 * collect2.c: Likewise.
4665 * cppinit.c: Likewise.
4666 * dwarf2out.c: Likewise.
4669 * prefix.c: Likewise.
4671 * toplev.c: Likewise.
4672 * system.h: And move to here.
4674 * prefix.c (update_path): Fix typo in variable name.
4676 2000-01-06 Richard Henderson <rth@cygnus.com>
4678 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
4679 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
4680 (count_reg_sets_1, count_reg_references): Likewise.
4681 (flow_loops_level_compute): Start counting actual loop depth at 1.
4682 (flow_loops_find): Likewise.
4683 * local-alloc.c (update_equiv_regs): Likewise.
4684 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
4686 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4688 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
4689 FIRST_PSEUDO_REGISTER
4690 * dwarf2out.c: Don't include frame.h
4691 * dwarfout.c: Likewise
4692 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
4695 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
4697 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4700 * i386.c (movsf splitter): Fix typo in my last checkin.
4702 2000-01-05 Nick Clifton <nickc@cygnus.com>
4704 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
4705 own definition of this macro.
4706 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
4707 flag_data_sections or UNIQUE_SECTION_P are true.
4709 * tm.texi (UNIQUE_SECTION): Document that it can be called for
4710 unitialised data decls.
4712 * config/i386/winnt.c (i386_pe_unique_section): Cope with
4713 being called for uninitialised data.
4715 * config/i386/interix.c (i386_pe_unique_section): Cope with
4716 being called for uninitialised data.
4718 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
4719 for uninitialised data.
4721 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
4722 for uninitialised data.
4724 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
4725 for uninitialised data.
4727 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
4728 (UNIQUE_SECTION_P): Always generate a unique section if
4729 flag_data_sections is true.
4730 (UNIQUE_SECTION): Also generate unique sections for
4732 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
4733 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
4736 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4738 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
4741 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4743 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
4744 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
4745 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
4746 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
4747 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
4749 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
4751 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
4753 * c-decl.c (finish_enum): Simplify code to determine minimum and
4754 maximum values of the enum, and calculate the type. Remove check
4755 for FUNCTION_DECLs in the values list, which cannot happen. Replace
4756 the DECL_INITIAL of each enumeration constant with a copy converted
4757 to the enumeration type. When updating variant types, don't bother
4758 updating the type itself.
4760 * c-typeck.c (build_binary_op): Simplify conditional expressions
4761 when weeding out spurious signed-unsigned warnings. Add new
4762 spurious warning category: if the unsigned quantity is an enum
4763 and its maximum value fits in signed_type(result_type). Update
4765 (build_conditional_expr): Warn here if one alternative is signed
4766 and the other is unsigned.
4768 2000-01-05 Nick Clifton <nickc@cygnus.com>
4770 * config/fr30/fr30.h: Remove extraneous comments.
4772 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
4774 * reload1.c (choose_reload_regs): When disabling a reload, also
4775 set reload_spill_index to -1.
4777 2000-01-04 Joel Sherrill (joel@OARcorp.com>
4779 * configure.in (m68*-*-rtemscoff*): New target, formal name for
4781 (m68*-*-rtemself*): New target.
4782 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
4783 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
4784 (sparc*-*-rtemself*): New target.
4785 (sparc*-*-rtems*): Now elf not a.out.
4786 * config/i386/rtems.h: Include config/rtems.h.
4787 * config/i386/rtemself.h: Include config/rtems.h.
4788 * config/i960/rtems.h: Include config/rtems.h.
4789 * config/m68k/rtems.h: Include config/rtems.h.
4790 * config/m68k/rtemself.h: Include config/rtems.h.
4791 * config/mips/rtems64.h: Include config/rtems.h.
4792 * config/pa/rtems.h: Include config/rtems.h.
4793 * config/rs6000/rtems.h: Include config/rtems.h.
4794 * config/sh/rtems.h: Include config/rtems.h.
4795 * config/sh/rtemself.h: Include config/rtems.h.
4796 * config/sparc/rtems.h: Include config/rtems.h.
4797 * config/sparc/rtemself.h: Include config/rtems.h
4799 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
4801 * final.c (shorten_branches): Correctly compute length of
4802 asms without operands.
4804 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
4806 * configure.in: Add pj target.
4807 * configure: Regenerate.
4808 * config/pj: New directory.
4809 * config/pj/lib1funcs.S: New file.
4810 * config/pj/linux.h: New file.
4811 * config/pj/pj.c: New file.
4812 * config/pj/pj.md: New file.
4813 * config/pj/pjl.h: New file.
4814 * config/pj/t-pj: New file.
4815 * config/pj/xm-pj.h: New file
4817 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
4819 * toplev.c (rest_of_compilation): Run shorten-branches before
4822 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4824 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
4825 macros so that they're consistent with their names.
4826 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
4827 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
4829 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4831 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
4832 modified inadvertently.
4834 2000-01-04 Joel Sherrill <joel@OARcorp.com>
4836 * configure.in (v850*-*-rtems*): New target.
4837 * configure: Regenerate.
4838 * config/v850/rtems.h: New file.
4840 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4842 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
4843 (__gthread_key_create): Likewise.
4844 (__gthread_key_dtor): Likewise.
4845 (__gthread_once): Fix logic.
4846 (__gthread_key_delete): Cast away constness.
4848 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
4849 * invoke.texi: Document.
4850 * i386/mingw32.h (CPP_SPEC): Use.
4851 (LIBGCC_SPEC): Likewise.
4852 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
4854 2000-01-04 David Edelsohn <edelsohn@gnu.org>
4856 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
4857 (HANDLE_PRAGMA_PACK): Undefine.
4858 (SLOW_UNALIGNED_ACCESS): Define.
4860 2000-01-04 David Edelsohn <edelsohn@gnu.org>
4862 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
4863 to default definition.
4864 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
4865 (store_fixed_bit_field): Call macro with word_mode and alignment.
4866 (extract_bit_field): Call macro with relevant mode and alignment.
4867 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
4868 to default definition.
4869 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
4871 (move_by_pieces_ninsns): Likewise.
4872 (clear_by_pieces): Likewise.
4873 (emit_push_insn): Likewise.
4874 (store_field): Call macro with relevant mode and alignment.
4875 (expand_expr): Likewise.
4876 (expand_expr_unaligned): Likewise.
4878 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4879 (SLOW_UNALIGNED_ACCESS): Define.
4880 (CASE_VECTOR_MODE): Always use 32-bit offsets.
4881 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4882 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4883 (toc_section): Likewise and .toc pseudo-op.
4884 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
4886 (TEXT_SECTION_ASM_OP): Likewise.
4887 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4890 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
4891 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
4892 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
4893 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
4894 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
4896 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
4898 * regclass.c: Revert my Jan 4 change to loop cost computation.
4900 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
4902 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
4905 2000-01-04 Stan Cox <scox@cygnus.com>
4907 * haifa-sched.c (build_control_flow): Change unreachable simple
4908 loop test to check if current block has only one predecessor.
4909 (find_rgns): Initialize degree. Use dest as degree index, not src.
4911 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4913 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
4915 * calls.c (expand_call): Likewise for
4916 `old_stack_arg_under_construction'.
4918 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
4920 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
4923 * gcc.c (execute): Likewise for `ut' and `st'.
4925 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
4927 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
4929 * jump.c (jump_optimize_1): Likewise for `temp2'.
4931 * local-alloc.c (block_alloc): Likewise for `r1'.
4933 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
4935 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
4936 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
4938 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
4941 * reload.c (find_reloads): Likewise for `goal_alternative_number'
4942 and `goal_earlyclobber'.
4944 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
4946 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
4948 * stupid.c (stupid_life_analysis): Likewise for `chain'.
4950 * unroll.c (copy_loop_body): Likewise for `copy'.
4952 * varasm.c (output_constructor): Likewise for `byte'.
4954 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
4956 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
4957 all FP constants for constant->reg moves.
4958 (ix86_split_to_parts): Try to convert memory address into immediate
4959 when available in the constant pool.
4960 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
4962 (LEGITIMATE_CONSTANT_P): Return 1.
4963 * i386.md (pushsf): New splitter to convert constant pool memory
4964 reference to immediate.
4965 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
4968 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
4970 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
4971 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
4972 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
4973 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
4974 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
4976 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
4978 * ginclude/stdbool.h: Support compilation as C++.
4980 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4982 * fold-const.c (make_range): Don't try to reverse an unbounded range.
4984 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
4986 * regclass.c (regclass): Properly compute loop_cost. Adjust
4989 * regclass.c: Fix minor whitespace problems.
4991 2000-01-03 Anthony Green <green@cygnus.com>
4993 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
4994 Restore the pic register if required.
4996 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
4998 * c-common.c (format_char_info): Update comment.
4999 (check_format_info): Recognize 'z' modifier in the same way 'Z'
5000 was recognized. Emit warning for formats new in ISO C99 only
5001 if flag_isoc9x is not set.
5003 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
5005 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
5007 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
5009 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
5010 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
5011 (make_compound_operation): Choose cheaper alternative between
5012 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
5014 * regclass.c (op_costs): Remove global variable.
5015 (record_reg_classes): New parameter "op_costs" and "reg_pref".
5016 (record_operand_costs): Break out from ...
5017 (scan_one_insn): ... here.
5018 (dump_regclass): Make dumps nicer.
5019 (regclass): Dump preferrences choosed and changes done during passes.
5021 2000-01-03 Jakub Jelinek <jakub@redhat.com>
5023 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
5025 2000-01-03 Jakub Jelinek <jakub@redhat.com>
5027 * config/sparc/sparc.c (gen_df_reg): New function.
5028 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
5029 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
5030 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
5031 movtf_cc_reg_sp64+1): Use it.
5033 2000-01-02 Mark Mitchell <mark@codesourcery.com>
5035 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
5038 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
5040 * config/i386/i386.c (ix86_expand_unary_operator): Function
5041 definition made void.
5042 (ix86_expand_binary_operator): Update outdated preceding comment.
5043 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
5046 * config/i386/i386.c (override_options): Fix option-name typo.
5048 2000-01-02 Mark Mitchell <mark@codesourcery.com>
5050 * system.h (CEIL): Define.
5051 * builtins.c (CEIL): Remove.
5052 * expmed.c (CEIL): Likewise.
5053 * expr.c (CEIL): Likewise.
5054 * stor-layout.c (CEIL): Likewise.
5056 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5058 * expr.c (store_constructor_field): Fix typo introduced with last
5061 2000-01-01 Mark Mitchell <mark@codesourcery.com>
5063 * tree.h (BINFO_N_BASETYPES): New macro.
5065 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
5067 * expmed.c (emit_store_flag): Prevent losing a pending stack
5068 adjust the same way we prevent losing queued increments.
5070 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5072 * function.c (update_temp_slot_address): Handle case where sum of
5073 temporary address plus offset in register is a valid address.
5075 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5077 * genrecog.c (change_state) Corrected typo.
5079 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5081 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
5082 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
5083 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
5085 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
5087 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
5088 case, expand GT comparisons correctly. Fix a comment before this
5091 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5093 * dwarfout.c: Include "frame.h"
5094 * dwarf2out.c: Likewise.
5095 * Makefile.in (dwarfout.o): Depend on frame.h
5096 (dwarf2out.o): Likewise.
5098 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
5100 Restore i386 binary compatibility in Dwarf EH info.
5101 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
5102 value of FIRST_PSEUDO_REGISTER.
5103 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
5104 (struct frame_state): Use DWARF_FRAME_REGISTERS.
5105 * dwarfout.c (output_reg_number): Ditto.
5106 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
5107 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
5109 1999-12-29 Bruce Korb <autogen@linuxbox.com>
5111 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
5112 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
5113 (<hack>_RE_CT): not needed
5114 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
5115 rewritten to scan the file text once only
5116 "template<..." test added
5117 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
5118 (is_cxx_header): declaration added
5119 * fixinc/fixtests.c(is_cxx_header): removed
5120 (apply_fix_p_t): removed
5121 (double_slash_test): is_cxx_header is only called once now
5122 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
5123 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
5124 within the templates.
5125 The borken spelling of "broken" was fixed.
5126 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
5127 The default level depends on FIXINC_DEBUG.
5129 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5131 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
5132 Otherwise provide a declaration for atexit.
5133 (init_dummy): Make sure dummy call to atexit is nevertheless
5134 called with correct number of args.
5136 * frame.c: Update comments referring to other files.
5138 * libgcc2.c: Likewise.
5140 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5142 * cse.c (free_element, get_element): Remove unused prototypes.
5144 * fold-const.c (extract_muldiv): Initialize variables `op0' and
5147 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
5150 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
5152 * configure.in,configure: case arm for mn10200-*-* now sets
5153 float_format=i32 so that float.h will correctly claim "double"
5154 to be 32 bits. Ran autoconf to generate configure from .in file.
5156 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
5158 * pa.md (conditional zero): If op1 is a register, force it into
5159 the same register as op0.
5161 1999-12-28 Mark Mitchell <mark@codesourcery.com>
5163 * tree.h (BINFO_BASETYPES): Improve documentation.
5165 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5167 * configure.in (--enable-checking): Use a more portable `for'
5170 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5172 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
5173 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
5175 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
5178 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
5179 Delete descriptions.
5181 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
5182 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
5183 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
5184 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
5185 xm-svr4.h: Remove all instances of sys_siglist handling.
5187 1999-12-27 Jakub Jelinek <jakub@redhat.com>
5189 * config/sparc/sparc.md (cmp_zero_qi,
5190 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
5191 cmp_zero_extendqidi2_andcc_set): New patterns.
5193 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
5195 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5196 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
5197 (fpgnulib.c, xfgnulib.c): Add rules.
5198 * m68k/t-mot3300-gas: Likewise.
5200 1999-12-27 Ian Lance Taylor <ian@zembu.com>
5202 * configure.in: Avoid [[ by using test and changequote. Add
5203 changequote required by 1999-12-14 change.
5204 * configure: Rebuild.
5206 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
5208 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
5210 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
5212 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
5213 * flow.c (find_use_as_address): Likewise.
5214 * function.c (fixup_var_refs_1): Likewise.
5215 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
5216 * jump.c (invert_exp, redirect_exp): Likewise.
5217 * loop.c (replace_call_address): Likewise.
5218 (count_nonfixed_reads): Likewise.
5219 * rtlanal.c (modified_between_p): Likewise.
5220 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
5221 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
5222 * unroll.c (remap_split_bivs): Likewise.
5224 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5226 * diagnostic.c (v_message_with_decl): Use .* format specifier
5227 instead of building the format specifier width manually.
5229 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
5230 determining whether to provide a prototype. Remove the
5231 sys_siglist clause in the conditional.
5233 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5235 * fold-const.c (operand_equal_p): Use memcmp to compare string
5237 Suggested by D. J. Bernstein
5239 1999-12-17 Jakub Jelinek <jakub@redhat.com>
5241 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
5242 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5244 * config/mips/mips.h (TARGET_64BIT): Likewise.
5245 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
5246 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
5247 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
5248 dsps. Give routines proper names if SI/DI modes are not used.
5249 * longlong.h: Use DWunion instead of DIunion.
5251 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
5253 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
5254 GC_CHECKING, GC_ALWAYS_COLLECT.
5255 * configure.in: Allow --enable-checking with an argument
5256 listing check modes to enable.
5257 * config.in, configure: Rebuilt.
5258 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
5259 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
5260 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
5261 ENABLE_GC_ALWAYS_COLLECT.
5262 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
5264 * tree.h, tree.c: Change ENABLE_CHECKING to
5265 ENABLE_TREE_CHECKING throughout.
5267 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5269 * fold-const.c (fold_truthop): Properly check for FP RHS.
5271 1999-12-24 Mark Mitchell <mark@codesourcery.com>
5273 * toplev.h (note_deferall_of_defined_inline_function): Declare.
5274 * toplev.c (note_deferral_of_defined_inline_function): New
5275 function, split out from ...
5276 (rest_of_compilation): ... here. Use it.
5278 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5280 * expr.c (store_constructor): Don't call clear_storage if size is
5283 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5285 * Makefile.in (toplev.o): Depend on loop.h.
5287 * dwarfout.c: Include tm_p.h.
5289 * emit-rtl.c (restore_emit_status): Mark parameter with
5292 * final.c (final_scan_insn): Likewise.
5294 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
5295 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
5296 flow_depth_first_order_compute, flow_loop_pre_header_find,
5297 flow_loop_tree_node_add, flow_loops_tree_build,
5298 flow_loop_level_compute, flow_loops_level_compute,
5299 flow_loop_outside_edge_p): Add prototypes.
5300 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
5302 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
5303 Mark with ATTRIBUTE_NORETURN.
5305 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
5307 * local-alloc.c (no_conflict_p): Likewise.
5309 * loop.c (insert_bct): Hide definitions of variables with hidden
5311 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
5313 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
5314 with ATTRIBUTE_UNUSED.
5315 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
5316 (reg_scan): Likewise.
5318 * reload.c (find_reloads): Remove unused variables `changed'.
5320 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
5322 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
5323 Remove unused variable `insn'.
5325 * toplev.c: Include loop.h.
5326 (report_file_and_line): Remove unnecessary prototype.
5328 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
5330 * unroll.c (biv_total_increment): Likewise.
5332 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5334 * reload1.c (emit_input_reload_insns): Restore old behaviour
5335 wrt. 'special' reloads.
5337 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
5339 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
5340 hash.h. (cse.c): Don't depend on hashtab.h.
5342 * cse.c: Don't include hashtab.h.
5343 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
5345 * ggc-simple.c: Don't include hash.h.
5347 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
5349 * dwarf2out.c (add_abstract_origin_attribute): Call
5350 gen_abstract_function on our function context.
5352 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
5354 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
5356 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5358 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
5361 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5363 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
5364 constraints to "a!r".
5366 1999-12-21 Mark Mitchell <mark@codesourcery.com>
5368 * Makefile.in (calls.o): Depend on function.h.
5369 (alias.o): Likewise.
5371 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
5373 * reload1.c (emit_reload_insns): Break out code and variables into...
5374 (input_reload_insns, other_input_address_reload_insns,
5375 other_input_reload_insns, input_address_reload_insns,
5376 inpaddr_address_reload_insns, output_reload_insns,
5377 output_address_reload_insns, outaddr_address_reload_insns,
5378 operand_reload_insns, other_operand_reload_insns,
5379 other_output_reload_insns): ... new static variables, and...
5380 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
5381 do_output_reload): ... new functions.
5383 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5385 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
5387 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5389 * md.texi: Add c4x constraints documentation.
5391 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5393 * config/i386/dgux.c (struct option): Rename to
5394 lang_independent_option.
5395 (struct m_options): Add description field.
5396 (output_options): Rename option type, add sep declaration, output
5397 ix86_cpu_string and ix86_arch_string only if set.
5398 (output_file_start): Rename option type.
5400 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
5402 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
5404 (libgcc2.a): Similarly.
5406 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
5408 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
5409 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
5410 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
5412 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
5414 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
5415 Remove redundant initialization of "frexpon" and "expon".
5417 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5419 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
5421 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
5422 (store_constructor_field, expand_expr): Pass new arg.
5424 1999-12-20 Mark Mitchell <mark@codesourcery.com>
5426 * Makefile.in (explow.o): Depend on function.h.
5428 * stor-layout.c (set_sizetype): Fix typo.
5430 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
5432 * function.c (cfun): Renamed from current_function. All users
5434 * function.h (cfun): Rename declaration as well.
5436 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
5437 to be of type regset_head, not regset. All users changed by adding
5439 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
5441 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5443 * config/c4x/rtems.h: New file.
5445 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
5447 * reload1.c (spill_failure): Take class of failed reload as argument
5448 and print it. Caller changed.
5450 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5452 * rs6000.h (SUBTARGET_DEFAULT): New macro.
5453 (TARGET_SWITCHES): Allow subtargets to default switches.
5454 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
5456 1999-12-18 Mark Mitchell <mark@codesourcery.com>
5458 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
5461 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
5463 * cccp.c (main): Define __STDC_VERSION__ as necessary.
5464 * cppinit.c (cpp_handle_option): Likewise.
5466 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
5467 determine when to define.
5469 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
5471 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
5472 cmove with mismatched test and data modes.
5474 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
5476 * c-typeck.c (c_expand_start_case): Don't warn for long switch
5479 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5481 * alias.c: Minor reformatting.
5484 * stor-layout.c: Likewise.
5485 * fold-const.c: Likewise.
5486 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
5487 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
5489 (size_int_wide): Cache nodes even if garbage collecting.
5490 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
5491 of SAVE_EXPR has no side effects.
5492 * cse.c: Move a comment.
5493 * tree.c: Minor reformatting.
5494 (int_size_in_bytes): Return -1 if constant overflows.
5496 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5498 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
5500 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
5502 * objc/objc-parse.c: Regenerate. This file must be rebuilt
5503 after any change to c-parse.in, even if objc-parse.y didn't
5506 1999-12-18 David S. Miller <davem@redhat.com>
5508 * toplev.c (rest_of_compilation): Restore BLOCK tree
5509 reconstruction and branch shortening changes lost in
5510 December 18th change.
5512 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
5514 * config/arm/linux-elf.h: Change all instances of
5515 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
5516 * config/arm/uclinux-elf.h: Likewise.
5518 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
5520 * toplev.c (notice, vmessage, v_message_with_file_and_line,
5521 v_message_with_decl, file_and_line_for_asm,
5522 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
5523 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
5524 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
5525 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
5526 pfatal_with_name, fatal_io_error, need_error_newline,
5527 last_error_function, last_error_tick, announce_function,
5528 default_print_error_function, print_error_function,
5529 report_error_function, fnotice, error_with_file_and_line,
5530 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
5531 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
5532 warning_with_decl, warning_for_asm, warning, pedwarn,
5533 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
5535 (compile_file): Use fnotice instead of notice. Adjust call.
5537 * diagnostic.c: New file.
5539 * Makefile.in (OBJS): Include diagnostic.o
5540 (diagnostic.o): Define dependence.
5542 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5544 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
5547 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5549 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
5551 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
5553 * fixtests.c (is_cxx_header): New fn, split out of
5555 (else_endif_label): Allow "#endif // comment" in C++ headers,
5556 as determined by is_cxx_header.
5557 * fixfixes.c (else_endif_label_fix): Update comment.
5558 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
5560 * genfixes: Correct double thinko in commandline parsing.
5561 * hackshell.tpl: Generate correct sh syntax for bypass
5564 * inclhack.def (all): Whenever an inserted preprocessor
5565 conditional is split over multiple lines, use double
5566 backslashes in this file so the fixed header will be readable.
5568 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
5569 and add bypass entry for correct version of this header.
5570 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
5571 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
5573 (hpux8_bogus_inlines): New fix, split from...
5574 (ultrix_atof_param) ... here.
5575 (math_expression): Add bypass entry keyed to glibc comment
5576 indicating the problem has been dealt with; disable
5577 unnecessary sed operations; update commentary.
5578 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
5579 add select and bypass entries, simplify shell operation.
5580 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
5582 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
5583 ultrix_atof_param): Add select entry.
5584 (stdio_va_list, sunos_mather_decl): Add bypass entry.
5585 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
5586 comments with the fixes they describe.
5588 * c-parse.in (string action): Do not warn about ANSI string
5589 concatenation in system headers. Affects C parser only.
5590 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
5592 1999-12-16 Jakub Jelinek <jakub@redhat.com>
5594 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
5595 compiling libgcc2 the macro depends always on arch cpp defines.
5597 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
5599 * loop.c (insert_loop_mem): Don't record MEMs from inside
5602 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
5604 * regclass.c (regclass): Do not use flowgraph when not optimizing.
5606 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
5607 notes too, create one when replacement failed, attempt to simplify
5609 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
5612 1999-12-16 Mark Mitchell <mark@codesourcery.com>
5614 * crtstuff.c (__dso_handle): Declare.
5615 (__cxa_finalize): Likewise.
5616 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
5619 * invoke.texi: Document -fuse-cxa-atexit.
5621 * tree.h (ptr_type_node): Document.
5622 (const_ptr_type_node): Likewise.
5624 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5626 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
5627 (optimize_reg_copy_2): Likewise.
5628 (optimize_reg_copy_3): Likewise.
5629 (fixup_match_2): Likewise.
5630 (regmove_optimize): Likewise.
5631 (fixup_match_1): Liekwise.
5633 * i386.md (HI to SImode promoting splitters): Rewrite.
5634 (pushsf mem peep2): New.
5635 (testhi to andhi peep2): Remove.
5636 * i386.h (x86_promote_QImode): New.
5637 (TARGET_PROMOTE_QImode): New.
5638 (PREDICATE_CODES): Add promotable_binary_operator.
5639 * i386.c (x86_promote_QImode0: New.
5640 (promotable_binary_operator): New.
5641 * i386-protos.h (promotable_binary_operator): New.
5643 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
5645 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
5647 1999-12-16 Mark Mitchell <mark@codesourcery.com>
5649 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
5650 * function.c (insert_block_after_note): Remove.
5651 (retrofit_block): Likewise.
5652 (identify_blocks): Fix indentation.
5653 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
5654 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
5655 * function.h (insert_block_after_note): Remove prototype.
5656 (retrofit_block): Likewise.
5657 * integrate.c (expand_inline_function): Don't call
5658 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
5659 just expand_start_bindings. Use the block_map to remap old
5660 NOTE_BLOCKs to new ones.
5661 (integrate_decl_tree): Keep track of remapped blocks.
5662 * integrate.h (struct inline_remap): Add block_map.
5663 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
5664 NOTE_BLOCK on the notes.
5665 (expand_start_bindings): Rename to ...
5666 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
5667 (expand_end_bindings): Set NOTE_BLOCK.
5668 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
5669 reconstruct the BLOCK tree.
5670 * tree.h (expand_start_bindings): Macroize. Call ...
5671 (expand_start_bindings_and_block): New function.
5673 1999-12-16 Jakub Jelinek <jakub@redhat.com>
5675 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
5676 to match the format.
5678 1999-12-16 David S. Miller <davem@redhat.com>
5680 * expr.c (emit_move_insn_1): Only emit clobbers if one of
5681 the outputs is a SUBREG.
5682 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
5685 * config/sparc/sparc.c (epilogue_renumber): Add default case
5688 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5690 * toplev.c (rest_of_compilation): Run branch shortening after
5693 * regclass.c (loop_depth): Remove
5694 (scan_one_insn): Do not handle LOOP_NOTE insns.
5695 (regclass): Go through basic blocks and set loop_cost
5697 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
5699 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
5701 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5703 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
5704 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
5705 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
5707 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
5709 * loop.c (insert_loop_mem): Ignore memory clobbers.
5711 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
5714 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
5716 * profile.c: Remove redundant #include "output.h".
5718 * h8300.md (HImode preinc peephole): Fix typo.
5720 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
5722 * function.c (retrofit_block): Abort if we don't find a suitable insn.
5723 (insert_block_after_note): Abort if we don't have a previous block.
5724 Remove FN parameter.
5725 * function.h: Adjust.
5727 1999-12-15 Mark Mitchell <mark@codesourcery.com>
5729 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
5730 argument more than once.
5732 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
5734 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
5736 1999-12-15 Jakub Jelinek <jakub@redhat.com>
5738 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
5740 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5742 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
5743 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
5744 update stack_alignment_needed.
5745 (prepare_function_start): Initialize stack_alignment_needed
5746 * function.h (struct function): Add field stack_alignment_needed.
5748 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5750 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
5751 Handle live_throughout / dead_or_set instead of live_before /
5753 (save_call_clobbered_regs): Get register livenessinformation from
5754 chain->live_throughout.
5755 (add_stored_regs): New function.
5756 (insert_restore, insert_save): Add restored / saved registers to
5758 * global.c (reg_dies): New parameter chain.
5759 (reg_becomes_live): Third parameter is regs_set now.
5760 Changed all callers.
5761 (reg_dies): New parameter chain. Changed all callers.
5762 (build_insn_chain): Set live_throughout instead of
5763 live_before / live_after.
5764 * reload.h (struct insn_chain): Replace members live_before /
5765 live_after with live_throughout / dead_or_set.
5766 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
5767 instead of live_before / live_after.
5768 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
5769 (order_regs_for_reload, find_reg, finish_spills): Likewise.
5770 (choose_reload_regs_init): Likewise.
5771 * stupid.c (current_chain, find_clobbered_regs): Delete.
5772 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
5773 instead of chain->live_before / chain->live_after.
5774 (mark_hard_ref): New function.
5775 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
5777 1999-12-15 David S. Miller <davem@redhat.com>
5779 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
5781 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5783 * flow.c (calculate_loop_depth): Make global, remove prototype,
5784 rewrite to use new loop infrastructure.
5785 (find_basic_block): Remove calculate_loop_depth call.
5786 * toplev.c (rest_of_compilation): Call find_basic_block.
5787 * output.h (calculate_loop_depth): Declare.
5789 * flow.c (dump_flow_info): Dump loop_depth.
5790 (flow_loops_nodes_find): Increase loop_depth for basic block in the
5792 (flow_loops_find): Initialize the loop_depth for each basic block.
5794 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
5796 * tree.c (decl_function_context): Handle virtual functions.
5798 * tlink.c (scan_linker_output): Don't look in demangled name when
5799 looking for linker output keywords.
5801 * dwarfout.c (output_type): We can defer namespace-scope classes.
5803 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
5805 * regclass.c (record_reg_classes): Update comment for merging
5806 register class preferences in reg->reg copies. Tighten conditions
5807 for merging register class preferences in reg->reg copies.
5809 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
5811 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
5813 1999-12-14 Geoff Keating <geoffk@cygnus.com>
5815 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
5816 (INIT_SECTION_ASM_OP): Delete.
5817 (FINI_SECTION_ASM_OP): Delete.
5818 (STARTFILE_SPEC): Define to hold just crtbegin.o.
5820 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
5822 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
5823 the abstract origin wasn't emitted.
5825 * dwarf2out.c (class_scope_p): New fn.
5826 (gen_subprogram_die): Use it.
5827 (gen_variable_die): Use it. Tweak logic.
5828 (gen_struct_or_union_type_die): Check context_die to determine
5829 if we're function-local.
5830 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
5832 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
5834 * loop.c (check_dbra_loop): Can't reverse a biv that has
5837 1999-12-14 Nick Clifton <nickc@cygnus.com>
5839 * config/arm/arm.c: Add support for -mcpu=arm720 command line
5842 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5844 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
5845 for givs made from biv increments.
5847 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
5849 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
5850 * alpha.c (override_options): Recognize -mcpu=ev67.
5851 * alpha.h (CPP_CPU_EV67_SPEC): New.
5852 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
5853 (EXTRA_SPECS): Update.
5855 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
5857 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
5858 appropriate for -lang-c89 and -std=*.
5859 * cppinit.c (cpp_handle_option): Likewise.
5860 (new_pending_define): New, split out from cpp_handle_option.
5861 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
5862 or enable trigraphs for -ansi/-std=*.
5864 * ginclude/stdarg.h (__va_copy): New.
5865 (va_copy): Don't define for C89.
5867 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
5869 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
5870 for long long multiply-accumulate.
5872 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5874 * regclass.c (scan_one_insn): Set loop_cost to 1 when
5875 optimizing for size.
5877 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
5879 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
5880 if something changed. Back out that part of yesterday's changes.
5882 * loop.c (loop_max_reg): New static variable.
5883 (loop_optimize): Initialize it. Eliminate one unnecessary call to
5885 (scan_loop): Call reg_scan_update whenever we may have added new
5886 registers, and update loop_max_reg.
5888 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5890 * regclass.c (record_reg_classes): Do not do the copying preferrencing
5891 when source does not die.
5893 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
5895 1999-12-14 Jakub Jelinek <jakub@redhat.com>
5897 * config/sparc/linux64.h (TARGET_LIVE_G0,
5898 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
5900 * config/sparc/linux.h (TARGET_LIVE_G0,
5901 TARGET_BROKEN_SAVERESTORE): Likewise.
5902 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
5903 TARGET_BROKEN_SAVERESTORE): Likewise.
5905 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
5906 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
5908 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
5909 as sparc64 block profiling register.
5910 * config/sparc/sparc.c (sparc_override_options): Allow block
5911 profiling with -m32.
5912 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
5914 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
5915 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
5916 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
5918 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
5920 * config/sparc/sparc.h: Likewise.
5921 * config/sparc/xm-sysv4-64.h: Likewise.
5922 * config/float-sparc.h: Likewise.
5923 * glimits.h: Likewise.
5924 * longlong.h: Likewise.
5926 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
5927 (ASM_IDENTIFY_GCC): Remove.
5929 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
5931 * combine.c (combine_simplify_rtx): Don't make shared rtl.
5932 (simplify_logical): Likewise.
5934 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
5936 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
5937 * cppfiles.c (INO_T_EQ): Likewise.
5939 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
5941 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
5942 * i386/mingw32.h (LIB_SPEC): Likewise.
5943 (STARTFILE_SPEC): Likewise.
5944 * i386/uwin.h (LIB_SPEC): Likewise.
5945 (STARTFILE_SPEC): Likewise.
5947 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
5948 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
5950 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
5952 * combine.c (combine_simplify_rtx): Fix order of checks for
5953 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
5955 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
5957 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
5958 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
5960 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
5962 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
5964 * regclass.c (inv_reg_alloc_order): New array.
5965 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
5967 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
5968 counted_for_groups, counted_for_nongroups. Add fields rld and
5970 * reload.c (push_secondary_reload): Don't set nongroup field of
5972 (push_reload): Likewise.
5973 (find_reloads): Delete code to compute nongroup fields.
5974 * reload1.c (reload_insn_firstobj): New static variable.
5975 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
5977 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
5978 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
5979 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
5981 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
5983 (struct hard_reg_n_uses): Deleted.
5984 (potential_reload_regs): Deleted.
5985 (init_reload): Initialize spilled_pseudos and pseudos_counted.
5986 (reload): Don't try to allocate reload registers if we already know
5987 we have to make another pass. Call select_reload_regs. Free memory
5988 starting with reload_firstobj when starting another pass.
5989 Don't allocate spilled_pseudos.
5990 (calculate_needs_all_insns): Call copy_reloads for an insn that
5991 needs reloads; don't call calculate_needs.
5992 (spill_cost): New static array.
5993 (used_spill_regs_local): New static variable.
5994 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
5995 to compute potential_reload_regs.
5996 (find_reload_regs): Completely rewritten to use find_reg.
5997 (allocate_reload_reg): Don't test counted_for_groups or
5998 counted_for_nongroups. Lose NOERROR arg and code to give an error;
6000 (choose_reload_regs): Add fallback code that uses the existing
6001 register allocation from find_reload_regs.
6003 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
6005 * flow.c (create_edge_list): Cast xmalloc return value.
6007 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
6009 * doprnt.c: Remove incorrect comment closure.
6011 * cse.c: Fix a few minor whitespace goofs.
6013 1999-12-13 Don Bowman <don@pixstream.com>
6015 * mips/vxworks.h: Fix problem with comment termination.
6016 (EXTRA_SECTIONS): Add in_sbss.
6017 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
6019 1999-12-12 David S. Miller <davem@redhat.com>
6021 * cse.c (struct cse_reg_info): Add hash_next member,
6022 reorder rest of struct for better packing on 64-bit
6024 (cse_reg_info_tree): Kill.
6025 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
6026 REGHASH_FN): New custom pow2 hash mechanism.
6028 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
6029 use a pow2 hash table.
6030 (get_cse_reg_info): Rework to use new REGHASH.
6031 (new_basic_block): Likewise, use HASH_SIZE, and inline
6033 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
6034 and inline free_element call.
6035 (lookup_as_function, insert, flush_hash_table, invalidate,
6036 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
6037 invalidate_for_call, use_related_value, find_comparison_args,
6038 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
6039 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
6042 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
6044 * cse.c (cse_basic_block): Free qty_table consistently.
6046 1999-12-12 David S. Miller <davem@redhat.com>
6047 Jakub Jelinek <jakub@redhat.com>
6049 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
6050 SUBREGs by hand, gen the appropriate hard reg directly.
6051 (movtf reg/mem split): Likewise and alter_subreg on destination
6053 (movtf mem/reg split): Similarly.
6054 (movdf_cc_sp64): Rename from hidden pattern.
6055 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
6056 (movtf_cc_sp64, following split): New pattern and splitter.
6057 (movdf_cc_reg_sp64): Rename from hidden pattern.
6058 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
6060 (movtf_cc_reg_sp64, following split): New pattern and splitter.
6062 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
6064 * loop.c (load_mems): Don't hoist written floating point mem
6067 1999-12-12 Mark Mitchell <mark@codesourcery.com>
6069 * except.h (struct eh_queue): Add `next' pointer.
6070 (struct eh_status): Make x_ehqueue a pointer.
6071 (push_ehqueue): Declare.
6072 (pop_ehqueue): Likewise.
6073 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
6075 (expand_fixup_region_end): Likewise.
6076 (expand_leftover_cleanups): Likewise.
6077 (push_ehqueue): Define.
6078 (pop_ehqueue): Likewise.
6079 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
6080 than doing it inline.
6081 (expand_start_all_catch): Adjust now that ehqueue is a
6083 (mark_eh_queue): Mark all level of the queue.
6084 (mark_eh_status): Adjust now that ehqueue is a
6086 (init_eh_for_function): Allocate ehqueue.
6087 (free_eh_status): Free it.
6088 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
6089 expansion for a fixup.
6091 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6093 * gthr-single.h (__gthread_active_p): Add prototype arguments.
6095 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
6096 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
6097 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
6098 function_ptr, getpagesize, __enable_execute_stack,
6099 __enable_execute_stack, __clear_insn_cache,
6100 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
6101 _cleanup, _exit, __default_terminate, __terminate_func,
6102 __terminate, __empty, __throw, new_eh_context,
6103 eh_context_initialize, eh_context_static, eh_context_specific,
6104 get_eh_context, __get_eh_context, __get_eh_info,
6105 init_reg_size_table, eh_threads_initialize,
6106 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
6107 __unwinding_cleanup, throw_helper, __throw, __rethrow,
6108 __pure_virtual): Add prototype arguments.
6109 (__bb_exit_func): Cast a sizeof to long when comparing against one.
6110 Cast a signed value to unsigned long when comparing against one.
6111 (new_eh_context): Wrap in _GTHREADS macro.
6112 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
6114 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
6115 (throw_helper): Initialize variables `handler_p' and `pc_p'.
6117 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6119 * combine.c (record_promoted_value): Remove unused variable
6122 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
6124 * global.c (record_conflicts): Likewise for `j'.
6126 * genoutput.c (output_insn_data): Don't unnecessarily cast away
6129 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6131 * i386-protos.h (output_387_binary_op, output_fix_trunc,
6132 output_fp_compare): Constify a char*.
6134 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
6136 (override_options, ix86_comp_type_attributes, print_operand,
6137 output_387_binary_op, output_fix_trunc, output_fp_compare):
6139 (ix86_sched_reorder): Mark parameter `clock_var' with
6142 * i386.h (DEBUG_PRINT_REG): Constify a char*.
6144 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
6146 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
6147 operand, for use in the Java front-end.
6149 1999-12-10 Ben Collins <bcollins@debian.org>
6151 * configure.in: Fix typo for "-64" in 64bit as check.
6152 * configure: Rebuilt.
6154 1999-12-10 Jakub Jelinek <jakub@redhat.com>
6156 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
6159 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6161 * c-parse.in (string): With -Wtraditional, warn if ANSI string
6162 concatenation is utilized.
6164 * invoke.texi (-Wtraditional): Document it.
6166 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6168 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
6169 Cast a ptrdiff_t to long and pass it to printf with %ld.
6171 1999-12-10 Geoff Keating <geoffk@cygnus.com>
6173 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
6174 68881, we have no 68881 registers at all.
6175 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
6176 value in a 68881 register if it is available.
6178 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
6180 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
6181 for long long multiply-accumulate.
6183 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
6185 * loop.c (insert_loop_mem): Undo last change.
6187 1999-12-10 David S. Miller <davem@redhat.com>
6189 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
6191 * config/sparc/sparc-protos.h: Add them.
6192 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
6193 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
6194 constraints which use those helpers.
6195 (EXTRA_CONSTRAINT): Use this new macro.
6196 * md.texi: Update sparc target constraints documentation.
6197 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
6198 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
6199 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
6200 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
6201 (movsf high/lo_sum split): Rework for new patterns.
6202 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
6204 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
6206 * c-common.c (c_common_nodes_and_builtins):
6207 Create __builtin_ptrdiff_t and __builtin_size_t.
6209 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
6211 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
6213 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6215 * regclass.c (globalize_reg): Re-instate test that allows
6216 fixed registers to be declared as a variable even after functions
6219 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6221 * i386.md (cpu attribute): Add "athlon".
6222 (athlon_decode): New attribute.
6223 (Athlon scheduling units definitions): New.
6224 (fcmp and shld patterns): Set athlon_decode to "vector".
6225 * i386.c (athlon_cost): New.
6227 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
6228 x86_use_sahf): Set for Athlon.
6229 (x86_use_fiop): Unset for Athlon.
6230 (override_options): Define Athlon alignments and "athlon" name.
6231 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
6232 * i386.h (TARGET_ATHLON): New.
6233 (enum processor_type): Add PROCESSOR_ATHLON.
6234 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
6236 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
6238 1999-12-09 Andreas Jaeger <aj@suse.de>
6240 * loop.c (record_biv): Declare parameter as int.
6242 * config/i386/i386-protos.h: Declare long_memory_operand.
6244 1999-12-09 Mark Mitchell <mark@codesourcery.com>
6246 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
6247 EXPR_WITH_FILE_LOCATION.
6249 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6251 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
6254 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
6256 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
6259 1999-12-09 Jakub Jelinek <jakub@redhat.com>
6261 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
6262 default on linux64 again.
6263 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
6264 models for multilibing.
6265 * genmultilib: Accept | as alternative separator within a set in
6268 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
6270 * calls.c (precompute_arguments): Make sure initial_value contains
6271 value pseudo which CSE expects.
6272 * cse.c (struct set): New entry orig_src.
6273 (cse_insn): Set it early on entry, use it for libcall EQUIV note
6276 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
6278 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
6280 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
6282 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
6284 1999-12-08 Jakub Jelinek <jakub@redhat.com>
6286 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
6287 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
6289 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
6292 * longlong.h: Merge in changes from glibc.
6293 Also don't clobber %g2 register in 32bit SPARC assembly, so that
6294 -mno-app-regs libgcc can be compiled.
6295 * libgcc2.c: Add defines so that the updated longlong.h
6296 can be used in libgcc2.a. Also, make sure on most architectures
6297 (at least on all which have optimized code in longlong.h defined
6298 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
6300 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6302 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
6303 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
6304 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
6306 * configure: Rebuilt.
6308 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
6310 * alpha.c (secondary_reload_class): For !BWX, sub-simode
6311 outputs require a register.
6313 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
6315 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
6316 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
6317 functions like dptoul will be resolved.
6318 (libgcc2.a): Make sure that the object files from DPBIT are named
6319 differently (prefix `_dp') from those that would be coming from
6322 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
6324 * configure.in: When target is sparc* and tm_file contains 64,
6325 test for 64bit support in assembler. If not supported, remove
6326 sparc/t-sol2-64 from target-dependent Makefile fragments.
6327 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
6328 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
6329 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
6330 * acconfig.h (AS_SPARC64_FLAG): Added.
6331 * configure, config.in: Rebuilt.
6332 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
6333 support. Use AS_SPARC64_FLAG.
6335 1999-12-07 Jakub Jelinek <jakub@redhat.com>
6337 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
6338 suitable for holding OFmode values so that gcc works with complex
6340 (hard_64bit_mode_classes): Likewise.
6342 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
6343 so that it is actually matched.
6344 (sethi_di_medlow): Likewise.
6346 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
6347 as legitimate constant if -mvis.
6348 * config/sparc/sparc.md (movtf): Likewise.
6349 (clear_sf): Use const_double_operand.
6350 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
6352 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
6353 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
6354 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
6355 routines, _Qp_* cannot be handled like that now.
6356 (INIT_TARGET_OPTABS): Likewise.
6357 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
6358 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
6359 sparc_emit_float_lib_cmp if ARCH64 and soft float.
6360 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
6361 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
6362 divtf3, sqrttf3): New expanders.
6363 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
6364 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
6365 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
6368 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
6369 * configure: Rebuilt.
6370 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
6371 -mcpu is given and we're doing 64bit compiles.
6373 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
6375 * loop.h (struct induction): Add multi_insn_incr.
6376 * loop.c (basic_induction_var): New multi_insn_incr argument.
6377 Set it if we search back through previous insns for the biv.
6378 (record_biv): New multi_insn_incr argument; fill in struct induction.
6379 (strength_reduce): Discard an iv with multiple bivs, any of
6380 which require multiple insns to increment.
6382 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6384 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
6387 1999-12-06 David S. Miller <davem@redhat.com>
6389 * combine.c (check_promoted_subreg): Do not conditionalize this upon
6390 PROMOTE_FUNCTION_RETURN.
6392 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
6394 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
6395 and handle REG_UNUSED note on insn.
6397 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
6398 inner_mask instead of mask.
6400 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
6402 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
6403 zero if there was an error.
6405 1999-12-06 Jakub Jelinek <jakub@redhat.com>
6407 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
6410 * longlong.h: Fix clobbers in SPARC asm statements.
6412 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
6413 valid sethi operations when TARGET_ARCH64.
6415 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
6416 always use move_by_pieces to avoid infinite recursion.
6417 (restore_fixed_argument_area): Likewise.
6419 * combine.c (check_promoted_subreg, record_promoted_value): New
6421 (combine_instructions): Use them to retain nonzero and sign bit
6422 information after SUBREGs are eliminated by optimizations in
6423 this pass if PROMOTE_FUNCTION_RETURN.
6425 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
6426 .register declaration. Don't use variables with __ prefixes.
6428 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6430 * fold-const.c (optimize_bit_field_compare): Only use one mode
6431 for both RHS and LHS in non-constant case.
6433 1999-12-06 Nathan Sidwell <nathan@acm.org>
6435 * frame.c (start_fde_sort): Only allocate erratic array, if
6436 linear one was allocated. Return allocated flag.
6437 (fde_insert): Only insert, if there's a valid array.
6438 (fde_end_sort): Split, sort and merge if linear and erratic
6439 arrays exist, else just sort linear one.
6440 (search_fdes): New function. Linear search through original fde
6442 (frame_init): Permit multiple initializations. Cope with
6444 (find_fde): Fallback on linear search, if failed to sort array.
6445 (__deregister_frame_info): Only free sorted array, if we
6448 1999-12-06 Jakub Jelinek <jakub@redhat.com>
6450 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
6452 1999-12-05 Jakub Jelinek <jakub@redhat.com>
6454 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
6456 1999-12-05 Mark Mitchell <mark@codesourcery.com>
6458 * tree.h (special_function_p): Declare.
6459 * calls.c (special_function_p): Make it global. Don't take `name'
6460 as a parameter. Fix typo in 1999-11-28 change.
6461 (expand_cal): Adjust.
6463 1999-12-04 Mark Mitchell <mark@codesourcery.com>
6465 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
6466 * tree.h (EXPR_WFL_FILENAME): Define in terms of
6467 EXPR_WFL_FILENAME_NODE.
6468 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
6470 * print-tree.c (print_note): Print TREE_PRIVATE and
6473 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
6474 the original die cannot be found.
6476 * varray.h (varray_head_tag): Add elements_used.
6477 (VARRAY_PUSH): New macro.
6478 (VARRAY_POP): Likewise.
6479 (VARRAY_TOP): Likewise.
6480 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
6482 * varray.c (varray_init): Initialize elements_used.
6483 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
6484 (INTEGRATE_H): New variable.
6485 (integrate.o): Depend on INTEGRATE_H.
6486 (unroll.o): Likewise.
6488 * function.h (insert_block_after_note): Declare.
6489 * function.c (insert_block_after_note): Split out from ...
6490 (retrofit_block): ... here.
6492 * stmt.c (expand_fixup): Fix typo in comment.
6494 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6496 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
6497 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
6498 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
6499 (regmove_optimize, fixup_match_1): Likewise.
6501 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6503 * flow.c (flow_loops_dump): Add missing argument when calling
6506 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
6507 Greg McGary <gkm@gnu.org>
6509 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
6510 (init_attributes): Add A_NO_LIMIT_STACK.
6511 (decl_attributes): Handle A_NO_LIMIT_STACK.
6512 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
6513 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
6514 Handle stack bounds checking.
6515 * flags.h (flag_stack_check): Use the word 'probe' rather than
6516 'check', because the flag doesn't actually cause any checking to
6518 * function.c (expand_function_start): Set
6519 current_function_limit_stack.
6520 * function.h (struct function): Add limit_stack.
6521 (current_function_limit_stack): Define.
6522 * invoke.texi (Code Gen Options): Document new options.
6523 * rtl.h: Declare stack_limit_rtx.
6524 * toplev.c (stack_limit_rtx): New variable.
6525 (decode_f_option): Handle new options -fstack-limit-register=REG,
6526 -fstack-limit-symbol=IDENT, -fno-stack-limit.
6527 (main): Add stack_limit_rtx as GC root.
6528 * tree.h (DECL_NO_LIMIT_STACK): New macro.
6529 (struct tree_decl): New member no_limit_stack.
6531 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
6533 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
6534 (conditional_trap+1): Get new mnemonic correct.
6535 (conditional_trap+2): New pattern for DImode traps.
6537 * config/m68k/m68k.c (output_function_prologue): Handle
6539 * config/m68k/m68k.md (trap): New insn.
6540 (conditional_trap): New insn.
6541 * md.texi (Standard Names): Document `trap' and
6543 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
6544 so a cc0 setter doesn't get emitted at some random place in the
6547 * config/i960/i960.md (trap): New insn.
6548 (conditional_trap): New expander.
6549 (conditional_trap+1, conditional_trap+2): New insns for signed
6551 * config/i960/i960.c (i960_function_prologue): Use
6552 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
6554 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
6555 Geoffrey Keating <geoffk@cygnus.com>
6557 * flags.h (warn_padded, warn_packed): Add global var decls.
6558 * toplev.c (warn_padded, warn_packed): Add global var defns.
6559 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
6560 * stor-layout.c (layout_record): Add local variable `type'
6561 to hold often-used TREE_TYPE (field). Add local variable
6562 `unpacked_align' to hold alignment that would be in force
6563 if no `packed' attribute were present. Warn if `packed' attribute
6564 is unnecessary, or even harmful. Warn when gcc inserts padding
6565 to satisfy alignment requirements of members. Use NULL_TREE
6566 when checking whether var_size is set.
6567 * invoke.texi: Document new flags.
6569 1999-12-03 Nathan Sidwell <nathan@acm.org>
6571 * frame.c (fde_split): Reimplement to avoid variable sized array.
6573 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6575 * combine.c (try_combine): Before fixing up LOG_LINKS for the
6576 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
6578 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
6580 * invoke.texi: Document the mips option -mno-crt0
6582 1999-12-02 Mike Karr <mkarr@mathworks.com>
6584 * cccp.c (argdata): Added free_ptr member.
6585 (macroexpand): Initialize free_ptr of each argument. When an
6586 argument's buffers are freed, if the argument's free_ptr corresponds
6587 to a buffer on the input stack, then return the free_ptr to that stack
6588 frame, otherwise, free it.
6589 (macarg): If an argument begins and ends on the same input stack level,
6590 then transfer the free_ptr of that buffer to the argument in case
6591 the stack is popped during the processing of a subsequent argument.
6593 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
6595 * loop.c (note_reg_stored): New function.
6596 (struct note_reg_stored_arg): New structure.
6597 (try_copy_prop): Change to be more conservative; only replace within
6598 one extended basic block and stop replacing if a store to the
6599 replacement reg is seen.
6601 1999-12-02 Nick Clifton <nickc@cygnus.com>
6603 * config/fp-bit.c: Initialise all fields of the NAN
6606 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
6609 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
6611 * i386.md (extend?f?f2): Force the input into a register, not
6614 1999-12-01 Jakub Jelinek <jakub@redhat.com>
6616 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
6618 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
6619 alternative because setting up 64bit constant is usually costly,
6620 especially when reload is in progress or completed.
6621 (movdf_const_intreg_sp64): Likewise.
6622 (movdf_const_intreg split): Fix building up constants when
6623 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
6625 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
6627 * combine.c (if_then_else_cond): Use const_true_rtx instead of
6628 const1_rtx for return values in EQ/NE comparison against (const_int 0)
6631 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
6632 (asm_file_start): Emit .am33 into assembly file when compiling for
6634 (print_operand_address): Handle POST_INC addresses.
6635 (can_use_return_insn, initial_offset): Check AM33 registers too.
6636 (expand_prologue): Check & save AM33 registers too.
6637 (expand_epilogue): Similarly.
6638 (secondary_reload_class): Handle AM33 specific secondary reloads.
6639 (output_tst): Emit efficient code for the AM33 too.
6640 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
6641 (TARGET_SWITCHES): Add -mam33 switch.
6642 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
6643 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
6644 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
6645 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
6646 (enum reg_class, REG_CLASS_NAMES): Likewise.
6647 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
6648 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
6649 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
6650 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
6651 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
6652 (HAVE_POST_INCREMENT): Define.
6653 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
6654 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
6655 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
6656 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
6657 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
6658 (zero_extend to SI from QI/HI): Likewise.
6659 (sign_extend to SI from QI/HI): Likewise.
6660 (mulsidi3, umulsidi3): New patterns for the AM33.
6661 (tstsi with zero extension from QI/HI): Add AM33 variants.
6662 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
6663 (return_internal_regs, store_movm): Handle new AM33 registers.
6664 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
6665 (LIBGCC, INSTALL_LIBGCC): Likewise.
6666 * invoke.texi: Document new flags.
6668 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6670 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
6671 (addsi3_carry): Likewise.
6672 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
6673 (sbbsi3_carry): Likewise.
6674 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
6676 (test?i_1): Ensure that only one operand is memory.
6677 (conditional move patterns): likewise.
6678 (shift and rotate patterns): Rewrite to expander, add
6679 "binary_operator_ok" to the condition.
6681 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
6682 * i386.h (procesor_costs): Add movzbl_load field.
6683 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
6684 non-Q registers, accept DImode registers anywhere.
6686 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
6687 * i386.c (*_cost): Set value for movxbl_load field.
6689 * (addsi): New add to lea splitter.
6691 (lea to add/shift peep2): New.
6693 1999-12-01 Mark Salter <msalter@cygnus.com>
6695 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
6696 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
6697 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
6699 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6701 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
6702 * i386.md (movsi_xor): New.
6704 (movsi_1, movhi_1, movqi_1): Remove.
6705 (movsi_2): Rename to movsi_1.
6706 (movhi_2): Rename to movhi_1.
6707 (movqi_2): Rename to movqi_1.
6708 (movdi_1): Remove; remove splitter.
6709 (movdi_2): Rename to movdi_1.
6710 (divmodsi4 splitter): Do not emit clobbers for move patterns.
6711 (long move peep2): Do not create QI or HI mode mov0s
6712 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
6714 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
6717 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
6718 (abs?f2_if): Likewise.
6720 1999-11-30 Alex Samuel <samuel@codesourcery.com>
6722 * ggc.h (ggc_test_and_set_mark): New macro.
6723 (ggc_mark_rtx): Use ggc_test_and_set_mark.
6724 (ggc_mark_tree): Likewise.
6725 (ggc_mark_rtvec): Likewise.
6726 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
6728 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
6730 * dwarf2out.c (scope_die_for): Only handle types. Only search for
6732 (decl_scope_table): Just an array of trees now.
6733 (push_decl_scope): Simplify.
6734 (dwarf2out_init): Adjust.
6735 (local_scope_p): New fn.
6736 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
6737 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
6738 (gen_typedef_die): Likewise.
6739 (gen_lexical_block_die): Don't call push/pop_decl_scope.
6740 (gen_inlined_subroutine_die): Likewise.
6741 (gen_abstract_function): Set current_function_decl temporarily.
6742 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
6743 Handle block extern declarations. Don't call push/pop_decl_scope.
6744 (gen_decl_die): Fix logic for block externs.
6746 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6748 * calls.c (special_function_p): Remove `realloc' and add `strdup'
6749 to the list of functions which have attribute malloc by default.
6751 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6753 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
6754 integer constant does not match the traditional type, limit the
6755 warnings to cases where the base of the type is ten.
6757 * invoke.texi (-Wtraditional): Document it.
6759 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6761 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
6762 * rs6000.md: Only access a CONST_INT with INTVAL
6764 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
6766 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
6767 (compute_nearerout): Likewise.
6768 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
6769 size_t to unsigned long for formatting.
6771 1999-11-30 Jakub Jelinek <jakub@redhat.com>
6773 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
6774 Allow the user to override call-used/fixed state of %g2-5
6775 registers from the command line (with the exception of %g4 for
6777 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
6778 there is a higher chance of having a leaf function.
6779 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
6780 for ARCH64 which has %ccr register.
6781 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
6783 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
6784 insn accept into delay slot any insn which does not use %[ol]
6785 registers. Accept some LO_SUM and shift left by 1 for the normal
6787 (output_function_epilogue): Likewise.
6788 (epilogue_renumber): Added argument which inhibits any renumbering
6789 and just tests if the rtx does not use any %[ol] registers.
6790 (output_return): Reflect above change.
6792 1999-11-30 Jakub Jelinek <jakub@redhat.com>
6794 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
6795 aggregate passing for sizes <= 16 bytes.
6797 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
6799 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
6800 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
6801 * reload.c (find_dummy_reload): Likewise.
6802 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
6803 * reload1.c (reload_as_needed): Likewise.
6804 * stupid.c (stupid_find_reg): Likewise.
6805 * tm.texi (Obsolete Register Macros): Delete section.
6806 * gmicro.h: Remove all traces of the two macros.
6811 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
6813 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
6814 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
6815 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
6816 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
6817 units for the sparclite86x chip.
6818 (flush): Revert October 14th change; add SImode specifically.
6819 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
6820 * invoke.texi: Document it.
6822 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
6824 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
6825 psimode_truncation_operand.
6827 * config/mn10200/mn10200.c (psimode_truncation_operand): New
6828 function. Return true if the operand is either a MEM valid
6829 for a PSImode address or not a MEM at all.
6831 * config/mn10200/mn10200.md (truncsipsi2): Use
6832 psimode_truncation_operand.
6834 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6836 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
6837 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
6838 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
6839 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
6840 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
6841 (flow_loop_level_compute, low_loops_level_compute): Likewise.
6842 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
6843 * basic-block.h: Protect from multiple inclusion.
6844 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
6845 (struct loops, struct loop): Define structures.
6846 * sbitmap.c (sbitmap_a_subset_b_p): New function.
6847 * sbitmap.h: Protect from multiple inclusion.
6848 (sbitmap_a_subset_b_p): Add prototype.
6849 * Makefile.in (LOOP_H): New macro.
6850 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
6852 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
6854 * cppinit.c (CAT): The argument list of this macro may not contain
6857 1999-11-29 David S. Miller <davem@redhat.com>
6859 Move quantity tables and register equivalence chains into
6860 per-qty and per-register structure arrays respectively.
6861 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
6862 qty_const_insn, qty_comparison_code, qty_comparison_const,
6863 qty_comparison_qty): Delete, replace with...
6864 (qty_table): this structure table.
6865 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
6866 (reg_eqv_table): this structure table.
6867 (make_new_qty): Add argument MODE. Caller updated.
6868 Update to use qty_table and reg_eqv_table.
6869 (make_regs_eqv, delete_reg_equiv, insert_regs,
6870 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
6871 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
6872 cse_process_notes, cse_main, cse_basic_block): Likewise.
6874 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6876 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
6877 operation if C is negative.
6878 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
6879 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
6880 law for some divisions if constant is negative and change other
6881 divisions to the opposite rounding.
6883 * expr.c (store_constructor_field): If bit position is not multiple
6884 of alignment of TARGET's mode, use BLKmode.
6886 * expr.c (expand_expr_unaligned): Add more code from full case
6887 that is needed when OP0 is in a register.
6889 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6891 * dwarfout.c (field_byte_offset): Size can be zero if there was
6894 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
6896 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
6897 (associate_trees): Delete unused var TEM.
6898 (extract_muldiv): Delete unused var CANCEL_P.
6900 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
6901 (target_isinf, target_isnan, target_negative): Add return types to
6902 function definitions.
6904 1999-11-29 Bruce Korb <autogen@linuxbox.com>
6906 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
6907 * fixinc/hackshell.tpl: ditto
6908 * fixinc/fixtests.c(double_slash_test): more C++ header testing
6909 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
6911 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
6913 * reload.c (push_reload): When looking for a register to put into
6914 reg_rtx, make sure all hard regs in a multi-reg register are in the
6915 right class and nonfixed.
6917 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
6918 pending_read_insns, pending_write_insns, pending_read_mems,
6919 pending_write_mems, pending_list_length, last_pending_memory_flush,
6920 last_function_call, sched_before_next_call): Move static variables
6922 (bb_ prefixed versions): Replace with single array bb_deps.
6923 (struct deps): New structure.
6924 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
6925 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
6926 argument of type "struct deps *"; use that instead of global
6927 variables. All callers changed.
6928 (init_rgn_data_dependencies): Delete function.
6929 (init_rtx_vector): Delete function.
6930 (init_deps): New function.
6932 (free_pending_lists): Simplify, we always use the bb_deps array even
6933 if only one basic block.
6934 (compute_block_backward_dependences): Likewise.
6935 (schedule_region): Likewise.
6937 (propagate_deps): New function, broken out of
6938 compute_block_backward_dependences.
6939 (compute_block_backward_dependences): Use it.
6941 * alpha.md: Delete useless patterns that tried to work around
6942 register elimination problems.
6944 * unroll.c (loop_iterations): Don't abort if iteration variable
6947 From Joern Rennecke:
6948 * reload1.c (reloads_conflict): Reverse test comparing operand
6949 numbers when testing for conflict between output/outaddr reloads.
6951 1999-11-29 David S. Miller <davem@redhat.com>
6953 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
6955 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
6957 1999-11-28 Robert Lipe <robertl@cygnus.com>
6959 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
6960 table from .fini into .dtor.
6962 1999-11-28 Anthony Green <green@cygnus.com>
6964 * tree.h (struct tree_decl): Add malloc_flag.
6965 (DECL_IS_MALLOC): Define.
6966 * c-common.c (attrs): Add A_MALLOC attribute.
6967 (init_attributes): Add this attribute to the table.
6968 (decl_attributes): Handle malloc attribute.
6969 * calls.c (special_function_p): Check for the malloc attribute.
6970 * extend.texi (Function Attributes): Document malloc attribute.
6972 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
6974 * pa.md (reload shift-add patterns): Remove.
6976 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6978 * reorg.c (dbr_schedule) Print more statistics. Corrected
6979 problem when printing info when 3 delay slots are filled.
6981 1999-11-28 Jakub Jelinek <jakub@redhat.com>
6983 * combine.c (setup_incoming_promotions): Pass an outgoing
6984 regno to FUNCTION_ARG_REGNO_P which it expects.
6986 1999-11-28 Andreas Jaeger <aj@suse.de>
6988 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
6990 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
6992 * cccp.c (do_include): Avoid initialization of automatic variable.
6994 * integrate.c (mark_stores): Function definition made void, to match
6995 previous declaration.
6996 * regclass.c (dump_regclass): Ditto.
6997 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
6999 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7001 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
7002 known to be multiple of divisor.
7004 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
7006 * combine.c (try_combine): Add code to try to merge a set of a
7007 two-word pseudo to a constant with a setting of one of those words
7010 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
7011 (split_tree): Completely rework to make more general.
7012 (make_range, fold): Call negate_expr.
7013 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
7014 (fold, associate): Call new split_tree and associate_trees.
7015 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
7017 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
7019 * loop.c (try_copy_prop): Avoid GNU C extension.
7021 1999-11-25 Mark Mitchell <mark@codesourcery.com>
7023 * except.c (init_eh_for_function): Still zero eh_return_context,
7024 eh_return_stack_adjust, and eh_return_handler.
7026 * except.h (eh_status): Adjust documentation for x_protect_list.
7027 (begin_protect_partials): New function.
7028 * except.c (enqueue_eh_entry): Fix formatting.
7029 (get_first_handler): Add consistency check.
7030 (add_partial_entry): Adjust usage of protect_list.
7031 (emit_cleanup_handler): Save and restore ehqueue.
7032 (expand_start_all_catch): Add comment.
7033 (begin_protect_partials): New function.
7034 (end_protect_partials): Adjust usage of protect_list.
7035 (init_eh_for_function): Use xcalloc.
7037 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7039 * c-common.c (check_format_info): Don't call a variadic function
7040 with a non-literal format string.
7042 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
7044 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
7045 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
7048 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
7051 * collect2.c (collect_wait): Likewise.
7053 * dbxout.c (dbxout_type): Likewise.
7055 * gcc.c (do_spec_1): Likewise.
7057 * genemit.c (gen_insn, gen_expand): Likewise.
7059 * genrecog.c (write_switch, write_subroutine): Likewise.
7061 * mips-tfile.c (catch_signal, botch): Likewise.
7063 * print-rtl.c (print_rtx): Likewise.
7065 * toplev.c (default_print_error_function, report_error_function,
7066 _fatal_insn): Likewise.
7068 1999-11-25 Mark Mitchell <mark@codesourcery.com>
7070 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
7072 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7074 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
7075 operations when needed.
7076 * i386.md (fop_?f_comm): New.
7077 (fop_?f_1): Do not accept commutative operands.
7079 1999-11-25 Andreas Jaeger <aj@suse.de>
7081 * config/mips/mips.md (casesi_internal): Add missing brace.
7083 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
7085 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
7086 (splice_child_die): Handle moving a child DIE from the declaration
7087 DIE of a class to its specification.
7088 (gen_struct_or_union_type_die): Use 'complete' consistently.
7089 (gen_decl_die): Generate the virtual context DIE first.
7090 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
7092 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
7094 * config/mips/mips.md (call_value_multiple_interanal1): New.
7096 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
7098 * dwarf2out.c (free_AT, free_die): New fns.
7099 (remove_children): Call them.
7100 (output_line_info): Disable removal of duplicate notes.
7102 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
7103 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
7104 means pretend the type isn't defined.
7105 Don't defer emitting types.
7106 (gen_type_die_for_member): New fn.
7107 (gen_decl_die): Call it.
7108 (splice_child_die): New fn.
7109 (gen_member_die): Call it rather than generate duplicate dies.
7111 Defer emitting information for the abstract instance of an inline
7112 until we either inline it or emit an out-of-line copy.
7113 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
7114 from output_inline_function if DECL_ABSTRACT is also set.
7115 (block_ultimate_origin): Likewise.
7116 (gen_abstract_function): New fn.
7117 (gen_decl_die, gen_inlined_subroutine_die): Call it.
7118 (gen_subprogram_die): An abstract instance is not a declaration
7119 just because it doesn't match current_function_decl. Don't abort
7120 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
7121 has an abstract origin.
7122 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
7123 abstract instance here.
7125 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
7127 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
7128 where we need to reload fpul from a system register.
7130 1999-11-24 Andreas Jaeger <aj@suse.de>
7132 * config/mips/linux.h (CPP_PREDEFINES): Added.
7133 (LINK_SPEC): Remove -Y since this is only needed on sparc.
7135 1999-11-24 Andreas Jaeger <aj@suse.de>
7137 * config/mips/linux.h (TARGET_VERSION): Added.
7138 (HANDLE_SYSV_PRAGMA): Added.
7139 (DEFAULT_VTABLE_THUNKS): Added.
7141 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7143 * local-alloc.c (qty): New structure and static variable.
7144 (qty_phys_reg): Remove, all references changed to qty.
7145 (qty_n_refs): Likewise.
7146 (qty_min_class): Likewise.
7147 (qty_birth): Likewise.
7148 (qty_death): Likewise.
7149 (qty_size): Likewise.
7150 (qty_mode): Likewise.
7151 (qty_n_calls_crossed): Likewise.
7152 (qty_alternate_class): Likewise.
7153 (qty_changes_size): Likewise.
7154 (qty_first_reg): Likewise.
7155 (alloc_qty): Rename variable QTY to QTYNO.
7156 (finf_free_reg): Likewise.
7157 (local_alloc): Allocate qty, do not allocate the removed variables.
7159 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
7161 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
7162 when -membedded-pic is passed.
7164 * config/mips/mips.md (casesi): Handle 64-bit case too.
7165 (casesi_internal_di): New insn.
7167 * config/mips/mips.c (embedded_pic_offset): Always make the
7168 embedded-pic subtractions relative to the name of the current
7169 function by use of the magic string "..CURRENT_FUNCTION".
7170 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
7172 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
7174 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
7175 of (const_int 0), when what we really care about is
7176 whether it's a zero constant anyway.
7177 (div_trap_mips16): Likewise.
7179 1999-11-23 Mark Mitchell <mark@codesourcery.com>
7181 * loop.c (loop_optimize): Always find_loop_tree_blocks and
7182 unroll_block_trees when generating debuggable code.
7184 * tree.h (unsave_expr_1): New function.
7185 (lang_unsave): New variable.
7186 (get_callee_fndecl): New function.
7187 * tree.c (unsave_expr_now_r): New function.
7188 (lang_unsave): Define.
7189 (unsave_expr_1): Likewise.
7190 (unsave_expr_now_r): Split out from unsave_expr_now.
7191 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
7192 call unsave_expr_now_r.
7193 (get_callee_fndecl): Define.
7195 * Makefile.in (gencheck): Don't depend on lang_tree_files.
7196 (gencheck.o): Do depend on lang_tree_files.
7198 * integrate.h (copy_decl_for_inlining): New declaration.
7199 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
7200 (copy_decl_for_inlining): New function.
7201 (integrate_parm_decls): Use it.
7202 (integrate_decl_tree): Likewise.
7204 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
7206 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
7207 the second two from the first.
7208 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
7209 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
7210 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
7212 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
7213 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
7216 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
7218 * pa.md (call_internal_symref, call_value_internal_symref): No mode
7219 needed on the address operand.
7220 * pa.c (call_operand_address): Check for the correct mode.
7222 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
7224 * loop.c: Include "basic-block.h".
7225 (try_copy_prop, replace_loop_reg): New functions.
7226 (load_mems): Detect registers that just hold copies of the hoisted
7227 mem, and call try_copy_prop to eliminate them.
7228 * Makefile.in (loop.o): Update dependencies.
7230 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
7232 * Makefile.in (gencheck.o): Depend on gencheck.h.
7233 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
7234 (insn-peep.o): Depend on except.h and function.h.
7235 (insn-attrtab.o): Depend on RECOG_H.
7236 (insn-output.o): Depend on toplev.h and flags.h.
7237 (gengenrtl.o): Depend on real.h.
7238 (gen-protos.o): Depend on cpplib.h and cpphash.h.
7239 Unify all dependencies to be on RECOG_H rather than recog.h.
7241 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7243 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
7244 * configure.in: Try building a bi-arch 32/64-bit compiler on
7245 sparc-*-solaris2.7 and higher.
7246 * configure: Rebuild.
7248 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
7250 * config/freebsd.h: New, FreeBSD architecture independent file.
7251 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
7253 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
7254 directly by i386/freebsd.h.
7255 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
7256 independent configuration file.
7257 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
7258 directly by i386/freebsd.h.
7259 * configure: Rebuilt.
7261 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
7262 which is in the user's namespace.
7263 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
7264 `i386' which is not in our namespace.
7266 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
7268 * invoke.texi (ARM Options): Add in -mno-alignment-traps
7270 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
7272 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
7273 (add_dwarf_attr, add_child_die): Just push onto the front.
7274 (reverse_die_lists): New fn.
7275 (add_sibling_attributes): Use it.
7276 (push_decl_scope): Reorganize.
7277 (add_name_and_src_coords_attributes): Don't set file and line for
7279 (gen_subprogram_die): An artificial function doesn't need to match
7281 (gen_compile_unit_die): Return the generated die. Only add
7282 AT_comp_dir if the filename is relative.
7283 (remove_AT): Simplify loop. Also free string values.
7284 (output_die): A DIE ref can't be null.
7285 (output_value_format, value_format): Take a dw_attr_ref.
7286 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
7287 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7288 AT_addr, AT_lbl): New fns.
7289 (various): Use them.
7290 (various): Constify.
7292 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7294 * combine.c (combine_simplify_rtx): When handling a SUBREG,
7295 take SUBREG_WORD into account.
7296 (if_then_else_cond): Likewise.
7298 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
7300 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
7301 clause from BSD license, pursuant with
7303 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
7305 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
7307 * loop.c (load_mems): Reformat slightly.
7308 * basic-block.h (regset_head): New typedef.
7309 (INIT_REG_SET): New macro.
7311 1999-11-22 Bruce Korb <autogen@linuxbox.com
7313 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
7314 (mips-dec-bsd*): non-functional code
7315 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
7317 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
7318 added three replacement fixes
7319 (no_double_slash): removed comments that are not (any longer) pertinent
7320 (bad_lval): this fix currently runs against many files.
7321 The comment seems to indicate that we should select for files
7322 containing 'pragma extern_prefix'.
7324 * fixinc/fixinc.x86-linux-gnu: deleted
7325 * fixinc/inclhack.sh: regen
7326 * fixinc/fixincl.x: regen
7327 * fixinc/fixincl.sh: regen
7329 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
7331 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
7332 its code is INSN and it has no notes.
7334 1999-11-22 Andrew Haley <aph@cygnus.com>
7336 * varasm.c (function_defined): Remove.
7337 (make_function_rtl): Don't set function_defined.
7338 (make_decl_rtl): Remove global register warning.
7339 * regclass.c (no_global_reg_vars): New variable.
7340 (globalize_reg): Warn if function has already been defined.
7341 (regclass_init): Set no_global_reg_vars.
7343 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7345 * regclass.c (reg_pref): New structure and static variable
7346 (prefclass): Delete.
7348 (all uses of prefclass and altclass): Use reg_pref instead.
7350 1999-11-21 Nick Clifton <nickc@cygnus.com>
7352 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
7354 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
7355 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
7356 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
7358 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
7360 * varasm.c (output_constructor): Solve problem with long long
7361 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
7363 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
7365 * global.c (allocno): New structure and static variable.
7366 (allocno_reg): Remove, all references replaced by allocno.
7367 (allocno_size): Likewise.
7368 (hard_reg_conflicts): Likewise.
7369 (hard_reg_preferences): Likewise.
7370 (hard_reg_copy_preferences): Likewise.
7371 (hard_reg_full_preferences): Likewise.
7372 (regs_someone_prefers): Likewise.
7373 (allocno_calls_crossed): Likewise.
7374 (allocno_n_refs): Likewise.
7375 (allocno_live_length): Likewise.
7376 (find_reg): Rename ALLOCNO to NUM.
7378 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
7380 (may_move_out_cost): New variable.
7381 (init_reg_sets_1): Initialize may_move_out_cost.
7382 (record_reg_classes): Use may_move_out_cost.
7384 * regclass.c (dump_regclass): New function.
7385 (regclass): New parameter DUMP, call DUMP_REGCLASS.
7386 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
7387 pass rtl_dump_file to regclass.
7388 * rtl.h (regclass): Update prototype.
7390 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
7392 * i386.md (neg, not and abs patterns): Revmap to use
7393 ix86_expand_unary_operator and ix86_unary_operator_ok.
7394 (add?f and sub?f expanders): Force operand 1 to register.
7395 * i386.c (ix86_expand_unary_operator): Rewrite.
7396 (ix86_unary_operator_ok): Ensure that memory operands
7398 (ix86_binary_operator_ok): Do not allow operand 1 to
7399 come into memory and operand 0 not.
7400 (ix86_expand_binary_operator): Ensure that
7401 src1 is not non-matching memory.
7403 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
7404 to support integer registers and memory.
7405 (abss?2_integer): Likewise.
7407 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
7408 (REG_CLASS_NAMES): Likewise.
7409 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
7411 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
7412 (movsf): Likewise; unify 4th and 5th alternative.
7414 (movdf_1): Likewise; rename to movdf_integer.
7415 (pushxf): Likewise; rename to pushxf_integer; fix output template;
7416 remove redundant splitter.
7417 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
7418 (movdf_nointeger): New.
7419 (movxf_nointeger): New.
7420 (pushxf_nointeger): New.
7422 * i386.md (extend?f?f): Split to expander and pattern, refuse two
7423 memory operands in patterns.
7424 (fop*): Refuse two memory operands.
7426 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
7427 on !TARGET_USE_CLTD CPUs.
7429 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
7431 * extend.texi: Document C++ restricted pointers and references.
7433 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
7435 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
7436 (invalidate_skipped_set): Call it unconditionally.
7437 (cse_set_around_loop): Likewise.
7439 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
7441 * rtl.texi (mem): Add documentation for alias-set argument
7444 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
7446 * i386.h (struct_processor_costs): New fields int_load, int_store,
7447 fp_move, fp_load and fp_store
7448 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
7450 (MEMORY_MOVE_COST): New macro.
7451 * i386.c (386_cost): Define new fields.
7452 (i486_cost): Likewise.
7453 (pentium_cost): Likewise.
7454 (pentiumpro_cost): Likewise.
7455 (k6_cost): Likewise.
7457 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
7458 Geoffrey Keating <geoffk@cygnus.com>
7460 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
7462 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
7465 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
7466 (TARGET_STRICT_ALIGNMENT): New macro.
7467 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
7468 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
7469 * invoke.texi (M680x0 Options): Document -mstrict-align.
7471 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
7472 Richard Henderson <rth@cygnus.com>
7474 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
7475 (ix86_split_long_move): Declare.
7476 * i386.c (split_xf, ix86_split_movdi): Remove.
7477 (ix86_split_to_parts, ix86_split_long_move): New.
7478 * i386.md (dimode move splitters): Use ix86_split_long_move.
7479 (dfmode move splitters): Likewise.
7480 (xfmode move splitters): Likewise.
7481 (movsf_1): Allow F->r.
7482 (movdf_1, movxf_1): Allow F->ro.
7484 1999-11-17 Mark Mitchell <mark@codesourcery.com>
7486 * except.h (struct eh_entry): Add goto_entry_p.
7487 (eh_region_from_symbol): Remove prototype.
7488 * except.c (find_func_region_from_symbol): New function.
7489 (emit_cleanup_handler): Likewise.
7490 (eh_region_from_symbol): Make it static.
7491 (add_new_handler): Verify the argument.
7492 (find_func_region): Update comment.
7493 (expand_eh_region_end): Expand handlers here, rater than waiting
7494 until expand_leftover_cleanups or start_all_catch.
7495 (expand_leftover_cleanups): Don't expand here.
7496 (expand_start_all_catch): Or here.
7497 (expand_rethrow): Check the return value from find_func_region.
7498 * function.c (expand_function_end): Emit the catch_clauses.
7500 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
7502 * integrate.c (expand_inline_function): Add necessary check for NULL.
7504 1999-11-18 Nick Clifton <nickc@cygnus.com>
7506 * toplev.c (main): Correctly detect an unrecognised option.
7508 * cppinit.c (cpp_handle_option): Do not claim to have consumed
7509 a -f option if it has not been recognised.
7511 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
7513 * basic-block.h (update_life_extent): Remove trailing comma on
7514 enumeration type list.
7516 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7518 * varasm.c (output_constructor) Solved problem with long long
7519 bitfields. Corrected calculating this_time and shift. Also
7520 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
7522 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
7524 * flow.c (split_edge): Take looping structure into account when
7525 determining where to put the new block note.
7527 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
7529 * Makefile.in (ggc-none.o): Provide host specific version if
7532 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
7534 * cse.c (delete_trivially_dead_insns): Identify no-op insns
7535 containing subregs too.
7537 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
7539 * invoke.texi: Add documentation for -muninit-const-in-rodata.
7540 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
7541 (TARGET_UNINIT_CONST_IN_RODATA): Define.
7542 (text_section): Add switches -munint-const-in-rodata and
7543 -mno-uninit-const-in-rodata.
7544 (ASM_OUTPUT_COMMON): Remove.
7545 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
7546 const objects should be placed in read-only data. Otherwise declare
7549 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
7551 * jump.c (jump_optimize_1): Revert last change.
7553 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
7555 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
7556 test if optimizing for size.
7558 1999-11-17 Mark Mitchell <mark@codesourcery.com>
7560 * Makefile.in (toplev.o): Depend on except.h.
7561 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
7563 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
7565 * i386.md (divmodsi4): Rewrite to expander.
7566 (*divmodsi4_nocltd): New.
7567 (*divmodsi4_cltd): New.
7568 (divmodsi4 splitter): Handle the case when input comes in edx.
7569 (udivmodhi4): Do not use constraints in exander.
7570 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
7572 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
7574 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
7575 for the common case.
7577 1999-11-16 Jakub Jelinek <jakub@redhat.com>
7579 * explow.c (hard_function_value): Add outgoing argument.
7580 * expr.h (hard_function_value): Declare it.
7581 * calls.c (expand_call, emit_library_call_value): Update callers.
7582 * function.c (aggregate_value_p): Ditto.
7583 (diddle_return_value): Must look at the outgoing registers
7584 on archs with register windows.
7586 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
7588 * alpha.c (alpha_build_va_list): Use make_lang_type and
7589 initialize TYPE_NAME for the va_list record.
7591 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
7593 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
7595 * ggc.h (struct ggc_statistics): Rearrange elements for better
7596 packing on 64-bit hosts.
7597 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
7598 (compute_nearerout): Likewise.
7600 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
7602 * config/rs6000/rs6000.c (first_reg_to_save): Save
7603 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
7605 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
7607 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
7608 notion of nesting to find the DIE for a type or function.
7609 DIEs can go in limbo even if we got a context_die.
7610 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
7611 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
7613 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
7614 (gen_type_die): Writing out the context doesn't cause member class
7615 template instantiations to be written out as well.
7617 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
7619 * rs6000.h (ASM_OUTPUT_DEF): New.
7620 Based on proposed addition from David Edelsohn.
7622 1999-11-15 Robert Lipe <RobertLipe@usa.net>
7623 Bruce Korb <autogen@linuxbox.com>
7625 * fixinc/inclhack.def
7626 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
7627 (unixware7_byteorder_fix): added. Removes conflicts for new defs
7629 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
7630 (svr4_endian): enabled with SVR5
7631 (svr4_mkdev): simplified syntax and enabled with SVR5
7633 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
7635 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
7636 * configure: Rebuilt.
7637 * config/t-freebsd-thread: New file.
7639 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
7641 * i386.c (ix86_decompose_address): Verify the base is a REG
7642 before trying to examine its register number.
7644 * basic-block.h: Remove all #defines and prototypes related to
7646 (free_bb_mem, compute_preds_succs): Remove prototype.
7647 * rtl.h (free_bb_mem): Remove prototype.
7648 * flow.c (alloc_int_list_node); Remove function.
7649 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
7650 (compute_preds_succs, free_bb_mem): Likewise.
7651 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
7652 * toplev.c (rest_of_compilation): Likewise.
7653 * haifa-sched.c (build_control_flow): Use flow generated edge
7654 list to build the haifa specific edge list.
7655 (find_rgns): Use new CFG data structures instead of pred/succ lists.
7656 (schedule_insns): Do not build pred/succ lists anymore. Instead
7657 build the edge table.
7659 * basic-block.h (dump_bb_data): Remove declaration.
7660 * flow.c (dump_bb_data): Remove function.
7661 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
7662 (sbitmap_union_of_predsucc): Likewise.
7664 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
7665 argument. All callers changed.
7666 (delete_null_pointer_checks_1): No longer need to compute the
7669 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
7670 All callers changed.
7671 (pre_expr_reaches_here_p_work): Likewise.
7672 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
7673 * lcm.c (compute_laterin): Fix initialization of LATER.
7674 (compute_nearerout): Similarly for NEARER.
7676 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7678 * cse.c (set_nonvarying_address_components): Delete unused function.
7679 (refers_to_p): Likewise.
7681 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
7683 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
7686 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7688 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
7689 definition in do while (0).
7691 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
7693 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
7695 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
7697 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
7699 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
7701 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
7702 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
7703 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
7704 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
7706 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
7707 saved on the stack. Output more accurate stack frame statistics
7708 into assembler file.
7710 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
7712 * genextract.c (record_insn_name): New function.
7713 (get_insn_name): No longer a stub.
7714 (main): Call record_insn_name for each insn. After each label
7715 written, print the insn name in a comment.
7717 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7719 * output.h (const_section, init_section, fini_section): Add
7722 * alpha/elf.h (const_section): Delete declaration.
7724 * svr4.h (const_section): Likewise.
7726 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
7728 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
7729 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
7730 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
7732 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
7733 variable-sized array bounds.
7735 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
7737 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
7740 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7742 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
7743 addresses the same way GO_IF_LEGITIMATE_INDEX does.
7745 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7747 * cse.c (hash_arg_in_struct): Delete.
7748 (struct table_elt): Delete elt in_struct.
7749 (struct set): Delete elt src_in_struct.
7750 (merge_equiv_classes): Don't set either hash_arg_in_struct or
7751 the corresponding in_struct elts.
7752 (canon_hash): Likewise.
7753 (safe_hash): Likewise.
7754 (find_best_addr): Likewise.
7755 (record_jump_cond): Likewise.
7756 (cse_insn): Likewise.
7758 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
7760 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
7762 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
7765 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
7767 * function.c (diddle_return_value): Put back check that the DECL_RTL
7768 for the function is a register.
7770 * function.c (diddle_return_value): Use hard_function_value to
7771 get an rtx suitable for use in the USE/CLOBBER insn.
7773 * global.c (global_conflicts): Update comments.
7774 (record_conflicts): No need to record conflicts between pseudos here.
7776 1999-11-11 Bruce Korb <autogen@linuxbox.com>
7778 * fixinc/fixincl.c: Added verbose levels for status messages
7780 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7782 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
7783 operand as argument to expand_and or expand_binop.
7785 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
7787 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
7788 gcc_add_string_root.
7790 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
7792 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
7794 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
7796 * flow.c (compute_flow_dominators): Initially put all blocks on
7798 * lcm.c (compute_antinout_edge, compute_available): Similarly.
7799 * gcse.c (compute_cprop_avinout): Remove.
7800 (compute_cprop_data): Use compute_available.
7801 (delete_null_pointer_checks_1): Use compute_available.
7803 * basic-block.h (compute_available): Returns a void now.
7804 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
7805 to return a value anymore.
7806 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
7807 worklists. Fix boundary cases. Compute maximal solutions.
7808 (compute_laterin, compute_nearerout): Similarly.
7810 * dwarf2out.c (add_AT_location_description): Allow
7811 (mem (plus (pseudo) (...)) too.
7813 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
7815 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
7817 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
7818 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7820 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
7822 * gansidecl.h: Likewise.
7828 * toplev.h: Likewise.
7834 * varray.c: Likewise.
7836 * varray.h: Likewise.
7838 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
7840 * gcov.c (struct arcdata): Add hits and total, remove prob.
7841 (output_branch_counts): New.
7842 (process_args): Set output_branch_counts if -c.
7843 (calculate_branch_probs): Store hits and total instead of
7845 (output_data): Emit counts if output_branch_counts is true.
7846 * gcov.texi (Invoking Gcov): Document -c switch..
7848 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
7850 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
7851 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
7853 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
7855 * invoke.texi (C Dialect Options): Add missing builtins from
7857 * extend.texi (Other Builtins): Copy to this list.
7859 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7861 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
7862 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
7865 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
7867 * flow.c (compute_flow_dominators): No longer treat basic block 0
7868 or (n_basic_blocks - 1) specially. Clear the AUX field before
7869 starting computation of doms/pdoms. Fix initial state for pdoms.
7871 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7873 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
7874 match rtl.o's: added ggc.h and toplev.h
7875 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
7876 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
7877 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
7879 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
7881 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
7882 from HAVE_DOS_BASED_FILESYSTEM.
7883 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
7884 HAVE_DOS_BASED_FILESYSTEM.
7886 (split_directories): Only special-case DOS file names if
7887 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
7888 instead of explicit tests. Conditionalize on !VMS.
7889 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
7890 tests. Conditionalize on !VMS.
7891 (process_command): Only use make_relative_prefix if !VMS.
7892 (free_split_directories): Conditionalize on !VMS.
7893 (DIR_UP): Conditionalize on !VMS.
7895 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
7897 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
7899 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
7901 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
7904 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
7906 * invoke.texi (Environment Variables): Document relative path
7908 * gcc.c (DIR_UP): If not defined, define as "..".
7909 (standard_bindir_prefix): New static, holds target location to
7911 (split_directories): New function to split a filename into
7912 component directories.
7913 (free_split_directories): New function, release memory allocated
7914 by split_directories.
7915 (make_relative_prefix): New function, make a relative pathname if
7916 the compiler is not in the expected location.
7917 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
7918 can figure out an appropriate prefix from argv[0].
7919 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
7920 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
7921 STANDARD_BINDIR_PREFIX.
7923 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7925 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
7927 * config/c4x/c4x.h: Moved prototypes to c4x.h.
7928 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
7929 c4x_secondary_memory_needed) Delete.
7930 (fp_zero_operand): Add mode argument.
7932 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
7934 * reload1.c (reload_reg_free_for_value_p): Don't use a register
7935 that is in reload_reg_used.
7937 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
7939 * config/arm/arm-protos.h: New file: Prototypes for functions
7940 defined in arm.c and pe.c.
7941 * config/arm/arm.h: Fix compile time warnings.
7942 * config/arm/arm.c: Fix compile time warnings.
7943 * config/arm/pe.h: Fix compile time warnings.
7944 * config/arm/aout.h: Fix compile time warnings.
7946 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
7948 * config/m32r/m32r-protos.h: New file: Prototypes for functions
7951 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
7952 Add support for subtargets.
7953 Add prototypes for new predicates.
7954 Add scheduling macros.
7956 * config/m32r/m32r.c: Fix compile time warnings.
7957 (int8_operand): New predicate function.
7958 (reg_or_cmp_int16_operand): New predicate function.
7959 (extend_operand): New predicate function.
7960 (m32r_adjust_code): New scheduling function.
7961 (m32r_adjust_priorty): New scheduling function.
7962 (m32r_sched_init): New scheduling function.
7963 (m32r_sched_reorder): New scheduling function.
7964 (m32r_sched_variable_issue): New scheduling function.
7965 (direct_return): New codegen function.
7966 (m32r_not_same_reg): New rtl testsing function.
7968 * config/m32r/m32r.md: Fix compile time warnings.
7969 Add support for pre decrement and post increment memory
7974 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7976 * global.c (EXECUTE_IF_CONFLICT): Don't define.
7977 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
7978 (find_reg): Likewise.
7980 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
7982 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
7983 to avoid assembler errors.
7985 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
7987 * config/v850/v850-protos.h: New file: Prototypes for functions
7989 * config/v850/v850.h: Move prototypes to v850-protos.h
7990 * config/v850/v850.c: Move prototypes to v850-protos.h
7991 * config/v850/v850.md: Fix compile time warnings.
7993 * config/fr30/fr30-protos.h: New file: Prototypes for functions
7995 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
7996 * config/fr30/fr30.c: Fix compile time warnings.
7997 * config/fr30/fr30.md: Fix compile time warnings.
7999 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
8001 * tree.h (get_containing_scope): Declare it.
8002 * tree.c (get_containing_scope): New fucntion.
8003 (decl_function_context): Use it.
8004 * toplev.c (rest_of_compilation): Use get_containing_scope.
8006 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8008 * Makefile.in (rtl.o): Depend on toplev.h.
8010 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
8012 * cse.c (delete_trivially_dead_insns): Replace alloca with
8014 * except.c (update_rethrow_references): Likewise.
8015 (init_eh_nesting_info): Likewise.
8016 * function.c (identify_blocks): Likewise.
8017 * gcse.c (dump_hash_table): Likewise.
8018 * graph.c (print_rtl_graph_with_bb): Likewise.
8019 * loop.c (combine_movables): Likewise.
8020 (move_movables): Likewise.
8021 (count_loop_regs_set): Likewise.
8022 (strength_reduce): Likewise.
8023 * profile.c (compute_branch_probabilities): New function, split
8025 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
8026 * regclass.c (regclass): Likewise.
8027 * regmove.c (regmove_optimize): Likewise.
8028 * toplev.c (compile_file): Likewise.
8029 (main): Don't mess with the stack rlimit.
8031 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
8033 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
8034 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
8036 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
8038 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
8040 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
8042 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
8043 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
8046 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
8048 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
8050 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
8052 * gcse.c (post_dominators): Kill.
8053 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
8054 (compute_code_hoist_data): Use compute_flow_dominators. Do not
8055 pass in a pdom array since we do not need pdoms.
8056 * haifa-sched.c (schedule_insns): Similarly.
8057 * flow.c (compute_dominators): Remove dead function.
8058 (compute_flow_dominators): Do not compute doms or pdoms if the
8059 caller does not request them. Split up loop to build doms and
8060 pdoms. Use a worklist to compute doms and pdoms.
8061 * basic-block.h (compute_dominators): Remove prototype.
8063 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
8065 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
8066 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
8067 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
8068 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
8069 (cant_move, fed_by_spec_load, is_load_insn): Remove.
8070 (schedule_region): Remove unused variable.
8071 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
8073 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
8075 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
8076 (update_equiv_regs): Likewise.
8077 (block_alloc): Likewise.
8078 * reg-stack.c (reg_to_stack): Likewise.
8079 (convert_regs_2): Likewise.
8080 * reload1.c (reload_as_needed): Likewise.
8082 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
8084 * Makefile.in (dbxout.o): Depend on ggc.h.
8085 (dwarf2out.o): Likewise.
8086 (xcoffout.o): Likewise.
8087 * dbxout.c: Include ggc.h.
8088 (dbxout_init): Register lastfile as a root.
8089 * dwarf2out.c: Include ggc.h.
8090 (dwarf2out_line): Register lastfile as a root.
8091 * xcoffout.c: Include ggc.h.
8092 (xcoffout_source_line): Register xcoff_lastfile as a root.
8094 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
8096 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
8098 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
8100 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
8102 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
8104 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8106 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
8107 (EXECUTE_IF_CONFLICT): Likewise.
8108 (ALLOCNO_LIVE_P): Avoid signed division.
8109 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
8110 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
8111 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
8113 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
8115 * haifa-sched.c (schedule_block): Don't crash if there's no
8116 next insn for an interblock movement.
8117 (add_branch_dependences): Don't allow clobber insns to move either.
8119 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
8121 * i386.c (split_xf): New.
8122 * i386-protos.h: Declare it.
8123 * i386.md (movxf_1): Add general regs alternatives.
8124 (movxf_1+1): New splitter for same.
8126 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
8128 * function.c (purge_addressof_1): Add missing return values.
8130 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
8132 * function.c (is_addressof): New function. Returns true if
8133 the given piece of RTL is an ADDRESSOF.
8134 (purge_addressof_1): Make boolean. Return false if the
8135 ADDRESSOFs could not be purged.
8136 (purge_addressof): If ADDRESSOFs could not be purged from the
8137 notes attached to an insn, remove the offending note(s),
8138 unless they are attached to a libcall.
8140 1999-11-05 Andreas Jaeger <aj@suse.de>
8142 * genoutput.c (null_operand =): Initialize all fields.
8144 * errors.h: Add extern to prototypes.
8146 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
8148 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
8149 * configure: Rebuilt.
8151 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8153 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
8154 (mirror_conflicts): New function.
8155 (global_alloc): Call it.
8156 (expand_preferences): Remove redundant CONFLICTP test.
8157 (find_reg, dump_conflicts): Likewise.
8158 (prune_preferences): Process conflicts one word at a time.
8160 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
8162 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
8163 instead of an explicit loop.
8165 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
8167 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
8168 if REG_RETVAL check succeeds, then put classp in src_elt.
8170 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
8172 * function.c (pad_to_arg_alignment): Only update argument_pad
8173 if the argument's alignment is greater than STACK_BOUNDARY.
8175 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
8177 * bitmap.h (BITMAP_XFREE): New.
8178 * flow.c (life_analysis): Use it.
8179 (life_analysis_1): Free blocks.
8181 * combine.c (undo_commit): New.
8182 (try_combine): Use it. Don't zap undobuf.undos.
8183 (combine_instructions): Don't zap undobuf.undos; free the
8186 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
8188 * stmt.c (cost_table_): New.
8189 (estimate_case_costs): Use it instead of xmalloc.
8191 * toplev.c (compile_file): Reuse dumpname memory instead
8194 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
8196 * reg-stack.c (convert_regs_1): Initialize target_stack->top
8197 after verifying an EH edge.
8199 * haifa-sched.c (init_rgn_data_dependences): Correctly
8200 size bb_pending_lists_length when zeroing.
8202 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
8204 * function.c (diddle_return_value): New.
8205 (expand_function_end): Use it.
8206 * stmt.c (expand_null_return): Likewise.
8207 (expand_value_return): Likewise.
8209 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
8211 * reload1.c (reload): Don't remove return value clobbers.
8213 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
8215 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
8217 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
8219 * cse.c (cse_main): Use xmalloc, not alloca.
8220 (cse_basic_block): Likewise.
8221 * local-alloc.c (local_alloc): Likewise.
8223 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
8224 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8226 * rtl.c: Include toplev.h.
8227 (fatal): Remove declaration.
8229 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
8231 * haifa-sched.c (schedule_block): Fix thinko.
8233 1999-11-03 James McKelvey <mckelvey@fafnir.com>
8235 * fixinc/fixincl.c(create_file): Allow for systems that do not have
8236 S_IR* defined values
8238 1999-11-03 Philippe De Muyter <phdm@macqel.be>
8240 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
8241 call `malloc' instead.
8243 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
8245 * flags.h (flag_renumber_insns): Declare.
8246 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
8248 * rtl.h (renumber_insns): Change prototype.
8249 * toplev.c (flag_renumber_insns): Define.
8250 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
8252 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
8254 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
8255 and fpsqrtd. Use them and create fdiv function unit to more
8256 accurately represent fpu sqrt pipeline semantics on UltraSparc.
8257 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
8259 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
8261 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
8263 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
8264 insn into ready list, do not use just a raw swap.
8266 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
8268 * rtl.h (renumber_insns): New function.
8269 (remove_unnecessary_notes): Likewise.
8270 * emit-rtl.c (renumber_insns): Define.
8271 (remove_unncessary_notes): Likewise.
8272 * toplev.c (rest_of_compilation): Remove dead code.
8273 Use renumber_insns and remove_unncessary_notes.
8275 * gcse.c (struct null_pointer_info): New type.
8276 (get_bitmap_width): New function.
8277 (current_block): Remove.
8278 (nonnull_local): Likewise.
8279 (nonnull_killed): Likewise.
8280 (invalidate_nonnull_info): Take a null_pointer_info as input.
8281 (delete_null_pointer_checks_1): New function.
8282 (delete_null_pointer_checks): Use it.
8284 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
8285 (split_edges): Likewise.
8286 (schedule_block): Likewise.
8287 (compute_block_backward_dependencies): Likewise.
8288 (schedule_region): Likewise.
8289 (schedule_insns): Likewise.
8291 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
8293 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
8294 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
8295 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
8296 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
8297 * jump.c (delete_unreferenced_labels): Don't delete if
8298 LABEL_ALTERNATE_NAME is set.
8299 * print-rtl.c (print_rtx): Dump alternate name.
8300 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
8301 * rtl.h (LABEL_ALTERNATE_NAME): Define.
8302 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
8303 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
8305 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8307 * fix-header.c (recognized_extern, recognized_function): Constify
8310 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
8311 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
8312 (compute_available): Remove unused variable `last'.
8313 (compute_nearerout): Remove unused variable `temp_bitmap'.
8314 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
8315 Remove unused variable `x'.
8317 * scan.h (recognized_function, recognized_extern): Constify a
8320 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
8322 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8324 * varasm.c (decode_rtx_const): Use XSTR to access the string
8327 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
8329 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
8331 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8333 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
8335 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
8337 * pa.c (ireg_operand): New function.
8338 * pa.h (PREDICATE_CODES): Handle ireg_operand.
8339 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
8340 Fix out of date comment.
8342 * pa.md (negdi2): Turn into expander + anonymous pattern.
8344 * reload.c (find_reloads): Fix typos in recent change.
8346 * dwarf2out.c: Do not include ctype.h.
8348 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8350 * regclass.c (record_reg_classes): Always use may_move_cost when
8351 seeing how operand fits with various register classes.
8353 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
8355 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
8356 * toplev.c: Revert Nov 1 13:22 change.
8358 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
8360 * config/pa/pa.md (height reduction patterns): Add checks for
8361 overlapping operands to avoid semantic-destroying splits for
8362 height reduction patterns.
8364 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8366 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
8367 have been an hyphen, fixed.
8368 * configure: Rebuilt.
8370 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
8372 * config/arm/tpe.h: Add prototypes for exported functions.
8373 * config/arm/pe.c: Fix compile time warnings.
8374 * config/arm/semi.h: Fix compile time warnings.
8375 * config/arm/arm.c: Fix compile time warnings.
8376 * config/arm/arm.h: Fix compile time warnings.
8377 * config/arm/arm.md: Fix compile time warnings.
8378 * config/arm/thumb.c: Fix compile time warnings.
8379 * config/arm/thumb.h: Fix compile time warnings.
8380 * config/arm/thumb.md: Fix compile time warnings.
8382 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
8384 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
8387 * unroll.c (unroll_loop): Remove LOOP notes when loop is
8388 completely unrolled.
8390 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8392 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
8394 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
8396 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
8397 * rtl.h (rtx_equal_p): Move prototype.
8398 * rtl.c (rtx_equal_function_value_matters): Move from
8400 (rtx_equal_p): Likewise.
8401 * rtlanal.c (rtx_equal_function_value_matters): Delete.
8402 (rtx_equal_p): Likewise.
8404 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
8406 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
8409 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
8411 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
8413 * pa.h (ADDR_VEC_ALIGN): Define.
8415 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
8416 notes when presented with "if (foo) break; end_of_loop" and
8417 the break sequence gets moved out of the loop.
8419 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
8420 Remove explicit zero initializations of entries within MAP.
8422 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
8424 * reg-stack.c (convert_regs_1): Handle EH edges specially.
8426 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
8428 * bitmap.h (BITMAP_XMALLOC): New macro.
8429 * flow.c (CLEAN_ALLOCA): Remove.
8430 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
8431 (life_analysis): Likewise.
8432 (update_life_info): Don't use CLEAN_ALLOCA.
8433 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
8434 (calculate_global_regs_live): Likewise.
8435 (print_rtl_with_bb): Likewise.
8436 (verify_flow_info): Likewise.
8437 * global.c (global_alloc): Likewise.
8438 (global_conflicts): Likewise.
8439 * integrate.c (save_for_inline_nocopy): Likewise.
8440 (expand_inline_function): Likewise.
8441 * jump.c (jump_optimize_1): Likewise.
8442 (duplicate_loop_exit_test): Likewise.
8443 (thread_jumps): Likewise.
8444 * loop.c (loop_optimize): Likewise.
8445 (combine_givs): Likewise.
8446 (recombine_givs): Likewise.
8447 * reorg.c (dbr_schedule): Likewise.
8448 * unroll.c (unroll_loop): Likewise.
8450 * combine.c (combine_instructions): Use xmalloc instead of alloca.
8452 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
8454 * toplev.c (rest_of_compilation): Don't optimize the CFG
8455 when rebuilding, just before dbr.
8457 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8459 * output.h (assemble_end_function, assemble_destructor,
8460 assemble_constructor, assemble_gc_entry, assemble_global,
8461 assemble_label, output_constant_pool) Constify a char*.
8463 * varasm.c (assemble_destructor, assemble_constructor,
8464 assemble_gc_entry, assemble_end_function, assemble_global,
8465 assemble_label, output_constant_pool): Likewise.
8467 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
8469 * config/arm/thumb.c (thumb_expand_prologue): Add comments
8470 explaining what is goin on in this function.
8472 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8474 * regclass.c (record_reg_classes): In matching case, recompute
8475 costs since the direction of movement is different.
8477 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
8479 * resource.c (mark_target_live_regs): For unconditional branches,
8480 the resources found at the branch target should be added to the
8481 resources found so far, not intersected.
8483 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
8485 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
8487 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
8488 (sys/mman.h): Include this file only if #HAVE_MMAP.
8489 (run_compiles): Initialize `esac_fmt' with one old KR string, not
8490 with automatically concatenated ANSI strings.
8492 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
8494 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
8495 (DIV_ROUND_UP): Robustify.
8496 (ggc_recalculate_in_use_p): New function.
8497 (release_pages): Don't inline it.
8498 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
8500 (ggc_pop_context): Use ggc_recalculate_in_use_p.
8501 (clear_marks): Always save in_use_p.
8502 (sweep_pages): Use ggc_recalculate_in_use_p.
8503 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
8504 Release pages before counting statistics.
8506 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
8508 * toplev.c (rest_of_compilation): Fix thinko in this change:
8510 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
8512 (rest_of_compilation): If inside an inlined external function,
8513 pretend we are just being declared.
8515 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
8517 * flow.c (calculate_global_regs_live): Fix thinko.
8519 * integrate.c (expand_inline_function): Fix bugs in previous
8520 change from Oct 28, 1999.
8522 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
8524 * stmt.c (expand_value_return): Fix typo in this change:
8526 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8527 (expand_value_return): Correctly convert VAL when promoting function
8528 return; support RETURN_REG being a PARALLEL.
8530 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
8532 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
8534 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8536 * hard-reg-set.h (reg_names): Constify a char*.
8538 * regclass.c (reg_names): Likewise.
8540 * regs.h (reg_names): Likewise
8542 * a29k/a29k.c (reg_names): Delete declaration.
8544 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
8546 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
8547 arc_output_function_epilogue): Likewise.
8549 * elxsi/elxsi.c (reg_names): Likewise.
8551 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
8553 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
8556 * m88k/m88k.c (output_function_profiler): Likewise.
8558 * sparc/sparc.c (sparc_flat_output_function_prologue,
8559 sparc_flat_output_function_epilogue): Likewise.
8561 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
8563 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
8564 warning from -Wuninitialized and put it under -W.
8565 * function.c (uninitialized_vars_warning): Warn only when the
8566 corresponding flag is set.
8568 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
8570 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
8571 is nonzero and the single set does not have an elt, then assign
8574 * simplify-rtx.c: New file.
8575 * Makefile.in (OBJS): Add simplify-rtx.o
8576 (simplify-rtx.o): Add dependencies.
8577 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
8578 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
8579 (cse_gen_binary, simplify_unary_operation): Delete.
8580 (simplify_binary_operation, simplify_plus_minus): Likewise.
8581 (check_fold_consts, simplify_relation_operation): Likewise.
8582 (simplify_ternary_operation): Likewise.
8583 (delete_trivially_dead_insns): Simplify the contents of the
8584 REG_EQUAL note before trying to substitute it into the source
8585 of the reg-reg copy at the end of a libcall sequence.
8587 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
8588 references/callers changed.
8590 * mn10200.c (mn10200_va_arg): Force the return value into a
8593 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
8595 * cccp.c (macroexpand): Avoid out of range accesses for omitted
8598 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
8600 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
8602 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
8604 * fold-const.c (fold): Fix thinko when optimizing comparisons
8607 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
8609 * gcc.texi (Passes): Update front-end files to their current
8612 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
8614 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
8615 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
8616 (PREDICATE_CODES): Add addition_operation.
8617 * alpha-protos.h (addition_operation): Declare.
8618 (secondary_reload_class): Likewise.
8619 * alpha.c (addition_operation): New.
8620 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
8621 * alpha.md (adddi3): Turn into expander.
8622 (*lda, *adddi_2): New.
8623 (movsf, movdf patterns): Don't preference integer regs.
8624 (movsi, movdi patterns): Don't preference fp regs.
8626 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
8628 * genrecog.c (write_switch): Check for duplicate CODE cases.
8630 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
8632 * ggc-common.c: Update pre-function commentary.
8633 * ggc-page.c: Likewise.
8635 (poison_pages): Use memset directly.
8636 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
8637 (ggc_collect): Poison before sweeping.
8638 * ggc-simple.c: Update pre-function commentary.
8639 (ggc_alloc_obj): Poison non-zeroed memory.
8641 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
8643 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
8644 match format string, even on 64-bit hosts.
8645 * gcc-page.c (ggc_page_print_statistics): Likewise.
8647 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
8649 * config/i386/i386.c (ix86_cpu): Revert last patch.
8650 * config/i386/i386.h (ix86_cpu): Ditto.
8652 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
8654 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
8655 TYPE_SIZE, convert type of result to sizetype.
8657 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
8659 * flow.c (count_or_remove_death_notes): Equate NULL with the
8662 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
8663 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
8666 * i386.c (pic_label_no): Delete.
8667 (ix86_attr_length_default): Don't use single_set to peek
8670 * recog.c (peephole2_optimize): Allow recog_next_insn to index
8671 the first insn after bb->end.
8672 * i386.md (push mem peeps): Scratch is live after evaluation
8674 (cmp mem peep): Similarly.
8676 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
8678 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
8679 * function.c (pad_to_arg_alignment): Add missing braces.
8681 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8683 * alpha/alpha-protos.h (literal_section): Add prototype.
8684 (alpha_need_linkage, alpha_start_function,alpha_end_function):
8687 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
8689 (alpha_start_function, alpha_end_function, float_strings,
8690 alpha_need_linkage): Constify a char*
8692 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
8694 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
8696 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8698 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8700 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8702 * flow.c (debug_flow_info): Add prototype.
8704 * gcc.c (main): Likewise.
8706 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
8709 * reload1.c (failed_reload, set_reload_reg): Likewise.
8711 * mips-tfile.c (main): Likewise.
8712 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
8713 with ATTRIBUTE_NORETURN.
8715 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
8717 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
8718 DECL is not a memory ref.
8720 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
8722 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
8723 * config/i386/i386.c (ix86_cpu): Add extern attribute.
8725 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
8727 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
8728 * config/mips/elf64.h: ditto.
8730 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
8732 * expr.c (emit_push_insn): New argument alignment_pad.
8733 Update all callers. Adjust stack pointer based on alignment pad.
8734 * function.c (pad_to_arg_alignment): New argument alignment_pad.
8735 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
8736 (locate_and_pad_parm): New argument alignment_pad. Update all
8738 * expr.h (emit_push_insn): Update prototype.
8739 (locate_and_pad_parm): Update prototype.
8740 * calls.c (arg_data): Add new field alignment_pad.
8741 (initialize_argument_information): Initialize alignment_pad.
8743 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
8745 * except.c (free_eh_nesting_info): Free the info itself.
8746 * function.c (free_after_compilation): Don't free NULL.
8747 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
8748 (pre_edge_insert): Free inserted.
8749 * stmt.c (free_stmt_status): Don't free NULL.
8751 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
8753 * gcov.c (DIR_SEPARATOR): Provide default.
8754 (output_data): Add test for MS-DOS format absolute filename.
8755 (fancy_abort): Correct program name.
8756 (open_files): Open all files in binary mode.
8757 * libgcc2.c (__bb_exit_func): Likewise.
8759 * profile.c (init_branch_prob): Specify binary when opening files.
8761 * flags.h (flag_unwind_tables): New decl.
8762 * toplev.c (flag_unwind_table): New definition.
8763 (f_options): Add -funwind-tables.
8764 (decode_g_option): Clarify warning when unknown -g option is given.
8765 (rest_of_compilation): If inside an inlined external function,
8766 pretend we are just being declared.
8768 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
8769 (dwarf2out_frame_finish): Likewise.
8771 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
8773 * fold-const.c (merge_ranges): If not in0, but in1, handle
8774 upper bounds equal like subset case.
8776 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
8778 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
8779 passed in a register but moved to the stack.
8781 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
8783 * gcc.c (pass_exit_codes, greatest_status): New variables.
8784 (struct option_map): Add entry for "--pass-exit-codes".
8785 (execute): Update greatest_status if error.
8786 (display_help): Add documentation for -pass-exit-codes.
8787 (process_command): Handle -pass-exit-codes.
8788 (main): Look at pass_exit_codes and greatest_status on call to exit.
8790 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8792 * reload.c (find_reloads): Refine test for no input reload
8793 case to not includes reloads emitted after insn.
8795 * function.c (find_temp_slots_from_address): Handle sum involving
8796 a register that points to a temp slot.
8797 (update_temp_slot_address): Make recursive call if both old and
8798 new are PLUS with a common operand.
8799 * calls.c (expand_call): Mark temp slot for result as having
8802 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
8804 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
8805 component as well as "BINUTILS".
8807 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
8808 * integrate.c (copy_rtx_and_substitute): Likewise.
8809 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
8810 All callers changed.
8811 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
8813 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
8814 gdb extensions, write size of type; also be more consistent
8815 in using references when this is a subtype.
8817 * pa.md (extv, extzv, insv): Use define_expand to reject constant
8818 that is out of range.
8820 * loop.c (unknown_constant_address_altered): New variable.
8821 (prescan_loop): Initialize it.
8822 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
8823 (invariant_p, case MEM): Remove handling for volatile and readonly;
8824 check new variable if readonly.
8825 (check_dbra_loop): Chdeck unknown_constant_address_altered.
8827 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
8828 (addr_affects_sp_p): Removed from note_mem_written and only
8829 define #ifdef AUTO_INC_DEC.
8831 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
8833 * regclass.c (record_reg_classes): Properly handle register move
8836 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
8837 Don't think valid if both operands are invalid.
8838 (struct constant_descriptor): New field RTL.
8839 (mark_const_hash_entry): Mark it.
8840 (record_constant{,_rtx}): Initialize it.
8841 (output_constant_def): Allocate RTL in permanent obstack and
8843 ({record,compare}_constant_1): Modes must match for
8844 CONSTRUCTOR of ARRAY_TYPE.
8846 * c-common.h (initializer_constant_valid_p): Delete decl from here.
8847 * output.h (initializer_constant_valid_p): Move decl to here.
8848 * c-common.c (initializer_constant_valid_p): Delete function from here.
8849 * varasm.c (initializer_constant_valid_p): Move function to here.
8851 * tree.h (STRIP_SIGN_NOPS): New macro.
8852 * fold-const.c (optimize_minmax_comparison): New function.
8853 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
8854 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
8855 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
8856 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
8857 widening conversions.
8858 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
8859 to look at size of mode, not precision of type; also add missing cases.
8860 (optimize_bit_field_compare, decode_field_reference): Don't try to
8861 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
8863 * dwarf2out.c (ctype.h): Include.
8864 (dwarf2out_set_demangle_name_func): New function.
8865 (size_of_line_info): Deleted.
8866 (output_line_info): Compute size of line info table from difference
8868 (base_type_die, add_name_attribute): Call demangle function, if any.
8869 (field_byte_offset): Use bits per word for variable length fields.
8870 (gen_array_type_die): Add array name.
8871 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
8872 (dwarf2out_add_library_unit_info): New function.
8874 * explow.c (set_stack_check_libfunc): New function.
8875 (stack_check_libfunc): New static variable.
8876 (probe_stack_range): Allow front-end to set up a libfunc to call.
8878 * combine.c (simplify_comparison): When making comparison in wider
8879 mode, check for having commuted an AND and a SUBREG.
8880 (contains_muldiv): New function.
8881 (try_combine): Call it when dividing a PARALLEL.
8882 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
8883 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
8885 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
8886 use one of the CLOBBERs instead.
8887 (if_then_else_cond): If comparing against zero, just return thing
8890 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
8891 Don't generate shifts and subtract if have conditional arithmetic.
8893 * rtl.h (delete_barrier): New declaration.
8894 * jump.c (jump_optimize): Set up to handle conditional call.
8895 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
8896 (delete_barrier): New function.
8898 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
8900 * recog.c (nonmemory_operand): Accept ADDRESSOF.
8902 * tree.c (build_type_attribute_variant): Push to obstack of
8903 ttype around type_hash_canon call.
8905 * expr.c (placeholder_list): Move decl to file scope.
8906 (expand_expr): Don't force access to volatile just because its
8908 If ignoring reference operations, just expand the operands.
8909 (expand_expr, case COMPONENT_REF): Propagate
8910 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
8911 Refine test for using bitfield operations vs pointer punning.
8912 (expand_expr, case CONVERT_EXPR): If converting to
8913 BLKmode UNION_TYPE from BLKmode, just return inner object.
8914 Use proper mode in store_field call.
8915 Properly set sizes of object to store and total size in store_field
8916 call for convert to union.
8917 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
8918 memory (like for ADDR_EXPR). Also, don't put constant in register if
8919 we'll want it in memory.
8920 (readonly_fields_p): New function.
8921 (expand_expr, case INDIRECT_REF): Call it if LHS.
8922 (expand_assignment): Handle a RESULT_DECL where
8923 DECL_RTL is a PARALLEL.
8924 (do_jump, case WITH_RECORD_EXPR): New case.
8925 (get_inner_reference): Always go inside a CONVERT_EXPR
8926 and NOP_EXPR if both modes are the same.
8927 (store_field): Use bitfield operations if size of bitsize is not same
8928 as size of RHS's type.
8929 Check for bitpos not a multiple of alignment in BLKmode case.
8930 Do block move in largest possible alignment.
8931 (store_constructor): Set BITSIZE to -1 for variable size and properly
8932 in case of array of BLKmode.
8933 (expand_expr_unaligned): New function.
8934 (do_compare_and_jump): Call it.
8936 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
8937 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
8938 does not include 'o'.
8940 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
8941 both SET_DEST and SET_SRC reference a virtual register.
8942 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
8944 * integrate.c (expand_inline_function): Handle case of setting
8945 virtual stack vars register (from built in setjmp); when parameter
8946 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
8947 (subst_constant): Add new parm, MEMONLY.
8948 (expand_inline_function, integrate_parm_decls): Pass new parm.
8949 (integrate_decl_tree): Likewise.
8950 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
8951 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
8952 (copy_rtx_and_substitute, case SET): Add explicit calls to
8953 copy_rtx_and_substitute for both sides.
8955 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
8957 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
8958 within INDEX_TYPE, instead of before.
8959 (fixup_gotos): Use f->target_rtl, not the next insn,
8960 since latter may be from a later fixup.
8961 (expand_value_return): Correctly convert VAL when promoting function
8962 return; support RETURN_REG being a PARALLEL.
8963 (expand_return): When checking for result in regs and having
8964 cleanup, consider PARALLEL in DECL_RTL as being in regs.
8966 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
8968 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
8969 last_nominal_fname): Mark const.
8970 (struct include_hash: name, nshort, control_macro): Mark
8972 (struct macrodef: symnam): Mark const.
8973 (struct if_stack: fname): Mark const.
8974 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
8975 (IStable): New character-syntax array which encompasses all
8976 the old is_foo arrays.
8977 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
8978 is_space): New macros for interrogating IStable.
8979 (check_macro_name): Kill last argument. All callers changed.
8981 * cppinit.c (initialize_char_syntax): Delete.
8982 (is_idchar, is_idstart, is_hor_space, is_space,
8983 trigraph_table): Delete.
8984 (IStable): New. Initialize with clever macros to avoid
8985 information duplication.
8986 (builtin_array): Table of builtins to get rid of explicit list
8987 in initialize_builtins.
8988 (initialize_builtins): Use builtins_array.
8989 (cpp_start_read): Call init_IStable, and set IStable['$'] if
8990 opts->dollars_in_ident.
8992 * cppexp.c: Change all refs to is_xyz[] arrays to use new
8994 (cpp_parse_expr): Avoid 'format string is not constant'
8995 warning. Use ISGRAPH to identify printable chars.
8996 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
8998 (read_and_prescan): Map trigraphs to chars with open-coded
8999 if-else-if-... sequence, not a lookup table.
9000 * cpphash.c: Change all refs to is_xyz[] arrays to use new
9002 * cpplib.c: Change all refs to is_xyz[] arrays to use new
9003 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
9004 (check_macro_name): Remove ability to report an invalid
9005 assertion name, which is never used.
9006 (do_line): Constify a couple of char *'s.
9007 * cppmain.c (main): Call cpp_cleanup before returning.
9009 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
9011 * ggc.h (struct ggc_statistics): New type.
9012 (ggc_get_size): New function.
9013 (ggc_print_statistics): Likewise.
9014 * ggc-common.c (ggc_stats): New variable.
9015 (ggc_mark_rtx_children): Keep statistics.
9016 (ggc_mark_tree_children): Likewise.
9017 (ggc_print_statistics): New function.
9018 * ggc-page.c (struct globals): Add bytes_mapped field.
9019 (alloc_anon): Update it.
9020 (release_pages): Likewise.
9021 (ggc_get_size): New function.
9022 (ggc_page_print_statistics): New function.
9023 * ggc-simple.c (ggc_get_size): New function.
9025 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
9027 * flow.c (propagate_block): When the last reference to a label
9028 before an ADDR_VEC is deleted because the reference is a dead
9029 store, delete the ADDR_VEC.
9031 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
9033 * resource.c (find_free_register): Don't use the frame pointer
9034 if frame_pointer_needed.
9036 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
9038 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
9039 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
9041 * config/i960/i960.c (i960_va_start): New locals base, num.
9042 Use INDIRECT_REF instead of ARRAY_REF on valist.
9043 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
9045 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
9047 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
9049 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
9051 * tree.def (PLACEHOLDER_EXPR): Update comments.
9053 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9055 * c-common.c (check_format_info): Avoid non-literal format string
9056 warnings when `first_arg_num' is zero.
9058 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9060 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
9062 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
9064 * arm.md (casesi_insn): Add a clobber of the condition code
9067 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
9069 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
9070 used by both cc1 and cc1plus.
9072 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
9074 * config/arm/arm.c: Initialise arm_structure_size_boundary to
9075 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
9076 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
9077 to the value 32 if it has not already been defined.
9078 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
9079 Override definition in arm.h with a value of 8.
9081 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
9083 * c-pragma.c (push_alignment): Don't check the return value
9086 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
9088 * sparc.h (ADJUST_COST): Fix thinko.
9090 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
9092 * cccp.c (rescan): Fixed obp pointer handling around call to
9093 check_expand subroutine.
9095 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
9097 * gcse.c (delete_null_pointer_checks): Only record non-null info
9098 for pseudos when examining stores.
9100 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
9101 splitters for these patterns. Use "#" for output templates.
9102 (addsi3_carryin_shift): New pattern.
9104 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
9106 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
9107 of the function return register into a plain REG until
9108 after function inlining is done.
9110 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
9112 * jump.c (jump_optimize_1): If we did cross-jumping, and
9113 the data will matter, rebuild the CFG.
9114 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
9115 not optimizing. Don't run shorten_branches.
9116 * toplev.c (rest_of_compilation): Run shorten_branches after
9119 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
9121 * rtl.h (note_stores): Add additional paramter.
9122 * rtlanal.c (reg_set_p_1): Take additional paramter.
9123 (reg_set_last_1): Likewise.
9124 (reg_set_p): Adjust call to note_stores.
9125 (reg_set_last): Likewise.
9126 (note_stores): Pass data parameter to worker function.
9127 * alias.c (record_set): Take additional parameter.
9128 (init_alias_analysis): Pass it.
9129 * caller-save.c (mark_set_regs): Take additional parameter.
9130 (save_call_clobbered_regs): Pass NULL to note_stores.
9131 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
9133 (record_dead_and_set_regs_1): Likewise.
9134 (reg_dead_at_p_1): Likewise.
9135 (combine_instructions): Adjust calls to note_stores.
9136 (try_combine): Likewise.
9137 (record_dead_insn): Remove.
9138 (record_dead_and_set_regs): Adjust calls to note_stores.
9139 (reg_dead_at_p): Likewise.
9140 * cse.c (invalidate_skipped_set): Take additional parameter.
9141 (cse_check_loop_start): Likewise.
9142 (cse_check_loop_start_value): Remove.
9143 (cse_set_around_loop): Adjust calls to note_stores.
9144 * flow.c (notice_stack_pointer_modification): Take additional
9145 parameter. Remove duplicate declaration.
9146 (record_volatile_insns): Adjust calls to note_stores.
9147 * gcse.c (record_set_info): Take additional parameter.
9148 (record_last_set_info): Likewise.
9149 (invalidate_nonnull_info): Likewise.
9150 (record_set_insn): Remove.
9151 (compute_sets): Adjust calls to note_stores.
9152 (last_set_insn): Remove.
9153 (compute_hash_table): Adjust calls to note_stores.
9154 (insert_insn_end_bb): Likewise.
9155 (delete_null_pointer_checks): Likewise.
9156 * global.c (mark_reg_store): Take additional parameter.
9157 (mark_reg_clobber): Likewise.
9158 (reg_becomes_live): Likewise.
9159 (global_conflicts): Adjust calls to note_stores.
9160 (build_insn_chain): Likewise.
9161 * integrate.c (note_modified_parmregs): Take additional parameter.
9162 (mark_stores): Likewise. Make it static.
9163 (save_for_inline_nocopy): Adjust calls to note_stores.
9164 (try_constants): Likewise.
9165 * integrate.h (mark_stores): Remove declaration.
9166 * jump.c (mark_modified_reg): Take additional parameter.
9167 (thread_jumps): Adjust calls to note_stores.
9168 * local-alloc.c (validate_equiv_mem_from_store): Take additional
9170 (no_equiv): Likewise.
9171 (reg_is_set): Likewise.
9172 (validate_equiv_mem): Adjust calls to note_stores.
9173 (update_equiv_regs): Likewise.
9174 (block_alloc): Likewise.
9175 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
9176 (note_addr_stored): Take additional parameter.
9177 (note_set_pseudo_multiple_uses): Likewise.
9178 (record_initial): Likewise.
9179 (prescan_loop): Adjust calls to note_stores.
9180 (strength_reduce): Likewise.
9181 (check_dbra_loop): Likewise.
9182 * regmove.c (flags_set_1): Take additional paramter.
9183 (mark_flags_life_zones): Adjust calls to note_stores.
9184 * reload1.c (mark_not_eliminable): Take additional parameter.
9185 (forget_old_reloads_1): Likewise.
9186 (reload_cse_invalidate_rtx): Likewise.
9187 (reload_cse_check_clobber): Likewise.
9188 (reload_combine_note_store): Likewise.
9189 (move2add_note_store): Likewise.
9190 (reload): Adjust calls to note_stores.
9191 (reload_as_needed): Likewise.
9192 (emit_reload_insns): Likewise.
9193 (reload_cse_regs_1): Likewise.
9194 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
9195 (reload_combine): Adjust calls to note_stores.
9196 * resource.c (update_live_status): Take additional paramter.
9197 (mark_target_live_regs): Adjust calls to note_stores.
9198 * stupid.c (find_clobbered_regs): Take additional parameter.
9199 (stupid_life_analysis): Adjust calls to note_stores.
9201 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
9203 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
9206 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
9209 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
9210 of the variable arm_structure_size_boundary.
9212 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
9214 * alias.c (init_alias_analysis): Allocate reg_known_value and
9215 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
9217 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
9218 * cse.c (cse_main): Call end_alias_analysis.
9219 * haifa-sched.c (schedule_insns): Likewise.
9220 * local-alloc. (update_equiv_regs): Likewise.
9221 * reload1.c (reload_cse_regs): Likewise.
9223 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9225 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
9226 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
9227 mapping from MASK_FPU.
9229 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
9231 * sparc.md (call): Don't bound structure return size to 0xfff.
9233 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
9235 * resource.c (mark_target_live_regs): Check that the target
9236 insn wasn't created after compute_bb_for_insn.
9238 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
9240 * ggc-page.c (poison_pages): Don't be overzealous.
9242 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
9244 * alias.c: Update comments for ADDRESS.
9245 (nonlocal_reference_p): Look inside the ADDRESS to determine if
9246 it is a local memory reference.
9248 * c-typeck.c (build_function_call): Check that the built-in
9249 function is of class BUILT_IN_NORMAL before trying to recongize
9251 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
9252 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
9254 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
9256 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
9258 (pre_gcse): Likewise.
9259 (hoist_expr_reaches_here_p): Likewise.
9260 (hoist_code): Likewise.
9261 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
9263 (pre_expr_reaches_here_p_work): ... here.
9264 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
9266 (expr_reaches_here_p_work): ... here.
9268 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
9270 * resource.c (find_basic_block): Delete.
9271 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
9272 (init_resource_info): Call compute_bb_for_insn.
9274 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
9276 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
9277 with already adjacent blocks, but no fallthru.
9278 (merge_blocks_move_successor_nojumps): Simplify.
9279 (debug_flow_info): New.
9281 * toplev.c (rest_of_compilation): Open jump1 dump file before
9282 jump and close after, as opposed to just using dump_rtl.
9284 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9286 * reload.h (earlyclobber_operand_p): Declare.
9287 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
9288 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
9289 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
9290 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
9292 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
9293 Richard Henderson <rth@cygnus.com>
9295 * emit-rtl.c (emit_block_insn_before): New.
9296 (emit_block_insn_after): New.
9297 * basic-block.h: Declare them.
9299 * bitmap.h: Protect from multiple inclusion.
9301 * recog.c (scratch_operand): Handle VOIDmode correctly.
9303 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
9305 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
9306 * function.c (assign_parms): Likewise.
9307 * global.c (global_conflicts): Clarify STACK_REGS commentary.
9309 * reg-stack.c (max_uid): Remove.
9310 (blocks, block_begin, block_end, block_drops_in): Remove.
9311 (block_stack_in, block_out_reg_set, block_number): Remove.
9312 (struct block_info_def, BLOCK_INFO): New.
9313 (enum emit_where): New.
9314 (current_block): New.
9315 (BLOCK_NUM): Remove.
9316 (mark_regs_pat, record_label_references): Remove.
9317 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
9319 (goto_block_pat, print_blocks, dump_stack_info): Remove.
9320 (reg_to_stack): Simplified test for existance of fp code. Use
9321 flow.c code. Call shorten_branches after cross-jump opt.
9322 (check_asm_stack_operands): Renamed from record_asm_reg_life.
9323 Return false if the asm doesn't use stack regs. Don't do life
9324 analysis on the asm.
9325 (emit_pop_insn): Replace function pointer arg `when' with
9326 enum `where'. Update all callers.
9327 (change_stack): Likewise. Update basic block end.
9328 (emit_swap_insn): Use current_block->head to limit reverse search
9329 for start of block. Use emit_block_insn_after.
9330 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
9331 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
9332 structure assignment instead of bcopy.
9334 (convert_regs_entry, convert_regs_exit): New.
9335 (convert_regs_1, convert_regs_2): Split out from convert_regs.
9336 Work on basic blocks and the CFG.
9337 (convert_regs): Use them.
9339 * i386.c (output_fix_trunc): Remove code for DImode input operand
9340 not at top-of-stack.
9341 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
9343 (fix_truncdi_1): Allow any mode scratch.
9345 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
9347 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
9348 * linux.h, netbsd.h, vms.h: Not here.
9350 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
9352 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
9353 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
9354 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
9355 CONDITIONAL_REGISTER_USEAGE): Use them.
9356 * config/mips/mips.c (mips_move_1word,mips_move_2words,
9357 gen_conditional_branch,override_options) : Use them.
9358 * config/mips/mips.md : Use them.
9360 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
9362 * i386.md (zero_extendqihi2): Use SImode register name with andl.
9364 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
9366 * integrate.c (function_cannot_inline_p): Don't allow inlining
9369 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9371 * c-parse.in (cast_expr): Constify.
9373 * cccp.c (special_symbol): Likewise.
9375 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
9377 * dwarf2out.c (base_type_die): Likewise.
9379 * global.c (allocno_compare): Likewise.
9381 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
9383 * regclass.c (fix_register): Likewise.
9385 * rtl.h (fix_register): Likewise.
9387 * stupid.c (stupid_reg_compare): Likewise.
9389 * toplev.c (decode_f_option): Likewise.
9391 * tree.c (build_complex_type): Likewise.
9393 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
9395 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
9397 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9399 * reload.c (find_reloads): Compute mode and nregs fields of all
9401 * reload1.c (calculate_needs_all_insns): Simplify a bit.
9402 (calculate_needs): Use precomputed mode/nregs values.
9403 (allocate_reload_reg): Likewise.
9405 (failed_reload, set_reload_reg): ... new functions.
9406 (choose_reload_regs_init): New function, mostly broken out from...
9407 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
9408 Also lose one #if 0 block.
9410 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
9412 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
9415 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
9417 * tree.h (BLOCK_TYPE_TAGS): Remove.
9418 (BLOCK_END_NOTE): Likewise.
9419 (BLOCK_LIVE_RANGE_FLAG): Likewise.
9420 (BLOCK_LIVE_RANGE_START): Likewise.
9421 (BLOCK_LIVE_RANGE_END): Likewise.
9422 (tree_block): Remove live_range_flag, live_range_var_flag, and
9423 type_tags. Remove end_note, live_range_start, and live_range_end.
9424 (remember_end_note): Remove prototype.
9425 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
9426 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
9428 * ggc-common.c (ggc_mark_tree_children): Don't mark
9429 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
9430 * integrate.c (adjust_copied_decl_tree): Remove.
9431 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
9432 * stmt.c (last_block_end_note): Remove.
9433 (init_stmt): Don't add a GC root for it.
9434 (expand_fixup): Don't set it.
9435 (remember_end_note): Remove.
9436 (expand_end_bindings): Don't set last_block_end_note.
9438 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9440 * reload1.c (reload_reg_free_for_value_p): Show
9441 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
9444 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
9446 * expmed.c (extract_bit_field): Allow for the case of non-integer
9447 objects that are smaller than a word (like SFmode on a 64-bit
9450 * loop.c (basic_induction_var): A non-integer variable which is
9451 being set by a paradoxical subreg is probably not a biv.
9453 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9455 * prefix.c (translate_name) Check for empty prefix string.
9457 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
9459 * Makefile.in (CPP_CROSS_NAME): New variable.
9460 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
9462 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
9463 names of the files to be uninstalled.
9465 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
9467 * collect2.c (IS_DIR_SEPARATOR): Define.
9468 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
9470 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
9473 * haifa-sched.c (add_dependence): Update the true dependency
9474 cache the first time we add a true dependence to the LOG_LINKS chain.
9476 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
9478 * fold-const.c (fold): Fix comment.
9480 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9482 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
9483 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
9484 dbxout_start_new_source_file, dbxout_source_file,
9485 dbxout_source_line, dbxout_finish, dbxout_type_fields,
9486 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
9488 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
9489 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
9490 (dbxout_block): Initialize variable `blocknum'.
9492 * dbxout.h (dbxout_init, dbxout_finish,
9493 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
9494 dbxout_args, dbxout_source_line): Constify a char*.
9496 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
9497 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
9498 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
9499 low_pc_attribute, high_pc_attribute, body_begin_attribute,
9500 body_end_attribute, comp_dir_attribute, sf_names_attribute,
9501 src_info_attribute, mac_info_attribute, producer_attribute,
9502 lookup_filename, generate_macinfo_entry, fundamental_type_code,
9503 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
9504 dwarfout_undef): Constify a char*.
9505 (add_incomplete_type, retry_incomplete_types): Add prototypes.
9507 * dwarfout.h (dwarfout_define, dwarfout_undef,
9508 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
9510 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
9512 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
9513 (MULTILIB_ISA_DEFAULT): New.
9514 (MULTILIB_DEFAULTS): Use it.
9515 * config/mips/mips.c (): Remove the now unnecessary definition
9516 of MIPS_ISA_DEFAULT.
9517 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
9518 unnecessary definition.
9520 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
9522 * arm.md (pic_load_addr): Add constraints to operand 1.
9524 1999-10-25 Bruce Korb <autogen@linuxbox.com>
9526 * fixinc/genfixes: Provide a means for specifying -D options to
9529 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
9531 * arm.c (arm_override_options): Correct initialization of
9532 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
9533 arm_is_strong, and arm_is_6_or_7.
9535 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
9536 (note_set_pseudo_multiple_uses): New function.
9537 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
9538 if a pseudo set in the loop exit is used elsewhere.
9540 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
9542 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
9544 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
9546 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
9547 a single load-address pattern.
9549 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
9551 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
9552 depending on whether or not line-number notes are present.
9554 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9556 * cccp.c (progname, file_buf, default_include, include_file,
9557 macrodef, definition, hashval, wchar_type, user_label_prefix,
9558 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
9559 expand_to_temp_buffer, is_system_include, base_name,
9560 absolute_filename, read_name_map, open_include_file,
9561 record_control_macro, check_precompiled, check_preconditions,
9562 pcfinclude, pass_thru_directive, create_definition,
9563 check_macro_name, comp_def_part, collect_expansion,
9564 check_assertion, read_token_list, assertion_install,
9565 assertion_lookup, eval_if_expression, conditional_skip,
9566 validate_else, skip_quoted_string, quote_string, macarg1,
9567 error_from_errno, install, lookup, hashf, dump_defn_1,
9568 perror_with_name, pfatal_with_name, main, trigraph_pcp,
9569 check_white_space, rescan, handle_directive, monthnames,
9570 special_symbol, do_include, remap_include_file, write_output,
9571 arglist, do_assert, do_unassert, do_line, do_error, do_once,
9572 do_ident, do_sccs, do_xifdef, skip_if_group,
9573 output_line_directive, macroexpand, macarg, change_newlines,
9574 initialize_builtins, make_definition): Constify a char*.
9576 * pcp.h (stringdef): Likewise.
9578 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
9580 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
9583 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
9584 Richard Henderson <rth@cygnus.com>
9586 * alias.c: Include ggc.h.
9587 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
9588 (record_set): Verify enough room in reg_base_value.
9589 (init_alias_analysis): Allocate reg_base_value with xcalloc.
9590 Register it as a GC root.
9591 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
9592 * Makefile.in (alias.o): Depend on ggc.h.
9594 * unroll.c (unroll_loop): Verify the insn before a barrier
9595 is a JUMP_INSN before checking JUMP_LABEL.
9597 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9599 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
9600 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
9601 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
9602 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
9603 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
9604 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
9606 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9608 * output.h (ctors_section, dtors_section, bss_section): Prototype.
9610 * alpha/alpha-interix.h (text_section): Delete prototype.
9611 * alpha/elf.h (text_section): Likewise.
9612 * arm/linux-elf.h (text_section): Likewise.
9613 * arm/linux-telf.h (text_section): Likewise.
9614 * c4x/c4x.h (text_section): Likewise.
9615 * dsp16xx/dsp16xx.h (bss_section): Likewise.
9616 * elfos.h (text_section): Likewise.
9617 * i386/aix386ng.h (text_section): Likewise.
9618 * i386/i386-interix.h (text_section): Likewise.
9619 * i386/sco5.h (text_section): Likewise.
9620 * i386/svr3gas.h (text_section): Likewise.
9621 * nextstep.h (text_section): Likewise.
9622 * psos.h (text_section): Likewise.
9623 * ptx4.h (text_section): Likewise.
9624 * svr3.h (text_section): Likewise.
9625 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
9627 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9629 * final.c (peephole): Delete prototype.
9631 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
9632 (pre_insert_copies): Remove unused variable `bb'.
9634 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
9637 * output.h (peephole): Add prototype.
9639 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
9641 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
9644 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
9646 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
9647 for inlined declarations.
9649 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
9651 * arm.c (logical_binary_operator): New fucntion.
9652 * arm.h (logical_binary_operator): Declare it.
9653 (PREDICATE_CODES): Handle logical_binary_operator.
9654 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
9655 output constraints. Add appropriate splitters.
9656 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
9657 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
9658 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
9660 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9662 * genoutput.c (struct operand_data): New elt eliminable.
9663 (output_operand_data): Write it.
9664 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
9665 (compare_operands): Take it into account.
9666 * recog.h (struct insn_operand_data): New elt eliminable.
9667 * reload1.c (check_eliminable_occurrences, elimination_effects): New
9669 (old_asm_operands_vec, new_asm_operands_vec): Delete.
9670 (eliminate_regs): Move code that detects changes to elimination
9671 target regs into new function elimination_effects.
9672 Delete one #if 0 block.
9673 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
9674 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
9675 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
9676 Only call eliminate_regs for real operands of the insn, not for parts
9677 of its structure or parts matched by things like match_operator.
9678 Use elimination_effects and check_eliminable_occurrences. Use
9679 copy_insn to duplicate the pattern when not in the final pass.
9681 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
9683 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
9686 1999-10-22 Bruce Korb <autogen@linuxbox.com>
9688 * fixinc/README: document the "mach" machine matching test
9689 * fixinc/fixfixes.c: Implement the #else/#endif label fix
9690 * fixinc/fixtests.c: Implement the #else/#endif label test
9691 * fixinc/inclhack.def: utilize these tests and fixes
9692 * fixinc/inclhack.sh: regen
9693 * fixinc/fixincl.x: regen
9694 * fixinc/fixincl.sh: regen
9696 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
9698 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
9701 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
9703 * gcc.1: Document exit codes.
9705 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9707 * calls.c: Include tm_p.h later, so everything we need is defined.
9709 * function.c: Likewise.
9711 * except.c: Include tm_p.h.
9713 * sparc.c: Likewise.
9714 (dwarf2out_cfi_label): Don't prototype.
9715 (check_return_regs, epilogue_renumber,
9716 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
9717 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
9718 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
9719 ultra_schedule_insn): Add static prototype.
9720 (data_segment_operand, text_segment_operand): Call itself with the
9721 proper number of arguments.
9722 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
9724 * sparc.h: Move all declarations to sparc-protos.h.
9725 (SELECT_RTX_SECTION): Pass a missing MODE argument to
9728 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
9730 * config/svr4.h (text_section, ctors_section, dtors_section): Add
9732 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
9733 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
9734 ASM_OUTPUT_ASCII): Constify a char*.
9736 * sparc-protos.h: New file for sparc prototypes.
9738 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9740 * function.c (record_insns, contains): Always declare and define.
9741 (record_insns): Mark with ATTRIBUTE_UNUSED.
9743 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
9745 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
9746 to .section when outputting a .bss section to deal with multiple
9747 .bss input sections (as happens with -fdata-sections)
9748 Also output %progbits, not @progbits so the assembler doesn't treat as
9750 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
9752 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
9753 thumb parts even when building with non-thumb CPUs, by forcing
9756 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
9758 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
9759 (movdf_const_intreg_sp64): Similarly.
9761 * local-alloc.c (update_equiv_regs): Check the correct insn
9762 for pre-existing REG_EQUIV notes.
9764 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
9766 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
9767 block reached by a branch if we're not going to actually process
9770 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
9772 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
9773 a local extern function declaration.
9775 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
9777 * i386.c (ix86_expand_prologue): Properly wrap USE around
9778 reg for CALL_INSN_FUNCTION_USAGE.
9780 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
9782 * config/mips/mips.md (movdf_internal1a): Allow floating-point
9783 move between GP_REGs.
9785 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
9787 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
9788 the mode size when finding out if an offset is legal.
9790 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
9792 * basic-block.h (PROP_*): Move constants from ...
9794 (compute_bb_for_insn): Free the array before reallocating.
9795 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
9796 (allocate_reg_life_data): Reset all reg variables collected by
9798 (get_block_head_tail): Don't convert from bb to block.
9799 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
9800 (find_insn_reg_weight): Take block not bb.
9801 (schedule_block): Don't set block num for moved insns.
9802 (schedule_region): Don't update_life_info or find_insn_reg_weight.
9803 (schedule_insns): Do it here instead.
9804 * combine.c (combine_instructions): Invoke compute_bb_for_insn
9805 before update_life_info.
9806 * recog.c (split_all_insns, peephole2_optimize): Update for
9807 new arg to update_life_info.
9808 * rtlanal.c (remove_note): Cope with NULL note.
9809 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
9812 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
9814 * jump.c (jump_optimize_1): More accurately detect casesi insns.
9816 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
9817 block records so that merge_blocks_nomove will clean up correctly.
9818 (split_edge): Handle casesi insns.
9820 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
9822 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
9824 * pa.md (call, call_value): Do not emit a blockage after restoring
9827 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
9829 * c-typeck.c (c_expand_asm_operands): Fix typo.
9831 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9833 * arm.c (fpu_rhs_operand): Verify modes.
9834 (fpu_add_operand): Likewise.
9835 (di_operand): Likewise.
9836 (soft_df_operand): Likewise.
9838 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
9840 * arm.c (arm_return_in_memory): APCS rules state that the elements
9841 of a structure returned in a register must be 'integer-like'.
9843 1999-10-19 Bruce Korb <autogen@linuxbox.com>
9845 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
9846 in the source tree when the generated targets are out of date
9847 * fixinc/genfixes: Alter it to run individual fixes for make.
9848 * fixinc/README: rewrite
9849 * fixinc/inclhack.def: moved initial comments to README
9851 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
9853 * toplev.c (main): Do not generate an error message if an
9854 unrecognised command line switch is recognisable by another
9855 language. If extra_warnings are enabled, then generate a
9856 warning message instead.
9858 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
9860 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
9861 (insert_pack_attributes): Delete prototype.
9863 * c-pragma.c (default_alignment): New static variable.
9864 (push_alignment): Initialize to current effective alignment.
9865 (pop_alignment): Use to set new alignment.
9866 (insert_pack_attributes): Delete function.
9867 (handle_pragma_token): Set default_alignment as well each time
9868 a #pragma pack(<n>) is encountered.
9870 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
9872 * reg-stack.c (stack_result): Aggregates are not returned in
9875 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
9877 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
9879 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
9881 * basic-block.h (set_block_num): Declare.
9882 * flow.c (update_life_info): Don't call compute_bb_for_insn
9883 or free_basic_block_vars.
9884 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
9885 (insn_orig_block): Remove.
9886 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
9887 (schedule_block): Keep BLOCK_NUM up-to-date.
9888 (schedule_insns): Use compute_bb_for_insn.
9889 * recog.c (split_all_insns): Likewise.
9890 (peephole2_optimize): Likewise.
9892 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
9894 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
9895 if the pic register is used.
9897 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9899 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
9900 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
9901 if that tests TREE_PERMANENT.
9903 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
9905 * cse.c (invalidate_for_call): Do not remove memory references from
9906 the table here. It's handled elsewhere.
9908 * haifa-sched.c (add_dependence): Protect references to the
9909 true dependency cache with #ifdef INSN_SCHEDULING.
9910 (remove_dependence): Similarly.
9912 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
9913 to the cfg code that this is a return instruction.
9914 * mn10300.md (return_internal): Similarly.
9916 * combine.c (get_last_value): If the last set of a register
9917 is after subst_low_cuid, then we can not use it to determine
9918 the register's last value.
9920 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
9922 * Makefile.in: Back out previous change.
9924 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
9926 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
9928 * haifa-sched.c (add_dependence): Only check/update the cache
9930 (remove_dependence): Likewise.
9931 (schedule_insns): Only create the true_dependency_cache if the
9932 average number of instructions in a basic block is very large.
9934 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
9936 * Makefile.in (ggc-common.o): Depend on genrtl.h.
9937 (ggc-simple.o): Likewise.
9938 (ggc-page.o): Likewise.
9940 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
9942 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
9943 Prototype for exported functions.
9944 (pre_lcm, pre_rev_lcm): Remove prototypes.
9945 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
9946 (compute_available): Move to lcm.c, and change parameter order.
9947 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
9948 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
9949 (gcse_main): No longer call compute_preds_succs. Rebuild the
9950 set table after reach pre pass.
9951 (pre_insert_map, pre_delete_map, edge_list): New.
9952 (alloc_pre_mem): Allocate edge vectors.
9953 (free_pre_mem): Delete edge vectors.
9954 (compute_pre_data): Call new edge based lcm routines.
9955 (process_insert_insn): New function.
9956 (insert_insn_end_bb): Use it.
9957 (pre_edge_insert): New function.
9958 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
9960 (pre_insert_copies): Revamp using new edge based lcm outputs.
9961 (pre_delete): Likewise.
9962 (one_pre_gcse_pass): Insert & remove fake edges to the exit
9964 (compute_code_hoist_vbeinout): New new edge based routines.
9965 * lcm.c: Remove all the old LCM functions. Replace with new ones
9966 that work with the new cfg datastructures and work with edges
9969 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9971 * reload.h (struct reload): Add new fields "mode" and "nregs".
9972 * reload1.c: Change all occurrences of reload_mode and reload_nregs
9973 to reference the "mode" and "nregs" field within struct reload.
9975 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
9977 * haifa-sched.c (true_dependency_cache): New.
9978 (add_dependence): Use the true dependency cache to avoid expensive
9979 walks down the LOG_LINKS dependency list. Add entries to the
9981 (remove_dependence): Remove entries from the true dependency cache
9983 (schedule_insns): Allocate and initialize and free the true
9986 * haifa-sched.c (schedule_insns): Do not remove inter-block
9987 dependencies anymore.
9989 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
9991 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
9992 * i386/t-winnt: Likewise.
9994 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
9996 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
9998 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
10000 * Makefile.in (LANGUAGES): Omit "proto".
10001 (clean): Remove stale comment about removing unprotoize.c.
10003 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10005 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
10006 using arithmetic on void pointers.
10008 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
10010 * haifa-sched.c (compute_block_forward_dependencies): Only check
10011 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
10013 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
10015 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
10016 (expr_equiv_p): Reject memories with different alias sets.
10018 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
10020 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
10021 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
10022 (f_options): Add "bounded-pointers" and "bounds-check" entries.
10023 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
10024 (lang_init): Set default for flag_bounds_check if still "unspecified".
10026 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10028 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
10030 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10032 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
10035 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10037 * config/c4x/c4x.md (*db_noclobber,
10038 *decrement_and_branch_until_zero_noclobber): New patterns and
10039 associated splitters.
10041 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10043 * config/c4x/c4x.md (parallel instruction patterns): Rework
10044 constraints to keep reload happy.
10046 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10048 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
10049 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
10050 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
10051 Add new patterns and associated post-reload splitters.
10053 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10055 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
10057 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10059 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
10061 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
10063 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10065 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
10068 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
10070 * pa.c (move_operand): Rely on memory_address_p to determine the
10071 validity of non-indexed memory addresses.
10072 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
10073 operand in DFmode and SFmode when generating PA2.0 code.
10075 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
10077 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
10079 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
10081 * mips.c (function_prologue): Fix argument types.
10082 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
10083 (casesi_internal): Write to the scratch register.
10085 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
10087 * cppexp.c (cpp_parse_escape): Make static. Change second arg
10089 (parse_charconst): Delete unnecessary cast when calling
10091 (cpplib.h): Kill prototype of cpp_parse_escape.
10093 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
10095 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
10096 * unroll.c (unroll_loop): Cast return value of alloca.
10097 * i370/i370.c: Include function.h and toplev.h.
10098 (i370_label_scan): Remove c++ commented abort.
10099 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
10100 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
10101 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
10102 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
10104 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
10106 * config/t-freebsd: Do not override USER_H.
10107 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
10109 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
10110 Mumit Khan <khan@xraylith.wisc.edu>
10112 * c-parse.in (component_decl): Support anonymous struct/union.
10114 * c-parse.y: Regenerate.
10115 * c-parse.c: Likewise.
10116 * objc/objc-parse.y: Likewise.
10117 * objc/objc-parse.c: Likewise.
10118 * c-decl.c (finish_struct): Don't sort the fields.
10119 (field_decl_cmp): Delete unused function.
10121 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
10123 * sparc.md (movsf_const_intreg): Revert last constraint change.
10124 (movdf_const_intreg_sp32): Likewise.
10126 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
10128 * cse.c: Include hashtab.h instead of splay-tree.h
10129 (struct cse_reg_info): No longer use variant union. Add new
10130 field "regno". All references changed to avoid union.
10131 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
10132 (free_cse_reg_info): Remove.
10133 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
10134 (get_cse_reg_info): Revamp to use expandable hash tables instead
10135 of splay trees. Initialize new fields in cse_reg_info structure.
10136 (new_basic_block): Similarly.
10138 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
10140 * genrecog.c (message_with_line): Prototype.
10141 (validate_pattern): Pass along the set for the dest, not a flag.
10142 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
10143 Check for PC/CC0 as sources.
10144 (nodes_identical): Check for children position match before
10145 allowing the combination.
10147 * rtl.c (read_rtx): Track line number across \\\n.
10149 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
10151 * mips.h (SPECIAL_MODE_PREDICATES): New.
10152 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
10153 (movdi+1, movsi+1): Add output reload constraint.
10154 (casesi_internal): Likewise. Fix commentary.
10155 (return_internal): Use pmode_register_operand.
10157 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
10159 * 1750a.md (movstrqi): Add missing output reload constraint.
10160 (call_value): Likewise.
10161 * a29k.md (cpxxx patterns): Add missing match_operator mode.
10162 (jmpfdec): Add missing inout reload constraint.
10163 * elxsi.md (addsi patterns): Add missing output reload constraint.
10164 (move from sp): Use @ alternates.
10165 (call_value): No constraint on output.
10166 * fr30.md (movsi_pop): Add missing output reload constraint.
10167 (movsf_constant_store): Likewise.
10168 (splits): Remove constraints.
10169 (subsi3): Add missing mode.
10170 * i370.md (cmpstrsi+1): Add missing output reload constraint.
10171 (call_value): Likewise.
10172 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
10173 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
10174 * m32r.md (movsicc_internal): Add output reload constraint.
10175 (movstrsi_internal): Add inout reload constraints.
10176 * m88k.h (reg_names): Don't declare.
10177 (SPECIAL_MODE_PREDICATES): New.
10178 * m88k.md (*): Use register_operand not reg_or_0_operand
10180 * mn10200.h (PREDICATE_CODES): New.
10181 * ns32k.md (ffs pattern): Add output reload constraint.
10182 * pdp11.md (sob pattern): Add inout reload constraint.
10183 * sh.md (splits): Remove constraints.
10184 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
10185 * v850.md (pattern_is_ok_for_epilogue): Likewise.
10186 * vax.md (jgequ pattern): Add inout reload constraint.
10188 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
10190 * configure.in (djgpp): Revert previous patch.
10191 * configure: Rebuit.
10192 * config/i386/djgpp.h: Revert previous patch.
10194 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
10196 * fixinc/inclhack.def: Restore patch lost during last merge of
10197 "no_bogosity" branch.
10198 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
10200 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
10202 * fixincludes: Add a HPUX 11 fix for inttypes.h.
10203 * fixinc/inclhack.def: Same.
10204 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
10206 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
10208 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
10209 as the base of a PLUS.
10211 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10213 * config/c4x/c4x.md: Define mode for remaining unspec operators.
10214 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
10216 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
10218 * pa.md (post_stw+1): Use pmode_register_operand.
10219 (dcacheflush, icacheflush): Likewise.
10221 * i386.md (movstricthi_1): Allow r/r.
10223 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
10225 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
10226 to (not (and (arg0) (arg1))). Similary for and.
10228 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
10229 fallthrough to associate code.
10230 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
10233 * combine.c (simplify_logical): Convert XOR to IOR if operands have
10234 no bits in common; remove XOR to ROTATE conversion.
10236 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10238 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
10240 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10242 * config/c4x/c4x.c (dst_operand): New.
10243 (PREDICATE_CODES): Update.
10244 * config/c4x/c4x.h (dst_operand): Declare it.
10245 * config/c4x/c4x.md: Define mode for each unspec usage.
10246 (move patterns): Use dst_operand predicate instead of src_operand.
10247 (movqi_update, movqf_update): Delete.
10249 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
10251 * recog.c (pmode_register_operand): New.
10252 * recog.h: Declare it.
10253 * genrecog.c (pred_codes): Likewise.
10254 (special_mode_pred_table): Likewise.
10255 (validate_pattern): Don't warn no mode for address_operand.
10257 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
10258 if the operand is not insn-like.
10260 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
10261 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
10263 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
10265 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
10267 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
10268 instead of general_operand in a SET_DEST. Use const_double_operand
10269 instead of an explicit test against CONST_DOUBLE.
10270 (movsf_const_lo): Add missing register mode.
10271 (goto_handler_and_restore): Add auxiliary test for Pmode.
10272 (flush): Adjust to use address_operand.
10273 (return_sf_no_fpu): Add missing output constraint.
10275 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
10277 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
10278 for call return value.
10279 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
10281 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
10283 * toplev.c (main): Only warn about options for other languages.
10284 * collect2.c (main): Pass -w to sub-gcc.
10286 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
10288 * flow.c (propagate_block): Add call-clobbered registers to
10291 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
10292 zapping mem_set_list.
10293 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
10294 (mark_set_1, mark_used_regs): Likewise.
10296 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
10298 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
10300 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10302 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
10303 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
10304 options. Also add a new item "C-only Warning Options" to the
10307 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
10309 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
10310 from multiple calls.
10312 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
10314 * i386.md (call value patterns): Move to the end of the file.
10315 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
10317 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
10319 * configure.in (djgpp configuration): Define extra_objects..
10320 * configure: Rebuilt.
10321 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
10322 (DTORS_SECTION_ASM_OP): Define.
10323 (INIT_SECTION_ASM_OP): Define.
10324 (FINI_SECTION_ASM_OP): Define.
10325 (DATA_SECTION_ASM_OP): Define.
10326 (TEXT_SECTION_ASM_OP): Define.
10327 (EH_FRAME_SECTION_ASM_OP): Define.
10328 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
10329 (STARTFILE_SPEC): Add crtbegin.o.
10330 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
10331 to here from LINK_COMMAND_SPEC.
10332 (DO_GLOBAL_CTORS_BODY): Define.
10333 (CRTSTUFF_USE_FINI_SECTION): Define
10334 (HAS_INIT_SECTION): Delete.
10336 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
10338 * Makefile.in (all.cross): Depend on xcpp$(exeext).
10340 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
10342 * pa.h (PREDICATE_CODES): New.
10344 * genrecog.c (validate_pattern): Condense the destination
10345 non-lvalue message.
10347 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
10349 * alpha.md (call-1): Supply missing mode for operator.
10350 (*): Add missing output reload constraints. Remove constraints
10351 from define_splits.
10353 * i386.h (SPECIAL_MODE_PREDICATES): New.
10354 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
10355 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
10356 (addsi_lea_3): Add missing mode for op 3.
10357 (prologue_set_got, prologue_get_pc): Add missing modes.
10358 (*) Add missing output reload constraints.
10360 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
10362 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
10363 check for member bit-size overflow and use var_size if it occurs.
10364 (layout_record): Use bitsize_int() to define the type size in bits.
10365 Likewise for computation and assignment to DECL_FIELD_BITPOS.
10366 (layout_decl): Likewise when assigning to DECL_SIZE.
10368 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
10370 * genrecog.c (validate_pattern): Typo last change. Verify
10371 that output operands have output reloads.
10373 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
10375 * genrecog.c (special_mode_pred_table): New.
10376 (NUM_SPECIAL_MODE_PREDS): New.
10377 (find_operand): New.
10378 (validate_pattern): New argument `insn'. Warn for assignment to
10379 any predicate accepting non-lvalues. Conditionaly warn for
10380 match_operand without a mode. Try much harder to match source
10381 and destination modes on a set.
10382 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
10384 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
10386 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
10388 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
10390 * combine.c (simplify_logical): Recognize xor pattern that encodes
10393 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10395 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
10398 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
10400 * ggc-page.c (MAP_FAILED): Provide default.
10402 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
10404 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
10405 * sparc.h (PREDICATE_CODES): Update.
10407 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
10409 * alpha.c (some_ni_operand): New.
10410 * alpha-protos.h: Declare it.
10411 * alpha.h (PREDICATE_CODES): Update.
10412 * alpha.md (sXaddq reload insns): Use some_ni_operand
10413 for SET_DEST instead of some_operand.
10415 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
10416 Jim Wilson <wilson@cygnus.com>
10418 * genrecog.c (maybe_both_true_2): Don't compare modes of
10420 (process_tree): Elide peephole2_insns. Invoke simplify_tests
10421 after find_afterward.
10422 (debug_decision_1): Dump next and afterward codes.
10424 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
10426 * rtl.c (dump_and_abort): Remove.
10427 (fatal_with_file_and_line): New.
10428 (fatal_expected_char): New.
10429 (read_rtx_lineno, read_rtx_filename): New.
10430 (read_skip_spaces): Track line number.
10431 (read_name): Use fatal_with_file_and_line.
10432 (read_rtx): Use fatal_expected_char. Track line number.
10433 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
10435 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
10436 if it isn't a CODE_LABEL.
10438 * genattr.c (main): Set read_rtx_filename.
10439 * genattrtab.c (main): Likewise.
10440 * gencodes.c (main): Likewise.
10441 * genconfig.c (main): Likewise.
10442 * genemit.c (main): Likewise.
10443 * genextract.c (main): Likewise.
10444 * genflags.c (main): Likewise.
10445 * genopinit.c (main): Likewise.
10446 * genoutput.c (main): Likewise.
10447 * genpeep.c (main): Likewise.
10449 * genrecog.c (decision_test.u.insn): Add `lineno'.
10450 (pattern_lineno, error_count): New variables.
10451 (message_with_line): New.
10452 (add_to_sequence): Break out checking code to ...
10453 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
10454 (merge_insn): Use message_with_line.
10455 (make_insn_sequence): Use validate_pattern. Record insn lineno.
10456 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
10458 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10460 * expr.c (store_constructor): Clear union if constructor is empty.
10462 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
10464 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
10465 Add !endian checks. Change %{...} to %(...).
10467 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
10469 * i386.md (*addsi3_cc): Renamed from addcsi3.
10470 (*addsi3_carry): Renamed from addxsi3.
10471 (*subsi3_cc): Renamed from subcsi3.
10472 (*subsi3_carry): Renamed from subxsi3.
10473 (*xorqi_cc_1): Renamed from xorcqi_1.
10474 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
10475 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
10477 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
10479 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
10480 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
10482 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
10484 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
10485 climb up the chain of insns.
10487 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
10489 * genrecog.c (write_subroutine): Careful for null trees.
10490 (process_tree): Don't elide empty functions.
10492 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
10494 * Makefile.in (genrtl.o): Depend on ggc.h.
10495 * configure.in (valloc): Probe for it.
10496 (with-gc): Use ggc-page if valloc present.
10497 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
10498 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
10499 (ggc_alloc_string): Moved from ggc-page.c.
10500 * ggc-none.c (ggc_alloc_obj): New.
10501 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
10502 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
10503 (struct globals): Likewise for dev_zero_fd.
10504 (init_ggc): Likewise for it's initialization.
10505 (ggc_allocated_p): Move careful dereference from ...
10506 (ggc_lookup_page_table): ... here. Delete.
10507 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
10508 (alloc_anon): Use valloc if no mmap.
10509 (release_pages): Use free if using valloc.
10510 (ggc_alloc_obj): Renamed from alloc_obj.
10511 (ggc_set_mark): Renamed from mark_obj.
10512 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
10513 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
10514 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
10515 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
10516 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
10517 (ggc_collect): Use fp printing instead of our own rounding.
10518 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
10519 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
10520 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
10521 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
10522 (struct ggc_string, struct ggc_any): Delete.
10523 (offsetof): Provide default definition.
10524 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
10526 (struct ggc_mem): New, from corpse of ggc_any.
10527 (struct ggc_status): Delete.
10528 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
10529 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
10530 (n_strings_collected, n_anys_collected): Delete.
10531 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
10532 (ggc_alloc_string, ggc_alloc): Delete.
10533 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
10534 (ggc_free_string, ggc_free_any): Delete.
10535 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
10536 (ggc_compare_addresses, ggc_mark_string): Delete.
10537 (ggc_mark_string_if_gcable, ggc_mark): Delete.
10538 (search_data): Delete.
10539 (struct globals): New.
10540 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
10541 (tree_insert, tree_lookup): New.
10542 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
10543 (clear_marks, sweep_objs): New.
10544 (ggc_collect): Gut. Use clear_marks, sweep_objs.
10545 (init_ggc): Set allocated_last_gc.
10546 (ggc_push_context): Gut. Use G.context.
10547 (ggc_pop_context): Likewise.
10548 (ggc_pop_context_1): New.
10549 (debug_ggc_tree): New.
10550 (debug_ggc_balance, tally_leaves): New.
10551 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
10552 (ggc_mark_string_if_gcable): Remove decl.
10553 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
10554 (ggc_mark_rtvec_children): New.
10555 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
10556 (ggc_mark_if_gcable): New decl.
10557 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
10558 (ggc_alloc_tree, ggc_alloc): Likewise.
10559 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
10560 (ggc_alloc_obj): New decl.
10561 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
10562 (ggc_alloc_tree, ggc_alloc): Likewise.
10563 (ggc_set_mark): New decl.
10564 * rtl.h (struct rtx_def): Remove gc_mark.
10565 (struct rtvec_def): Likewise.
10566 * tree.h (struct tree_common): Likewise.
10568 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
10570 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
10571 float_format and thread_file definitions.
10572 * configure: Rebuilt.
10574 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
10576 * extend.texi (Function Names): Document types of function names.
10578 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10580 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
10581 an earlyclobbered output conflict with RELOAD_INPUT reloads.
10583 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10585 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
10587 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10589 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
10591 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
10593 * collect2.c (main): Do prelimnary link on AIX if rflag.
10595 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
10597 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
10598 __CTOR_LIST__ in opposite order, which is the correct order for sorted
10600 (__do_global_dtors): similarly for __DTOR_LIST__.
10602 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10603 Diego Novillo <dnovillo@cygnus.com>
10605 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
10608 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
10610 * fixincl/*: Merged "no_bogosity" branch
10611 * fixincl/fixlib.h: protect against doubly defining t_bool
10612 * fixincl/server.h: protect against doubly defining t_bool
10614 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
10616 * genoutput.c: Include toplev.h.
10618 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
10620 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10622 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
10623 * configure: Regenerate.
10625 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
10627 * gcse.c (delete_null_pointer_checks): Returns void.
10629 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10631 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
10632 * emit-rtl.c (copy_insn_1): Likewise.
10634 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
10636 * config/mips/mips.c (mips_build_va_list): Correct
10637 TREE_CHAIN setting when hard-float.
10638 (mips_va_start): Use corrected setting.
10639 (mips_va_arg): Likewise. Also pass a tree to build of
10640 POSTINCREMENT_EXPR rather than a naked 'int'.
10642 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
10644 * ggc.h (ggc_push_context): Fix comment.
10645 (ggc_pop_context): Likewise.
10646 (mark_string_if_gcable): Likewise.
10647 * ggc-common.c (ggc_mark_rtx_children): Use
10648 ggc_mark_string_if_gcable.
10649 * ggc-page.c (ggc_lookup_page_table): New function.
10650 (ggc_allocated_p): Likewise.
10651 (mark_obj): Fix formatting.
10652 (ggc_mark_string_if_gcable): New function.
10653 * ggc-simple.c (ggc_allocated_strings): New variable.
10654 (ggc_strings_used): Likewise.
10655 (ggc_compare_addresses): New function.
10656 (ggc_pop_context): Pop the `any' memory too.
10657 (ggc_mark_string_if_gcable): New function.
10658 (ggc_collect): Initialize and tear down ggc_allocated_strings.
10660 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
10662 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
10663 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
10664 * rs6000.c (expand_block_move): Match movstrsi_?reg register
10667 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
10669 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
10670 (sched_reg_live_length, sched_reg_basic_block): Delete.
10671 (current_block_num, bb_live_regs, old_live_regs): Delete.
10672 (dead_notes, struct sometimes): Delete.
10673 (sched_note_set, birthing_insn_p): Delete.
10674 (adjust_priority): Gut useless reg lifetime code.
10675 (create_reg_dead_note, attach_deaths): Delete.
10676 (attach_deaths_insn, new_sometimes_live): Delete.
10677 (finish_sometimes_live): Delete.
10678 (find_pre_sched_live, find_post_sched_live): Delete.
10679 (update_reg_usage): Delete.
10680 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
10681 (schedule_insns): Delete reg lifetime code.
10682 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
10683 (unlink_other_notes): Adjust REG_NOTE commentary.
10684 (reemit_notes): Use REG_SAVE_NOTE.
10685 (schedule_block): Likewise.
10686 (schedule_region): Allocate bitmap of blocks in region. Use
10687 count_or_remove_death_notes. Use update_life_info.
10689 * rtl.h (REG_SAVE_NOTE): New.
10690 * rtl.c (reg_note_name): Update.
10692 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
10694 * combine.c (refresh_blocks, need_refresh): New.
10695 (combine_instructions): Allocate refresh_blocks. Invoke
10696 update_life_info if needed.
10697 (distribute_notes): Mark refresh_blocks instead of installing
10699 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
10700 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
10702 * Makefile.in (recog.o): Depend on basic-block.h.
10704 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
10706 * genrecog.c (add_to_sequence): Thinko last change: delete
10707 shadowing allow_const_int variable.
10709 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10711 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
10712 __GNUC__ and __GNUC_MINOR__.
10714 * gansidecl.h: Likewise.
10720 * toplev.h: Likewise.
10722 * tree.c: Likewise.
10724 * tree.h: Likewise.
10726 * varray.c: Likewise.
10728 * varray.h: Likewise.
10730 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10732 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
10733 use one before a jump table.
10735 * rtl.def (ADDRESS): Change documentation to match reality.
10736 * md.texi: Don't document it.
10737 * gmicro.md (load address pattern): Use 'p' constraint, delete use
10740 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
10742 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
10744 * genrecog.c (add_to_sequence): Move allow_const_int test outside
10745 known predicate block; default allow_const_int true.
10746 (debug_decision_list): New.
10748 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
10750 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
10752 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
10754 * gcse.c (gcse_main): Avoid global optimizations if we have a
10755 large number of basic blocks and the ratio of edges to blocks
10757 (delete_null_pointer_checks): Likewise.
10759 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
10761 * c-common.c (check_format_info): Warn if format string isn't a
10764 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
10766 * configure.in (arm*-*-*): Don't let autoconf remove brackets
10767 * configure: regenerate
10769 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
10771 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
10772 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
10773 (peepholes): Re-enable.
10775 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
10777 * Makefile.in (flow.o): Depend on TREE_H.
10778 * basic-block.h (REG_SET_EQUAL_P): New.
10779 (XOR_REG_SET): New.
10780 (n_edges): Declare.
10781 (free_regset_vector): Remove declaration.
10782 (flow_delete_insn_chain): Declare.
10783 (enum update_life_extent): New.
10784 (update_life_info, count_or_remove_death_notes): Declare.
10785 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
10786 Verify register live at bb->global_live_at_start before adding USE.
10787 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
10788 (CLEAN_ALLOCA): New.
10790 (PROP_*): New flags.
10791 (find_basic_blocks_1): Use alloc_EXPR_LIST.
10792 (clear_edges): Zero n_edges.
10793 (make_edge): Increment n_edges.
10794 (split_edge): Don't allocate bb->local_set. Increment n_edges.
10795 (flow_delete_insn_chain): Export.
10796 (delete_block): Decrement n_edges.
10797 (merge_blocks_nomove): Likewise.
10798 (life_analysis): Give life_analysis_1 PROP flags.
10799 (verify_wide_reg_1, verify_wide_reg): New.
10800 (verify_local_live_at_start): New.
10801 (update_life_info): Rewrite to call into propogate_block.
10803 (mark_regs_live_at_end): After reload, if epilogue as rtl,
10804 always mark stack pointer. Conditionally mark PIC register.
10805 After reload, mark call-saved registers, return regsiters.
10806 (life_analysis_1): Accept PROP flags not remove_dead_code.
10807 Call mark_regs_live_at_end before zeroing regs_ever_live.
10808 Use calculate_global_regs_live. Copy global_live_at_end before
10809 calling final propagate_block. Zero reg_next_use on exit.
10810 (calculate_global_regs_live): New.
10811 (allocate_bb_life_data): Don't allocate bb->local_set.
10812 (init_regset_vector, free_regset_vector): Remove.
10813 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
10814 Test flags before every operation. Warn if prologue/epilogue insn
10815 would have been deleted.
10816 (mark_set_regs, mark_set_1): Accept and use FLAGS.
10817 Use alloc_EXPR_LIST.
10818 (mark_used_regs): Accept and use FLAGS, not FINAL.
10819 Remove special handling for RETURN.
10820 (try_pre_increment): Use alloc_EXPR_LIST.
10821 (dump_flow_info): Dump n_edges.
10822 (unlink_insn_chain, split_hard_reg_notes): Remove.
10823 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
10824 (find_insn_with_note, new_insn_dead_notes): Remove.
10825 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
10826 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
10827 (replace_insns): Remove.
10828 (count_or_remove_death_notes): New.
10829 (verify_flow_info): Abort on error after all checks.
10830 (remove_edge): Decrement n_edges.
10831 (remove_fake_edges): Tweek format.
10832 * haifa-sched.c (schedule_insns): Use split_all_insns.
10833 * output.h (update_life_info): Remove declaration.
10834 * recog.c (split_all_insns): From the corpse of split_block_insns,
10835 do the whole function block by block. Use update_life_info.
10836 (recog_last_allowed_insn): New.
10837 (recog_next_insn): Mind it.
10838 (peephole2_optimize): Set it. Walk backwards through blocks.
10839 Use update_life_info.
10840 * rtl.h (update_flow_info, replace_insns): Remove declarations.
10841 (split_all_insns): Declare.
10842 * toplev.c (rest_of_compilation): Thread prologue before flow2.
10843 Use split_all_insns.
10845 * i386.md (or -1 peep2s): Disable.
10847 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
10849 * config/mips/mips.md (movstrsi+[123]) : Combine these into
10850 a single pattern. Scrap the 'd' versions as unnecessary.
10852 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
10853 tablejump_mips162,tablejump_internal4): The operands to a
10854 label_ref must be VOIDmode.
10856 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10858 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
10860 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
10862 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
10864 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
10866 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
10867 cache every function if ggc_p.
10869 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10871 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
10872 instead of copy_rtx. Accept sequences that contain asm statements.
10873 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
10874 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
10875 orig_asm_operands_vector, copy_asm_operands_vector,
10876 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
10878 * rtl.h (copy_insn, copy_insn_1): Declare.
10880 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10882 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
10884 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
10885 arguments to `current_file_function_operand'.
10887 * genrecog.c: Include hard-reg-set.h and resource.h in the
10888 generated output file.
10890 * real.c: Include tm_p.h.
10892 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10894 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
10897 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
10899 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
10900 before the fctiwz insn.
10902 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10903 Mark Mitchell <mark@codesourcery.com>
10905 * tree.c (make_lang_type_fn): New funtion pointer.
10906 (make_lang_type): Call it.
10907 * tree.h (make_lang_type): Declare.
10908 (make_lang_type_fn): Likewise.
10909 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
10911 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
10913 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
10914 make sure that HIGH instructions are copied into BASE_REGS.
10916 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
10918 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
10920 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
10922 * c-decl.c (finish_struct): Use simpler method of
10923 removing elements of a singly-linked list.
10925 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
10927 * alpha.md (peephole2's): Comment out peephole2's that generate
10930 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
10932 * genrecog.c (add_to_sequence): Disable mode check for
10935 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10937 * ggc-simple.c (init_ggc): Set empty_string.
10939 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
10941 * configure.in: Detect mmap. Add --with-gc=foo to select
10942 garbage collector; default to page if mmap available.
10943 * Makefile.in (GGC): Substitute.
10945 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
10947 * c-decl.c (ggc_p): Enable.
10949 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10951 * flow.c (verify_flow_info): Make it extern & unconditionally define.
10953 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
10955 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
10956 string for little-endian-data.
10958 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
10960 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
10961 case somebody tries to compile --enable-checking code with gcc
10964 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
10966 * genrecog.c (add_to_sequence): Verify operand to label_ref is
10969 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
10971 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
10972 * jump.c (jump_optimize_1): Document why.
10974 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10976 * collect2.c (scan_prog_file, scan_libraries): Prototype function
10977 pointers and casts for `int_handler' and `quit_handler'.
10979 * flow.c (verify_flow_info, split_hard_reg_notes,
10980 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
10981 remove_edge, remove_fake_successors): Add static prototypes.
10982 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
10983 (mark_set_1): Initialize variable `regno'.
10984 (unlink_insn_chain): Likewise for variable `curr'.
10985 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
10987 * loop.c (strength_reduce): Initialize variable
10988 `unrolled_insn_copies'.
10989 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
10990 prototypes. Change these functions to take const PTR parameters
10991 to avoid prototype conflict when used as the comparson argument
10993 (check_dbra_loop): Initialize variable `comparison_val'.
10995 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
10996 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
10997 (find_valid_class): Initialize variable `best_class'.
10998 (find_reloads): Call memcpy, not bcopy.
11000 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
11001 (hard_reg_use_compare): Don't needlessly cast away const.
11002 (reload_reg_class_lower): Likewise.
11003 (choose_reload_regs): Initialize variable `regno'.
11005 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
11007 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
11009 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
11011 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
11012 ({,d}discard): Add forward declarations. Declare parameter as
11014 (main_without_main): Explicitly declare return type to be int.
11015 (memcpy): Properly declare.
11017 * libgcc2.c (toplevel): If inhibit_libc is defined and not
11018 building the trampoline support, declare malloc, free, and
11020 (__clear_cache): Mark arguments as potentially unused.
11022 * frame.c (toplevel): If inhibit_libc is defined, declare
11025 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
11027 * flow.c (make_edge): Accept an optional 2D bitmap in which
11028 to cache edge existence. Update all callers.
11029 (make_label_edge, make_eh_edge): Pass through the edge cache.
11030 (make_edges): Provide the cache.
11032 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11034 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
11036 (local_mbtowc): Change the type of variable `i' from int to size_t.
11038 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
11039 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
11041 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
11043 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
11044 after other includes that define the appropriate types. Include
11045 tm_p.h for getting user prototypes.
11046 * ggc-callbacks.c (toplevel): Ditto.
11047 * ggc-none.c (toplevel): Ditto.
11048 * gcc-page.c (toplevel): Ditto.
11049 * ggc-simple.c (toplevel): Ditto.
11051 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
11052 Jonathan Larmour <jlarmour@cygnus.co.uk>
11054 * config/mips/mips.c (mips_move_2words): Split doubles if
11055 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
11057 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
11059 * genrecog.c (struct decision_test): New.
11060 (struct decision): Remove test-related members, sort the rest by size.
11061 (IS_SPLIT): Simplify.
11062 (new_decision, new_decision_test): New.
11063 (add_to_sequence): Use them. No special handling for args of
11065 (maybe_both_true): Renamed from not_both_true; return sense changed.
11066 (maybe_both_true_1, maybe_both_true_2): New. Broken out
11067 of maybe_both_true and adjusted for decision_test.
11068 (position_merit): Remove.
11069 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
11070 (merge_accept_insn): New, broken out of merge_trees.
11071 (merge_trees): Use them. No special case for c_test; no node
11072 splitting; use test type instead of position_merit.
11073 (factor_tests): New.
11074 (simplify_tests): New.
11075 (break_out_subroutines): Don't write code now.
11076 (find_afterward): New.
11077 (write_afterward, write_switch, write_cond): New.
11078 (write_action, is_unconditional): New.
11079 (write_node): New. Use them.
11080 (write_tree_1): Rewrite. Use the new functions above.
11081 (write_tree): Remove afterward processing.
11082 (write_subroutine): Simplify function variant emission.
11083 (write_subroutines): New.
11084 (same_codes, clear_codes): Remove.
11085 (same_modes, clear_modes): Remove.
11086 (write_header): New, broken out of main.
11087 (make_insn_sequence): Use new_decision and new_decision_test.
11088 (process_tree): New, broken out of main.
11089 (main): Adjust for merge_trees interface change.
11090 Don't #define operands in the output file.
11091 (record_insn_name): New, broken out of make_insn_sequence.
11092 (debug_decision_2, debug_decision_1, debug_decision_0): New.
11093 (debug_decision): New.
11095 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
11097 * resource.c (find_free_register): Mark class_str argument const.
11098 * resource.h: Update prototype to match.
11100 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
11101 * i386.md: Give all anonymous insns names.
11103 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
11105 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
11108 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
11110 * toplev.c (dbr_sched_time): Unconditional.
11111 (peephole2_time): New.
11112 (compile_file): Add pass numbers to all of the dump file suffixes.
11113 Dump peephole2_time. Don't dump times for non-applicable passes.
11114 (rest_of_compilation): Add pass numbers to dump file suffixes.
11115 Conditionalize calls to the scheduler.
11116 * invoke.texi: Update.
11118 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
11120 * flow.c (make_edges): Fix insn iteration.
11121 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
11122 (find_basic_blocks_1): Fix spelling mistake.
11124 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
11126 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
11127 always have side-effects. Use memset not bzero.
11128 (make_node): Likewise.
11130 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
11132 * stmt.c (expand_anon_union_decl): When any of the elements of the
11133 union is addressable, so is the entire union.
11135 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
11137 * sbitmap.c (sbitmap_ones): Don't set too many bits.
11139 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
11140 * bitmap.c (bitmap_operation): Return true iff TO changed.
11141 (bitmap_equal_p): New.
11142 (bitmap_bit_p): Tidy arithmetic.
11143 (debug_bitmap_file): Likewise.
11145 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
11147 * toplev.c (rest_of_compilation): Turn on cse_not_expected
11148 before cse2 instead of after.
11150 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
11152 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
11155 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11157 * cppinit.c (is_idchar initializer): Loosen tests to accept
11160 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
11162 * mips.md: Define conditional move patterns for floating point
11163 operands and DI mode conditions.
11165 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
11167 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
11168 always have side-effects.
11170 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
11172 * mn10200.c (asm_file_start): Fix typo.
11174 * cppinit.c (is_idchar initializer): Tighten tests for when
11175 to put the table into initialized memory.
11177 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
11178 not an array of rtunion.
11179 * gcc-page.c (ggc_alloc_rtvec): Similarly.
11180 * gcc-simple (ggc_free_rtvec): Similarly.
11182 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
11185 * mbchar.h: Add missing #endif.
11187 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
11188 (FPBIT, DPBIT): Define.
11190 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11192 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
11194 * profile.c (instrument_arcs, output_gcov_string,
11195 tablejump_entry_p): Add static prototypes.
11196 (output_gcov_string): Constify a char*.
11198 * regmove.c (replacement_quality, fixup_match_2): Add static
11201 * resource.h (reg_dead_p): Add extern prototype.
11203 * rtl.c (trim_filename): Add static prototype.
11205 * scan-decls.c (skip_to_closing_brace): Likewise.
11207 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
11208 (expand_end_case): Initialize variable `range'.
11209 (emit_case_nodes): Remove unused prototype `rtx_fn'.
11211 * varasm.c (asm_emit_uninitialised): Add static prototype.
11212 (asm_emit_uninitialised, assemble_variable): Mark parameter with
11215 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11217 * cpplib.c (if_directive_nameo): Add static prototype.
11219 * cse.c (cse_insn): Remove unused variable `p'.
11221 * except.c (create_rethrow_ref, push_entry,
11222 receive_exception_label, new_eh_region_entry, find_func_region,
11223 clear_function_eh_region, process_nestinfo): Add static prototypes.
11224 (get_reg_for_handler): Hide definition.
11225 (process_nestinfo): Initialize variable `extra_handlers'.
11227 * expr.h (expand_builtin_longjmp): Add extern prototype.
11229 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
11231 * function.c (prepare_function_start): Likewise.
11232 (pop_function_context_from): Mark parameter `context' with
11234 (push_temp_slots_for_block, flush_addressof): Hide definition.
11236 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
11237 solve_program_flow_graph, calculate_branch_probs,
11238 function_summary, main, fancy_abort): Add prototypes.
11240 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
11241 (add_hash): Constify a char*.
11243 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
11244 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
11245 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
11247 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
11249 * lists.c (free_list, zap_lists): Likewise.
11251 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11253 * alias.c (nonlocal_reference_p): Add static prototype.
11255 * bitmap.c (bitmap_element_allocate): Prototype args in function
11258 * builtins.c (stabilize_va_list): Add static prototype.
11259 (expand_builtin_va_arg): Constify a char*.
11261 * c-lex.c (getch, put_back, extend_token_buffer_to,
11262 read_line_number, token_getch, token_put_back): Add static
11265 * c-parse.gperf (hash, is_reserved_word): Likewise.
11267 * cccp.c (is_dir_separator): Likewise.
11269 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11271 * graph.h: New file to prototype functions exported by graph.c.
11273 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
11275 * graph.c: Include graph.h.
11277 * toplev.c: Likewise. Remove redundant prototypes.
11279 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
11281 * invoke.texi: Removed duplicated description for -Q.
11283 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
11285 * extend.texi: Grammar fix in __extension__ text.
11287 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
11289 * md.texi (define_peephole2): New section.
11291 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
11293 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
11294 (mov $-1 to or peepholer): Enable for pentium when optimizing for
11297 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
11299 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
11301 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
11303 * i386.md (ffs expander): Emit Pentium friendly code for
11306 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
11308 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
11310 (build1): Likewise.
11312 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11314 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
11316 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
11318 * config/m68k/m68k.c (use_return_insn): Return false if the pic
11319 register is in use.
11321 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11323 * md.texi (No Constraints): Delete section.
11324 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
11325 * final.c (final_scan_insn): We always have register constraints.
11326 * genattrtab.c: Don't include "insn-config.h".
11327 (write_attr_case): We always have register constraints.
11328 * genconfig.c (register_constraint_flag): Delete.
11329 (walk_insn_part): Don't check whether we have register constraints.
11330 (main): Don't write out "#define REGISTER_CONSTRAINTS".
11331 * genoutput.c (have_constraints): Delete.
11332 (main): Don't set it.
11333 (output_operand_data): We always have constraints.
11334 (scan_operands): Likewise.
11335 (compare_operands): Likewise.
11336 * local-alloc.c (block_alloc): We always have constraints.
11337 (requires_inout): Always compile this function.
11338 * recog.c (extract_insn): We always have constraints.
11339 (constrain_operands, reg_fits_class_p): Always compile these
11341 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
11343 (struct insn_operand_data): Likewise.
11344 * regclass.c (regclass): We always have constraints.
11345 (record_reg_classes, copy_cost, record_address_regs,
11346 auto_inc_dec_reg_p): Always compile these functions.
11347 * regmove.c (regmove_optimize): We always have constraints.
11348 * reload.c (find_reloads): Likewise.
11349 * reload1.c (reload): Likewise.
11350 (reload_cse_simplify_operands): Likewise.
11351 * i860.c (output_delay_insn): Likewise.
11353 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
11355 * iris6.h (BUILD_VA_LIST_TYPE): Define.
11357 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11359 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
11360 for the va_list record.
11362 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
11364 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
11367 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
11369 * alias.c: Include insn-flags.h.
11370 * Makefile.in (alias.o): Update.
11372 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
11374 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
11375 to LTU and GEU. Handle more cases using sbb.
11377 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
11379 * i386.md (truncatexfdf splitters): Do not use subreg.
11380 (fop XFmode patterns): Fix mode in operand testing.
11382 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
11384 * jump.c (jump_optimize_1): Amend last change to test only the
11385 form of the operand, not the insn.
11387 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
11388 not register_operand to determine when B may need preloading.
11390 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
11392 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
11393 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
11394 (call-value patterns): Move to end of file.
11395 (*): Remove mode from label_ref in (pc) context.
11396 (movstrqi): Use memory not general_operand for BLKmode operands.
11397 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
11398 to register_operand operands.
11399 (peep2 patterns): Convert from commented-out peephole patterns.
11401 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11403 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
11404 to BUILT_IN_INIT_DWARF_REG_SIZES.
11405 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
11406 Renamed from BUILT_IN_DWARF_REG_SIZE; call
11407 expand_builtin_init_dwarf_reg_sizes.
11408 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
11409 with __builtin_init_dwarf_reg_size_table.
11410 * dwarf2out.c (struct reg_size_range): Delete.
11411 (expand_builtin_init_dwarf_reg_sizes): New function.
11412 (expand_builtin_dwarf_reg_size): Delete.
11413 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
11414 (expand_builtin_dwarf_reg_size): Don't declare.
11415 * libgcc2.c (dwarf_reg_size_table_initialized): New.
11416 (dwarf_reg_size_table): New.
11417 (init_reg_size_table): New function.
11418 (copy_reg): Use dwarf_reg_size_table.
11419 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
11422 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
11424 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
11425 Correctly build argument list to constructor and destructor functions.
11427 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
11429 * c-tree.h (warn_float_equal): Declare.
11430 * c-decl.c (warn_float_equal): Define.
11431 (c_decode_option): Recognize -W[no-]float-equal.
11432 * c-typeck.c (build_binary_op): Conditionally warn
11433 about equality tests of floating point types.
11434 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
11435 * invoke.texi: Add docs for -Wfloat-equal warning.
11437 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
11439 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
11440 generating RTL directly.
11441 * mips.h (INIT_TARGET_OPTABS): Likewise.
11442 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
11444 * expr.h (init_mov_optab): Delete declaration
11446 * h8300.c (WORD_REG_USED): Update to avoid useless register
11447 saves in interrupt functions and functions which never return.
11449 * cse.c (struct set): Delete inner_dest_loc field.
11450 (cse_insn): Remove assignments to inner_dest_loc field.
11452 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
11454 * ggc-page.c: Don't include <unistd.h> etc taken care of
11455 by "system.h". Include <sys/mman.h> afterward.
11457 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
11459 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
11462 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
11464 * xcoffout.c (xcoffout_declare_function): Add documentation.
11465 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
11466 TARGET_64BIT. Compare constant to -1, not bit pattern.
11467 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
11468 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
11471 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
11473 * dwarf2out.c (add_abstract_origin_attribute): Abort if
11474 origin_die is NULL.
11475 (gen_inlined_enumeration_type_die): Do not abort if the type has
11476 not been writeen out.
11477 (gen_inlined_structure_type_die): Do not abort if the type has
11478 not been writeen out.
11479 (gen_inlined_union_type_die): Do not abort if the type has
11480 not been writeen out.
11481 (gen_tagged_type_instantiation_die): Do not abort if the type
11482 has not been written out.
11484 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11486 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
11488 * reg-stack.c (straighten_stack): Copy hard reg set with
11491 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
11493 * builtins.c (stabilize_va_list): Stabilize array type va_list
11494 to a pointer type, not the base record type.
11495 (expand_builtin_va_copy): Dereference the pointers explicitly;
11496 use the correct size for the copy.
11498 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
11499 (rs6000_va_arg): Likewise.
11501 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
11503 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
11505 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
11507 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
11509 (DECL_BUILT_IN_CLASS): Adjust accordingly.
11511 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
11513 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
11514 (init_ggc): Use it instead of a constant.
11515 (ggc_collect): Bound allocated_last_gc by it.
11517 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
11519 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
11522 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
11524 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
11525 (mips*-*-openbsd*): Let big endian configuration be a fragment.
11526 * configure: Regen.
11527 * config/mips/openbsd.h: New, OpenBSD little endian target.
11528 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
11529 * config/mips/xm-openbsd.h: New, OpenBSD host.
11531 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
11533 * config/m68k/m68k.c (output_function_prologue,
11534 output_function_epilogue): Use
11535 current_function_uses_pic_offset_table instead of regs_ever_live
11536 to decide whether to save/restore pic register.
11537 (legitimize_pic_address): Don't modify regs_ever_live any more.
11539 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
11541 * function.h (struct function): Add x_dont_save_pending_sizes_p.
11542 * stor-layout.c (variable_size): Don't add sizes to the pending
11543 sizes list if x_dont_save_pending_sizes_p is set.
11545 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
11547 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
11548 for symbolic_operand().
11549 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
11551 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11553 * combine.c (gen_rtx_combine): Add missing call to va_end().
11555 * final.c (asm_fprintf): Likewise.
11557 * genattrtab.c (attr_rtx): Likewise.
11559 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
11561 * cse.c: Update comments.
11562 (cse_insn): When converting a conditional/computed jump into
11563 an unconditional jump, always make sure a BARRIER immediately
11564 follows the converted jump. Do not delete unreachable code.
11565 (cse_basic_block): Do not delete unreachable code.
11566 * toplev.c (rest_of_compilation): Move call to
11567 delete_trivially_dead_insns after the conditional call to
11570 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11572 * collect2.c (make_temp_file): Don't prototype.
11574 * gcc.c (make_temp_file): Likewise.
11576 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
11578 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
11580 * varasm.c (asm_emit_uninitialised): New function: Generate
11581 the assembler statements necessary to declare an uninitialised
11583 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
11585 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
11586 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
11588 (assemble_variable): Use asm_emit_uninitialised to emit an
11589 uninitialised variable.
11591 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
11593 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
11594 constant on a 64 bit host. Patch supplied by Geoffrey Keating
11595 <geoffk@cygnus.com>.
11597 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11599 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
11600 * c-common.h (builtin_function): Don't declare.
11602 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
11604 (pushdecl): Likewise.
11605 (finish_decl): Likewise.
11606 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
11607 int. All callers changed.
11608 Set the builtin's DECL_BUILT_IN_CLASS.
11609 * tree.h (enum built_in_class): New.
11610 (enum built_in_function): Delete NOT_BUILT_IN.
11611 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
11613 (DECL_SET_FUNCTION_CODE): Likewise.
11614 (DECL_BUILT_IN_CLASS): New macro.
11615 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
11616 (struct tree_decl): Split builtin function code field into a
11618 (builtin_function): Declare.
11620 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
11622 * optabs.c (init_traps): Fix typo in last change.
11624 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
11626 * toplev.c (rest_of_decl_compilation): Update comment.
11628 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
11630 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
11631 in .sbss if appropriate.
11632 (EXTRA_SECTION_FUNCTIONS): Add sbss.
11633 (SBSS_SECTION_ASM_OP): New macro.
11634 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
11635 (EXTRA_SECTIONS): Add in_sbss.
11636 * config/mips/mips.h: Prototype sbss_section.
11638 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
11640 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
11643 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
11645 * optabs.c (init_traps): Register trap_rtx as a GC root.
11647 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11649 * config/mips/mips.c (function_arg_pass_by_reference): Define
11650 unconditionally, since it's called unconditionally.
11652 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11654 * toplev.c (documented_lang_options): Add -fshort-wchar.
11655 * c-decl.c (c_decode_option): Likewise.
11656 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
11658 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
11659 * gcc.c (default_compilers): If -fshort-wchar,
11660 override __WCHAR_TYPE__.
11661 * tm.texi (C Dialect Options): Add -fshort-wchar.
11663 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
11664 symbol for a variable.
11666 * cpplib.h (CPP_PREPROCESSED): New macro.
11667 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
11668 we're seeing this input for a second time.
11670 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
11672 * emit-rtl.c (init_emit_once): Initialize modes first.
11674 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
11676 * config/i386/i386.c (pic_label_name): Change to char pointer.
11677 (global_offset_table): New variable.
11678 (load_pic_register): Fill global_offset_table if it hasn't
11679 already been done. Allocate pic_label_name dynamically.
11680 * ggc.h (empty_string): New variable.
11681 * ggc-simple.c (empty_string): Likewise.
11682 (init_ggc): Allocate empty_string and add as root.
11683 * stmt.c (digit_strings): New variable.
11684 (init_stmt): Add last_block_end_note as root. Allocate and
11685 initialize digit_strings.
11686 (expand_asm_operands): Use empty_string instead of string
11687 constant. Use digit_strings instead of string constants.
11688 * profile.c (init_arc_profiler): Allocate string with
11689 ggc_alloc_string instead of xmalloc.
11690 (output_func_start_profiler): Likewise.
11691 * c-typeck.c (digest_init): Check if init is error_mark_node.
11693 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
11694 Richard Henderson <rth@cygnus.com>
11696 * ggc-page.c: New file.
11697 * Makefile.in (ggc-page.o): New.
11699 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
11701 * invoke.texi: Document -fdelete-null-pointer-checks
11702 * toplev.c (flag_delete_null_pointer_checks): New.
11703 (f_options): Add entry for -fdelete-null-pointer-checks.
11704 (rest_of_compilation): Conditionalize null pointer check
11705 elimination on flag_delete_null_pointer_checks.
11706 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
11708 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
11710 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
11711 copyright notice and special exception to GPL.
11713 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11715 * abi64.h (mips_function_value): Add prototype arguments.
11717 * mips-protos.h: New file with mips prototypes.
11719 * mips.c: Include "tm_p.h".
11720 (mktemp, lookup_name): Add prototype arguments.
11721 (extern_list, string_constant, mips_fill_delay_slot,
11722 mips_output_external, mips_output_external_libcall,
11723 mips_output_filename, mips_declare_object, function_prologue,
11724 mips_expand_prologue, function_epilogue, mips16_constant,
11725 build_mips16_function_stub, mips_output_conditional_branch):
11727 (mips_va_start): Remove unused variable `u'.
11728 (mips_va_arg): Cast value to unsigned when comparing against one.
11730 (save_restore_insns, mips_expand_prologue): Add missing arg in
11731 call to `large_int'.
11733 * mips.h: Move prototypes to mips-protos.h.
11734 (data_section, memory_address_p, rdata_section,
11735 readonly_data_section, simple_epilogue_p, text_section): Delete
11736 prototypes delcared elsewhere.
11737 (mips_epilogue_delay_slots, print_options): Delete unused decls.
11739 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
11741 * mips.md: Delete extra args in call to `mips_move_2words'.
11743 * xm-iris6.h (alloca): Add prototype argument.
11745 * genpeep.c: Include "tm_p.h" in generated output file.
11747 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11749 * basic-block.h (find_edge_index): Change parameters.
11750 * flow.c (verify_edge_list): Pass basic_block parameters to
11751 find_edge_index instead of integers.
11753 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
11755 * combine.c (simplify_comparison): Use an unsigned shift to adjust
11758 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
11760 * gcc.1: Fix a formatting error.
11762 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11764 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
11765 i786, mn10200, mn10300, pdp11, v850.
11767 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
11769 * libgcc2.c (num_digits): Add prototype with
11770 __attribute__((const)).
11771 (__terminate): Add prototype.
11773 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
11775 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
11777 * alpha/alpha.c (print_operand): Fix type of `code'.
11778 (alpha_output_filename): Constify.
11779 * alpha/alpha.h: Move all function declarations ...
11780 * alpha/alpha-protos.h: ... here. New file.
11781 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
11782 (SECTION_FUNCTION_TEMPLATE): Likewise.
11784 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11786 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
11787 * expr.c (expand_expr): Likewise.
11788 (do_jump): Likewise.
11789 (do_store_flag): Pass ccp_store_flag to can_compare_p.
11790 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
11792 (enum can_compare_purpose): New.
11793 (can_compare_p): Adjust prototype.
11794 (prepare_cmp_insn, prepare_operand): Declare.
11795 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
11796 * optabs.c (cmp_available_p): Deleted.
11797 (expand_abs): Pass ccp_jump to can_compare_p.
11798 (can_compare_p): New arg PURPOSE. Check for combined optabs.
11799 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
11800 Call can_compare_p rather than cmp_available_p.
11801 (prepare_operand): No longer static.
11802 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
11803 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
11804 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
11805 sequence to use emit_cmp_and_jump_insns.
11806 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
11808 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
11810 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
11811 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
11812 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
11813 (plus (reg) (const_int 0))
11814 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
11816 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
11818 * rs6000.c (expand_block_move): DImode loads and stores require
11819 word-aligned displacements. Increment address registers with
11820 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
11822 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
11824 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
11825 is no name for the base type, rather than segfault. If we are
11826 writing out a complex integer type, use DW_ATE_lo_user.
11828 * expr.c (emit_move_insn_1): If we are copying a complex that fits
11829 in one word or less (complex char, complex short, or on 64 bit
11830 systems complex float) to/from a hard register, copy it through
11831 memory instead of dying in gen_{real,imag}part. If we have a
11832 short complex type, prevent inlining since it allocates stack
11835 * tree.c (build_complex_type): If we are writing dwarf2 output,
11836 generate a name for complex integer types.
11838 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11840 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
11841 * flow.c (remove_edge): Remove extra whitespace.
11842 (remove_fake_edges): Fix comment.
11843 (add_noreturn_fake_exit_edges): Use the correct name.
11845 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
11847 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
11848 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
11849 (clean): Depend on INTL_CLEAN.
11850 (maintainer-clean): Adjust.
11852 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11854 * configure.in (AC_PREREQ): Bump to 2.13.
11855 (AC_C_STRINGIZE): Call this instead of using a custom macro.
11857 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
11859 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
11861 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
11863 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
11864 (HAVE_STRINGIZE): Define.
11866 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
11868 * c-parse.in: save and restore warn_pointer_arith on __extension__
11869 along with pedantic.
11870 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
11871 Set the type of extension to itype rather than $<itype>1 kludge.
11872 * extend.texi (Alternate Keywords): Adjust documentation.
11873 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
11875 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
11877 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
11878 most assembler templates.
11880 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
11881 FP loads and stores.
11882 (following_call): Always return zero for the PA8000.
11883 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
11884 FP loads and stores.
11885 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
11887 * pa.h (BRANCH_COST): Define.
11889 * pa.md (return, return_internal): Use bve for PA2.0.
11891 * pa.md (fused multiply): Add variants which reduce height for the
11892 fused multiply, but which still generate 2 insns.
11893 (fnegabs): Similarly.
11895 * pa.md (subsi3): Turn into an expander. Create two anonymous
11896 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
11897 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
11899 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
11901 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
11903 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
11904 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
11906 * regclass.c (init_regs): Add "top_of_stack" as a garbage
11909 * flow.c (record_active_eh_regions): Terminate loop after finding
11910 the last insn in the last basic block.
11912 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11914 * config/c4x/c4x.md: Delete parallel instruction peepholes.
11916 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11918 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
11920 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11922 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
11923 splitting to not use output template.
11925 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11927 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
11928 * config/c4x/c4x.c (c4x_va_start): New function.
11930 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
11932 * genrecog.c (not_both_true): Handle correctly cases when called for
11933 tests with different positions in the insn.
11935 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11937 * machmode.h (HOST_PTR_PRINTF): Move from here ...
11939 * system.h (HOST_PTR_PRINTF): ... to here.
11941 * mips-tfile.c: Don't include machmode.h.
11943 * Makefile.in (MACHMODE_H): New variable. Update to use it.
11944 (mips-tfile.o): Don't depend on machmode.h.
11946 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11948 * haifa-sched.c (sched_analyze): Rename local variable `region' to
11949 avoid conflicts with typedef struct `region' at the top level scope.
11951 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
11953 * basic-block.h (basic_block): Add eh_beg, eh_end.
11954 * flow.c (entry_exit_blocks): Update.
11955 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
11956 Call new functions.
11957 (find_basic_blocks_1): Don't record eh_list at each bb. Use
11958 lists.c functions to allocate insn lists.
11959 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
11961 (make_eh_edge): ... here. New.
11962 (move_stray_eh_region_notes): New.
11963 (record_active_eh_regions): New.
11964 (delete_unreachable_blocks): Split out block merging ...
11965 (try_merge_blocks): ... here. New.
11966 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
11967 Dump debugging data.
11968 (merge_blocks_move_successor_nojumps): Likewise.
11969 (merge_blocks): Use eh_beg+eh_end to validate block movement.
11971 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11973 * extend.texi (Bound member functions): Document unbound pmf
11976 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11978 * flow.c (split_edge): Handle insertion on a fallthrough edge which
11979 has the EXIT_BLOCK as a dest.
11981 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11983 * flow.c (remove_edge): New function to remove an edge from the
11985 (remove_fake_successors): New function to remove fake successor edges.
11986 (remove_fake_edges): New function to remove all fake edges from the
11988 (add_fake_exit_edges): New function to add fake edges from all blocks
11989 with no successors to the exit block.
11990 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
11991 prototypes for new functions.
11993 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
11995 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
11996 Use Pmode to determine whether to output .dword or .word.
11998 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
12000 * tree.c (built_in_filename): New variable.
12001 (BUILT_IN_FILENAME): New macro.
12002 (init_tree_codes): Allocate built_in_filename.
12003 (make_node): Use built_in_filename instead of string constant.
12005 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
12007 * configure.in: Add fr30 target.
12008 * configure: Regenerate.
12009 * config/fr30: New directory.
12010 * config/fr30/crti.asm: New file.
12011 * config/fr30/fr30.c: New file.
12012 * config/fr30/crtn.asm: New file.
12013 * config/fr30/fr30.h: New file.
12014 * config/fr30/fr30.md: New file.
12015 * config/fr30/lib1funcs.asm: New file.
12016 * config/fr30/t-fr30: New file.
12017 * config/fr30/xm-fr30.h: New file.
12019 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
12021 * flow.c (merge_blocks_move_successor_nojumps): Delete the
12022 BARRIER at the end of the successor, not the BARRIER before
12025 * pa.c (pa_add_gc_roots): Fix thinko in last change.
12027 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
12029 * stmt.c (any_pending_cleanups): Don't crash when
12030 current_function->stmt is unset.
12032 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12034 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
12035 other initializations that may use it for relative offsets.
12037 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12039 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
12040 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
12041 * config/i386/sol2dbg.h: Removed.
12042 * config/i386/sol2gas.h: New file, to enable gas work-around.
12043 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
12044 Don't use sol2dbg.h.
12045 * configure: Rebuilt.
12047 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
12049 * invoke.texi (-fthis-is-variable): Remove documentation.
12051 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
12053 * basic-block.h (compute_bb_for_insn): Declare.
12054 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
12055 to use; set size of basic_block_for_insn directly.
12056 (find_basic_blocks): Update.
12058 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12060 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
12062 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12064 * crtstuff.c (ON_EXIT): Delete empty macro definition.
12065 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
12067 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
12069 * c-decl.c (c_decode_option): Extend comment.
12071 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
12073 * toplev.c (progname): Make 'const char *'
12074 (flag_print_mem): Move out of main.
12075 (version_flag): Move out of main.
12076 (filename): Move out of main.
12077 (debug_args): Remove g prefix from options.
12078 (documented_lang_options): Remove cpplib specific options.
12079 (display_help): Add g prefix to debug options.
12080 (check_lang_option): Delete this function.
12081 (decode_d_option): New function: Decode -d... option.
12082 (decode_f_option): New function: Decode -f... option.
12083 (decode_W_option): New function: Decode -W... option.
12084 (decode_g_option): New function: Decode -g... option.
12085 (independent_decode_option): New function: Decode a language
12086 independent command line option.
12087 (main): Invoke lang_decode_option and then
12088 independent_decode_option on each command line option in
12091 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
12093 Revert this change. Gavin's patch to operand_equal_p is a better fix.
12094 * fold-const.c (fold_range_test): Do not try to fold the range
12095 test if the rhs or lhs has side effects.
12097 * basic-block.h (compute_flow_dominators): Declare.
12099 * gcse.c (alloc_code_hoist_mem): New function.
12100 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
12101 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
12102 (hoist_code, one_code_hoisting_pass): Likewise.
12103 (gcse_main): If optimizing for size, then hoist expressions
12104 computed in multiple dominated basic blocks.
12106 * gcse.c (invalid_nonnull_info): New function.
12107 (delete_null_pointer_checks): Likewise.
12108 * rtl.h (delete_null_pointer_checks): Declare.
12109 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
12111 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
12112 (merge-blocks_move_successor_nojumps): Likewise.
12113 (merge_blocks): Allow merging of some blocks, even if it requires
12114 physical movement of the blocks, but not if it requires new jumps.
12116 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
12117 Callers and prototype changed.
12118 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
12120 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12122 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
12123 -YP when both -p and -pg are present. From i386/sol2.h.
12125 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12127 * Makefile.in (distclean): Delete tm_p.h.
12128 * configure.in: Create a new file, "tm_p.h", from a list in
12129 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
12130 "i386/i386-protos.h".
12132 * alias.c: Include "tm_p.h".
12133 * c-typeck.c: Likewise.
12134 * calls.c: Likewise.
12136 * emit-rtl.c: Likewise.
12137 * explow.c: Likewise.
12138 * expmed.c: Likewise.
12139 * expr.c: Likewise.
12140 * final.c: Likewise.
12141 * flow.c: Likewise.
12142 * fold-const.c: Likewise.
12143 * function.c: Likewise.
12144 * gcse.c: Likewise.
12145 * global.c: Likewise.
12146 * haifa-sched.c: Likewise.
12147 * integrate.c: Likewise.
12148 * jump.c: Likewise.
12149 * local-alloc.c: Likewise.
12150 * loop.c: Likewise.
12151 * optabs.c: Likewise.
12152 * recog.c: Likewise.
12153 * reg-stack.c: Likewise.
12154 * regclass.c: Likewise.
12155 * regmove.c: Likewise.
12156 * reload.c: Likewise.
12157 * reload1.c: Likewise.
12158 * reorg.c: Likewise.
12159 * resource.c: Likewise.
12160 * stmt.c: Likewise.
12161 * stor-layout.c: Likewise.
12162 * toplev.c: Likewise.
12163 * tree.c: Likewise.
12164 * unroll.c: Likewise.
12165 * genattrtab.c (main): Make generated file include "tm_p.h".
12166 * genemit.c (main): Likewise.
12167 * genoutput.c (main): Likewise.
12168 * genrecog.c (main): Likewise.
12170 * i386.h: Delete all prototypes.
12171 * i386.c: Include "tm_p.h".
12172 (ix86_attr_length_default): Call constant_call_address_operand
12173 with correct number of arguments.
12174 * i386-protos.h: New file.
12175 * i386.md (unnamed patterns): Call constant_call_address_operand
12176 with correct number of arguments.
12177 (exception_receiver): Call load_pic_register with correct number
12180 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
12182 * c-pragma.c (mark_align_stack): Dereference the void* properly.
12184 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
12186 * rtl.h (insns_safe_to_move_p): New function.
12187 * loop.c (find_and_verify_loops): Use it.
12188 * rtlanal.c (insns_safe_to_move_p): Define it.
12190 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
12192 * c-pragma.c: Include ggc.h.
12193 * Makefile.in (c-pragma.o): Update.
12195 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12197 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
12198 (LIB_SPEC): Likewise.
12199 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
12200 Reindent -YP/-p/-pg.
12201 Copied from config/sparc/sol2.h.
12203 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
12205 * c-pragma.c (mark_align_stack): New.
12206 (init_pragma): New.
12207 * c-pragma.h (init_pragma): Declare it.
12208 * c-lex.c (init_parse): Call it.
12210 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12212 * configure.in: Pick up thread library on Solaris/x86 just
12213 like on Solaris/sparc.
12214 * configure: Rebuilt.
12216 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
12218 * rtl.h (global_rtx_index): New enum.
12219 (global_rtl): Change to array of rtx.
12220 (pc_rtx, cc0_rtx): Redefine accordingly.
12221 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
12222 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
12223 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
12224 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
12225 (const_int_rtx): Change to array of rtx.
12226 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
12228 * emit-rtl.c (global_rtl): Change to array of rtx.
12229 (const_int_rtx): Change to aray of rtx.
12230 (gen_rtx_CONST_INT): Redefine accordingly.
12231 (init_emit_once): Allocate and initialize global_rtl. Likewise
12232 for const_int_rtx. Add both as GC roots.
12233 * genattrtab.c (global_rtl): Update declaration.
12235 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
12237 * Makefile (USER_H): Add iso646.h back.
12239 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
12241 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
12242 zapping the LOG_LINKS of sched_before_next_call.
12244 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
12245 * pa.c (insn_refs_are_delayed): Renamed from
12246 insn_sets_and_refs_are_delayed.
12248 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
12250 * functiion.h (struct function): Add x_whole_function_mode_p.
12251 (retrofit_block): Declare.
12252 * function.c (retrofit_block): New function.
12253 (identify_blocks): Add assertions. Allow an incomplete set of
12254 block notes if we're still generating code for the function.
12255 * integrate.c: Include loop.h.
12256 (expand_inline_function): Call find_loop_tree_blocks to map block
12257 notes to blocks when in whole-function mode. Use retrofit_block
12258 to insert new BLOCKs for the inlined function, rather than
12260 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
12261 * Makefile.in (integrate.o): Depend on loop.h.
12263 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
12265 * tree.h (warn_about_unused_variables): Declare.
12266 * stmt.c (warn_about_unused_variables): New function, split out
12268 (expand_end_bindings): Here.
12270 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
12272 * stmt.c (preserve_subexpressions_p): Don't crash when
12273 current_function->stmt is unset.
12275 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
12277 * stmt.c (expand_start_bindings): Allow callers to pass a flag
12278 indicating that no NOTE_INSN_BLOCK_BEG note is required.
12279 (expand_start_target_temps): Use it.
12280 * except.c (expand_eh_region_start_for_decl): Likewise.
12281 * expr.c (expand_expr): Likewise.
12283 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
12285 * fold-const.c (operand_equal_p): Pay attention to side effects.
12287 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
12289 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
12290 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
12292 * tlink.c (scan_linker_output): Look for keywords before accepting
12293 a mangled name in quotes.
12295 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
12297 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
12298 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
12300 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
12302 * alpha.md: Revert Thu Nov 26 change that came in through the
12303 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
12304 Avoid earlyclobber when possible.
12306 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12308 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
12310 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
12311 Define HAVE_ON_EXIT.
12313 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12315 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
12316 CTYPE_CONV in all ctype macros.
12318 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
12321 * cexp.y (initialize_random_junk): Likewise.
12323 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
12325 * i370.c (handle_pragma): Likewise.
12327 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
12329 * v850.c (override_options): Likewise.
12331 * doprint.c (_doprnt): Likewise.
12333 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
12336 * fixinc/server.c (load_data): Likewise.
12338 * fold-const.c (real_hex_to_f): Likewise.
12340 * genattr.c (write_upcase, gen_attr): Likewise.
12342 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
12343 write_upcase): Likewise.
12345 * genemit.c (print_code): Likewise.
12347 * genopinit.c (gen_insn): Likewise.
12349 * genpeep.c (print_code): Likewise.
12351 * genrecog.c (print_code): Likewise.
12353 * optabs.c (init_libfuncs): Likewise.
12355 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
12357 * haifa-sched.c (sched_analyze): Keep the list of notes organized
12359 (reemit_notes): Likewise.
12361 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
12363 * ggc.h (ggc_root): Move to ggc-common.c.
12365 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
12366 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
12367 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
12368 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
12369 * ggc-common.c (ggc_root): Move from ggc.h.
12370 (roots): Declare, static.
12371 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
12372 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
12373 null or check/set mark bit.
12374 (ggc_mark_roots): New.
12375 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
12377 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
12379 * m32r.c: Include toplev.h.
12380 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
12381 (gen_compare): Rename swap_p to must_swap to match uses.
12382 Add default abort case.
12383 (m32r_output_function_epilogue): Remove unused variables.
12384 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
12385 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
12386 define to empty parameter list. Update all uses.
12387 (predicate decls): Use enum machine_mode not int.
12388 * m32r.md (movsi): Call abort, not fatal_insn.
12389 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
12391 1999-09-14 Andrew Haley <aph@cygnus.com>
12393 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
12394 use $0 instead of 0.
12396 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12398 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
12399 computation out of loop over hard regs.
12401 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
12403 * function.c (identify_blocks): Don't shadow a variable in an
12405 * integrate.c (integrate_decl_tree): Don't use pushlevel,
12406 pushdecl, or poplevel to build up the new BLOCK tree.
12407 (expand_inline_function): Likewise.
12408 (integrate_parm_decls): Likewise.
12410 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
12412 * c-typeck.c (qualify_type): Merge qualifiers from both types.
12414 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
12416 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
12417 * invoke.texi: Document this change.
12419 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
12421 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
12423 (mark_emit_status): Renamed from mark_emit_state.
12424 * except.c (mark_eh_status): Renamed from mark_eh_state.
12425 Check not null before marking.
12426 (free_eh_status): New.
12427 * expr.c (mark_expr_status, free_expr_status): New.
12428 * function.c (free_machine_status): New.
12429 (free_after_parsing): New.
12430 (free_after_compilation): Move bits to free_after_parsing; call
12431 free_eh_status, free_expr_status; zero the marked members of the
12433 (prepare_function_start): No can_garbage_collect.
12434 Call init_eh_for_function.
12435 (expand_dummy_function_end): Free up current_function state.
12436 (mark_function_status): Renamed from mark_function_state.
12437 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
12438 * function.h (struct function): No can_garbage_collect.
12439 (free_machine_status, free_after_parsing): Declare.
12440 (free_eh_status, free_expr_status): Declare.
12441 * ggc.h (mark_expr_status): Declare.
12442 * stmt.c (free_stmt_status): Free the struct.
12443 (mark_stmt_status): Renamed from mark_stmt_state.
12444 (init_stmt): Don't call init_eh.
12445 (init_stmt_for_function): Don't call init_eh_for_function.
12446 * toplev.c (compile_file): Call init_eh.
12447 (rest_of_compilation): Free basic block info before ggc_collect.
12448 Call free_after_parsing; conditionally call free_after_compilation.
12449 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
12450 Check not null before marking.
12451 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
12453 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
12455 * c-lex.c (yylex): Initialize warn.
12457 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
12459 * pa.c (emit_move_sequence): Properly set the mode of the scratch
12460 register when performing secondary reloads for the SAR register.
12462 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
12464 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
12465 (NOTE_BLOCK): New macro.
12466 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
12467 * function.h (identify_blocks): Change prototype.
12468 * function.c (identify_blocks): Simplify.
12469 (reorder_blocks): Likewise.
12470 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
12471 NOTE_INSN_BLOCK_{BEG,END}.
12472 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
12473 the list of saved notes if the note isn't a
12474 NOTE_INSN_BLOCK_{BEG,END}.
12475 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
12477 (reemit_notes): Adjust recreation of notes to reflect new saved
12479 * print-rtl.c (print_rtx): Print the address of the BLOCK when
12480 printing a block note.
12481 * stmt.c (block_vector): Remove.
12482 (find_loop_tree_blocks): Simplify.
12483 (unroll_block_trees): Likewise.
12484 * tree.h (reorder_block): Change prototype.
12486 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
12488 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
12489 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
12490 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
12491 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
12492 (atexit, exit): Simplify.
12493 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
12494 * config/lots: Remove defns of HAVE_ATEXIT.
12496 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
12498 * calls.c (precompute_arguments): Fix typo in comment.
12499 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
12502 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
12504 * dsp16xx.c (override_options): Fix typos in GC root registration.
12506 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
12508 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
12509 from config/svr4.h.
12510 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
12511 (FUNCTION_PROFILER): Redefine appropriately for Linux.
12512 (CC1_SPEC): Likewise.
12514 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12516 * genattr.c (main): Add extern prototype. Call return, not exit.
12517 * genattrtab.c (main): Likewise.
12518 * gencheck.c (main): Likewise.
12519 * gencodes.c (main): Likewise.
12520 * genconfig.c (main): Likewise.
12521 * genemit.c (main): Likewise.
12522 * genextract.c (main): Likewise.
12523 * genflags.c (main): Likewise.
12524 * gengenrtl.c (main): Likewise.
12525 * genopinit.c (main): Likewise.
12526 * genoutput.c (main): Likewise.
12527 * genpeep.c (main): Likewise.
12528 * genrecog.c (main): Likewise.
12530 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
12531 * genattrtab.c (get_insn_name): Likewise.
12532 * gencodes.c (get_insn_name): Likewise.
12533 * genconfig.c (get_insn_name): Likewise.
12534 * genemit.c (get_insn_name): Likewise.
12535 * genextract.c (get_insn_name): Likewise.
12536 * genflags.c (get_insn_name): Likewise.
12537 * genopinit.c (get_insn_name): Likewise.
12538 * genpeep.c (get_insn_name): Likewise.
12540 * gencheck.c (usage): Add static prototype.
12541 * genextract.c (print_path): Constify a char*.
12542 * genopinit.c (optabs): Likewise.
12543 * genoutput.c (operand_data, data, output_predicate_decls,
12544 compare_operands): Likewise.
12545 * genrecog.c (write_tree): Add default case in switch.
12547 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12549 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
12551 * print-rtl.c (get_insn_name): Remove prototype.
12553 * toplev.h (progname): Declare const.
12555 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
12556 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
12557 dump_sched_info, dump_local_alloc, regset_release_memory,
12558 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
12559 error_with_file_and_line, error_with_decl, error_for_asm, error,
12560 fatal, warning_with_file_and_line, warning_with_decl, warning,
12561 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
12562 Remove redundant prototypes.
12564 (notice, check_lang_option, report_file_and_line, vnotice,
12565 mark_file_stack): Add static prototype.
12566 (set_fatal_function): Add prototype.
12567 (vnotice, report_file_and_line, set_fatal_function,
12568 check_lang_option): Constify a char*.
12569 (main): Prototype. Call return, not exit.
12571 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12573 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
12575 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
12577 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
12579 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
12581 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12583 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
12584 behave as if it's zero in all cases.
12585 (expand_function_start): Adjust call to assign_parms.
12586 * tree.h (assign_parms): Adjust prototype.
12587 * objc/objc-act.c (hack_method_prototype): Adjust call to
12590 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
12592 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
12593 arg_pointer_rtx fixed if the argument pointer register is
12595 (NONZERO_BASE_PLUS_P): Likewise.
12597 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
12599 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
12600 match_insn2 to match_insn.
12601 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
12603 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
12605 * Makefile.in (USER_H): Remove va-foo.h.
12607 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
12608 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
12609 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
12610 va-spur.h,va-v850.h}: Remove.
12612 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
12614 * sparc/sparc.md (eligible_for_return_delay): New attribute.
12615 (in_return_delay): Use it instead of match_insn.
12617 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12619 * config/alpha/va_list.h (va-alpha.h): Do not include.
12620 (__gnuc_va_list): Typedef as in varargs.h.
12622 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
12624 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
12625 DECL_LIVE_RANGE_RTL.
12627 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
12629 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
12630 not NOTE_BLOCK_NUMBER.
12631 (expand_eh_region_end): Likewise.
12632 (find_exception_handler_labels): Likewise.
12633 (scan_region): Likewise.
12634 (exception_optimize): Likewise.
12635 (update_rethrow_references): Likewise.
12636 (set_insn_eh_region): Likewise.
12637 * final.c (final_scan_insn): Likewise.
12638 * flow.c (make_edges): Likewise.
12639 * integrate.c (expand_inline_function): Likewise.
12640 * print-rtl.c (print_rtx): Likewise.
12642 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
12644 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
12645 terms of builtin functions and types.
12647 * mips.c (mips_build_va_list): New.
12648 (mips_va_start, mips_va_arg): New.
12649 * mips.h (BUILD_VA_LIST_TYPE): New.
12650 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
12652 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
12653 (sh_build_va_list, sh_va_start, sh_va_arg): New.
12654 * sh.h (BUILD_VA_LIST_TYPE): New.
12655 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
12657 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
12659 * recog.h (struct recog_data): Make dup_num, operand_address_p,
12660 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
12661 (struct insn_data): Likewise with n_operands, n_dups,
12662 n_alternatives, output_format.
12663 * regclass.c (scan_one_insn): Cast n_operands to int before
12664 arithmetic inside comparison.
12666 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
12668 * toplev.c (compile_function): Unconditionally emit nop.
12670 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12672 * haifa-sched.c (actual_hazard): Move declaration of variable
12673 `this_cost' into the scope where it is used.
12675 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12677 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
12678 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
12679 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
12681 * genrecog.c (make_insn_sequence): Call memset, not bzero.
12683 * jump.c (find_insert_position): Don't declare or define unless
12684 !HAVE_conditional_arithmetic.
12685 (returnjump_p_1, delete_prior_computation): Add static prototypes.
12687 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
12689 * recog.c (offsettable_address_p): Prototype function pointer.
12690 (preprocess_constraints): Call memset, not bzero.
12692 * tree.c (tree_node_kind_names): Constify a char*. Make static.
12693 (gcc_obstack_init): Don't declare.
12694 (fix_sizetype): Add static prototype.
12695 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
12696 (tree_cons): Call memset, not bzero.
12698 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
12699 definition in macro ASM_WEAKEN_LABEL.
12700 (mark_const_hash_entry): Add static prototype.
12702 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12704 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
12706 * unroll.c (find_common_reg_term, subtract_reg_term,
12707 loop_find_equiv_value): Add static prototypes.
12708 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
12709 (copy_loop_body): Remove unreachable break statement.
12711 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
12713 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
12715 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12717 Undo some changes from the gcc2 merge:
12718 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
12719 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
12723 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
12724 * emit-rtl.c (gen_lowpart_common): Disable optimization of
12725 initialized float-int union if the value is a NaN.
12727 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
12729 * gthr-win32.h: New file.
12731 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
12732 shared as a valid attribute.
12733 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
12734 * extend.texi: Document `shared' variable attribute.
12736 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
12738 * configure.in: Handle --enable-threads on FreeBSD.
12739 * configure: Rebuit.
12741 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12743 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
12745 * configure: Rebuilt.
12747 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
12748 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
12749 Rosimildo DaSilva <rdasilva@connecttel.com>
12751 * configure.in (m68k-*-rtemscoff*): Added.
12752 * configure.in (mips64orion-*-rtems*): Converted to ELF.
12753 * configure.in (sparc-*-rtemsaout*): Added as alias for old
12754 sparc-rtems configuration.
12755 * configure.in (sparc-*-rtemself*): Added.
12756 * configure.in (sparc-*-rtems*): Now ELF not a.out.
12757 * config/i386/rtems.h: Added comment.
12758 * config/sparc/rtemself.h: New file.
12760 * configure.in (m68k-rtemself): Added.
12761 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
12762 and DWARF_DEBUGGING_INFO.
12763 * config/m68k/crti.s: New file.
12764 * config/m68k/crtn.s: New file.
12765 * config/m68k/t-crtstuff: New file.
12766 * config/m68k/rtemself.h: New file.
12768 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
12769 global ctor/dtor and C++ exception handling.
12770 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
12771 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
12773 * config/i386/t-rtems-i386: New File.
12775 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
12777 * stmt.c (expand_end_case): Return right away if the case stack is
12780 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
12782 * Makefile.in (version.c): Remove rule incorrectly brought in from
12785 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
12787 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
12788 * msdos/top.sed: Take into account a prepended $(SHELL) to
12790 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
12792 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
12794 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12796 * regmove.c (fixup_match_1): Don't change an unchanging register.
12797 (stable_but_for_p): Renamed to:
12798 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
12799 Changed all callers.
12801 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
12803 * loop.c (strength_reduce): Don't call reg_used_between_p if the
12804 insn from BL2 is after the insn from BL.
12806 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
12808 * recog.h (INSN_OUTPUT_FORMAT_*): New.
12809 (struct insn_data): Merge `template' and `outfun' into `output'.
12810 Add `output_format'.
12811 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
12812 (struct data): Remove `outfun'; add `output_format'.
12813 (name_for_index): Remove declaration.
12814 (output_insn_data): Handle output formats.
12815 (process_template): Emit the bare array for @.
12816 (gen_expand, gen_split): Set output_format to NONE.
12817 * output.h (get_insn_template): Declare.
12818 * final.c (get_insn_template): New.
12819 (final_scan_insn): Use it.
12820 * toplev.c (compile_file): Likewise.
12822 * c4x/c4x.c (c4x_process_after_reload): Likewise.
12823 * i860/i860.c (output_delayed_branch): Likewise.
12824 (output_delay_insn): Likewise.
12826 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12828 * rtl.c (obstack_alloc_rtx): Removed.
12830 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
12832 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
12834 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
12836 * i386.c (call_insn_operand): Reject const_int.
12837 (expander_call_insn_operand): Use call_insn_operand.
12839 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12841 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
12843 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
12845 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
12846 Use DImode operation.
12848 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
12850 * gcc.c: Include sys/resource.h.
12851 (report_times): New flag.
12852 (execute): If report_times is set, calculate and report the
12853 CPU time consumed by each subprocess.
12855 (rus, prus): New globals.
12856 (option_map): Add --time.
12857 (display_help): Document -time.
12858 (process_command): Set report_times if -time is given.
12859 Turn off -pipe if -time is given.
12861 * invoke.texi: Document new option -time.
12863 * configure.in: Check for getrusage. Check if we have to
12864 prototype getrusage.
12865 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
12866 * configure: Regenerate.
12867 * config.in: Regenerate.
12869 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
12871 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
12874 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
12876 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
12877 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
12878 (nan): Return _thenan_sf or _thenan_df as appropriate.
12879 (L_thenan_sf): Define _thenan_sf.
12880 (L_thenan_df): Define _thenan_df.
12882 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
12883 (DPBIT_FUNCS): Add _thenan_df.
12885 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
12887 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
12890 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12892 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
12895 (lang_specific_driver): Don't take a function pointer parameter.
12896 All callers changed.
12898 * gcc.c: Include gcc.h.
12899 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
12900 lang_specific_extra_outfiles, fatal): Don't declare.
12901 (multilib_defaults_raw): Constify.
12902 (read_specs): Call memset, rather than bzero.
12903 (main): Call return, not exit.
12904 (lookup_compiler): Call memcpy, not bcopy.
12905 (fatal): Make extern.
12907 * cppspec.c: Include gcc.h.
12908 (lang_specific_driver): Initialize variable `quote'. Constify a
12909 char*. All calls to the function pointer parameter now
12910 explicitly call `fatal'.
12912 * gccspec.c (lang_specific_driver): Include gcc.h.
12914 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
12916 * arm.c (note_invalid_constants): Use recog_data.operand_type
12919 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12921 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
12924 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
12925 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
12926 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
12927 reload_secondary_in_reload, reload_secondary_out_reload,
12928 reload_secondary_in_icode, reload_secondary_out_icode,
12929 reload_reg_rtx, reload_when_needed): Delete declarations.
12930 (struct reload): New structure.
12931 (rld): Declare new array.
12932 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
12933 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
12934 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
12935 reload_secondary_in_reload, reload_secondary_out_reload,
12936 reload_secondary_in_icode, reload_secondary_out_icode,
12937 reload_reg_rtx, reload_when_needed): Delete definitions.
12939 (whole file): Replace uses of the deleted arrays with uses of rld.
12940 * reload1.c (whole file): Replace uses of the deleted arrays with
12942 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
12943 explicit loops, not with bcopy.
12945 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
12947 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
12948 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
12949 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
12950 insn_name): Delete and consolidate into new structures.
12951 (insn_operand_predicate_fn): New.
12952 (insn_output_fn): New.
12953 (insn_gen_fn): New.
12954 (struct insn_operand_data): New.
12955 (struct insn_data): New.
12957 (OUT_FCN): Update for insn_data change.
12958 * builtins.c (expand_builtin_strlen): Likewise.
12959 (expand_builtin_memcmp): Likewise.
12960 * combine.c (make_extraction, simplify_comparison): Likewise.
12961 * cse.c (canon_reg, cse_insn): Likewise.
12962 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
12963 * expmed.c (store_bit_field, extract_bit_field): Likewise.
12964 (emit_store_flag): Likewise.
12965 * expr.c (convert_move, emit_block_move): Likewise.
12966 (clear_storage, emit_push_insn, expand_increment): Likewise.
12967 (do_store_flag): Likewise.
12968 * expr.h (GEN_FCN): Likewise.
12969 (insn_gen_function): Die.
12970 * final.c (final_scan_insn): Update for insn_data change.
12971 (output_asm_name): Likewise.
12972 * function.c (fixup_var_refs_1): Likewise.
12973 * loop.c (check_dbra_loop): Likewise.
12974 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
12975 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
12976 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
12977 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
12978 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
12979 * regmove.c (gen_add3_insn): Likewise.
12980 * reload.c (push_secondary_reload, combine_reloads): Likewise.
12981 (find_reloads, find_reloads_address_1): Likewise.
12982 (debug_reload_to_stream): Likewise.
12983 * reload1.c (emit_reload_insns, gen_reload): Likewise.
12984 * stmt.c (expand_end_case): Likewise.
12985 * toplev.c (compile_file): Likewise.
12987 * c4x/c4x.c (c4x_process_after_reload): Likewise.
12988 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
12990 * print-rtl.c (insn_name_ptr): Remove declaration.
12991 (get_insn_name): Declare.
12992 (print_rtx): Use it.
12993 * genoutput.c (insn_name_ptr): Remove.
12994 (next_operand_number): New.
12995 (struct operand_data): New.
12996 (null_operand, odata, odata_end): New.
12997 (struct data): Use struct operand_data.
12998 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
12999 (get_insn_name): Renamed from name_for_index.
13000 (output_prologue): Define NO_MD_PROTOTYPES.
13001 (output_predicate_decls): Break out from output_epilogue.
13002 Iterate over the operands list.
13003 (output_operand_data): Break out from output_epilogue. Emit
13004 just the operands list.
13005 (output_insn_data): Break out from output_epilogue. Emit just
13007 (output_epilogue): Remove.
13008 (output_get_insn_name): New.
13009 (constraints, op_n_alternatives, predicates, address_p): Die.
13010 (modes, strict_low, seen): Die.
13011 (scan_operands): Take new param `d' instead of writing to
13012 seven global variables.
13013 (compare_operands): New.
13014 (place_operands): New.
13015 (validate_insn_alternatives): Update for struct data change.
13016 (gen_insn): Don't zero or copy 7 global arrays. Update for
13017 scan_operands; call place_operands.
13018 (gen_peephole, gen_expand, gen_split): Likewise.
13019 (main): Update for new output routines.
13021 * genattr.c (insn_name_ptr): Remove.
13022 (get_insn_name): New function.
13023 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
13024 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
13025 * genrecog.c: Likewise.
13027 * alpha.md (adddi3): Make `pattern' array static.
13029 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13031 * config/c4x/c4x.h (c4x_rpts_cycles_string,
13032 c4x_cpu_version_string): Constify char *.
13033 * config/c4x/c4x.c (c4x_rpts_cycles_string,
13034 c4x_cpu_version_string): Likewise.
13036 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
13038 * tree.c (save_tree_status): Revert 10 Sep change.
13039 (restore_tree_status): Likewise. Call obstack_free with NULL
13040 before freeing the obstack proper.
13042 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
13044 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
13046 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
13047 surrounding context.
13049 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
13051 * tree.c (type_hash_canon): Put all types in the hash-table, when
13054 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
13056 * recog.h (struct recog_data, recog_data): New.
13057 (recog_foo variables): Kill.
13058 * recog.c (recog_operand, recog_operand_loc): Kill.
13059 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
13060 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
13061 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
13062 (recog_data): Define.
13063 (extract_insn): Update all recog_foo references to use recog_data.
13064 (preprocess_constraints, constrain_operands): Likewise.
13065 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
13066 * genattrtab.c (main): Likewise.
13067 * genextract.c (main): Likewise.
13068 * genoutput.c: Likewise.
13069 * genrecog.c (write_subroutine, main): Likewise.
13070 * local-alloc.c (block_alloc): Likewise.
13071 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
13072 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
13073 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
13074 * reload.c (find_reloads, find_reloads_toplev): Likewise.
13075 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
13076 (reload_cse_simplify_operands): Likewise.
13078 * arc/arc.c (arc_final_prescan_insn): Likewise.
13079 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
13080 * h8300/h8300.c (notice_update_cc): Likewise.
13081 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
13082 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
13083 * mn10200/mn10200.c (notice_update_cc): Likewise.
13084 * mn10300/mn10300.c (notice_update_cc): Likewise.
13085 * romp/romp.c (update_cc): Likewise.
13086 * sparc/sparc.c (check_pic): Likewise.
13087 * v850/v850.c (notice_update_cc): Likewise.
13089 * genemit.c (main): Don't declare recog_operand.
13091 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
13093 * ggc.h (rtvec_def): Forward declare.
13094 (tree_node): Likewise.
13095 (ggc_root): Define.
13097 (ggc_set_mark_rtx): Add prototype.
13098 (ggc_set_mark_rtvec): Likewise.
13099 (ggc_set_mark_tree): Likewise.
13100 * ggc-simple.c (ggc_root): Don't define.
13101 (roots): Don't declare.
13102 (ggc_mark_rtx): Remove.
13103 (ggc_mark_rtvec): Likewise.
13104 (ggc_mark_tree): Likewise.
13105 (ggc_mark_varray): Likewise.
13106 (ggc_mark_tree_hash_table_entry): Likewise.
13107 (ggc_mark_tree_hash_table): Likewise.
13108 (ggc_set_mart_rtx): New function.
13109 (ggc_set_mark_rtvec): Likewise.
13110 (ggc_set_mark_tree): Likewise.
13111 (ggc_add_root): Remove.
13112 (ggc_add_rtx_root): Likewise.
13113 (ggc_remove_tree_root): Likewise.
13114 (ggc_add_string_root): Likewise.
13115 (ggc_add_tree_varray_root): Likewise.
13116 (ggc_add_tree_hash_table_root): Likewise.
13117 (ggc_del_root): Likewise.
13118 (ggc_mark_rtx_ptr): Likewise.
13119 (ggc_mark_tree_ptr): Likewise.
13120 (ggc_mark_string_ptr): Likewise.
13121 (ggc_mark_tree_varray_ptr): Likewise.
13122 (ggc_mark_tree_hash_table_ptr): Likewise.
13123 * ggc-common.c: New file.
13124 * Makefile.in (OBJS): Add ggc-common.o.
13125 (ggc-common.o): List dependencies.
13127 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
13129 * cppalloc.c (xstrdup): Use memcpy.
13130 * cpperror.c (cpp_print_containing_files): Don't use
13132 * cpplib.c (conditional_skip): Set temp->lineno.
13133 (do_endif): Make error message less obscure.
13134 (if_directive_name): New function.
13135 (cpp_get_token [case EOF]): Unwind the if stack and generate
13136 error messages for each unterminated conditional in this file.
13137 (parse_string): Do not behave differently if -traditional.
13139 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
13141 * builtins.c (expand_builtin_va_arg): Cope with an array-type
13142 va_list decomposing to pointer-type.
13143 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
13144 (rs6000_va_arg): Likewise.
13146 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
13148 * except.c (start_dynamic_handler): Compute size using
13149 STACK_SAVEAREA_MODE.
13151 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13153 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
13154 include directory headers. Don't define strrchr. Don't provide
13155 my_* replacement functions. Prefer PTR over `pointer_type'.
13156 Don't prototype system functions. Don't redefine getopt.
13158 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
13159 safe_read, safe_write, save_pointers, restore_pointers,
13160 is_id_char, in_system_include_dir, directory_specified_p,
13161 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
13162 find_corresponding_lparen, referenced_file_is_newer,
13163 save_def_or_dec, munge_compile_params, gen_aux_info_file,
13164 process_aux_info_file, identify_lineno, check_source,
13165 seek_to_line, forward_to_next_token_char, output_bytes,
13166 output_string, output_up_to, other_variable_style_function,
13167 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
13168 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
13169 find_static_definition, connect_defs_and_decs, add_local_decl,
13170 add_global_decls, needs_to_be_converted, visit_each_hash_node,
13171 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
13172 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
13173 scan_for_missed_items, edit_file, string_list_cons): Add static
13175 (standard_exec_prefix, target_machine, target_version,
13176 default_syscalls_dir, string_list, string_list_cons, find_file,
13177 do_cleaning): Constify a char*.
13178 (safe_read, safe_write): Use PTR, not a char*.
13179 (is_id_char): Take an int, not a char.
13180 (main): Add prototype. Call return, not exit.
13182 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
13184 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
13185 when comparing types.
13187 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
13189 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
13190 (strength_reduce): Release the varrays from the no-bivs early exit.
13192 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
13193 the loop over the registers.
13195 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
13197 (restore_tree_status): Check that instead when freeing the obstack.
13199 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
13201 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
13204 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13206 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
13207 operand size modifiers.
13209 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13211 * c-common.c (c_common_nodes_and_builtins): Don't build
13213 * c-common.h (enum c_tree_index and related accesor macros): Remove
13214 everything now declared in tree.h.
13215 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
13216 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
13217 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
13218 (error_mark_node, void_type_node, char_type_node, integer_type_node,
13219 unsigned_type_node, ptr_type_node, va_list_type_node,
13220 integer_zero_node, null_pointer_node, integer_one_node): Delete.
13221 (init_decl_processing): Call build_common_tree_nodes and
13222 build_common_tree_nodes_2 instead of building their nodes here.
13223 Don't add roots for these nodes.
13224 * stor-layout.c (size_zero_node, size_one_node): Delete.
13225 (set_sizetype): Make a new node for bitsizetype each time.
13226 * tree.c (global_trees): New variable.
13227 (init_obstacks): Add a gc root for it.
13228 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
13229 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
13230 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
13231 (build_common_tree_nodes): New function.
13232 (fix_sizetype): New function.
13233 (build_common_tree_nodes_2): New function.
13234 * tree.h (enum tree_index): New.
13235 (global_trees): Declare.
13236 Add accessor macros for all nodes now moved to global_trees.
13237 Delete their declarations.
13239 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
13241 * c-decl.c (finish_function): When processing a nested function,
13242 push and pop GC context around rest_of_compilation.
13244 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
13246 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
13247 Default ix86_arch to PROCESSOR_I386.
13248 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
13249 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
13250 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
13251 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
13252 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
13253 (EXTRA_SPECS): Remove deleted specs.
13255 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
13257 * function.c (assign_stack_local_1): Allocate from
13258 function->x_frame_offset, not frame_offset.
13260 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
13262 * ggc.h (lang_cleanup_tree): Remove.
13263 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
13264 * ggc-callbacks.c (lang_cleanup_tree): Remove.
13266 * c-decl.c (finish_struct): Use ggc_alloc to allocate
13267 TYPE_LANG_SPECIFIC when garbage collecting.
13268 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
13269 (lang_cleanup_tree): Remove.
13271 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
13273 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
13274 * crtstuff.c: Not here.
13275 * dwarf2out.c: Or here.
13276 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
13279 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
13281 * function.h (free_after_compilation): Remove decl parameter.
13282 (free_varasm_status0: Likewise.
13283 (free_emit_status): Likewise.
13284 (free_stmt_status): Likewise.
13285 (free_after_compilation): Likewise.
13286 (init_lang_status): New variable.
13287 (free_lang_status): Likewise.
13288 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
13289 * function.c (init_lang_status): New variable.
13290 (free_lang_status): Likewise.
13291 (push_function_context_to): Don't set function::decl here.
13292 (free_after_copmilation): Make decl parameter implicit. Call
13293 free_lang_status if defined.
13294 (prepare_function_start): Call init_lang_status if defined.
13295 (init_function_start): Set function::decl here.
13296 * profile.c (output_func_start_profiler): Don't call pushdecl
13297 until we've actually started the function.
13298 * stmt.c (free_stmt_status): Make decl parameter implicit.
13299 * toplev.c (rest_of_compilation): Don't pass decl to
13300 free_after_compilation.
13301 * varasm.c (free_varasm_status): Likewise.
13303 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13305 * except.c (call_get_eh_context): Add root when allocating static
13308 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
13310 * arm.c: Include "ggc.h".
13311 (arm_add_gc_roots): New function.
13312 (arm_override_options): Call it.
13313 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
13315 * arm.md (define_asm_attributes): Add a pool_range attribute.
13317 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
13319 * extend.texi (Volatiles): New node.
13321 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
13323 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
13324 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
13325 (struct ggc_any): Replace `mark' with `magic_mark'.
13326 (ggc_alloc_string): Use memcpy, not bcopy.
13327 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
13328 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
13329 (ggc_free_any): New.
13330 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
13331 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
13332 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
13333 Use IS_MARKED. Use ggc_free_any.
13335 1999-09-09 Scott Bambrough <scottb@netwinder.org>
13337 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
13339 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
13341 * toplev.c (main): Always init_ggc.
13343 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
13345 * except.c (find_all_handler_type_matches): Free the list if
13346 we found no matches.
13348 * combine.c (SUBST): Break out to a real function do_SUBST.
13349 (SUBST_INT): Likewise.
13350 * gcse.c (free_pre_mem): Free `temp_bitmap'.
13351 (pre_insert): Free `inserted'.
13352 * loop.c (basic_induction_var): Always set `location'.
13354 * function.c (expand_function_end): Add initial_trampoline as a root.
13355 * rtl.h (init_varasm_once): Declare.
13356 * toplev.c (compile_file): Call it.
13357 * ggc-simple.c (ggc_mark_string_ptr): New.
13358 (ggc_add_string_root): New.
13359 (ggc_collect): Disable collection avoidance temporarily.
13360 * ggc.h (ggc_add_string_root): Declare.
13361 * except.c (create_rethrow_ref): Use ggc_alloc_string.
13362 * optabs.c (init_libfuncs): Likewise.
13363 * varasm.c (named_section): Use ggc_alloc_string.
13364 (make_function_rtl): Likewise.
13365 (make_decl_rtl): Likewise.
13366 (assemble_static_space): Likewise.
13367 (assemble_trampoline_template): Likewise.
13368 (output_constant_def): Likewise.
13369 (force_const_mem): Likewise.
13370 (mark_const_hash_entry): New.
13371 (mark_pool_sym_hash_table): New.
13372 (mark_varasm_state): Use it.
13373 (init_varasm_once): New.
13375 * expr.h (init_one_libfunc): Declare.
13376 * optabs.c (init_one_libfunc): New.
13377 (init_optabs): Use it.
13378 * config/gofast.h: Likewise.
13379 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
13380 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
13382 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
13384 * Makefile.in (cppexp.o): Depend on cpphash.h.
13385 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
13387 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
13388 * cpplib.c (do_define): Generalise to handle poisoned definitions,
13389 redefining poisoned identifiers, etc.
13390 (do_undef): Don't allow poisoned identifiers to be undefined.
13391 (do_pragma): Add #pragma poison.
13392 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
13394 * cccp.c: Add T_POISON node type.
13395 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
13397 (do_define): Generalise to handle poisoned definitions,
13398 redefining poisoned identifiers, etc.
13399 (do_undef): Don't allow poisoned identifiers to be undefined.
13400 (do_pragma): Add #pragma poison.
13401 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
13403 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
13404 * c-pragma.h: Add ps_poison state. We now always have generic
13407 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
13409 * ggc.h (ggc_alloc): New function.
13410 (ggc_mark): Likewise.
13411 * ggc-simple.c (ggc_any): New structure.
13412 (ggc_status): Add anys.
13413 (n_anys_collected): New variable.
13414 (ggc_alloc): Define.
13415 (ggc_mark): Likewise.
13416 (ggc_collect): Collect the anys.
13418 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13420 * c-decl.c (mark_binding_level): Make static to match prototype.
13422 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
13424 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
13426 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
13428 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
13429 will use into account. Expand the max width to 5.
13432 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
13434 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
13435 for the rtx length.
13437 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
13439 * alpha.md (call value patterns): Remove the result predicates.
13441 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
13443 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
13446 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13448 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
13449 changed from extern char *, to extern PTR. Also fix typo in
13450 NEED_DECLARATION_REALLOC test.
13452 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
13454 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13456 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
13457 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
13458 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
13459 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
13461 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
13463 * cccp.c (pcfinclude): Likewise.
13465 * global.c (allocno_compare): Likewise.
13467 * haifa-sched.c (rank_for_schedule): Likewise.
13469 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
13471 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
13473 * stupid.c (stupid_reg_compare): Likewise.
13475 * tree.c (_obstack_allocated_p): Likewise.
13477 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
13479 1999-09-08 Bruce Korb autogen@linuxbox.com
13481 * Makefile.in: Give the hapless gperf user a hint about
13482 why "gperf -F" fails.
13484 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
13486 * lists.c: Include ggc.h.
13488 (init_EXPR_INSN_LIST_cache): Install it.
13490 * ggc-simple.c (init_ggc): Absorb the old init.
13491 (ggc_push_context): Use xcalloc.
13492 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
13493 (ggc_collect): Add [rvts] tags to the collection stats.
13495 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
13497 * cccp.c (main): Fix handling of -include and -imacros options.
13499 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
13501 * cpplib.c (cpp_push_buffer): Fix order of arguments.
13503 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13505 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
13508 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
13510 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
13511 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
13512 and SET_DEST. Update comment.
13514 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13516 * config/c4x/c4x.c: Include ggc.h.
13517 (c4x_add_gc_roots): New function.
13518 (c4x_override_options): Call c4x_add_gc_roots.
13520 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
13522 * defaults.h (TARGET_ESC): Move ...
13523 * system.h: ... here, where Linas had it in the first place. Silly me.
13525 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
13527 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
13528 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
13529 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
13530 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
13531 * defaults.h (TARGET_ESC): Add default.
13533 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
13535 * configure.in: add i370-*-openedition, i370-*-mvs and
13536 i370-*-linux targets
13538 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
13540 * dsp16xxx.c: Include ggc.h
13541 (override_options): Mark GC roots.
13542 * mn10200.c: Include ggc.h.
13543 (asm_file_start): Mark GC roots.
13544 * tahoe.c: Include ggc.h.
13545 (extensible_operand): Mark GC roots.
13547 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
13549 * README: Add section discussing status of ELF ABI.
13550 * i370.c: Fix misc spelling mistakes.
13551 (i370_label_scan): Updated notes, exception handling.
13552 (i370_function_prolog): Simplify ELF stack handling.
13553 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
13554 (STACK_GROWS_DOWNWARD): ELF stack grows down.
13555 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
13556 * i370.md: (movdi): Add notes.
13557 (floatsidf2): Use stack not rtca for scratch float area.
13558 (iorsi3): Correct operand constraints.
13559 * x-oe: Restore TAROUTOPTS which are used by pax.
13561 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
13563 * rs6000.c: Include ggc.h.
13564 (rs6000_add_gc_roots): New function.
13565 (override_options): Call it.
13567 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
13569 * alpha.h (alpha_compare): New.
13570 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
13571 * alpha.c: Likewise for the definitions.
13572 (alpha_emit_conditional_branch): Update for alpha_compare.
13573 (alpha_emit_conditional_move): Likewise.
13574 * alpha.md (cmpdf, cmpdi): Likewise.
13575 (setcc patterns): Likewise. Zero alpha_compare after use.
13576 (sne): Optimize (x != 0) into (0U < x).
13578 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
13580 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
13581 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
13582 (INIT_EXPANDERS): Remove.
13583 * alpha.c: Include ggc.h.
13584 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
13585 (alpha_init_machine_status, alpha_mark_machine_status): New.
13586 (override_options): Install them.
13587 (struct machine_function): Moved to alpha.h.
13588 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
13589 (alpha_init_expanders): Remove.
13590 (alpha_return_addr): Adjust to use current_function->machine.
13591 (alpha_ra_ever_killed): Likewise.
13592 (alpha_expand_epilogue): Likewise.
13593 * alpha.md (eh_epilogue): Likewise.
13595 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
13596 Melissa O'Neill <oneill@cs.sfu.ca>
13597 Geoffrey Keating <geoffk@cygnus.com>
13599 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
13600 call-used registers (call-saved registers must still be contiguous
13601 and end with r31, of course).
13603 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
13605 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
13606 (self_promoting_type_p): Delete.
13607 (self_promoting_args_p): Move ...
13608 * c-common.c: ... here.
13609 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
13610 (simple_type_promotes_to): New.
13611 * builtins.c (lang_type_promotes_to): New.
13612 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
13613 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
13614 * c-common.h: ... here.
13615 (self_promoting_args_p, simple_type_promotes_to): Declare.
13616 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
13617 (grokdeclarator): Likewise.
13618 * tree.h (lang_type_promotes_to): Declare.
13620 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
13622 Add some machine-dependent GC roots.
13623 * sparc.c: Include ggc.h.
13624 (sparc_add_gc_roots): New function.
13625 (mark_ultrasparc_pipeline_state): Likewise.
13626 (override_options): Call sparc_add_gc_roots.
13627 * pa.c: Include ggc.h.
13628 (pa_add_gc_roots): New function.
13629 (mark_deferred_plabels): Likewise.
13630 (override_options): Call pa_add_gc_roots.
13631 * mips.c: Include ggc.h.
13632 (mips_add_gc_roots): New function.
13633 (override_options): Use it.
13635 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13637 * cpperror.c (cpp_file_line_for_message): Constify a char*.
13639 * cppexp.c (parse_number, parse_charconst, cpp_lex,
13640 cpp_parse_expr): Add static prototypes.
13641 (parse_charconst): Don't cast away const-ness.
13642 (token): Constify a char*.
13644 * cppfiles.c (file_name_list, include_hash, find_include_file,
13645 finclude, initialize_input_buffer): Constify a char*.
13646 (file_cleanup, find_position): Add static prototypes.
13648 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
13649 collect_expansion): Add static prototypes.
13650 (cpp_install, create_definition, monthnames): Constify a char*.
13652 * cpphash.h (cpp_install): Likewise.
13654 * cppinit.c (known_suffixes, default_include,
13655 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
13656 (base_name, dump_special_to_buffer, initialize_dependency_output):
13657 Add static prototypes.
13659 * cpplib.c (my_strerror): Constify a char*.
13660 (null_underflow, null_cleanup, skip_comment, copy_comment,
13661 copy_rest_of_line, handle_directive, pass_thru_directive,
13662 get_directive_token, read_line_number, cpp_print_file_and_line,
13663 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
13664 v_cpp_warning_with_line, detect_if_not_defined,
13665 consider_directive_while_skipping): Add static prototypes.
13666 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
13667 cpp_pedwarn_with_file_and_line): Constify a char*.
13669 * cpplib.h (cpp_options, include_hash, progname, definition,
13670 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
13671 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
13672 find_include_file, deps_output, include_hash): Constify a char*.
13674 * cppmain.c (progname): Constify.
13675 (main): Add prototype. Use return, not exit.
13677 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
13678 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
13679 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
13680 check_protection): Add static prototype.
13682 (progname, recognized_macrom, recognized_extern): Constify a char*.
13683 (main): Add prototype.
13685 * gen-protos.c (progname): Constify a char*.
13687 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
13689 * emit-rtl.c (free_emit_status): Take decl as a parameter.
13690 (init_emit_once): Add more GC roots.
13691 * except.c (mark_func_eh_entry): New function.
13692 (mark_eh_node): Mark false_label and rethrow_label.
13693 (init_eh): Add more GC roots.
13694 * function.c (free_after_compilation): Take decl as a paramter.
13695 Call free_stmt_status.
13696 (mark_function_state): Don't assume x_parm_reg_stack_loc is
13698 * function.h (free_after_compilation): Change prototype.
13699 (free_varasm_status): Likewise.
13700 (free_emit_status): Likewise.
13701 (free_stmt_status): New function.
13702 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
13703 Remove, replacing with ...
13704 (ggc_status): New structure.
13705 (ggc_chain): New variable.
13706 (init_gcc): Define.
13707 (ggc_push_context): New function.
13708 (ggc_pop_context): Likewise.
13709 (ggc_alloc_rtx): Adjust for use of ggc_chain.
13710 (ggc_alloc_rtvec): Likewise.
13711 (ggc_alloc_tree): Likewise.
13712 (ggc_alloc_string): Likewise.
13713 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
13714 (ggc_mark_tree): Give language-dependent code a chance to mark
13716 (ggc_mark_tree_varray): Handle empty arrays.
13717 (ggc_collect): Adjust for use of ggc_chain. Clear
13718 bytes_alloced_since_last_gc.
13719 * ggc.h (ggc_pop_context): New function.
13720 (ggc_push_context): Likewise.
13721 * print-tree.c (print_node): Don't print obstacks when GC'ing.
13722 * stmt.c (free_stmt_status): New function.
13723 (init_stmt_for_function): Clear last_expr_value.
13724 * toplev.c (rest_of_compilation): Always call free_after_compilation.
13725 Conditionalize call to ggc_collect.
13726 (main): Call init_ggc.
13727 * tree.c (push_obstacks): Do the push, even when GC'ing.
13728 (push_obstacks_nochange): Likewise.
13729 (pop_obstacks): Liekwise.
13730 * varasm.c (free_varasm_status): Take decl as a parameter.
13732 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
13734 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
13735 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
13736 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
13737 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
13739 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
13741 * pa/x-pa-mpeix: New file for the MPE port.
13743 * pa/quadlib.asm: New file for long double support.
13745 * configure.in: Add hppa1.0-*-mpeix for MPE port.
13746 * configure: Rebuilt.
13748 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
13750 * final.c (shorten_branches): Fix last change.
13752 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
13754 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
13756 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
13758 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
13761 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13763 * c-aux-info.c (concat): Don't define.
13765 * cccp.c (my_strerror): Likewise. All callers changed to use
13767 (do_include): Call xstrdup, not xmalloc/strcpy.
13768 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
13769 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
13771 * collect2.c (my_strsignal): Likewise. All callers changed to use
13773 (locatelib): Call xstrdup, not xmalloc/strcpy.
13775 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
13777 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
13779 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
13781 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
13783 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
13785 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
13787 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
13789 (find_all_handler_type_matches): Likewise. Don't check return
13791 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
13792 xmalloc, not malloc.
13793 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
13795 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
13796 (init_spec): Call xcalloc, not xmalloc/bzero.
13797 (set_spec): Call xstrdup, not save_string.
13798 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
13799 (find_a_file): Call xstrdup, not xmalloc/strcpy.
13800 (process_command): Call xstrdup, not save_string.
13801 (main): Call xcalloc, not xmalloc/bzero.
13803 * gcov.c (xmalloc): Don't define.
13804 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
13805 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
13806 (output_data): Call xcalloc, not xmalloc/bzero.
13808 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
13810 * mips-tdump.c (xmalloc): Don't define.
13811 (print_symbol): Call xmalloc, not malloc.
13812 (read_tfile): Call xcalloc, not calloc.
13814 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
13815 Don't define. All callers of xfree/my_strsignal changed to use
13816 free/strsignal instead.
13817 (allocate_cluster): Call xcalloc, not calloc.
13819 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
13820 Fix memory leak, free allocated memory.
13822 * prefix.c (translate_name): Call xstrdup, not save_string.
13823 (update_path): Likewise.
13825 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
13827 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
13828 Don't define. Callers of xfree/savestring2 changed to use
13829 free/concat instead.
13831 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
13832 (init_elim_table): Likewise.
13834 * resource.c (init_resource_info): Likewise.
13836 * stupid.c (stupid_life_analysis): Likewise.
13838 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
13839 (open_dump_file): Call concat, not xmalloc/strcpy/...
13840 (clean_dump_file): Likewise.
13841 (compile_file): Call xstrdup, not xmalloc/strcpy.
13843 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
13845 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
13846 * v850.c (v850_va_arg): New.
13848 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13850 * haifa-sched.c: Tidy comments.
13852 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13854 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
13855 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
13856 $(out_object_file)): Depend on ggc.h.
13857 * c-common.c: Include "ggc.h".
13858 (combine_strings): If doing GC, use ggc_alloc_string.
13859 * c-decl.c: Include "ggc.h".
13860 (ggc_p): Define with value 0.
13861 (mark_binding_level): New function.
13862 (init_decl_processing): Add GC roots.
13863 (mark_c_function_context): New function.
13864 (lang_mark_false_label_stack): New function.
13865 (lang_mark_tree): New function.
13866 (lang_cleanup_tree): New function.
13867 * c-lang.c: Include "ggc.h".
13868 (lang_init): Call c_parse_init.
13869 * c-lex.c: Include "ggc.h".
13870 (check_linenum): If doing GC, don't copy filenames to permanent
13872 * c-parse.in: Include "ggc.h".
13873 (c_parse_init): New function.
13874 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
13875 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
13877 * except.c (mark_eh_state): Mark more state.
13878 * function.c (mark_function_state): Likewise.
13879 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
13880 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
13881 * toplev.c (mark_file_stack): New function.
13882 (compile_file): If doing GC, use ggc_alloc_string on input filename.
13883 (main): Add root for input_file_stack.
13885 * i386.c: Include "ggc.h".
13886 (ix86_mark_machine_status): New function.
13887 (override_options): Set mark_machine_status.
13889 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13891 * tree.c (copy_node): Copy node contents also if doing GC.
13893 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13895 * collect2.c (scan_libraries): Fix double-thinko :-).
13897 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
13899 * collect2.c (scan_libraries): Fix thinko.
13901 * cse.c (delete_trivially_dead_insns): Do not skip the last
13902 insn if it is a real insn.
13904 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
13906 * Makefile.in (ggc-simple.o): Depend on hash.h.
13907 * ggc.h (ggc_add_tree_hash_table_root): Declare.
13908 (ggc_mark_tree_varray): Likewise.
13909 (ggc_mark_tree_hash_table): Likewise.
13910 * ggc-simple.c: Include hash.h.
13911 (ggc_mark_tree_hash_table_ptr): New function.
13912 (ggc_mark_tree_hash_table_entry): Likewise.
13913 (ggc_mark_tree_hash_table): Likewise.
13914 (ggc_add_tree_hash_table_root): Likewise.
13915 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
13916 rtx, when defining fields.
13918 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
13920 * profile.c (output_func_start_profiler): Remove apparently
13921 nonsensical call to start_sequence.
13923 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
13925 * clipper/clipper.c (clipper_va_start): Fix typos.
13927 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
13928 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
13929 (spur_va_arg): New stub.
13931 * configure.in: Comment out pyramid.
13933 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
13935 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
13936 don't conflict with the bits that win32, cygwin, and dgux
13939 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
13940 Bernd Schmidt <bernds@cygnus.co.uk>
13942 * integrate.c (function_cannot_inline_p): Do not inline
13943 functions with forced labels.
13945 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
13946 Bernd Schmidt <bernds@cygnus.co.uk>
13947 Mark Mitchell <mark@codesourcery.com>
13949 * Makefile.in (ggc-simple.o): Depend on varray.h.
13950 (rtl.o): Depend on ggc.h.
13951 (genattrtab.o): Depend on ggc.h.
13952 (print-tree.o): Likewise.
13953 (fold-const.o): Likewise.
13954 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
13955 (make_insn_raw): Don't cache insns when GC'ing.
13956 (emit_insn_before): Likewise.
13957 (emit_insn_after): Likewise.
13958 (emit_insn): Likewise.
13959 (start_sequence): Use xmalloc to allocate the sequence_stack.
13960 (end_sequence): Add free to free it.
13961 (gen_sequence): Don't cache insns when GC'ing.
13962 (clear_emit_caches): Don't use sequence_element_free_list.
13963 (init_emit): Use xcalloc, not xmalloc+bzero.
13964 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
13965 * function.c (pop_function_context_from): Use free to free the
13966 fixup_var_refs_queue.
13967 (put_reg_into_stack): Allocate it with xmalloc.
13968 * genattrtab.c: Include ggc.h.
13969 (operate_exp): Don't use obstack_free when GC'ing.
13970 (simplify_cond): Likewise.
13971 (simplify_text_exp): Likewise.
13972 (optimize_attrs): Likewise.
13973 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
13975 (gencode): Generate a #include for ggc.h.
13976 * ggc-callbacks.c (ggc_p): Define it to zero.
13977 * ggc-none.c (ggc_p): Likewise.
13978 * ggc-simple.c: Include varray.h.
13979 (ggc_mark_tree_varray): New function.
13980 (ggc_add_tree_varray_root): Likewise.
13981 (ggc_mark_tree_varray_ptr): Likewise.
13982 * ggc.h (ggc_p): Declare.
13983 (varray_head_tag): Likewise.
13984 (ggc_add_tree_varray_root): Declare.
13985 * print-tree.c (print_node): Don't check for TREE_PERMANENT
13986 inconsistencies when GC'ing.
13987 * rtl.c: Include ggc.h.
13988 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
13989 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
13990 (rtx_free): Don't call obstack_free when GC'ing.
13991 * toplev.c (rest_of_compilation): Call ggc_collect after every
13993 * tree.c (push_obstacks): Do nothing, if GC'ing.
13994 (pop_obstacks_nochange): Likewise.
13995 (pop_obstacks): Likewise.
13996 (make_node): Use ggc_alloc_tree when GC'ing.
13997 (copy_node): Likewise.
13998 (get_identifier): Use ggc_alloc_string when GC'ing.
13999 (build_string): Likewise.
14000 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
14001 (tree_cons): Likewise.
14002 (build1): Likewise.
14003 (type_hash_canon): Don't call obstack_free when GC'ing.
14005 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
14007 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
14008 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
14010 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
14011 Bernd Schmidt <bernds@cygnus.co.uk>
14012 Mark Mitchell <mark@codesourcery.com>
14014 * Makefile.in (stor-layout.o): Depend on ggc.h.
14015 (expr.o): Depend on ggc.h.
14016 (profile.o): Depend on ggc.h.
14017 (stor-layout.o): Depend on ggc.h.
14018 * emit-rtl.c (init_emit_once): Add gc roots.
14019 * expr.c: Include ggc.h.
14020 (emit_block_move): Add gc roots.
14021 (clear_storage): Likewise.
14022 * expr.h (init_stor_layout_once): New function.
14023 * profile.c: Include ggc.h.
14024 (init_arc_profiler): profiler_label is a root.
14025 * scan.c (make_sstring_space): Trust xrealloc to function
14026 correctly with first parameter NULL.
14027 * stor-layout.c: Include ggc.h.
14028 (set_sizetype): Add gc root.
14029 (init_stor_layout_once): New function.
14030 * toplev.c (compile_file): Call it.
14032 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
14033 Bernd Schmidt <bernds@cygnus.co.uk>
14034 Mark Mitchell <mark@codesourcery.com>
14036 * Makefile.in (tree.o): Depend on ggc.h.
14037 (varasm.o): Likewise.
14038 (function.o): Likewise.
14039 (stmt.o): Likewise.
14040 (except.o): Likewise.
14041 (optabs.o): Likewise.
14042 (emit-rtl.o): Likewise.
14043 * emit-rtl.c: Include ggc.h.
14044 (sequence_element_free_list): Remove, and all references.
14045 (mark_sequence): New functions.
14046 (mark_emit_state): New function.
14047 * except.c: Include ggc.h.
14048 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
14049 (mark_tree_label_node): New functions.
14050 (mark_eh_state): New function.
14051 * function.c: Include ggc.h.
14052 (mark_temp_slot, mark_function_chain): New functions.
14053 (mark_function_state): New function.
14054 (init_function_once): New function.
14055 * function.h (init_function_once): New function.
14056 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
14057 * ggc.h (label_node): Declare.
14058 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
14059 (lang_mark_false_label_stack): New function.
14060 (mark_temp_slot): Remove declaration.
14061 (mark_function_chain): Likewise.
14062 (mark_eh_state): Adjust prototype.
14063 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
14065 * optabs.c: Include ggc.h.
14066 (mark_optab): New function.
14067 (init_optabs): Add gc roots.
14068 * stmt.c: Include ggc.h.
14069 (mark_cond_nesting, mark_loop_nesting): New functions.
14070 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
14071 (mark_stmt_state): New function.
14072 * toplev.c (compile_file): Call init_function_once.
14073 * tree.c: Include ggc.h.
14074 (type_hash): Move declaration earlier in file.
14075 (TYPE_HASH_SIZE, type_hash_table): Likewise.
14076 (init_obstacks): Add gc roots.
14077 (mark_type_hash): New function.
14078 * varasm.c: Include ggc.h.
14079 (mark_pool_constant): New function.
14080 (mark_varasm_state): New function.
14082 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14084 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
14086 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14088 * c-decl.c (struct language_function): Renamed from struct c_function.
14090 (c_function_chain): Delete.
14091 (push_c_function_context): New arg F. Don't warn about nested
14092 functions here. Fill LANGUAGE elt of F. Delete code to update
14093 c_function_chain. Don't call push_function_context.
14094 (pop_c_function_context): New arg F. Restore from there instead of
14095 from c_function_chain. Don't call pop_function_context. Clear out
14096 LANGUAGE field of F when done.
14097 * c-lang.c: Include "function.h"
14098 (lang_init): Initialize save_lang_status and restore_lang_status.
14099 * c-parse.in (nested_function, nested_function_notype): Warn about
14100 nested functions. Call push_function_context/pop_function_context
14101 instead of the _c_ variants.
14102 * c-tree.h (push_c_function_context, pop_c_function_context): Update
14104 * Makefile.in (c-lang.o): Update dependencies.
14106 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
14107 regno_pointer_flag, regno_pointer_align.
14108 (gen_reg_rtx): Use xrealloc to enlarge them.
14109 (free_emit_status): New function.
14110 * function.c (mark_machine_status, mark_lang_status): New variables.
14111 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
14112 in some bits from assign_stack_local. All callers changed to use new
14114 (assign_stack_local): Just call assign_stack_local_1.
14115 (free_after_compilation): New function.
14116 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
14117 (trampoline_address): Likewise.
14118 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
14119 (prepare_function_start): Explicitly clear some more variables.
14120 * function.h (struct function): New elt can_garbage_collect.
14121 (mark_machine_status, mark_lang_status): Declare variables.
14122 (free_after_compilation, free_emit_status, free_varasm_status,
14123 init_varasm_status): Declare functions.
14124 * toplev.c (rest_of_compilation): Call free_after_compilation when
14125 done with the current function.
14126 * varasm.c (free_varasm_status): New function.
14128 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
14130 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
14131 (EXPAND_BUILTIN_VA_ARG): Define.
14132 * sparc.c (sparc_va_start): New.
14133 (sparc_va_arg): New.
14135 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14137 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
14139 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14141 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
14143 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
14145 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
14146 (OBJS): Add $(GGC).
14147 (ggc-callbacks.o): New target.
14148 * ggc-callbacks.c: New file.
14150 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14152 * expr.h: Collapse individual optab and libfunc vars to arrays.
14153 (optab_index, libfunc_index): New enumerations.
14154 (optab_table, libfunc_table): New arrays.
14155 Add accessor macros for both.
14157 * optabs.c (optab_table, libfunc_table): New.
14158 Delete declarations for individual optab and libfunc vars.
14160 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
14162 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
14164 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
14166 * Makefile.in (GGC, GGC_LIB): New.
14167 (HOST_RTL): Include ggc-none.o.
14168 (ggc-simple.o): New target.
14169 (ggc-none.o): Likewise.
14170 * tree.h (tree_common): Add gc_mark.
14171 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
14172 (struct rtvec_def): Add gc_mark.
14173 * emit-rtl.c (global_rtl): Update static initializers to contain
14174 enough initializers.
14175 * ggc.h, ggc-none.c, ggc-simple.c: New files.
14176 * toplev.c (gc_time): New variable.
14177 (all_time): New variable.
14178 (compile_file): Print gc time.
14179 (print_time): Calculate percentage of the whole.
14181 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14183 Change obstack memory management and varasm constant pool handling so
14184 that nested functions are treated like any other functions.
14185 * function.c (init_machine_status): New variable.
14186 (push_function_context_to): Set contains_functions for the outer
14187 function. Don't call save_varasm_status.
14188 (pop_function_context_from): Don't call restore_varasm_status. Don't
14189 set current_function_contains_functions.
14190 (prepare_function_start): Call init_varasm_status rather than
14191 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
14193 * function.h (struct function) Add field varasm. Delete fields
14194 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
14195 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
14196 (init_machine_status): Declare.
14197 (save_varasm_status, restore_varasm_status): Delete declarations.
14198 (save_tree_status, restore_tree_status): Delete last argument.
14199 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
14200 code. All callers changed.
14201 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
14202 save_constants_in_decl_trees, restore_constants, save_constants,
14203 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
14205 (inlining): New variable.
14206 (reg_map, label_map, insn_map, orig_asm_operands_vector,
14207 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
14209 (save_for_inline_nocopy): Don't save constants.
14210 Don't set inl_emit field in current_function.
14211 (expand_inline_function): Use emit field, not inl_emit, of the inlined
14212 function. Set new variable inlining before
14213 calling copy_rtx_and_substitute.
14214 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
14215 constant pool references if inlining is nonzero.
14216 Delete ADDRESS and (most of the) CONST cases.
14217 (output_inline_function): Save and restore current_function/
14218 current_function_decl. Delete restore_constants code. Don't call
14219 init_const_rtx_hash_table.
14220 * output.h (init_const_rtx_hash_table): Don't declare.
14221 * rtl.h (struct function): Declare.
14222 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
14223 * toplev.c (rest_of_compilation): Don't treat nested functions or
14224 functions containing them specially. Delete all code to deal with
14225 save_for_inline_copying.
14226 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
14227 inline_obstacks): Delete variables.
14228 (save_tree_status): Lose arg CONTEXT. All callers changed.
14229 Simply allocate a new function_maybepermanent_obstack for the new
14230 function, delete all the special cases.
14231 Don't save inline_obstacks.
14232 (restore_tree_status): Lose arg CONTEXT. All callers changed.
14233 Delete special handling for function_maybepermanent_obstack; simply
14235 Don't restore inline_obstacks.
14236 (permanent_allocation): Delete code that frees inline_obstacks.
14237 (print_inline_obstack_statistics): Delete function.
14238 (dump_tree_statistics): Don't call it.
14239 * varasm.c (struct varasm_status): New.
14240 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
14241 last_pool, pool_offset, const_double_chain): Delete global
14242 variables, replace with accessor macros.
14243 (immed_double_const): Don't walk const_double_chain outside a
14244 function, but don't treat nested functions specially anymore.
14245 (immed_real_const_1): Likewise.
14246 (clear_const_double_mem): Don't treat nested functions specially.
14247 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
14248 (save_varasm_status, restore_varasm_status): Delete functions.
14249 (init_varasm_status): New function.
14250 (force_const_mem): Don't treat nested functions specially.
14251 (find_pool_constant): Accept new arg F, search for constants in
14252 that function's pool rather than the current one. All callers
14254 (get_pool_constant_for_function, get_pool_mode_for_function): New
14257 * i386.c (init_386_machine_status): New function, mostly from
14258 clear_386_stack_locals.
14259 (struct machine_functions): Rename element names to avoid name
14261 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
14262 macros, replacing global variables.
14263 (clear_386_stack_locals, save_386_machine_status,
14264 restore_386_machine_status): Delete functions.
14265 (override_options): Initialize init_machine_status.
14266 * i386.h (INIT_EXPANDERS): Delete macro.
14267 (save_386_machine_status, restore_386_machine_status,
14268 clear_386_stack_locals): Delete declarations.
14270 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14272 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
14273 (doloop_begin): Simplify pattern and use emit_jump_insn.
14274 (doloop_end): Simplify pattern, switch operand order,
14275 and use emit_jump_insn.
14277 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
14279 * function.h (struct function): Add new element LANGUAGE.
14280 (save_lang_status): Declare new variable.
14281 (restore_lang_status): Likewise.
14282 * function.c (save_lang_status): Define.
14283 (restore_lang_status): Likewise.
14284 (push_function_context_to): Call language-specific save function.
14285 (pop_function_context_from): Call language-specific restore function.
14287 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14289 * i386.md (movsf_1): Check REG_P before use of REGNO.
14290 (movdf_1): Likewise.
14291 (movxf_1): Likewise.
14292 (extendsfdf2): Likewise.
14293 (extendsfxf2): Likewise.
14294 (extenddfxf2): Likewise.
14296 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14298 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
14299 constants into memory.
14300 (c4x_shiftable_constant): New function.
14301 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
14302 (c4x_shiftable_constant): Declare.
14303 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
14304 ashlqi3_noclobber): Add new patterns and associated splitters.
14306 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
14308 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
14309 * dwarf2out.c (dwarf2out_frame_init): Likewise.
14310 * final.c (shorten_branches): Likewise.
14311 * global.c (global_alloc): Likewise.
14312 * haifa-sched.c (build_control_flow): Likewise.
14313 * stmt.c (check_for_full_enumeration_handling): Likewise.
14314 (estimate_case_costs): Likewise.
14316 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
14318 * rtl.h (RTL_CHECKC2): Fix typo in last change.
14320 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
14322 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
14323 (recompute_reg_usage): Likewise.
14324 * rtlanal.c (find_regno_fusage): Likewise.
14326 * rtl.c (rtl_check_failed_code1): New function.
14327 (rtl_check_failed_code2): New.
14328 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
14329 (RTL_CHECKC1, RTL_CHECKC2): New.
14330 (XC*): New accessor macros.
14331 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
14332 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
14333 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
14334 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
14335 (TRAP_*, RANGE_INFO_*): Likewise.
14337 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14339 * Makefile.in (tlink.o): Don't depend on toplev.h.
14341 * collect2.c (c_file, o_file, export_file, import_file, ldout,
14342 output_file, nm_file_name, ldd_file_name, strip_file_name,
14343 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
14344 add_prefix, prefix_from_env, prefix_from_string, do_wait,
14345 fork_execute, maybe_unlink, add_to_list,
14346 extract_init_priority, write_list, dump_list,
14347 dump_prefix_list, write_list_with_asm, write_c_file,
14348 write_c_file_stat, write_c_file_glob, scan_prog_file,
14349 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
14350 ignore_library, extract_string, notice, dump_file, target_machine,
14351 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
14352 read_file, print_load_command): Constify a char*.
14353 (fdopen, error, fatal, fatal_perror): Don't prototype.
14354 (my_strerror): Remove. All callers use xstrerror instead.
14355 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
14356 (main): Add prototype. Constify lots of char* ptrs. Change calls
14357 to xcalloc/strcpy/strcat/... to one call to concat.
14358 (main, scan_prog_file, scan_libraries): Use an intermediate
14359 `const char **' to build an argv array.
14360 (mapfile, libselect, libcompare, locatelib): Add prototypes.
14362 * collect2.h (collect_execute, collect_wait, dump_file,
14363 file_exists): Constify a char*.
14364 (ldout, c_file_name, temporary_obstack, permanent_obstack,
14365 temporary_firstobj, vflag, debug): Add extern declarations.
14366 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
14368 * tlink.c: Don't include toplev.h.
14369 (vflag, debug, ldout, c_file_name, temporary_obstack,
14370 permanent_obstack, temporary_firstobj): Don't declare.
14371 (tlink_execute, frob_extension, symbol_hash_lookup,
14372 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
14373 recompile_files, read_repo_files, demangle_new_symbols,
14374 scan_linker_output): Constify a char*.
14375 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
14376 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
14378 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
14380 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
14381 (relative) rather than jsr (absolute) subroutine call insns.
14382 * config/m68k/m68k-coff.h: Ditto.
14384 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
14386 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
14387 now rework these too.
14388 (arm_reorg): If an insn can't reach the end of the current pool,
14389 ensure that we emit that pool before the insn.
14391 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
14393 * tlink.c (scan_linker_output): Skip the initial underscore in
14394 a mangled name if appropriate.
14396 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14398 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
14399 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
14400 error_with_ivar, gen_declarator, create_builtin_decl,
14401 my_build_string, generate_descriptor_table, generate_ivars_list,
14402 generate_dispatch_table, check_protocols, TAG_GETCLASS,
14403 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
14404 dump_base_name, lang_decode_option, build_encode_expr,
14405 start_class, finish_class, encode_pointer, really_start_method,
14406 gen_declaration, dump_interface, handle_class_ref, handle_impent):
14408 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
14409 Add static prototypes.
14410 (build_objc_string_decl, build_selector_reference_decl,
14411 encode_bitfield, build_class_reference_decl): Remove unused
14412 parameter, all callers changed.
14413 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
14414 (objc_printable_name): Likewise. Change second parameter to type int.
14415 (init_objc): Use memcpy, not bcopy, to avoid casts.
14417 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
14419 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
14420 reg notes on a deleted insn.
14421 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
14423 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
14425 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
14427 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14429 * stmt.c (expand_asm_operands): Fix index into inout_mode when
14432 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
14434 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
14435 * tm.texi (MD_ASM_CLOBBERS): Document it.
14437 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
14439 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
14440 * except.c (expand_rethrow): Remove unused variable.
14441 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
14442 * flow.c (replace_insns): Likewise.
14443 (create_edge_list, verify_edge_list): Likewise.
14444 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
14446 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
14447 is special code to run.
14448 (main): Don't define operands to emit_operand.
14449 * genrecog.c (main): Don't emit an empty peephole2_insn function.
14451 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
14453 * alpha/alpha.h (normal_memory_operand): Declare.
14454 (reg_no_subreg_operand): Declare.
14455 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
14457 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
14459 * c-parse.in (compstmt_primary_start): New, broken out of first
14460 part of compstmt handling in primary.
14461 (primary): Use it. Add an error clause.
14462 (compstmt_nostart): Renamed from compstmt; remove all
14463 initial invocations of compstmt_start.
14466 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
14468 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
14471 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
14473 * combine.c (simplify_shift_const): Remove extra semicolon.
14474 * dwarf2out.c (remove_AT): Likewise.
14475 * expmed.c (expand_mult): Likewise.
14476 * gcov.c (create_program_flow_graph): Likewise.
14477 * reorg.c (mostly_true_jump): Likewise.
14479 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
14481 * fold-const.c (fold_range_test): Do not try to fold the range
14482 test if the rhs or lhs has side effects.
14484 * combine.c (simplify_rtx): Recognize another case of a synthesized
14487 * varasm.c (mark_constant_pool): When marking indirect references,
14488 only look at SYMBOL_REFs.
14490 * except.c (expand_fixup_region_end): Do not peek at
14491 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
14493 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
14495 * flags.h: New variables align_loops, align_loops_log,
14496 align_jumps, align_jumps_log, align_labels, align_labels_log,
14497 align_functions, align_functions_log.
14498 * toplev.c: Define them.
14499 (f_options): Handle -falign-* when they have no argument.
14500 (main): Add logic to set variables for -falign-functions,
14501 -falign-jumps, -falign-labels, -falign-loops.
14502 Make it -fsched-verbose=<n> and -finline-limit=<n>.
14503 (display_help): Change help to match options.
14504 * final.c (LABEL_ALIGN): Default to align_labels_log.
14505 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
14506 (LOOP_ALIGN): Default to align_loops_log.
14507 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
14508 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
14509 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
14510 * varasm.c (assemble_start_function): Handle align_functions.
14512 * config/sparc/sparc.h: Don't declare sparc_align_*.
14513 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
14514 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
14516 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
14518 * config/sparc/sparc.c: Delete sparc_align_loops,
14519 sparc_align_jumps, sparc_align_funcs and the corresponding string
14521 (sparc_override_options): Default align_functions on ultrasparc.
14522 Delete -malign-* handling.
14524 * config/mips/mips.c (override_options): On 64-bit targets,
14525 try to align code to 64-bit boundaries.
14526 (print_operand): New substitution, %~,
14527 which aligns labels to align_labels_log.
14528 * config/mips/mips.md (div_trap_normal): Use %~.
14529 (div_trap_mips16): Likewise.
14531 (absdi2): Likewise.
14532 (ffssi2): Likewise.
14533 (ffsdi2): Likewise.
14534 (ashldi3_internal): Likewise.
14535 (ashrdi3_internal): Likewise.
14536 (lshrdi3_internal): Likewise.
14537 (casesi_internal): Likewise.
14539 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
14541 Merge new ia32 backend from the branch!
14543 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
14544 See ChangeLog.P2 on new_ia32_branch for details.
14546 * rtl.h (stack_regs_mentioned_p): Delete prototype.
14547 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
14548 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
14549 * i386/gas.h (ASM_FILE_START): Define.
14550 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
14551 for name change of ix86_valid_decl_attribute_p.
14552 (i386_pe_valid_type_attribute_p): Similarly.
14554 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
14556 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
14557 to step through CC modes.
14559 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14561 * regmove.c (fixup_match_1): Don't move INSN in front of P if
14562 it would end up in the shadow of a live flags regsiter.
14564 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14566 * reload1.c: Fix many indentation problems.
14567 * reload.c: Likewise.
14569 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
14571 * alias.c (non_local_reference_p): Constify fmt.
14573 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
14575 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
14577 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
14579 * cse.c (delete_trivially_dead_insns): Do not delete stores to
14580 the internal_arg_pointer.
14582 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
14584 Merge peephole2 from new_ia32_branch:
14585 * Makefile.in (STAGESTUFF): Add *.peephole2.
14586 (mostlyclean): Likewise.
14587 (recog.o): Depend on resource.h.
14589 * final.c (peephole): Conditionalize decl on HAVE_peephole.
14590 (final_scan_insn): Likewise for the invocation of peephole.
14591 * genconfig.c (main): Look for peephole and peephole2 patterns.
14592 Emit HAVE_peephole* accordingly.
14593 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
14594 * flags.h (flag_peephole2): Declare.
14595 * toplev.c: New pass peephole2. New flag -fpeephole2.
14597 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
14598 * gencodes.c (main): Likewise.
14599 * genextract.c (main): Likewise.
14600 * genoutput.c (main): Likewise.
14601 * genemit.c (max_operand_1): Look for the max scratch operand.
14602 (gen_rtx_scratch): New.
14603 (gen_exp): Use it, and pass on new arg subroutine_type.
14604 (gen_expand): Take max scratch into account.
14605 (gen_split): Emit peephole2 functions.
14606 (output_peephole2_scratch): New.
14607 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
14608 * genrecog.c (routine_type): Add PEEPHOLE2.
14610 (make_insn_sequence): Match outer parallel for peep2. Discard
14611 top level scratches and dups.
14612 (add_to_sequence): New args insn_type and top. Update all callers.
14613 Handle toplevel peep2 matching insns.
14614 (write_subroutine): Handle peep2.
14615 (write_tree_1): Likewise.
14616 (write_tree): Likewise.
14618 (change_state): New arg afterward. Update all callers.
14619 Handle matching separate insns.
14620 * recog.c (recog_next_insn): New.
14621 (peephole2_optimize): New.
14622 * rtl.def (DEFINE_PEEPHOLE2): New.
14623 * resource.c (find_free_register): New argument last_insn. Use it
14624 to find a register available through the entire span.
14625 * resource.h (find_free_register): Update prototype.
14627 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
14629 * i386.c (output_strlen_unroll): Don't write xops[7]
14630 label if it wasn't set.
14632 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
14634 * cpplib.c (struct directive): Const-ify name pointer and
14635 function pointer prototype.
14636 (validate_else, do_define, do_line, do_include, do_undef,
14637 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
14638 do_elif, do_endif, do_sccs, do_assert, do_unassert,
14639 do_warning): Const-ify second arg.
14640 (directive_table): Mark const. Reorder entries by frequency
14641 of usage, record statistics.
14643 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
14645 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
14646 bounds- check RTL accesses if --enable-checking.
14647 (RTVEC_ELT): Bounds check if --enable-checking.
14648 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
14649 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
14650 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
14652 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
14653 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
14655 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
14656 (NOTE_SOURCE_FILE): Use X0STR.
14657 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
14658 MEM_ALIAS_SET): Use X0INT.
14659 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
14660 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
14662 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
14663 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
14664 (rtl_check_failed_bounds, rtl_check_failed_type1,
14665 rtl_check_failed_type2, rtvec_check_failed_bounds): New
14667 (fancy_abort): Fix comment.
14669 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
14670 (cse_insn): Decrement LABEL_NUSES for jump target before
14671 deleting jump insn.
14672 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
14673 * final.c (alter_subreg): Compute regno before changing x to
14674 REG; set REGNO(x) after changing it.
14675 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
14676 notes containing CONST_INTs.
14677 (delete_eh_regions): Use NOTE_EH_HANDLER.
14678 * function.c (put_reg_into_stack): Make reg a MEM before
14680 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
14682 (gen_mem_addressof): Make reg a MEM before initializing it.
14683 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
14685 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
14686 deleting an insn, not after.
14687 (block_alloc): Only look at PATTERN(insn) if we have to, and
14688 only if it's format class 'i'.
14689 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
14690 CONST_INT before using its INTVAL.
14691 * print-rtl.c (print_rtx): Use X0STR.
14692 * regmove.c (fixup_match_1): Don't look at PATTERN of
14693 non-class-'i' insn chain elements.
14694 * reload.c (loc_mentioned_in_p): Take address of
14695 in->fld[1].rtx directly.
14696 * reload1.c (reload): Change reg to a MEM before initializing
14698 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
14700 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
14702 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
14704 * config/mips/mips.c (machine_dependent_reorg): Force a
14705 barrier to output the local constant pool if a barrier hasn't
14706 been found at a natural point in the instruction stream.
14708 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14710 * c-parse.in (language_string): Constify.
14712 * dwarf2out.c (language_string): Remove declaration.
14714 * dwarfout.c (language_string): Likewise.
14716 * toplev.c (language_string, init_parse, finish_parse): Likewise.
14718 * tree.h (language_string, init_parse, finish_parse): Declare.
14720 * i386/sun386.h (language_string): Remove declaration.
14722 * mips.h (language_string): Likewise.
14724 * nextstep.h (language_string): Likewise.
14726 * nextstep21.h (language_string): Likewise.
14728 * rs6000.c (language_string): Likewise.
14730 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14732 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
14733 (getpwd.o): Remove target.
14735 * getpwd.c: Delete file. Its in libiberty now.
14737 * dbxout.c (getpwd): Don't prototype.
14738 * dwarf2out.c (getpwd): Likewise
14739 * dwarfout.c (getpwd): Likewise
14740 * final.c (getpwd): Likewise.
14741 * protoize.c (getpwd): Likewise.
14743 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14745 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
14747 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
14749 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
14750 mark_set_resources.
14752 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
14754 * fixinc/Makefile.in (subdir): New.
14755 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
14758 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
14760 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
14761 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
14764 * invoke.texi: Fix typo.
14766 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
14767 changed. Handle autoincrement addressing modes.
14769 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
14770 just like we would the virtual incoming args register when
14773 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
14775 * rs6000.h (ASM_FILE_START): Specify complete filename, including
14776 path, in .file directive.
14778 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
14780 * gcc.texi (External Bugs): Remove obsolete note about Perl on
14783 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
14785 * stdbool.h: Make the typedef name _Bool, with bool a #defined
14788 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14790 * tree.c (tree_code_name): Constify a char*.
14792 * tree.h (tree_code_name, decl_printable_name): Likewise.
14794 * function.h (struct function): Likewise.
14796 * toplev.c (decl_name, decl_printable_name): Likewise.
14798 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
14800 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
14801 (init_objc): Remove function pointer cast.
14803 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
14805 * pa.md (interspace_jump): New pattern.
14806 (builtin_longjmp): New expander.
14808 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
14810 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
14811 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
14812 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
14814 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
14816 * jump.c (delete_prior_computation): Also check calls
14817 to constant functions. Don't bother checking for a
14818 REG_UNUSED note before adding it.
14819 (delete_computation): Handle multi-word hard registers
14820 when synthesizing missing REG_DEAD notes for a register
14821 which is both set and used by an insn.
14823 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14825 * loop.c (this_loop_info): New variable.
14826 (loop_has_call, loop_has_volatile, loop_has_tablejump,
14827 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
14829 (prescan_loop, strength_reduce): New argument loop_info. All callers
14831 (scan_loop): New variable loop_info, initialise to address of
14833 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
14834 Delete variable loop_has_multiple_exit targets and replace with
14835 field in this_loop_info.
14836 (find_and_verify_loops): Rename this_loop to this_loop_num.
14837 (strength_reduce): Delete loop_iteration_info. Replace variable
14838 loop_info with function argument of same name.
14839 (insert_bct): Rework test for loop being completely unrolled.
14841 * loop.h (struct loop_info): New fields num, loops_enclosed,
14842 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
14843 has_indirect_jump, and cont. Redefine use of unroll_number.
14844 (loop_unroll_number): Delete.
14846 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
14847 field of loop_info.
14848 (loop_iterations): Delete variable vtop and instead use
14849 loop_info->vtop computed in prescan_loop.
14851 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
14853 * fix-header.c (main): Do not pass a null pointer to strcmp.
14855 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
14857 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
14859 * configure: Rebuilt.
14861 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
14863 * jump.c (jump_optimize_1): Do not delete assignments to
14864 internal_arg_pointer.
14865 * cse.c (delete_trivially_dead_insns): Always consider a set of
14866 the internal_arg_pointer live.
14868 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
14870 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
14871 (update_life_info) [REG_WAS_0]: Search the original insns rather
14872 than the new insns for the note. Fix typos finding note_dest.
14873 If no dest found, discard the note rather than abort.
14874 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
14875 (replace_insns): Remove the old insn list after update_life_info
14878 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
14880 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
14881 sched_analyze_insn.
14882 (sched_analyze_1): Let add_dependence care for not adding dups.
14883 (sched_analyze_2): Likewise.
14884 (add_branch_dependences): Likewise.
14886 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
14888 * i386/winnt.c (export_list): New type.
14889 (exports_head): Rename to
14890 (export_head): this.
14891 (i386_pe_record_exported_symbol): Add is_data flag.
14892 (i386_pe_asm_file_end): Emit directive for exported variables.
14893 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
14895 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
14896 (ASM_DECLARE_OBJECT_NAME): Likewise.
14897 (ASM_DECLARE_FUNCTION_NAME): Likewise.
14898 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14900 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
14902 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
14904 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
14907 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
14909 * config/openbsd.h: Define SET_ASM_OP.
14910 * tm.texi: cross-reference SET_ASM_OP in the index.
14912 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
14914 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
14915 for a CONST_DOUBLE, at compile time. Initialize rtx_length
14916 and class_narrowest_mode at compile time. Kill init_rtl.
14917 Mark rtx_length, mode_class, mode_size, mode_unit_size,
14918 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
14919 rtx_format as const. Kill all references to EXTRA_CC_MODES or
14921 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
14923 * rtl.h: Declare rtx_length and rtx_format as const.
14924 * machmode.def: Define CC(). Use CC() to define CCmode. If
14925 EXTRA_CC_MODES is defined, expand it here.
14926 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
14927 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
14928 const. Kill all references to EXTRA_CC_MODES.
14930 * toplev.c: Don't prototype or call init_rtl.
14931 * optabs.c: Don't call init_mov_optab.
14932 * genemit.c: Don't generate init_mov_optab. Don't call
14934 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
14936 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
14937 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
14938 genrecog.c: Don't call init_rtl.
14940 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
14941 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
14942 definition of EXTRA_CC_MODES.
14944 * md.texi: Kill ref to EXTRA_CC_NAMES.
14945 * tm.texi: Document new way to define EXTRA_CC_MODES.
14947 * genrecog.c: Do not look up the name of a define_split.
14948 (Unrelated bugfix.)
14950 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
14952 * config/v850/v850.md: Fix typo introduced by previous delta.
14954 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14956 * gcc.c (fatal): Make definition static to match prototype.
14958 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14960 * combine.c (get_last_value): Don't look for earlier sets if the last
14961 known set is somewhere in between the insns being combined.
14963 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
14965 * configure.in: Don't use shell ! to negate exit codes
14966 * configure: Regenerate
14968 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
14970 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
14971 the fact that ALIGN is measured in bits, not bytes.
14973 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
14975 * errors.c: New file; defines functions error, warning, and
14976 fatal, variables have_error and progname.
14977 * errors.h: New file; prototypes and decls for stuff in errors.c.
14979 * Makefile: Add rules to build errors.o and
14980 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
14981 genopinit, genrecog, genextract, genpeep, genattr, and
14982 genoutput with errors.o. Add errors.h to deps of genconfig.o,
14983 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
14984 genpeep.o, genattr.o, and genoutput.o.
14986 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
14987 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
14988 define or prototype fatal. Set progname at beginning of main.
14989 * genoutput.c: Likewise, and don't define or prototype error
14992 * c-typeck.c (c_expand_start_case): Return immediately if exp
14994 * fold-const.c (operand_equal_p): Return immediately if arg1
14995 or arg0 are ERROR_MARKs.
14996 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
14997 fields of type ERROR_MARK when calculating if the record can
15000 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
15001 with much help from Jeffrey A Law and Richard Henderson
15003 * i386.md: In the 6 insns which call output_fix_trunc,
15004 earlyclobber operands[0].
15006 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
15008 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
15009 creating new registers.
15011 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
15013 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
15014 i386_reg_alloc_order, i386_regparm_string,
15015 i386_align_loops_string, i386_align_jumps_string,
15016 i386_align_funcs_string, i386_preferred_stack_boundary_string,
15017 and i386_branch_cost_string as type "const char *".
15018 * i386.c: Define all above strings as type "const char *".
15020 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
15022 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
15023 when emitting alignment padding. Emit padding byte of 0 instead of 4.
15025 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
15027 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
15028 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
15030 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
15032 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
15033 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
15034 (dwarf2out_line, dwarf2out_finish): Likewise.
15035 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
15037 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15039 * tree.c (lang_unsave_expr_now) : Correct return type.
15040 * tree.h (lang_unsave_expr_now) : Same.
15042 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
15044 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
15045 instead of duplicating code.
15047 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15049 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
15051 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
15053 * tree.h: fancy_abort always takes three args.
15054 * resource.c: Move include of system.h before toplev.h.
15056 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
15058 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
15061 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
15063 * system.h: Don't redefine abort or trim_filename.
15064 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
15065 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
15066 whether or not __FUNCTION__ is available.
15067 * tree.h: Duplicate rtl.h's definition of abort, for files
15068 that don't include rtl.h. Delete all code to perform type
15069 checking with a compiler other than GCC.
15070 * varray.h: Delete all code to perform type checking with a
15071 compiler other than GCC. Make VARRAY_CHECK() always evaluate
15072 its arguments exactly once, using a statement expression.
15073 Adjust the VARRAY_<type> accessor macros to match.
15074 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
15075 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
15076 caller's location. Define fatal_insn and fatal_insn_not_found
15077 as macros that use _fatal_insn and _fatal_insn_not_found.
15078 (fancy_abort, trim_filename): Kill prototypes.
15080 * rtl.c (trim_filename): Move here from toplev.c.
15081 (fancy_abort): New function.
15082 (DIR_SEPARATOR): Provide default definition.
15083 * tree.c (tree_check_failed, tree_class_check_failed): Go
15084 through fancy_abort.
15085 (tree_check, tree_class_check, cst_or_constructor_check,
15086 expr_check): Delete.
15087 * varray.c (varray_check_failed): New function.
15088 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
15089 _fatal_insn and _fatal_insn_not_found. Go through
15091 (trim_filename, fancy_abort): Delete.
15093 * builtins.c (expand_builtin_args_info): Report ICE with abort.
15094 * except.c (start_catch_handler): Report ICE with error/abort
15096 * final.c (output_operand_lossage): Likewise.
15097 * flow.c (verify_flow_info): Likewise.
15099 * gcc.c: Prototype fatal.
15100 * gengenrtl.c: Undef abort after including rtl.h not system.h.
15101 * genattr.c, genattrtab.c, genemit.c, genextract.c,
15102 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
15103 Don't define fancy_abort.
15105 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
15107 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
15110 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
15112 * m88k.h (VERSION_INFO2): Kill.
15113 (VERSION_STRING): Kill.
15115 (VERSION_INFO1): Tidy.
15116 (TARGET_VERSION): Update.
15117 * m88k/dgux.h (VERSION_INFO2): Kill.
15118 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
15119 * m88k/luna.h (VERSION_INFO1): Tidy.
15120 * m88k/sysv4.h (VERSION_INFO1): Likewise.
15121 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
15122 (output_file_start): Adjust for death of VERSION_STRING.
15124 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
15126 * cpplib.c (detect_if_not_defined): New function.
15127 (do_if): Use it to detect potential once-only headers.
15129 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
15131 * c-common.c (combine_strings): Always set TREE_CONSTANT.
15133 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15135 * combine.c (nonzero_bits) : Allow single-ly set registers to be
15136 anywere in the function only if they are pseudos and set before
15137 being used (not live at the start of the function).
15138 (num_sign_bit_copies) : Same.
15139 (get_last_value_validate) : Same.
15140 (get_last_value) : Same.
15142 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
15144 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
15145 where N and M are constant and N is an integer multiple of M.
15147 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15149 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
15150 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
15151 sbitmap_union_of_preds): Add prototypes.
15152 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
15153 the intersection of successors with the new flow graph structures.
15154 (sbitmap_intersection_of_preds): New function to compute the
15155 intersection of predecessors with the new flow graph structures.
15156 (sbitmap_union_of_succs): New function to compute the union of
15157 successors with the new flow graph structures.
15158 (sbitmap_union_of_preds): New function to compute the union of
15159 predecessors with the new flow graph structures.
15160 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
15161 (expr_reaches_here_p): Use edge and basic_block structures instead
15162 of s_preds and s_succs.
15163 (compute_cprop_avinout): Use new sbitmap routines.
15164 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
15165 of s_preds and s_succs.
15166 * flow.c (compute_flow_dominators): Compute dominators using
15167 edges and basic blocks instead of s_preds and s_succs.
15169 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15171 * lists.c (unused_insn_list, unused_expr_list): New file for
15172 maintaining various types of lists. New statics for maintaining a
15173 cache of available INSN_LIST and EXPR_LIST nodes.
15174 (free_list): Static function for freeing a list of INSN/EXPR nodes.
15175 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
15176 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
15177 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
15178 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
15179 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
15180 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
15181 (free_INSN_LIST_node): Free an individual INSN_LIST node.
15182 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
15183 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
15184 (remove_dependence, free_pending_lists): Use new global routines.
15185 (flush_pending_lists, sched_analyze_insn): Use new global routines.
15186 (sched_analyze, compute_block_backward_dependences): Use new routines.
15187 (sched_analyze_1, sched_analyze_2): Use new routines.
15188 (schedule_insns): Use new global routines.
15189 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
15191 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
15192 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
15194 * toplev.c (rest_of_compilation): Initialize node cache.
15195 * Makefile.in (OBJS): Add lists.o to list of object files.
15196 (lists.o): Add dependancies.
15198 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
15200 * config/v850/v850.md: Fix compile time warning messages.
15201 * config/v850/v850.c: Fix compile time warning messages.
15202 * config/v850/v850.h: Fix compile time warning messages.
15204 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15206 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
15207 Remove unused prototype for `init_lengths'.
15209 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15211 * calls.c (emit_call_1): Mark parameter `stack_size' with
15213 (expand_call): Initialize variable `insn'.
15214 (emit_library_call): Likewise for variable `high_to_save'.
15215 (emit_library_call_value): Likewise.
15216 (store_one_arg): Likewise for variables `lower_bound' and
15219 * combine.c (try_combine): Likewise for variables `i2_code_number'
15220 and `other_code_number'.
15221 (find_split_point): Likewise for variables `pos', `unsignedp' and
15223 (simplify_if_then_else): Likewise for variables `op' and `c1'.
15224 (simplify_and_const_int): Remove unused variable `width'.
15225 (merge_outer_ops): Likewise.
15227 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
15228 HOST_WIDE_INT' when comparing against one.
15229 (simplify_relational_operation): Likewise.
15230 (cse_insn): Initialize variables `src_eqv_volatile',
15231 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
15233 * final.c (init_final): Constify parameter `filename'.
15234 (final_start_function): Mark parameter `optimize' with
15236 (profile_function): Likewise for parameters `first' and `optimize'.
15237 (output_source_line): Likewise for parameter `file'.
15239 * integrate.c (subst_constants): Cast a value to `size_t' when
15240 comparing against one.
15241 (mark_stores): Initialize variable `mode'. Cast a value to
15242 `size_t' when comparing against one.
15244 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
15246 * loop.c (move_movables): Initialize variable `first'.
15247 (strength_reduce): Likewise for variable `increment'.
15248 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
15249 value to `size_t' when comparing against one.
15250 (load_mems): Initialize variable `end_label'.
15252 * output.h (init_final): Constify parameter.
15254 * reload.c (decompose): Initialize variable `base'.
15256 * reload1.c (reload): Likewise for variable `is_scalar'.
15257 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
15258 (choose_reload_regs): Initialize variable `mode'.
15259 (emit_reload_insns): Likewise for variable `store_insn'.
15260 (reload_cse_noop_set_p): Mark parameter `insn' with
15262 (reload_combine): Initialize variable `set'.
15264 * unroll.c (unroll_loop): Likewise for variable `local_label'.
15265 (copy_loop_body): Cast a value to `size_t' when comparing against
15268 * varasm.c (assemble_variable): Initialize variable `size_tree'.
15269 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
15270 (remove_from_pending_weak_list): Mark parameter `name' with
15273 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15275 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
15278 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
15280 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
15281 (ASM_DECLARE_FUNCTION_NAME): Define.
15282 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
15283 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
15284 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
15285 not already defined.
15287 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
15289 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
15290 of n_popped when call/call_value are not defined.
15292 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
15294 * tm.texi: GNU CC -> GCC conversion.
15295 (CC1_SPEC): Indicate it is used for all language front ends.
15297 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
15299 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
15300 NOTE_INSN_EH_REGION_END correctly.
15302 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15303 Jeff Law <law@cygnus.com>
15305 * loop.c (strength_reduce): Automatically unroll loops if the
15306 unrolled loop size is smaller than the rolled loop size.
15308 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
15309 and delete comment that code should be rewritten.
15311 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
15313 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
15316 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
15318 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
15320 * fixinc/mkfixinc.sh: Don't fix uwin headers.
15321 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
15322 (LINK_SPEC): Add -u _main when building executables.
15323 (ASM_DECLARE_FUNCTION): Update from Cygwin.
15324 (ASM_FILE_END): Use the default for ix86-pe.
15325 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
15327 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
15329 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
15330 and ASM_CLOSE_PAREN are empty strings.
15332 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
15333 Geoffrey Keating <geoffk@cygnus.com>
15335 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
15336 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
15337 (unprotoize.o): Ditto.
15338 (test-protoize-simple): Don't define STD_PROTO_DIR.
15339 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
15340 changes to make 'test-protoize-simple' pass.
15341 (STD_PROTO_DIR): Remove define.
15342 (STANDARD_EXEC_PREFIX): Supply default define.
15343 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
15344 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
15345 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
15346 (GET_ENV_PATH_LIST): New macro.
15347 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
15348 (do_processing): Initialize default_syscalls_dir using new
15349 macros. Use it to initialize syscalls_absolute_filename.
15351 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
15353 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
15354 B into a register before emit_conditional_move.
15356 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
15358 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
15359 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
15360 multiplicand out of (+ (* a b) (* c d)).
15362 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
15363 Richard Henderson <rth@cygnus.com>
15365 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
15366 (new_insn_dead_notes): Likewise.
15367 (update_n_sets): Likewise.
15368 (update_flow_info): Move to flow.c, renamed to update_life_info;
15369 extend to handle multiple source insns.
15370 * flow.c: Include resource.h
15371 (unlink_insn_chain): New.
15372 (split_hard_reg_notes): New.
15373 (maybe_add_dead_note): New.
15374 (maybe_add_dead_note_use): New.
15375 (find_insn_with_note): New.
15376 (new_insn_dead_notes): New.
15377 (update_n_sets): New.
15378 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
15379 (maybe_remove_dead_notes): New.
15380 (update_life_info): New.
15381 (prepend_reg_notes): New.
15382 (replace_insns): New.
15383 * output.h (update_life_info): Declare.
15384 * recog.c (split_block_insns): Use update_life_info.
15385 * resource.c (find_free_register): Use reg_alloc_order, don't use
15386 fixed regs, make sure the mode is supported, don't use new regs.
15388 * rtl.h (replace_insns): Declare.
15390 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
15392 * expr.c (expand_expr): Cope with COND_EXPRs with one
15393 non-returning branch.
15395 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
15397 * expr.c (store_expr): Always pass down the target, even when not
15400 1999-08-24 Nick Clifton <nickc@cygnus.com>
15402 * configure.in: Define target_cpu_default for v850 targets.
15403 * configure: Regenerate
15405 * config/v850/v850.h (TARGET_CPU_generic): Define.
15406 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
15407 addresses are 4 byte aligned.
15409 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
15412 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15414 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
15415 (main): Add prototypes.
15417 * genattrtab.c (substitute_address, write_const_num_delay_slots,
15418 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
15419 (write_attr_get): Emit prototypes along with function definition.
15420 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
15421 (write_complex_function): Emit static prototype along with
15422 function definition.
15424 * genemit.c (gen_split): Emit prototypes along with function
15427 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
15428 Likewise for predicates and `insn_operand_predicate'.
15429 (process_template): Emit static prototype along with function
15432 * genrecog.c (make_insn_sequence): Constify a char*. Add
15433 prototypes for get_split_*().
15434 (write_subroutine): Emit prototypes along with function
15437 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15439 * gcse.c (find_avail_set): Follow chains of register-register copies.
15440 Use oprs_not_set_p to guarantee that the returned value can be
15442 (cprop_insn): Don't verify the return value of find_avail_set with
15445 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
15446 (cprop_cc0_jump): New function.
15447 (cprop_insn): Break out new function cprop_jump and use it.
15448 Also use cprop_cc0_jump for machines with CC0.
15449 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
15451 * tree.h (current_function_calls_setjmp,
15452 current_function_calls_longjmp): Delete declarations.
15453 * dsp16xx.c: Include "function.h".
15454 * elxsi.c: Likewise.
15455 * gmicro.c: Likewise.
15456 * h8300.c: Likewise.
15457 * i370.c: Likewise.
15458 * m32r.c: Likewise.
15459 * mn10200.c: Likewise.
15460 * mn10300.c: Likewise.
15461 * ns32k.c: Likewise.
15462 * spur.c: Likewise.
15463 * v850.c: Likewise.
15465 * rtl.h (rtx_equal_function_value_matters): Declare.
15466 * toplev.c (rtx_equal_function_value_matters): Don't declare.
15468 * function.c: Likewise.
15469 * emit-rtl.c: Likewise.
15471 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
15473 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
15476 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15478 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
15481 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
15483 * cpp.texi: Add a node documenting macro varargs (copied
15486 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
15488 * cppspec.c: Put a null pointer at the end of the new argv.
15490 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
15492 * configure.in: Remove code to select/de-select the haifa
15493 scheduler. Every scheduled port gets haifa now.
15494 * configure: Rebuilt.
15495 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
15497 * Makefile.in: Corresponding changes.
15499 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15501 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
15502 All callers changed.
15503 (prepare_float_lib_cmp): Likewise.
15504 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
15505 * expr.h (emit_float_lib_cmp): Delete declaration.
15506 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
15507 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
15508 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
15510 (cmptf): Now conditional on TARGET_HARD_QUAD.
15512 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
15514 * resource.c (mark_target_live_regs): Use
15515 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
15517 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15519 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
15521 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
15523 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
15525 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15527 * rtl.h (rtx_format): Constify a char*.
15529 * rtl.c (rtx_format): Likewise.
15530 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
15531 (init_rtl): Use accessor macro, not `rtx_format'.
15533 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
15536 * caller-save.c (mark_referenced_regs): Likewise.
15538 * combine.c (subst, make_compound_operation, known_cond,
15539 gen_rtx_combine, update_table_tick, get_last_value_validate,
15540 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
15542 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
15543 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
15544 count_reg_usage): Likewise.
15546 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
15549 * final.c (leaf_renumber_regs_insn): Likewise.
15551 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
15552 dump_edge_info, count_reg_references): Likewise.
15554 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
15555 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
15558 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
15559 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
15560 add_label_notes): Likewise.
15562 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
15563 clear_struct_flag, count_sub_rtxs, count_alternatives,
15564 compares_alternatives_p, contained_in_p, walk_attr_value,
15565 write_expr_attr_cache): Likewise.
15567 * genconfig.c (walk_insn_part): Likewise.
15569 * genemit.c (max_operand_1, gen_exp): Likewise.
15571 * genextract.c (walk_rtx): Likewise.
15573 * genflags.c (num_operands): Likewise.
15575 * genoutput.c (scan_operands): Likewise.
15577 * genpeep.c (match_rtx): Likewise.
15579 * genrecog.c (add_to_sequence): Likewise.
15581 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
15584 * integrate.c (save_constants, copy_for_inline,
15585 copy_rtx_and_substitute, subst_constants, restore_constants):
15588 * jump.c (mark_jump_label, invert_exp, redirect_exp,
15589 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
15591 * local-alloc.c (contains_replace_regs, memref_referenced_p):
15594 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
15595 add_label_notes, replace_call_address, count_nonfixed_reads,
15596 invariant_p, find_single_use_in_loop, find_mem_givs,
15597 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
15600 * print-rtl.c (reg_names, print_rtx): Likewise.
15602 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
15604 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
15605 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
15606 print_blocks): Likewise.
15608 * regclass.c (fix_register, record_address_regs,
15609 reg_scan_mark_refs): Likewise.
15611 * regmove.c (stable_but_for_p): Likewise.
15613 * reload.c (loc_mentioned_in_p, operands_match_p,
15614 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
15615 copy_replacements, refers_to_regno_for_reload_p,
15616 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
15617 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
15620 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
15621 delete_address_reloads_1, count_occurrences,
15622 reload_cse_mem_conflict_p, reload_combine_note_use,
15623 add_auto_inc_notes): Likewise.
15625 * resource.c (mark_referenced_resources, mark_set_resources):
15628 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
15629 reg_mentioned_p, regs_set_between_p, modified_between_p,
15630 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
15631 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
15632 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
15633 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
15635 * sched.c (sched_analyze_2, attach_deaths): Likewise.
15637 * stupid.c (stupid_mark_refs): Likewise.
15639 * unroll.c (remap_split_bivs): Likewise.
15641 * varasm.c (mark_constants): Likewise.
15643 * a29k/a29k.c (uses_local_reg_p): Likewise.
15645 * alpha/alpha.c (summarize_insn): Likewise.
15647 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
15648 eliminate_lr2ip): Likewise.
15650 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
15652 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
15653 reg_mentioned_in_mem): Likewise.
15655 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
15656 symbolic_reference_mentioned_p): Likewise.
15658 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
15660 * sh/sh.c (regs_used, mark_use): Likewise.
15662 * vax/vax.c (vax_rtx_cost): Likewise.
15664 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15666 * machmode.h (mode_name): Constify a char*.
15668 * rtl.c (mode_name): Likewise.
15670 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
15672 * optabs.c (init_libfuncs): Constify a char*.
15674 * print-tree.c (mode_name): Remove redundant declaration.
15675 (print_node): Use accessor macro, not `mode_name'.
15677 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
15679 (new_spill_reg): Constify a char*.
15681 * tree.c (mode_name): Remove redundant declaration.
15683 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15685 * rtl.c (rtx_name): Constify a char*.
15687 * rtl.h (rtx_name, fix_sched_param): Likewise.
15689 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
15690 (mypr): Use accessor macro, not `rtx_name'.
15692 * genemit.c (print_code): Constify a char*.
15694 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
15696 * genpeep.c (print_code): Constify a char*.
15698 * genrecog.c (print_code): Likewise.
15700 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
15701 end_bb): Add static prototype.
15702 (draw_edge): Constify a char*.
15703 (end_bb): Remove unused parameter.
15705 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
15706 print_block_visualization): Constify a char*.
15708 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
15710 * c-common.c (c_get_alias_set): Update comment.
15712 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15714 * linux.h (LIB_SPEC): Added.
15716 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15718 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
15720 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
15722 * tree.c (expr_check): Fix typo in last change.
15724 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
15726 * rtl.def (NOTE): Change format to "iuu0n".
15727 (ADDR_DIFF_VEC): Change format to "eEee0".
15728 (ADDRESSOF): Change format to "eit".
15730 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
15731 (RTVEC_ELT): Change to match.
15732 (XVECEXP): Use XVEC and RTVEC_ELT.
15733 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
15734 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
15735 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
15736 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
15737 TRAP_CONDITION, TRAP_CODE): Use XEXP.
15738 (INTVAL): Use XWINT.
15739 (ADDRESSOF_DECL): Use XTREE.
15740 (SET_ADDRESSOF_DECL): Delete.
15741 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
15742 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
15743 ifdefed out since 2.6 at least.
15744 (gen_rtvec_vv): Delete prototype.
15746 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
15748 (copy_most_rtx): Handle 't' format letter.
15749 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
15750 (gen_rtvec_vv): Delete function. All callers changed to use
15751 gen_rtvec_v instead.
15752 * print-rtl.c (print_rtx): Move special casing of NOTEs to
15753 the '0' format letter.
15755 * function.c (gen_mem_addressof): Don't use
15756 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
15758 * integrate.c (copy_rtx_and_substitute): Likewise.
15759 Copy 't' slots with XTREE.
15760 (subst_constants): Treat 't' slots like '[swi]' slots.
15761 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
15762 * jump.c (rtx_equal_for_thread_p): Likewise.
15763 * rtlanal.c (rtx_equal_p): Likewise.
15764 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
15765 only four arguments.
15766 * gengenrtl.c (type_from_format): Provide correct types for
15770 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
15771 If a recent gcc is in use (always in stage2 and beyond), use
15772 statement expressions, so we don't make a function call unless
15773 the check fails. Evaluate arguments exactly once.
15774 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
15775 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
15777 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
15778 they evaluate their arguments exactly once, irrespective of
15779 the compiler in use.
15781 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
15782 is used by the currently-enabled check macros. This is:
15783 (tree_check_failed, tree_class_check_failed): For gcc.
15784 (tree_check, tree_class_check, cst_or_constructor_check,
15785 expr_check): For other compilers.
15787 * gencheck.c: Do not define any *_CHECK1 macros.
15789 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
15790 Mark Mitchell <mark@codesourcery.com>
15792 * c-common.c (c_get_alias_set): Fix support for poitners and
15795 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
15797 * alias.c: Include tree.h.
15798 (nonlocal_reference_p, mark_constant_function): New functions.
15799 * flow.c (life_analysis): Call mark_constant_function.
15800 * rtl.h (mark_constant_function): Declare it.
15802 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
15804 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
15805 unrecognisable switches.
15807 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15809 * loop.c (recombine_givs): Set ix field after sorting.
15810 (recombine_givs): Remove bogus index / giv lockstep looping.
15812 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15814 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
15816 (emit_store_flag_force): Use do_compare_rtx_and_jump.
15817 (do_cmp_and_jump): Formatting fixes.
15818 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
15819 do_compare_rtx_and_jump instead of compare_from_rtx.
15820 (do_compare_rtx_and_jump): New function; mostly copied from
15822 (do_jump_for_compare): Delete.
15823 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
15825 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
15826 of compare/do_jump_for_compare pairs.
15827 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
15828 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
15829 compare_from_rtx/do_jump_for_compare pairs.
15830 (do_jump_by_parts_equality): Likewise.
15831 (do_jump_by_parts_equality_rtx): Likewise.
15832 * expr.h (do_compare_rtx_and_jump): Declare.
15833 * optabs.c (prepare_cmp_insn): New function, contains most of the code
15834 that used to be in emit_cmp_insn.
15835 (cmp_available_p): New function.
15836 (prepare_operand): New function.
15837 (emit_cmp_and_jump_insn_1): New function, contains some code that used
15838 to be in emit_cmp_insn.
15839 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
15840 parameters to be pointers; don't emit final compare but modify some of
15841 the values pointed to by the args so the caller can perform the
15842 correct comparison.
15843 (expand_binop): Call emit_store_flag_force with signed forms of
15845 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
15846 emit_jump_insn pair.
15847 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
15848 emit_cmp_and_jump_insn_1. Call emit_queue.
15849 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
15851 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
15852 jump sets cc0 before deleting it.
15853 * integrate.c (expand_inline_function): Likewise.
15854 * unroll.c (unroll_loop): Similar changes in several places.
15855 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
15856 before deleting it.
15858 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15860 * Makefile.in (insn-recog.o): Update dependencies.
15861 * genrecog.c (main): Make generated file include "function.h".
15863 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
15865 * cse.c (cse_insn): Call never_reached_warning when a jump is
15866 changed to be unconditional.
15867 * flags.h: Declare warn_notreached.
15868 * flow.c (delete_block): Call never_reached_warning when
15869 a block is deleted.
15870 * jump.c (delete_barrier_successors): Call never_reached_warning
15871 when we delete everything after a BARRIER.
15872 (never_reached_warning): New function.
15873 * rtl.h: Declare never_reached_warning.
15874 * toplev.c (warn_notreached): New variable.
15875 (lang_independent_options): Set warn_notreached
15876 when -Wunreachable-code.
15877 (compile_file): We need line numbers for -Wunreachable-code.
15879 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
15881 * haifa-sched.c (insn_unit): Fix typo on out of range test.
15882 * sched.c (insn_unit): Likewise.
15884 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
15886 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
15888 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15890 * flow.c (create_edge_list): Use xmalloc, not malloc.
15892 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
15894 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
15895 C-style comments. Do not lose the character before double slash.
15897 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
15899 * basic-block.h (struct edge_list): Stucture to maintain a vector
15901 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
15902 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
15903 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
15904 New function prototypes.
15905 * flow.c (create_edge_list): Function to create an edge list.
15906 (free_edge_list): Discards memory used by an edge list.
15907 (print_edge_list): Debug output showing an edge list.
15908 (verify_edge_list): Internal consistency check for an edge list.
15909 (find_edge_index): Function to find an edge index for a pred and succ.
15911 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
15913 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
15916 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
15918 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
15920 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15922 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15924 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
15926 * toplev.c (rest_of_compilation): Allow machine dependent
15927 reorganisation pass to place information into the RTL dump
15928 file if it so wishes.
15930 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
15932 * explow.c (hard_function_value): Use VOIDmode instead of
15934 * stmt.c (expand_return): Likewise.
15935 * stor-layout.c (get_best_mode): Likewise.
15937 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
15938 emit call instead of emit_insn call.
15940 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
15942 * configure.in: Handle --disable/enable-win32-registry.
15943 * install.texi: Document --disable/enable-win32-registry.
15944 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
15945 (WIN32_REGISTRY_KEY): New macro.
15946 * prefix.c: Use to enable/disable win32-specific code.
15947 (lookup_key): Use versioned key.
15948 * configure: Regenerate.
15949 * config.in: Likewise.
15951 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
15953 * cpplib.c (read_line_number): New fn, split out of...
15956 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
15958 tree.c (lang_unsave_expr_now) : New.
15959 (unsave_expr_now): Call lang_unsave_expr_now.
15960 tree.h (lang_unsave_expr_now) : New.
15962 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
15964 * toplev.c (flag_new_exceptions): On by default.
15966 1999-08-13 Michael Meissner <meissner@cygnus.com>
15968 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
15970 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15972 * dwarfout.c (fundamental_type_code): Return FT_boolean for
15973 INTEGER_TYPE with precision==1, it's __java_boolean.
15975 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15977 * global.c (prune_preferences): Move some invariants out of the
15980 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
15982 * configure.in (alpha*-dec-osf*): Add osf5.
15984 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
15986 * configure.in: Rework handling of ARM GNU/Linux slightly.
15987 (arm*-*-linux-gnuoldld): New target.
15988 * configure: Regenerate.
15989 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
15990 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
15991 * config/arm/linux-oldld.h: New file.
15992 * config/arm/linux-elf26.h: Don't include linux-elf.h.
15993 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
15995 * config/arm/linux-elf.h (ASM_SPEC): Define.
15996 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
15997 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
15998 for 26-bit APCS and old linker.
15999 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
16001 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
16002 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
16003 don't define `arm' or `arm_elf'.
16004 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
16005 MULTILIB_DIRNAMES): Define. Fix typo in comment.
16007 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
16009 * rtl.texi: Fix typo.
16011 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
16013 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
16015 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
16017 * extend.texi (C++ Signatures): Remove node.
16018 * invoke.texi: Remove discussion of -fhandle-signatures,
16019 signature, sigof, __signature__, and __sigof__.
16021 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
16023 * Makefile.in (JAVAGC): Removed.
16025 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
16027 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
16029 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
16031 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
16033 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
16035 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
16036 a register that is already known to be a pointer.
16038 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
16040 * fixinc/inclhack.tpl: Only install assert.h conditionally.
16041 * fixinc/inclhack.sh: Regenerated.
16042 * fixinc/fixincl.sh: Regenerated.
16044 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
16046 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
16047 Fix documentation of -ansi flag to describe its C++ behavior.
16048 Remove bogus reference to GCC 2.9.
16050 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
16052 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
16053 note if it is non-NULL.
16055 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16057 * except.h (eh_nesting_info): Add new structure defintion.
16058 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
16059 (reachable_handlers, update_rethrow_references): Add function
16061 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
16062 a rethrow symbol instead of an integer exception region number.
16063 * flow.c (Make_edges): Use new exception nesting routines to determine
16064 which handlers are reachable from a CALL or asynchronous insn.
16065 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
16067 (delete_eh_regions): Update rethrow labels, and don't delete
16068 regions which are the target of a rethrow.
16069 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
16070 avoid overloading the SYMBOL_REF_USED flag.
16071 (rethrow_symbol_map): Use new rethrow_ref field.
16072 (rethrow_used): Use new rethrow_ref field.
16073 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
16074 of an integer. Fix formatting.
16075 (output_exception_table_entry): Use new rethrow_ref field.
16076 (can_throw): Check for EH_REGION_NOTE before deciding
16077 whether a CALL can throw or not.
16078 (scan_region): Call rethrow_used() instead of accessing data structure.
16079 (update_rethrow_references): New function to make sure only regions
16080 which are still targets of a rethrow are flagged as such.
16081 (process_nestinfo): New static function to initialize a handler
16082 list for a specific region.
16083 (init_eh_nesting_info): New function to allocate and initialize
16084 the list of all EH handlers reachable from all regions.
16085 (reachable_handlers): New function to retrieve the list of handlers
16086 reachable from a specific region and insn.
16087 (free_eh_nesting_info): New function to dispose of a list of
16088 reachable handlers.
16090 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16092 * flow.c (split_edge): Set JUMP_LABEL field.
16093 (commit_one_edge_insertion): Set head correctly for insert_before.
16094 When inserting insns, update insn block numbers if allocated.
16096 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16098 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
16099 retry_incomplete_types): Add static prototype.
16100 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
16101 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
16102 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
16103 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
16104 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
16107 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
16108 dwarf2out_start_source_file, dwarf2out_line): Likewise.
16110 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16112 * output.h (assemble_name): Constify a char*.
16114 * varasm.c (UNIQUE_SECTION, assemble_start_function,
16115 assemble_variable, assemble_name): Likewise.
16117 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
16119 * arm/pe.c (arm_pe_unique_section): Likewise.
16121 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
16123 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
16125 * i386/interix.c (i386_pe_unique_section): Likewise.
16127 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
16129 * i386/winnt.c (i386_pe_unique_section): Likewise.
16131 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
16133 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
16135 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
16137 * pa/pa.c (output_call): Likewise.
16139 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
16141 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
16143 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
16146 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
16149 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
16151 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
16152 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
16154 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
16156 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16158 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
16160 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16162 * tree.h (lang_identify): Constify a char*.
16163 (print_error_function): Add extern prototype. Constify a char*.
16165 * c-lang.c (lang_identify): Constify a char*.
16167 * objc/objc-act.c (lang_identify): Constify a char*.
16169 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16171 * genpeep.c (main): Make generated file include "function.h".
16172 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
16174 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16176 * Makefile.in: Update dependencies.
16177 * alias.c: Include "function.h"
16178 * c-decl.c: Likewise.
16179 * caller-save.c: Likewise.
16180 * calls.c: Likewise.
16181 * combine.c: Likewise.
16183 * explow.c: Likewise.
16184 * final.c: Likewise.
16185 * global.c: Likewise.
16186 * graph.c: Likewise.
16187 * local-alloc.c: Likewise.
16188 * loop.c: Likewise.
16189 * optabs.c: Likewise.
16190 * profile.c: Likewise.
16191 * recog.c: Likewise.
16192 * regclass.c: Likewise.
16193 * regmove.c: Likewise.
16194 * reload.c: Likewise.
16195 * reorg.c: Likewise.
16196 * resource.c: Likewise.
16197 * sched.c: Likewise.
16198 * stupid.c: Likewise.
16199 * config/1750a/1750a.c: Likewise.
16200 * config/a29k/a29k.c: Likewise.
16201 * config/arc/arc.c: Likewise.
16202 * config/arm/arm.c: Likewise.
16203 * config/arm/thumb.c: Likewise.
16204 * config/c4x/c4x.c: Likewise.
16205 * config/clipper/clipper.c: Likewise.
16206 * config/convex/convex.c: Likewise.
16207 * config/fx80/fx80.c: Likewise.
16208 * config/i860/i860.c: Likewise.
16209 * config/m68k/m68k.c: Likewise.
16210 * config/m88k/m88k.c: Likewise.
16211 * config/mips/mips.c: Likewise.
16212 * config/pdp11/pdp11.c: Likewise.
16213 * config/pyr/pyr.c: Likewise.
16214 * config/romp/romp.c: Likewise.
16215 * config/sh/sh.c: Likewise.
16216 * config/tahoe/tahoe.c: Likewise.
16217 * config/vax/vax.c: Likewise.
16218 * config/we32k/we32k.c: Likewise.
16219 * config/sparc/sparc.c: Include "function.h".
16220 (mem_min_alignment): Test current_function rather than
16221 regno_pointer_align.
16222 * config/pa/pa.c: Likewise.
16223 (compute_frame_size): Delete declaration of
16224 current_function_outgoing_args_size.
16225 * config/arc/arc.h (current_function_varargs): Delete declaration.
16226 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
16228 * config/i370/i370.h (current_function_outgoing_args_size): Delete
16230 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
16231 current_function_uses_pic_offset_table.
16232 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
16233 of current_function_returns_pointer.
16234 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16235 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16236 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16237 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16238 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16239 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
16240 * config/m88k/m88k.c: Include "function.h"
16241 (call_used_regs, current_function_pretend_args_size,
16242 current_function_outgoing_args_size, frame_pointer_needed): Delete
16244 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
16246 * config/mips/mips.h (current_function_calls_alloca): Delete
16248 * config/mn10200/mn10200.h (current_function_needs_context,
16249 rtx_equal_function_value_matters): Delete declarations.
16250 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
16251 flag_pic): Delete declarations.
16252 * config/pa/pa.h (current_function_pretend_args_size,
16253 current_function_decl): Delete declarations.
16254 * config/pa/som.h (current_function_varargs): Delete declaration.
16255 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
16257 * config/pyr/pyr.h (current_function_pretend_args_size,
16258 current_function_args_size, current_function_calls_alloca): Delete
16260 * config/sh/sh.h (current_function_varargs): Delete declaration.
16261 * config/sparc/sparc.h (current_function_outgoing_args_size,
16262 current_function_calls_alloca, current_function_decl): Delete
16264 * config/spur/spur.h (current_function_pretend_args_size,
16265 current_function_calls_alloca): Delete declarations.
16266 * config/v850/v850.c (current_function_outgoing_args_size): Delete
16268 * config/vax/vms.h (current_function_name): Delete declaration.
16269 * gcse.c: Include "function.h".
16270 (current_function_name, current_function_calls_setjmp): Delete
16272 * haifa-sched.c: Include "function.h".
16273 (forced_labels): Delete declaration.
16274 * jump.c: Likewise.
16275 * reg-stack.c: Likewise.
16276 * reload1.c: Likewise.
16277 * genemit.c (main): Make generated file include function.h.
16278 * genoutput.c (output_prologue): Likewise.
16280 * builtins.c (saveregs_value, apply_args_value): Delete variables.
16281 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
16282 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
16283 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
16284 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
16285 macros for some of them.
16286 (emit_filename, emit_lineno): Delete declarations.
16287 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
16288 regno_pointer_* variables through current_function.
16289 (gen_inline_header_rtx): Delete function.
16290 (save_emit_status): Delete function.
16291 (set_new_last_label_num): New function.
16292 (clear_emit_caches): New function.
16293 (restore_emit_status): Just clear last_labelnum and call
16295 (get_last_insn_anywhere): Variable sequence_stack is now accessed
16296 through macro seq_stack.
16297 (add_insn_after): Likewise.
16298 (add_insn_before): Likewise.
16299 (remove_insn): Likewise.
16300 (pop_topmost_sequence): Likewise.
16301 (in_sequence_p): Likewise.
16302 (start_sequence_for_rtl_expr): Likewise.
16303 (start_sequence): Likewise, and likewise for
16304 sequence_rtl_expr/seq_rtl_expr.
16305 (push_topmost_sequence): Likewise.
16306 (end_sequence): Likewise.
16307 (init_virtual_regs): Now takes a "struct emit_status *" argument.
16308 All callers changed. Store into that pointer instead of globals.
16309 (init_emit): Allocate emit elt of current_function.
16310 Changes for sequence_rtl_expr/sequence_stack renaming.
16311 Call clear_emit_caches instead of doing it in-line.
16312 Access regno_pointer_* variables through current_function.
16313 (init_emit_once) Don't clear sequence_stack.
16315 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
16317 (arg_pointer_save_area): Delete declaration.
16318 (finish_expr_for_function): Renamed from init_queue; no longer static.
16319 (init_expr): Don't call init_queue.
16320 (save_expr_status, restore_expr_status): Delete functions.
16321 (expand_expr): Changes to reflect new layout of struct function.
16322 Don't access current_function_check_memory_usage when current_function
16324 * expr.h (forced_labels, save_expr_regs, saveregs_value,
16325 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
16326 current_function_outgoing_args_size, current_function_arg_offset_rtx,
16327 current_function_uses_const_pool, function_call_count,
16328 current_function_uses_pic_offset_table, nonlocal_labels,
16329 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
16330 current_function_check_memory_usage, nonlocal_goto_handler_slots,
16331 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
16333 (finish_expr_for_function): Declare.
16334 * flags.h (current_function_has_nonlocal_label,
16335 current_function_has_nonlocal_goto, current_function_is_thunk,
16336 current_function_has_computed_jump): Delete declarations.
16337 * flow.c (forced_labels): Delete declaration.
16338 * function.c (current_function_pops_args,
16339 current_function_returns_struct, current_function_returns_pcc_struct,
16340 current_function_needs_context, current_function_calls_setjmp,
16341 current_function_calls_longjmp, current_function_has_nonlocal_label,
16342 current_function_has_nonlocal_goto, current_function_is_thunk,
16343 current_function_has_computed_jump, current_function_calls_alloca,
16344 current_function_contains_functions, current_function_returns_pointer,
16345 current_function_epilogue_delay_list, current_function_args_size,
16346 current_function_pretend_args_size, current_function_arg_offset_rtx,
16347 current_function_outgoing_args_size, current_function_varargs,
16348 current_function_stdarg, current_function_args_info, cleanup_label,
16349 current_function_name, current_function_uses_const_pool,
16350 current_function_instrument_entry_exit, current_function_return_rtx,
16351 current_function_uses_pic_offset_table, nonlocal_labels,
16352 current_function_internal_arg_pointer, current_function_cannot_inline,
16353 current_function_check_memory_usage, function_call_count,
16354 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
16355 nonlocal_goto_stack_level, return_label, save_expr_regs,
16356 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
16357 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
16358 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
16359 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
16360 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
16362 (push_function_context_to): Don't save them. Don't call
16363 save_storage_status, save_emit_status or save_expr_status.
16364 (pop_function_context_from): Don't restore them. Don't call
16365 restore_storage_status or restore_expr_status.
16366 (get_func_frame_size): New function.
16367 (get_frame_size): Use it.
16368 (assign_outer_stack_local): Reflect some member name changes in struct
16370 (put_reg_into_stack): Likewise.
16371 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
16373 (fixup_var_refs): Likewise.
16374 (fix_lexical_addr): Likewise.
16375 (trampoline_address): Likewise.
16376 (prepare_function_start): Clear field inlinable of current_function.
16377 (init_function_for_compilation): New function.
16378 (expand_dummy_function_end): New function.
16379 (expand_function_end): Call finish_expr_for_function.
16380 * function.h (struct emit_status): New; fields moved here from struct
16381 function and from global variables. Add accessor macros for some of
16383 (struct expr_status): Likewise.
16384 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
16385 (struct function): Add fields expr and emit, inlinable, inl_emit,
16386 original_arg_vector, original_decl_initial, inl_last_parm_insn,
16387 inl_max_label_num. Add many comments.
16388 Add accessor macros for all elts of struct function that no longer
16389 have a global variable.
16390 (cleanup_label, return_label, frame_offset, tail_recursion_label,
16391 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
16392 stack_slot_list): Delete declarations.
16393 (get_func_frame_size): Declare.
16394 (save_expr_status, restore_expr_status, save_emit_status,
16395 save_storage_status, restore_storage_status): Delete declarations.
16396 (init_virtual_regs): Declare.
16397 * output.h (current_function_pops_args,
16398 current_function_returns_struct, current_function_returns_pcc_struct,
16399 current_function_needs_context, current_function_calls_setjmp,
16400 current_function_calls_longjmp, current_function_calls_alloca,
16401 current_function_has_nonlocal_label, current_function_varargs,
16402 current_function_has_computed_jump, current_function_returns_pointer,
16403 current_function_contains_functions, current_function_args_size,
16404 current_function_pretend_args_size, current_function_stdarg,
16405 current_function_outgoing_args_size, current_function_args_info,
16406 current_function_name, current_function_return_rtx,
16407 current_function_epilogue_delay_list,
16408 current_function_uses_const_pool, current_function_cannot_inline):
16409 Delete declarations.
16410 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
16411 regno_reg_rtx): Delete declaration.
16412 (REGNO_POINTER_FLAG): Delete macro.
16413 * stmt.c (expand_goto): Changes to reflect that some fields in struct
16414 function were renamed.
16415 * stor-layout.c (save_storage_status, restore_storage_status): Delete
16417 * toplev.c: Include "function.h".
16418 (current_function_decl): Delete declaration.
16419 (compile_file): Call init_dummy_function_start and
16420 expand_dummy_function_end around some initializations that need to
16422 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
16423 Call init_function_for_compilation.
16424 * unroll.c: Include "function.h"
16425 (unroll_loop): Access regno_pointer_* variables through
16428 * tree.h (struct tree_decl): Add elt f to saved_insns member.
16429 (DECL_SAVED_INSNS): use it.
16430 (expand_dummy_function_end): Declare.
16431 (init_function_for_compilation): Declare.
16432 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
16433 that it's no longer an INLINE_HEADER.
16434 (expand_call): Likewise.
16435 * integrate.c (finish_inline): Delete function.
16436 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
16437 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
16438 args. Don't generate an INLINE_HEADER rtx, just return the arg
16439 vector. All callers changed.
16440 (save_for_inline_copying): Create a duplicate struct emit_status to
16441 hold the emit state for compiling the current function. Use this and
16442 the other new fields in struct function that are for integration
16443 instead of an INLINE_HEADER.
16444 Use memcpy instead of bcopy.
16445 Store the current struct function in DECL_SAVED_INSNS of fndecl.
16446 (save_for_inline_nocopy): Similar changes, except no new emit_status
16448 (expand_inline_function): Get information from function structure,
16449 not from an inline header rtx.
16450 (output_inline_function): Lose code to extract the necessary
16451 information from an inline header; simply put back the function
16452 structure into current_function. Clear its inlinable elt.
16453 * rtl.def (INLINE_HEADER): Delete.
16454 * rtl.h: Delete all accessors for an INLINE_HEADER.
16455 (gen_inline_header_rtx): Delete declaration.
16456 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
16457 Delete declarations.
16458 (REGNO_POINTER_ALIGN): Delete.
16459 (clear_emit_caches): Declare.
16460 (set_new_last_label_num): Declare.
16462 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
16464 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
16466 * except.c (expand_eh_region_start_for_decl): Always start a new block.
16467 * stmt.c (is_eh_region): Make sure current_function is present, too.
16469 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
16471 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
16472 for 64bit PA targets.
16474 * pa.h (SELECT_SECTION): Define.
16475 * som.h (SELECT_SECTION): Delete.
16477 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16479 * alias.c (init_alias_analysis): Wrap call to
16480 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
16482 1999-08-07 Bruce Korb <autogen@linuxbox.com>
16484 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
16485 <sys/asm.h> contains an asm comment with an apostrophe
16486 * fixinc/inclhack.sh: regen
16487 * fixinc/fixincl.x: regen
16489 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
16491 * function.c (init_function_start): Clear prologue & epilogue.
16492 (prologue_epilogue_contains): New function.
16493 * alias.c (init_alias_analysis): Use it.
16494 * rtl.h (prologue_epilogue_contains): Declare it.
16496 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
16498 * jump.c (onlyjump_p): New function.
16499 * rtl.h: Declare it.
16500 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
16501 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
16503 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
16505 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
16506 to invert loops. Simplify block scanning.
16508 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16510 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
16511 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
16513 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
16515 * config/sparc/liteelf.h: New file to support sparclite-elf target
16516 * config/sparc/t-sp86x: New file to support sparc86x targets
16517 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
16518 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
16519 * configure.in: Support above target triplets
16520 * configure: Regenerated
16522 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
16524 * fixinc/server.c (server_setup): Do not prefix function used as
16525 parameter with `&'.
16527 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
16529 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
16530 Remove fp reg alternatives.
16532 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
16534 * Makefile.in (TAROUTOPTS): Kill.
16535 (install-headers-tar): Use "xpf" for tar headerfile extraction
16536 * i370/x-oe (TAROUTOPTS): Delete.
16537 * m68k/x-apollo68 (TAROUTOPTS): Delete.
16538 * m68k/x-hp320 (TAROUTOPTS): Delete.
16539 * m68k/x-hp320g (TAROUTOPTS): Delete.
16540 * gcc.texi: Update bug reporting text.
16542 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16544 * reg-stack.c (change_stack) Fixed problem with negative array index.
16546 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
16548 * extend.texi, install.texi: Fix spelling mistakes.
16550 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
16551 (s-attrtab); No longer try to use pre-made insn-attrtab file.
16552 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
16553 PREMADE_ATTRTAB_MD.
16554 * mips/t-ecoff: Likewise.
16555 * mips/t-elf: Likewise.
16556 * mips/t-mips: Likewise.
16557 * mips/t-osfrose: Likewise.
16558 * mips/t-r3900: Likewise.
16559 * mips/t-svr3: Likewise.
16560 * mips/t-svr4: Likewise.
16561 * mips/t-ultrix: Likewise.
16563 * gcc.texi: Document recommend means to provide software floating
16564 point libraries in libgcc.a
16566 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
16568 * c-lex.c (yylex): We can have a number with no digits.
16570 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
16572 * jump.c (delete_prior_computation): New function, broken
16573 out of delete_computation. Check for side effects with
16574 side_effects_p instead of FIND_REG_INC_NOTE. Handle
16575 multi-word hard registers.
16576 (delete_computation): Use it. Check for side effects with
16577 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
16578 missing REG_DEAD note for a register which is both set and
16581 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
16583 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
16584 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
16585 (ASM_FILE_START): Import _mcount with the right type.
16586 (ASM_DECLARE_FUNCTION_NAME): Define.
16587 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
16588 * pa.c (output_function_prologue): Always emit the function's label
16590 * pa.h (TEXT_SPACE_P): Define.
16591 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
16592 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
16593 * som.h (TEXT_SPACE_P): Delete.
16594 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
16595 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
16597 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
16599 * expr.c (emit_group_load): Allow src to be a CONCAT.
16601 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16603 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
16604 (___mulsi3): Use '!' comment character.
16606 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16608 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
16610 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
16612 * gcc.c: Update URLs and mail addresses.
16613 * gcc.texi: Likewise.
16615 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
16617 * rs6000.c (current_file_function_operand): Return zero for
16619 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
16621 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
16624 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
16626 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
16627 allocate space in the stack frame for the PIC register.
16629 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
16631 * m68k.md (xordi3, anddi3): These patterns are not available on
16634 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
16636 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
16637 (PUT_REAL): Likewise.
16639 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16641 * final.c (shorten_branches): Don't add an alignment for loops
16642 that have no label inside.
16644 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16646 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
16647 prototypes in macro HAVE_cmpstrsi.
16649 * cpplib.c (cpp_get_token): Remove unused label `op3'.
16651 * emit-rtl.c (operand_subword): Remove unused variable
16654 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
16656 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
16658 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
16660 * cpphash.c (macroexpand): Delete leading whitespace when arg
16661 is concatenated before.
16662 (unsafe_chars): Correct test for whether + and - can extend a
16665 * cppinit.c (cpp_start_read): Do dependencies for
16666 -include/-imacros files also.
16668 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
16669 tokenizing non-directive lines.
16670 (cpp_expand_to_buffer): Temporarily disable no-output mode.
16671 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
16674 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16676 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
16678 * c-lex.c: Sync with C++ frontend.
16679 (linemode): New variable.
16680 (parse_float): imag, conversion_errno, and type are output only.
16681 (yylex): Adjust. Move initial '.' case into main switch.
16683 (handle_generic_pragma): Just deal with tokens.
16684 (readescape): Use ISXDIGIT and ISGRAPH.
16685 * c-parse.in: Add END_OF_LINE token.
16687 * c-lex.c (lang_init): Generalize.
16688 (nextchar): Remove. Replace uses with UNGETC.
16689 (skip_white_space): Handle linemode here. Optimize for cpplib.
16690 (skip_white_space_on_line): Remove.
16691 (extend_token_buffer_to): New fn.
16692 (extend_token_buffer): Use it.
16693 (read_line_number, check_newline): Just deal with tokens.
16694 (token_getch, token_put_back): New fns.
16695 (yylex): Use them. More cpplib optimizations. Simplify.
16697 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
16698 Jason Merrill <jason@yorick.cygnus.com>
16700 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
16701 (consume_string): Make this smart about USE_CPPLIB.
16702 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
16703 (yylex): Rewrite to be intelligent about USE_CPPLIB.
16704 Also, clean up cases where we redundantly set token_buffer[0].
16705 (read_line_number): New fn.
16706 (ignore_escape_flag): New variable.
16708 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
16710 * a29k/t-a29kbare: Fix some comments.
16711 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
16712 (FPBIT, DPBIT): Define.
16713 * a29k/t-vx29k: Likewise.
16714 * arc/t-arc: Likewise.
16715 * arm/t-arm-elf: Likewise.
16716 * arm/t-bare: Likewise.
16717 * arm/t-pe: Likewise.
16718 * arm/t-pe-thumb: Likewise.
16719 * arm/t-semi: Likewise.
16720 * arm/t-thumb: Likewise.
16721 * arm/t-thumb-elf: Likewise.
16722 * arm/t-thumb-linux: Likewise.
16723 * h8300/t-h8300: Likewise.
16724 * i960/t-i960: Likewise.
16725 * i960/t-vxworks960: Likewise.
16726 * m32r/t-m32r: Likewise.
16727 * mips/t-ecoff: Likewise.
16728 * mips/t-elf: Likewise.
16729 * mips/t-r3900: Likewise.
16730 * pa/t-pro: Likewise.
16731 * rs6000/t-aix43: Likewise.
16732 * rs6000/t-beos: Likewise.
16733 * rs6000/t-newas: Likewise.
16734 * rs6000/t-ppccomm: Likewise.
16735 * rs6000/t-rs6000: Likewise.
16736 * rs6000/t-winnt: Likewise.
16737 * rs6000/t-xnewas: Likewise.
16738 * rs6000/t-xrs6000: Likewise.
16739 * sh/t-sh: Likewise.
16740 * sparc/t-elf: Likewise.
16741 * sparc/t-sparcbare: Likewise.
16742 * sparc/t-sparclite: Likewise.
16743 * sparc/t-splet: Likewise.
16744 * v850/t-v850: Likewise.
16745 * mn10200/t-mn10200: Fix comments.
16746 * mn10300/t-mn10300: Likewise.
16748 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
16749 dummy operand. Allocate a new pseudo for the dummy operand.
16750 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
16752 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
16754 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
16756 * configure: Rebuilt.
16757 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
16759 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
16761 * recog.c (preproces_constraints): Zero recog_op_alt before
16762 processing the constraints.
16764 * arm.c (typedef minipool_node): Renamed from pool_node.
16765 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
16766 (add_minipool_constant): New function.
16767 (dump_minipool): New function.
16768 (find_barrier): Remove special case for getting the insn size of
16769 an insn that references the constant pool.
16770 (minipool_fixup): New structure.
16771 (push_minipool_barrier): New function.
16772 (push_minipool_fix): New function.
16773 (note_invalid_constants): New function.
16774 (add_pool_constant, dump_table, fixit, broken_move): Delete.
16775 (arm_reorg): Rewrite code to fix up the constant pool into a
16776 series of mini-pools embedded in the insn stream.
16777 (arm_output_epilogue): New function, made mainly from the body
16778 of output_func_epilogue.
16779 (output_func_epilogue): Move insn generation part of epilogue code
16780 to arm_output_epilogue.
16781 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
16782 * arm.md (pool_range): New attribute.
16783 (zero_extendqidi2): Add attribute pool_range.
16784 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
16785 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
16786 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
16787 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
16788 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
16789 (epilogue): New expand.
16790 (epilogue_insn): New insn. Call arm_output_epilogue.
16792 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
16793 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
16795 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16797 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
16799 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
16801 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
16803 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
16805 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
16807 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
16809 * global.c: Fix comment.
16811 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
16813 * gcc.c (access_check): New static function.
16814 (find_a_file): Use it when searching a directory list.
16815 * collect2.c (find_a_file): Don't accept directories found when
16816 searching a directory list.
16818 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
16820 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
16821 function parameters with `&'.
16822 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
16824 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
16826 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
16827 or tidy_fallthru_edge if the last insn in the block is not
16828 an unconditional jump or a simple conditional jump.
16830 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16832 * Makefile.in (c-decl.o): Depends on defaults.h.
16834 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
16836 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
16838 (CLASS_MAX_NREGS): Likewise.
16840 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
16842 * cse.c (cse_insn): Fix dumb thinko in last change.
16844 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16846 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
16849 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
16851 * dwarf2out.c (add_location_or_const_value_attribute): Correct
16852 test for sizes of passed and declared parameter types.
16854 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16856 * fixincludes: Fix the return type of bsearch, char* -> void*.
16858 * fixinc/inclhack.def: Likewise.
16860 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
16862 * invoke.texi (-fdump-translation-unit): New option.
16864 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
16866 * expr.h (PROMOTE_PROTOTYPES): Move ...
16867 * defaults.h: ... to here.
16868 * c-decl.c: Include defaults.h instead of expr.h.
16869 * c-typeck.c: Include defaults.h.
16871 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
16873 * toplev.h (errorcount): Declare.
16874 (warningcount): Likewise.
16875 (sorrycount): Likewise.
16876 * c-lex.c (errorcount): Don't declare.
16877 * dwarf2out.c (errorcount): Don't declare.
16879 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
16881 * config/libgloss.h: Add a note discouraging use with ELF.
16882 * configure.in: Don't use libgloss.h for ELF targets.
16883 Always use_collect2 on a.out targets.
16885 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
16887 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
16888 (force_to_mode, case ASHIFTRT): Add shiftrt label.
16890 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16892 * loop.c (strength_reduce): When doing biv->giv conversion, update
16893 reg note of NEXT->insn.
16895 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
16897 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
16899 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
16901 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
16902 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
16903 Ensure expr.h is included.
16904 * c-typecheck.c (convert_arguments): Ditto.
16906 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
16908 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
16909 * config/convex/convex.h: Ditto.
16910 * config/dsp16xx/dsp16xx.h: Ditto.
16911 * config/fx80/fx80.h: Ditto.
16912 * config/gmicro/gmicro.h: Ditto.
16913 * config/i370/i370.h: Ditto.
16914 * config/i386/i386.h: Ditto.
16915 * config/m32r/m32r.h: Ditto.
16916 * config/m68k/m68k.h: Ditto.
16917 * config/m88k/m88k.h: Ditto.
16918 * config/mips/mips.h: Ditto.
16919 * config/pa/pa.h: Ditto.
16920 * config/pyr/pyr.h: Ditto.
16921 * config/tahoe/tahoe.h: Ditto.
16922 * config/we32k/we32k.h: Ditto.
16924 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
16925 based on arch size.
16927 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
16929 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
16932 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
16934 1999-08-02 Richard Henderson <rth@cygnus.com>
16936 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
16937 for the register spill block.
16938 (m32r_va_arg): New.
16939 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
16940 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
16942 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
16943 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
16944 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
16946 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
16948 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
16949 MAX_WCHAR_TYPE defined in sparc.h.
16950 * config/sparc/linuxaout.h: Likewise.
16951 * config/sparc/linux64.h: Likewise.
16952 Also default to -mvis if CPU is UltraSPARC.
16954 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
16956 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
16957 (RTX_OK_FOR_OLO10): Likewise.
16958 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
16959 %lo(), allow it in addresses...
16960 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
16961 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
16962 does not make sense.
16963 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
16964 (sparc_output_scratch_registers): New function.
16965 (output_function_prologue, sparc_flat_output_function_prologue): Use
16967 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
16969 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
16970 * configure.in: Add check for .register pseudo-op support in as and
16971 check for offsetable %lo().
16972 * acconfig.h: Add templates for the above checks.
16973 * configure: Regenerate.
16975 1999-08-02 Richard Henderson <rth@cygnus.com>
16977 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
16978 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
16979 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
16981 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16983 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16986 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
16988 * config/float-sparc.h: New file.
16989 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
16990 sparc-*-linux-gnu and sparc64-*-linux*.
16992 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16994 * rs6000.c (rs6000_va_list): Type is an array.
16995 (rs6000_va_start): Don't doubly adjust for varargs.
16996 (rs6000_va_arg): Evaluate long long GPR adjustment.
16998 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
17000 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
17001 -maix64 and -maix32.
17002 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
17003 LINK_SPEC): Change appropriately.
17004 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
17005 (u_short_cint_operand): Likewise.
17006 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
17008 * rs6000/t-aix43 (MULTILIB): Change to -m64.
17010 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
17012 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
17014 * rs6000/rs6000.c (num_insns_constant_wide): Correct
17015 for type promotion.
17016 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
17017 (non_add_cint_operand): Likewise.
17018 (logical_operand): Likewise.
17019 (non_logical_cint_operand): Likewise.
17020 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
17021 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
17022 (rs6000_select_rtx_section): Suppress warning.
17023 (small_data_operand): Suppress warning.
17024 (rs6000_got_register): Suppress warning.
17025 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
17026 type, so `J' is generally the wrong constraint for a SImode value;
17028 (andsi3_internal2): Likewise.
17029 (andsi3_internal3): Likewise.
17030 (iorsi3_internal1): Likewise.
17031 (xorsi3_internal1): Likewise.
17033 (movsf_softfloat): Likewise.
17034 (scc insns): Likewise.
17035 (movsi+2): Preserve sign bits of SImode constant.
17036 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
17037 (movdf+1): Sign-extend properly.
17038 (movdi_32+1): Sign-extend properly.
17039 (scc insns): Sign-extend properly.
17041 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
17044 1999-08-02 Richard Henderson <rth@cygnus.com>
17046 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
17047 -mcpu parsing code.
17048 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
17049 * alpha.md (all fp insns): Likewise.
17051 1999-08-02 Nick Clifton <nickc@cygnus.com>
17053 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
17056 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
17058 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
17059 pic_load_label generator directly.
17060 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
17061 No longer a named pattern.
17063 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
17065 * explow.c (force_reg): Call force_operand if X does not
17066 satisfy general_operand.
17068 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
17070 * fix-header.c (main): When testing for CONTINUED, use string
17071 equality, not pointer equality.
17073 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
17075 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
17077 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
17079 * cse.c (cse_insn): Fix loop which deletes insns after a jump
17080 that has become an unconditional jump.
17082 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
17083 (output_function_epilogue): Similarly.
17085 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17087 * tree.h (init_dummy_function_start): Declare.
17089 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17091 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
17092 last_expr_type, last_expr_value, block_start_count, block_stack,
17093 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
17094 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
17095 dynamically in stmt elt of struct function for each function.
17096 (struct nesting): Rename function_call_count elt to n_function_calls,
17097 target_temp_slot_level to block_target_temp_slot_level. All users
17099 (struct stmt_status): New structure definition.
17100 Add many accessor macros for stmt_status elements which previously
17101 were global variables.
17102 (init_stmt_for_function): Allocate stmt elt for current_function.
17103 Reflect that block_start_count was renamed to
17104 current_block_start_count.
17105 (save_stmt_status, restore_stmt_status): Delete functions.
17106 (preserve_subexpressions_p): Don't access loop_stack when outside
17108 (expand_start_bindings): Reflect that block_start_count was renamed to
17109 current_block_start_count.
17110 (expand_fixup): Likewise.
17111 (expand_decl): Don't access block_stack when outside a function.
17112 (expand_decl_cleanup): Likewise.
17113 (expand_dcc_cleanup): Likewise.
17114 (expand_dhc_cleanup): Likewise.
17115 (expand_anon_union_decl): Likewise.
17116 (set_file_and_line_for_stmt): New function.
17117 (in_control_zone_p): New function.
17119 * function.h (struct function): Add new elt stmt.
17120 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
17121 case_stack, nesting_stack, nesting_depth, block_start_count,
17122 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
17123 emit_lineno, goto_fixup_chain.
17124 (save_eh_status, restore_eh_status, save_stmt_status,
17125 restore_stmt_status): Delete declarations.
17126 * function.c (push_function_context_to): Don't call save_stmt_status.
17127 (pop_function_context_to): Don't call restore_stmt_status.
17128 * tree.h (in_control_zone_p): Declare.
17129 * rtl.h (set_file_and_line_for_stmt): Declare.
17131 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
17132 call set_file_and_line_for_stmt.
17134 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
17136 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
17137 Also update copyright.
17139 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17141 * c-pragma.c: Don't include "except.h".
17142 * emit-rtl.c: Likewise.
17143 * stor-layout.c: Likewise.
17144 * tree.c: Likewise.
17145 * varasm.c: Likewise.
17147 * flow.c: Include "function.h".
17148 * tree.h (init_dummy_function_start): Declare new function.
17150 * except.h (struct eh_status): New structure.
17151 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
17153 (eh_return_stub_label, ehstack, catchstack, ehqueue,
17154 catch_clauses, false_label_stack, caught_return_label_stack,
17155 protect_list, current_function_ehc): Add accessor macros for the
17156 corresponding fields in current_function->eh; delete declarations
17157 for all items that used to be declared here.
17158 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
17159 catch_clauses, false_label_stack, caught_return_label_stack,
17160 protect_list, current_function_ehc): Delete variables.
17161 (init_eh_for_function): Allocate current_function->eh.
17162 (save_eh_status, restore_eh_status): Delete functions.
17164 * function.h (struct function): Add fields next_global and eh.
17165 Delete all exception handling related fields.
17166 * function.c (current_function): New variable.
17167 (all_functions): New variable.
17168 (push_function_context_to): Don't allocate a struct function,
17169 use current_function instead. Call init_dummy_function_start when
17170 outside a function. Clear current_function before returning.
17171 (pop_function_context_from): Restore current_function.
17172 Don't free the restored struct function.
17173 (prepare_function_start): New function.
17174 (init_dummy_function_start): New function.
17175 (init_function_start): Break out some code into prepare_function_start
17178 * stmt.c (save_stmt_status): Don't call save_eh_status.
17179 (restore_stmt_status): Don't call restore_eh_status.
17181 * Makefile.in: Update dependencies.
17183 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
17185 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
17186 of depending on a magic constant value. Update comments.
17187 (hppa_expand_prologue): Similarly.
17189 * pa.md (reload_indi, reload_outdi): Allow any register for the
17190 original reload register.
17192 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
17194 * cccp.c (print_help): Change marcos to macros.
17196 1999-07-30 Richard Henderson <rth@cygnus.com>
17198 * c-typeck.c (initializer_constant_valid_p): Move ...
17199 * c-common.c (initializer_constant_valid_p): ... here. Use
17200 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
17201 of label addresses.
17202 * c-common.h (initializer_constant_valid_p): Declare.
17203 * c-tree.h (initializer_constant_valid_p): Remove.
17205 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
17207 * config/i386/sol2-c1.asm: Align the stack.
17208 * config/i386/sol2-gc1.asm: Likewise.
17210 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
17212 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
17213 -Asparclite for sparc86x.
17214 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
17216 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
17218 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
17220 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
17221 the user if using the non-default arch size in BI_ARCH configuration.
17222 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
17224 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
17225 Fix patterns so that they actually match.
17226 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
17227 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
17228 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
17230 (mulsidi3): Reflect this in the expand.
17231 (smulsi3_highpart): Only on TARGET_ARCH32.
17232 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
17233 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
17234 (umulsidi3): Reflect this in the expand.
17235 (umulsi3_highpart): Only on TARGET_ARCH32.
17236 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
17237 don't require g0 to be zero.
17238 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
17239 ({,u}divsi3): New expands.
17240 ({,u}divsi3_sp64): New patterns.
17241 (after lshrdi3_v8plus): Four new patterns to help combiner
17242 optimizing nested mixed mode shifts.
17244 * config/sparc/sparc.c (sparc_override_options): Use deprecated
17245 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
17246 speed things up. Don't use them by default on plain v9 in 64bit
17247 mode, according to what SPAMv9 sais.
17249 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
17250 top 32 bits of %[og][0-7] in signal handlers.
17251 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
17253 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
17255 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
17256 (ashlsi3): Corresponding changes.
17258 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
17260 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
17262 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
17264 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17266 * arm.h (Hint): Delete macro.
17267 Substitute HOST_WIDE_INT for Hint in some prototypes.
17268 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
17270 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
17272 * builtins.c (expand_builtin_setjmp): Use force_operand to
17273 make sure that the buffer address is in a suitable form to be
17274 passed to force_reg.
17276 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
17278 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
17281 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
17283 * pa.md (indirect_jump): Remove mode from match_operand. Verify
17284 proper mode in the condition string.
17285 (icacheflush, dcacheflush): Remove modes from match_operands.
17287 * pa.c (emit_move_sequence): Always convert scratch_reg to the
17288 proper mode before using it.
17290 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
17293 * pa.c (store_reg): Do not call add_high_const generator directly.
17294 (load_reg, set_reg_plus_d): Likewise.
17295 * pa.md (add_high_const): No longer a named pattern.
17297 * pa.c (legitimize_address): Consistently use Pmode rather than
17298 SImode. Do not call gen_pic2_highpart directly anymore.
17299 * pa.md (pic2_highpart): No longer a named pattern.
17300 (pic2_lo_sum): Similarly. Reformat to make more readable.
17302 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
17307 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17309 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
17311 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
17313 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
17314 and tag the spill mems.
17315 (hppa_va_start): New.
17316 (hppa_va_arg): New.
17317 * pa.h (EXPAND_BUILTIN_VA_START): New.
17318 (EXPAND_BUILTIN_VA_ARG): New.
17320 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
17322 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
17323 and tag the spill mems.
17324 (mn10300_va_start): New.
17325 (mn10300_va_arg): New.
17326 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
17327 (EXPAND_BUILTIN_VA_ARG): New.
17329 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
17331 * mn10200.c (mn10200_va_arg): New.
17332 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
17334 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
17336 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
17337 rather than play with TREE_INT_CST_LOW.
17339 1999-07-27 Philip Blundell <pb@nexus.co.uk>
17341 * config/arm/telf.h: Include dbxelf.h.
17342 (CPP_PREDEFINES): Only define if not already defined.
17343 (ASM_IDENTIFY_GCC): Likewise.
17344 (SUBTARGET_EXTRA_SECTIONS): Likewise.
17345 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
17346 * config/arm/thumb.h (LINK_SPEC): Only define if not already
17348 (DBX_DEBUGGING_INFO): Don't define.
17349 * config/arm/linux-telf.h: New file.
17350 * config/arm/linux-tgas.h: New file.
17351 * config/arm/t-thumb-linux: New file.
17352 * config/arm/uclinux-elf.h: New file.
17353 * config/arm/uclinux-telf.h: New file.
17354 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
17355 thumb-*-uclinux): New targets.
17356 * configure: Regenerate.
17358 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
17360 * pa.md (post_store, pre_load): New expanders.
17361 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
17362 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
17363 need to directly generate RTL for them.
17364 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
17367 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
17369 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
17370 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
17371 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
17372 (secndary_reload_class): Make TARGET_ELF conditional compile.
17373 (print_operand_address): Similar.
17374 (output_toc): Print all values as hex.
17375 (get_issue_rate): Rearrange and add RS64A and PPC630.
17376 * rs6000.h (processor_type): Add RS64A and PPC630.
17377 (PROCESSOR_POWERPC64): New.
17378 (PROMOTE_MODE): Use word_mode.
17379 (RTX_COSTS): Add RS64A and PPC630.
17380 * rs6000.md (scheduling information): Add lmul and ldiv
17381 representing 64-bit integer multiply and divide. Add rs64a and
17382 PPC630 information.
17383 (ashldi3): Add support for "rldic" instruction.
17384 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
17386 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
17388 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
17389 instead of V8 for sparclite86x in cpu_table.
17391 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17393 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
17394 output_file_directive.
17396 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
17398 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
17399 tree for op1, not the rtl.
17401 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
17403 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
17404 to m88k_va_start, leaving only the register spill.
17405 (m88k_build_va_list): New.
17406 (m88k_va_start): New.
17407 (m88k_va_arg): New.
17408 * m88k.h (BUILD_VA_LIST_TYPE): New.
17409 (EXPAND_BUILTIN_VA_START): New.
17410 (EXPAND_BUILTIN_VA_ARG): New.
17412 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
17414 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
17415 Rename from expand_builtin_saveregs.
17416 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
17418 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
17420 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
17421 for the register spill block.
17422 (i960_build_va_list): New.
17423 (i960_va_start): New.
17424 (i960_va_arg): New.
17425 * i960.h (BUILD_VA_LIST_TYPE): New.
17426 (EXPAND_BUILTIN_VA_START): New.
17427 (EXPAND_BUILTIN_VA_ARG): New.
17428 * i960.md (store_multiple): Use change_address on individul mems.
17430 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
17432 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
17434 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
17435 (expand_builtin_va_end): Evaluate arg for side effects.
17436 * c-common.c (c_common_nodes_and_builtins): Construct a
17437 va_list_arg_type_node to handle array decomposition to pointer.
17439 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
17441 * except.c (start_dynamic_cleanup): Use force_operand on the
17444 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
17446 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
17447 * c4x.c (c4x_va_arg): New.
17449 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
17451 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
17452 has manual_pop set.
17454 1999-07-26 Nathan Sidwell <nathan@acm.org>
17456 * eh-common.h (__eh_matcher): Prototype correctly.
17458 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
17460 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
17461 (TARGET_SINGLE_PIC_BASE): Likewise.
17462 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
17464 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
17465 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
17466 (TARGET_OPTIONS): Add -mpic-register=N.
17467 (OUTPUT_INT_ADDR_CONST): New macro.
17468 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
17469 LEGITIMATE_PIC_OPERAND_P): Likewise.
17470 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
17471 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
17472 output_addr_const directly.
17473 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
17475 (thumb_pic_register, thumb_pic_register_string): Declare.
17477 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
17479 (label_mentioned_p): New function: Imported from arm.c.
17480 (legitimize_pic_address): New function: Imported from arm.c.
17481 (is_pic):New function: Imported from arm.c.
17482 (thumb_finalize_pic):New function: Imported from arm.c.
17483 (add_constant): Cope with PIC constants.
17484 (fixit): Cope with PIC constants.
17485 (output_return): Do not treat the PIC register as live if
17486 TARGET_SINGLE_PIC_BASE is true.
17487 (thumb_function_prologue): Do not treat the PIC register as live if
17488 TARGET_SINGLE_PIC_BASE is true.
17489 (thumb_expand_prologue): Do not treat the PIC register as live if
17490 TARGET_SINGLE_PIC_BASE is true.
17491 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
17492 TARGET_SINGLE_PIC_BASE is true.
17493 (thumb_print_operand): Accept '|'.
17494 (thumb_override_options): Process PIC options.
17496 * config/arm/thumb.md (movsi): Support PIC.
17497 (call_insn): Change "i" constraint to "X".
17498 (call_value_insn): Likewise.
17499 (consttable_4, consttable_8, consttable_end): Set and clear
17500 "making_const_table" as appropriate.
17501 (pic_load_addr, pic_add_dot_plus_four): New insns.
17503 * invoke.texi (Thumb Options): Fix spelling. Document new
17504 options -msingle-pic-base and -mpic-register=.
17506 1999-07-26 Andrew Haley <aph@cygnus.com>
17508 * config/m32r/initfini.c (__init): Use a full word immediate for
17509 __fini: this allows it to be placed in any memory region.
17511 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
17512 -mmodel=medium. This is OK for all memory models.
17514 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
17516 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
17517 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
17519 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
17521 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
17524 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
17526 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
17528 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
17529 (BUILD_VA_LIST_TYPE): New.
17530 (EXPAND_BUILTIN_VA_START): New.
17531 (EXPAND_BUILTIN_VA_ARG): New.
17532 * i860.c (output_delayed_branch): Disable.
17533 (output_delay_insn): Likewise.
17534 (i860_saveregs): New.
17535 (i860_build_va_list): New.
17536 (i860_va_start): New.
17537 (i860_va_arg): New.
17538 * i860.md: Disable all peepholes using output_delayed_branch.
17539 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
17541 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
17543 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
17544 (BUILD_VA_LIST_TYPE): New.
17545 (EXPAND_BUILTIN_VA_START): New.
17546 (EXPAND_BUILTIN_VA_ARG): New.
17547 * clipper.c (clipper_builtin_saveregs): Only dump registers.
17548 Return the address of the save area.
17549 (clipper_build_va_list): New.
17550 (clipper_va_start): New.
17551 (clipper_va_arg): New.
17553 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
17555 * arc.h (EXPAND_BUILTIN_VA_START): New.
17556 (EXPAND_BUILTIN_VA_ARG): New.
17557 * arc.c (arc_setup_incoming_varargs): Set alias set of
17559 (arc_va_start): New.
17562 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
17564 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
17565 (BUILD_VA_LIST_TYPE): New.
17566 (EXPAND_BUILTIN_VA_START): New.
17567 (EXPAND_BUILTIN_VA_ARG): New.
17568 * alpha.c (alpha_builtin_saveregs): Delete.
17569 (alpha_build_va_list): New.
17570 (alpha_va_start): New.
17571 (alpha_va_arg): New.
17573 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
17575 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
17577 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
17578 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
17580 * gcc.texi: More changes related to list conversion.
17581 * invoke.texi: Likewise.
17583 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
17585 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
17586 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
17587 (expand_builtin_next_arg): Accept ARGLIST not EXP.
17588 (stabilize_va_list): New function.
17589 (std_expand_builtin_va_start): New function.
17590 (expand_builtin_va_start): New function.
17591 (get_varargs_alias_set): New function.
17592 (std_expand_builtin_va_arg): New function.
17593 (expand_builtin_va_arg): New function.
17594 (expand_builtin_va_end): New function.
17595 (expand_builtin_va_copy): New function.
17596 (expand_builtin): Call them.
17597 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
17598 __builtin_{varargs_start,stdarg_start,end,copy}.
17599 (build_va_arg): New function.
17600 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
17601 (build_va_arg): Declare.
17602 * c-decl.c (ptr_type_node, va_list_type_node): New.
17603 * c-parse.gperf (__builtin_va_arg): New.
17604 * c-parse.in (VA_ARG): New token.
17605 (unary_expr): Recognize it.
17606 * expr.c (expand_expr): Expand VA_ARG_EXPR.
17607 * expr.h (std_expand_builtin_va_start): Declare.
17608 (std_expand_builtin_va_arg): Declare.
17609 (expand_builtin_va_arg): Declare.
17610 (get_varargs_alias_set): Declare.
17611 * tree.def (VA_ARG_EXPR): New.
17612 * tree.h (BUILT_IN_VARARGS_START): New.
17613 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
17614 (ptr_type_node, va_list_type_node): Declare.
17615 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
17616 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
17617 * m88k.h, m88k.c: Likewise.
17618 * mn10300.h, mn10300.c: Likewise.
17619 * pa.h, pa.c: Likewise.
17620 * rs6000.h, rs6000.c: Likewise.
17621 * sh.h, sh.c: Likewise.
17622 * sparc.h, sparc.c: Likewise.
17624 * emit-rtl.c (operand_subword): Copy alias set.
17625 (change_address): Likewise.
17627 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
17629 * pa.c (compute_frame_size): Scan all the used callee saved registers,
17630 not just the first one.
17632 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
17634 * config/arm/arm.h (TARGET_SWITCHES): Add
17635 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
17636 (TARGET_OPTIONS): Add -mpic-register=.
17637 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
17638 (arm_pic_register_string): Declare.
17639 (NEED_PLT_GOT): Delete, replace with ...
17640 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
17641 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
17642 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
17643 * config/arm/arm.c (arm_override_options): Add new option
17645 (arm_pic_register_string): New variable.
17646 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
17647 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
17648 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
17649 (output_return_instruction): Likewise.
17650 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
17651 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
17652 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
17654 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
17655 mention of -msched-prolog. Document new options -msingle-pic-base
17656 and -mpic-register=.
17658 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
17660 * haifa-sched.c (reemit_notes): Tidy.
17661 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
17664 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
17666 * explow.c (trunc_int_for_mode): New function.
17667 (plus_constant_wide): Use it.
17668 * combine.c (simplify_and_const_int): Likewise.
17669 (merge_outer_ops): Likewise.
17670 (simplify_shift_const): Likewise.
17671 * cse.c (simplify_unary_operation): Likewise.
17672 (simplify_binary_operation): Likewise.
17673 * emit-rtl.c (operand_subword): Likewise.
17674 * rtl.h: Declare it.
17676 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17678 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
17679 (use NUM_REGS instead of NUM_INTS).
17681 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17683 * builtins.c: New file.
17684 * expr.c (saveregs_value, apply_args_value): Delete definition,
17685 moved into builtins.c.
17686 (string_constant): No longer static.
17687 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
17688 apply_args_size, apply_result_size, result_vector,
17689 expand_builtin_apply_args, expand_builtin_apply,
17690 expand_builtin_return): Delete functions, moved into builtins.c.
17691 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
17692 * expr.h (saveregs_value, apply_args_value): Declare variables.
17693 (expand_builtin, string_constant): Declare functions.
17694 * Makefile.in: Update to build builtin.o.
17696 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
17698 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
17699 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
17700 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
17701 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
17703 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
17706 1999-07-21 Michael Meissner <meissner@cygnus.com>
17708 * print-rtl.c (print_rtx): Print the names of the virtual
17711 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
17713 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
17714 introduced in previous delta.
17716 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17718 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
17719 to avoid name clash.
17721 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
17723 * c-lex.c (yylex) : Correct the test for overflow when lexing
17726 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
17728 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
17729 (adjust_priority): Always call ADJUST_PRIORITY.
17730 (schedule_insn): Only put insns into the ready at cost 0.
17731 (schedule_block): Remove redundant initial sort. Give clock_var
17732 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
17734 * tm.texi (MD_SCHED_REORDER): Update docs.
17736 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
17737 * sparc.c (ultra_reorder_called_this_block): Delete.
17738 (ultrasparc_sched_init): Don't set it.
17739 (ultrasparc_sched_reorder): Don't check it.
17741 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
17743 * rs6000.h (struct rs6000_args): Add sysv_gregno.
17744 * rs6000.c (init_cumulative_args): Init sysv_gregno.
17745 (function_arg_boundary): Align DFmode.
17746 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
17747 to get fp reg and stack overflow correct.
17748 (function_arg): Likewise.
17749 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
17750 (setup_incoming_varargs): Restructure for ABI_V4; use
17751 function_arg_advance to skip final named argument.
17752 (expand_builtin_saveregs): Properly unskip the last integer arg
17753 when doing varargs. Adjust overflow location calculation.
17755 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
17756 explicitly unsigned.
17757 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
17758 (__VA_GP_REGSAVE): Similarly.
17759 (__va_longlong_p): Delete.
17760 (__va_arg_type_violation): New declaration.
17761 (va_arg): Restructure. Flag promotion errors. Align double.
17762 TFmode passed by reference.
17764 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
17765 in the HOST_BITS_PER_WIDE_INT > 32 case.
17767 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
17769 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
17771 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
17773 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
17774 * toplev.c (documented_lang_options): Add -fpreprocessed.
17775 * cpplib.h (struct cpp_buffer): Add preprocessed.
17776 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
17777 (cpp_start_read): Don't expand macros or emit an initial #line
17778 directive if -fpreprocessed.
17780 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
17782 * cpplib.h (struct cpp_buffer): Added manual_pop for
17783 better C++ tokenization.
17784 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
17785 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
17786 * c-common.c (cpp_token): Make non-static.
17788 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17790 * c-common.h: New file.
17791 * c-common.c (permanent_obstack): Delete unused declaration.
17792 (c_global_trees): New array.
17793 (c_common_nodes_and_builtins): New function; split off common code
17794 from init_decl_processing in both c-decl.c and cp/decl.c.
17795 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
17796 c_global_trees and accessor macros defined in c-common.h.
17797 Include c-common.h.
17798 * c-decl.c: Delete definitions for tree nodes that were replaced by
17800 (init_decl_processing): Build void_list_node.
17801 Call c_common_nodes_and_builtins; delete code to generate the common
17803 * objc/objc-act.c (build_module_descriptor): Rename variable
17804 void_list_node to avoid clash with c-common.h.
17806 * Makefile.in: Update dependencies.
17807 * objc/Make-lang.in: Likewise.
17809 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
17811 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
17812 (UNIQUE_SECTION_P): Likewise.
17813 (UNIQUE_SECTION): Likewise.
17815 1999-07-19 Linas Vepstas <linas@linas.org>
17817 * config/i370/README: New file.
17818 * config/i370/linux.h: New file.
17819 * config/i370/mvs.h: New file.
17820 * config/i370/oe.h: New file.
17821 * config/i370/t-linux: New file.
17822 * config/i370/t-mvs: New file.
17823 * config/i370/t-oe: New file.
17824 * config/i370/x-oe: New file.
17825 * config/i370/xm-linux.h: New file.
17826 * config/i370/xm-mvs.h: New file.
17827 * config/i370/xm-oe.h: New file.
17829 * i370.c (label_node_t): Add first_ref_page, label_addr,
17830 label_first_ref, label_last_ref members.
17831 (mvs_need_base_reload): Renamed from mvs_label_emitted.
17832 (MAX_MVS_LABEL_SIZE): Define.
17833 (MAX_LONG_LABEL_SIZE): Define.
17834 (alias_node_t, alias_anchor, alias_number): New.
17835 (mvs_function_table): Reorder for EBCDIC.
17836 (ascebc, ebcasc): Unconditionally define.
17837 (i370_branch_dest, i370_branch_length): New functions.
17838 (i370_short_branch, i370_label_scan): New functions.
17839 (mvs_get_label): Renamed from mvs_add_label. Search for
17840 an existing label before creating a new one.
17841 (mvs_add_label): New function.
17842 (mvs_get_label_page): New function.
17843 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
17844 over the entire list.
17845 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
17846 (mvs_check_page) [TARGET_ELF_ABI]: New function.
17847 (mvs_add_alias, mvs_need_alias): New functions.
17848 (mvs_get_alias, mvs_check_alias): New functions.
17849 (handle_pragma): New function.
17850 (mvs_function_check): New function.
17851 (unsigned_jump_follows_p): Search harder.
17852 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
17853 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
17854 * i370.h (TARGET_VERSION): Delete.
17855 (CPP_SPEC, CPP_PREDEFINES): Delete.
17856 (mvs_label_emitted): Delete.
17857 (TARGET_EBCDIC): Delete.
17858 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
17859 (HANDLE_PRAGMA): Define.
17860 (HARD_REGNO_NREGS): Handle complex modes.
17861 (HARD_REGNO_MODE_OK): Likewise.
17862 (CLASS_MAX_NREGS): Likewise.
17863 (RET_REG): Likewise.
17864 (EXTRA_CONSTRAINT): Define.
17865 (RETURN_IN_MEMORY): True for DImode.
17866 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
17867 (FUNCTION_PROFILER): Delete.
17868 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
17869 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
17870 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
17871 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
17872 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
17873 (ASM_FILE_START): Add "RMODE ANY".
17874 (ASM_OUTPUT_EXTERNAL): Check for aliases.
17875 (ASM_GLOBALIZE_LABEL): Likewise.
17876 (ASM_OUTPUT_LABELREF): Likewise.
17877 (ASM_OUTPUT_COMMON): Likewise.
17878 (PRINT_OPERAND): Handle 'K', 'W', default.
17879 (PRINT_OPERAND_ADDRESS): New.
17880 (Lots of defines): Add support for TARGET_ELF_ABI.
17881 * i370.md (attr length): New. Define for all patterns.
17882 (*): Lots of tweeks to assembly output and constraints.
17884 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
17886 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
17887 Disable patterns performing SImode comparisons with SImode values
17888 if TARGET_POWERPC64 and instruction does not sign-extend or does
17889 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
17890 differ for signed quantities.
17891 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
17892 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
17893 (decrement_and_branch_on_count): Add 64-bit variant.
17895 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17897 * final.c (output_asm_insn): When searching for the matching string
17898 for a given dialect, don't run past the end of the list of
17899 alternatives if there are fewer alternatives in the template than
17902 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
17904 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
17905 Removed paragraph about compression of files and size limitation,
17906 duplicated in the FAQ. Use gcc-patches for posting patches.
17907 * gcc.c (main): Updated URL with bug reporting instructions to
17908 gcc.gnu.org. Removed e-mail address.
17909 * system.h (abort): Likewise.
17911 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17913 * Makefile.in (stmp-multilib-sub): Make the files extracted
17914 from $(LIBGCC1) writable.
17916 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
17918 * config/arm/aout.h: Reformat for improved readability.
17920 * config/arm/arm.h: Reformat for improved readability.
17921 Replace uses of fprintf with asm_fprintf where appropriate.
17922 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
17923 function declaration assembler actions.
17924 (NUM_INTS): New macro: Convert from bytes to words.
17925 (NUM_REGS): New macro: Compute number of registers required to
17926 hold a quanitity of tyep MODE.
17927 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
17929 (NUM_ARG_REGS): New macro: The number of argument registers
17931 (ARG_REGISTER): New macro: Compute the register number of the Nth
17933 (LAST_ARG_REGNUM): New macro: The number of the last argument
17935 (SP_REGNUM): New macro: Register number of the stack pointer.
17936 (FP_REGNUM): New macro: Register number of the frame pointer.
17937 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
17938 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
17939 CUMULATIVE_ARGS so that it counts registers not bytes.
17941 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
17943 Replace uses of fprintf with asm_fprintf where appropriate.
17944 (output_ascii_pseudo_op): Replace with version from thumb.c
17946 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
17948 * config/arm/elf.h (CPP_PREDEFINES): Replace with
17949 SUBTARGET_CPP_SPEC.
17950 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
17951 (ASM_FILE_START): Emit ASM_APP_OFF.
17953 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
17955 * pa.c (compute_frame_size): Round frame according to
17956 STACK_BOUNDARY rather than a hardwired value.
17958 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
17960 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
17962 * configure: Rebuilt.
17964 * configure.in (hppa*-*-linux*): New configuration.
17965 * configure: Rebuilt.
17966 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
17967 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
17968 * pa/pa-linux.h: New file.
17969 * pa/t-linux: New file.
17970 * pa/xm-linux.h: New file.
17972 * pa.c (hppa_legitimize_address): Change references from SImode to
17973 either Pmode or word_mode as appropriate.
17974 (emit_move_sequence, store_reg, load_reg): Likewise.
17975 (set_reg_plus_d, hppa_expand_prologue): Likewise.
17976 (output_mul_insn): Likewise.
17977 * pa.h (PROMOTE_MODE): Likewise.
17978 (INITIALZE_TRAMPOLINE): Likewise.
17979 (Pmode): Define to word_mode.
17981 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
17982 value of 4. Allocate 8 bytes for each FP register save.
17983 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
17985 (hppa_expand_prologue): Likewise.
17986 * pa.h (PROMOTE_MODE): Likewise.
17987 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
17988 (FUNCTION_ARG_BOUNDARY): Likewise.
17990 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
17992 * pa.c (out_of_line_prologue_epilogue): Delete.
17993 (override_options): Remove -mspace related code.
17994 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
17995 (compute_frame_size): Only allocate space for register that
17996 actually need to be saved.
17997 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
17998 (TARGET_SWITCHES): Remove -mspace, -mno-space
17999 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
18000 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
18001 * pa/ee.asm, pa/ee_fp.asm: Delete.
18003 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
18005 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
18006 directive in column zero.
18008 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
18010 * m68k.c (output_function_prologue): Fix computation of save mask
18011 when generating PIC code.
18013 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
18015 * tree.c (build_type_attribute_variant): Move current_obstack restore
18016 after build_qualified_type call.
18018 1999-07-15 Mark Mitchell <mark@codesourcery.com>
18020 * configure.in: Use t-iris6, even with GNU LD.
18021 * config/mips/iris6gld.h: Fix typo in linker spec.
18022 * config/mips/t-iris6gld: Remove.
18024 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
18026 * rs6000.md (insv, extzv): Remove SImode dependence in named
18027 patterns. Explicitly generate DImode RTL if PowerPC64 and
18029 (insvdi): Reverse start and size in instruction template.
18031 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
18033 * invoke.texi: Typo fixes.
18035 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
18037 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
18038 handle at this time instead of silently generating incorrect code.
18039 (gen_imagpart): Likewise.
18041 * reload.c (find_reloads): Emit a USE for a pseudo register without
18042 a hard register if we could not create an optional reload for the
18045 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18047 * c-typeck.c (output_init_element, process_init_element):
18048 When advancing constructor_unfilled_fields for a RECORD_TYPE,
18049 check for nameless bit fields.
18051 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
18053 * regclass.c (scan_one_insn): Notice subregs that change the
18054 size of their operand.
18055 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
18057 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
18059 * configure.in (alpha*-*-*): Include alpha/t-ieee.
18060 * configure: Rebuilt.
18061 * alpha/t-ieee: New file.
18063 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
18065 * rs6000.c (find_addr_reg): Do not select r0 as an address
18068 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
18070 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
18072 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
18074 * rs6000.md (movsf): Do not force easy FP constants into memory.
18076 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
18077 immed_double_const to ensure they are properly truncated then
18080 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
18082 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
18083 always unless NO_DEBUG is used. Compile this code
18085 (replace_symbols_in_block): Compile it unconditionally.
18087 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
18089 * configure.in (i?86-*-elf*): New target.
18090 * configure: Rebuilt.
18091 * i386/i386elf.h, i386/t-i386elf: New files.
18093 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18095 * toplev.c (main): Don't complain about saying -gdwarf.
18096 (rest_of_compilation): Remove redundant code.
18098 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
18100 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
18102 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
18104 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
18105 "Li960R:", to avoid name clash.
18107 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18109 * loop.c (check_dbra_loop): When reversing a loop, delete all
18110 REG_EQUAL notes referencing the reversed biv except those which are
18111 for a giv based on it.
18113 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
18115 * version.c: Drop "gcc-" prefix from version #.
18117 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
18119 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
18120 the label if we're being verbose.
18122 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
18124 * m68k.c (output_function_prologue): Add pic register to mask
18125 if live and flag_pic.
18126 (output_function_epilogue): Likewise.
18128 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
18130 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
18131 directives in column zero.
18133 * pa/elf.h (ASM_FILE_START): Define.
18134 * pa/som.h (ASM_FILE_START): Include .level directives.
18135 * pa/hpux10.h (ASM_FILE_START): Delete.
18136 * pa/hpux11.h (ASM_FILE_START): Delete.
18138 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
18140 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18142 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
18143 when reload_out equals reload_in.
18145 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
18147 * invoke.texi (Spec Files): New node: Describe the contents of
18150 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
18152 * invoke.texi (DEC Alpha Options): Put @end table at
18153 beginning of line, to avoid confusing texi2html.
18155 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
18157 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
18158 introduced in previous delta.
18160 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18162 * reload1.c (gen_reload): When synthesizing a 3 operand add
18163 sequence, improve test for when to reload OP1 into the reload
18164 register instead of OP0.
18166 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
18168 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
18170 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
18172 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
18175 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
18177 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
18178 (va_dcl): Use __builtin_va_alist_t.
18180 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
18182 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
18183 on the permanent_obstack.
18184 * dwarfout.c (output_type): Likewise.
18186 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
18188 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
18189 Merged from c-typeck.c and cp/typeck.c.
18190 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
18191 Merged into c-common.
18193 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
18195 * c-lex.c (errorcount): Declare it.
18196 (finish_parse): Update errorcount when using CPPLIB.
18198 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
18200 * fixinc/inclhack.def(end_else_label): Double the backslash so
18201 sed gets a chance to see it.
18202 * fixinc/inclhack.sh: regen
18203 * fixinc/fixincl.x: regen
18205 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
18207 Add framework to support armv5 architecture when it becomes
18210 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
18211 (arm_arch5): New variable.
18212 (all_architectures): Add armv5 line.
18213 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
18214 -march=armv5 is specified on the command line.
18215 (arm_arch5): Export this variable.
18216 * invoke.texi: Document new string accepted by -march= switch for
18219 * config/arm/arm.h: Replace use of constant 12 as a register
18220 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
18221 * config/arm/arm.c: Replace use of constant 12 as a register
18222 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
18224 * config/arm/elf.h: Tidy up.
18225 * config/arm/coff.h: Tidy up.
18227 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
18229 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
18230 * gcc/config/mips/t-iris6gld: New file.
18231 * gcc/config/mips/iris6gld.h: Likewise.
18233 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
18235 * c-decl.c (widest_integer_literal_type_node,
18236 widest_unsigned_literal_type) : New.
18237 (init_decl_processing): Handle/use the two new types.
18238 * c-common.c (type_for_size,type_for_mode) : Same.
18239 * c-lex.c (yylex) : Same.
18240 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
18242 * c-tree.h (widest_integer_literal_type_node,
18243 widest_unsigned_literal_type) : New.
18245 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
18247 * dwarfout.c (field_byte_offset): Correctly compute the object's
18248 byte offset for the first bit of a field which crosses an alignment
18249 boundary on a !BYTES_BIG_ENDIAN target.
18251 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
18253 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
18256 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
18257 Jeff Law <law@cygnus.com>
18259 * ginclude/varargs.h (va_dcl): Use word_mode for type of
18262 * except.c: Include intl.h.
18263 (expand_eh_return): Set current_function_cannot_inline.
18264 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
18265 * function.h (struct function): Add eh_return_stub_label.
18266 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
18267 * Makefile.in (except.o): Depend on intl.h.
18269 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
18271 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
18272 same as offsettable in cases 1 and 2.
18274 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
18276 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
18277 (extlh, extwh): Likewise.
18279 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
18281 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
18283 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
18285 * configure.in: Add arm-pe and thumb-pe targets.
18286 * configure: Regenerate.
18288 * thumb.c (arm_naked_function_p): New function: Determines if
18289 a function is naked (has no gcc generated prologue/epilogue).
18290 (is_called_in_ARM_mode): Return true if the func has the
18291 interfacearm attribute.
18292 (output_return): Do not generate a return for naked functions.
18293 (thumb_function_prologue): Do not generate a prologue for
18295 (thumb_expand_prologue): Do not generate a prologue for naked
18297 (thumb_expand_epilogue): Do not generate an epilogue for naked
18299 (arm_valid_machine_decl_attribute): New function, copied from
18300 arm.c: Permit naked and interfacearm attributes.
18302 * config/arm/pe.c: New file: Support code for arm-pe target.
18303 * config/arm/pe.h: New file: Header file for arm-pe target.
18304 * config/arm/tpe.h: New file: Header file for thumb-pe target.
18305 * config/arm/t-thumb-pe: New file: Makefile fragment for
18308 1999-07-01 Mark Kettenis <kettenis@gnu.org>
18310 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
18311 -fPIC or -fpic is specified.
18313 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
18315 * expr.c (emit_block_move): Use copy_to_mode_reg for
18316 !TARGET_MEM_FUNCTIONS case too.
18318 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
18320 * configure: Rebuilt.
18321 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
18322 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
18323 definitions made redundant by dbxelf.h inclusion. Delete
18324 lots of definitions related to assembly output that are
18325 specific to the SOM object format.
18326 * pa.c (output_function_prologue): Do not emit the function's
18328 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
18329 * pa-pro.h: Deleted.
18330 * som.h: New file with SOM specific definitions.
18331 * elf.h: New file with ELF specific definitions.
18333 * elfos.h (const_section): Output a tab before assembler directives.
18334 (ctors_section, dtors_section): Likewise.
18335 (ASM_OUTPUT_SECTION_NAME): Likewise.
18337 * pa/pa1.h: Delete unused file.
18339 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
18341 * configure.in (hppa*-hp-hpux11*): New configuration.
18342 * configure: Rebuilt.
18343 * pa/pa-hpux11.h: New file.
18344 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
18347 * mips.md (leasi, leadi): New patterns.
18349 * expr.c (emit_block_move): Properly handle case where one of the
18350 block move arguments has a queued increment or decrement.
18351 (clear_storage): Similarly. Fix formatting goof.
18353 1999-06-28 "David O'Brien" <obrien@NUXI.com>
18355 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
18356 semicolon from the BSD VA_LIST replacement expression.
18358 * fixinc/inclhack.sh: regen
18359 * fixinc/fixincl.x: regen
18361 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
18362 now use the fixincl program.
18364 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
18366 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
18367 case. Also make the PIC register call_used.
18369 * m68k.h (FINALIZE_PIC): Delete.
18370 * m68k.c (finalize_pic): Delete.
18372 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
18374 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
18377 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
18379 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
18381 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
18383 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
18385 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
18387 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
18389 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
18391 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
18393 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
18395 * rs6000.c (output_toc): Always use hex values for floating-point
18396 constants. Store single-precision values in upper-half of TOC
18397 entry in 64-bit mode.
18398 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
18399 to final constraints.
18400 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
18401 (fctiwz): Improve accuracy of RTL for pattern.
18403 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
18405 * expr.c (expand_expr): Allow RTL_EXPR's through the
18406 MAX_INTEGER_COMPUTATION_MODE checks.
18408 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
18410 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
18411 such that MASK_SUPPORT_ARCH is not negative.
18413 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
18415 * loop.c (verify_dominator): Properly handle ADDR_VEC and
18416 ADDR_DIFF_VEC insns that appear inside loops.
18418 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
18419 Jeff Law <law@cygnus.com>
18421 * rs6000.md (movdf_hardfloat32): Revert previous patch.
18422 Handle LO_SUM the same as offsettable in cases 1 and 2.
18423 * rs6000.c (find_addr_reg): Revert previous patch.
18425 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
18427 * system.h (strstr): New external function declaration.
18428 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
18429 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
18430 * config.in, configure: Rebuilt.
18432 1999-06-24 Tom Tromey <tromey@cygnus.com>
18434 * gcc.c (main): Read user-specified specs files after computing
18435 additional startfile_prefixes.
18437 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
18439 Revert these two patches:
18441 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18442 * loop.c (strength_reduce): When doing biv->giv conversion, update
18443 reg note of NEXT->insn.
18445 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18446 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18448 (recombine_givs): Set ix field after sorting.
18450 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18452 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
18453 for the parts of an UNSPEC / UNSPEC_VOLATILE.
18455 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
18457 *fixinc/inclhack.def: Add fix development commentary
18458 (read_ret_type): reactivate and add selection clause
18459 (zzz_*): tweak output file name to match what is used in hackshell.tpl
18460 *fixinc/{fixincl.x|inclhack.sh}: regen
18462 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
18464 * expr.c (expand_expr): STRIP_NOPS before checking against
18465 MAX_INTEGER_COMPUTATION_MODE
18466 (check_max_integer_computation_mode): Likewise.
18468 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
18470 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
18472 1999-06-22 Jim Wilson <wilson@cygnus.com>
18474 * expr.c (store_expr): When target is a promoted subreg, return a
18475 promoted subreg as a result.
18477 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
18479 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
18481 (dwarf2out_define): Mark unused parameters appropriately.
18482 (gen_unspecified_parameters_die): Ditto.
18483 (gen_subprogram_die): Fix signed/unsigned warnings.
18484 (gen_variable_die): Ditto.
18486 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
18488 * fixinc/inclhack.def(end_else_label): combined else_label
18489 and endif_label and fixed the sed expression.
18490 *fixinc/{fixincl.x|inclhack.sh}: regen
18492 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
18494 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
18495 'x' when handling non-offsettable addresses
18497 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
18499 * final.c (shorten_branches): Don't try to split an insn that has
18502 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
18504 * config/mips/mips.c (symbolic_expression_p): New function.
18505 (mips_select_rtx_section): Put symbolic expressions in the
18506 data section, not the read-only data section.
18508 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
18510 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
18512 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
18514 * collect2.c (main): Log frame table count.
18515 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
18516 (scan_prog_file) [COFF]: Handle frame tables.
18518 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
18519 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
18520 * alpha/elf.h: Undef them again.
18521 * alpha/vms.h: Remove their definitions.
18523 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18525 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
18526 remove the clobber of r0 and change the REG_UNUSED note to
18529 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
18531 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
18532 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
18533 fits in HOST_WIDE_INT and one uses union to access a long constant
18536 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
18538 * sparc.c (sparc_override_options): Don't allow profiling for
18539 code models other than medlow.
18540 (sparc_function_profiler): New function from old FUNCTION_PROFILER
18541 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
18542 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
18543 (sparc_block_profiler): Likewise.
18544 (sparc_function_block_profiler_exit): Likewise.
18545 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
18546 (FUNCTION_BLOCK_PROFILER): Likewise.
18547 (BLOCK_PROFILER): Likewise.
18548 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
18549 (MCOUNT_FUNCTION): New.
18550 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
18551 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
18552 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
18553 (MCOUNT_FUNCTION): New.
18554 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
18555 (BLOCK_PROFILER): Delete.
18556 (MCOUNT_FUNCTION): New.
18558 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
18560 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
18562 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
18564 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
18567 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
18570 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
18573 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
18576 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
18578 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
18581 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
18583 * i386/djgpp.h (LIB_SPEC): New.
18584 (STARTFILE_SPEC): New.
18586 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
18588 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
18590 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
18593 * system.h (WSTOPSIG): New macro.
18595 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
18597 * c-pragma.c (push_alignment): Don't ignore alignments greater than
18599 (insert_pack_attributes): Take into account member natural
18602 * i386/winnt.c (exports_head): New static variable.
18603 (i386_pe_record_exported_symbol): New function.
18604 (i386_pe_asm_file_end): Use.
18605 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
18606 symbols to be emitted at end of assembly.
18607 (ASM_DECLARE_OBJECT_NAME): Likewise.
18608 (ASM_DECLARE_FUNCTION_NAME): Likewise.
18610 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
18613 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
18615 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
18618 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
18620 * haifa-sched.c (sched_analyze_1): Use free_list instead of
18621 zapping reg_last_uses directly.
18622 (sched_analyze_2, sched_analyze_insn): Likewise.
18623 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
18625 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
18627 * rs6000.md (movdf_hardfloat32): Use worst case insn length
18628 attributes for cases 1 and 2.
18630 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
18632 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
18635 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
18637 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
18639 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
18641 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
18642 PIC_OFFSET_TABLE_REGNUM for general alloaction.
18643 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
18644 must be stacked if it is used for PIC accesses.
18645 * arm.c (use_return_insn): Handle PIC register specially.
18646 (output_return_instruction): Likewise.
18647 (output_func_{prologue,epilogue}): Likewise.
18648 (output_expand_prologue): Likewise.
18650 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
18651 (*strsi_predec): Renamed from *strqi_predec.
18652 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
18653 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
18655 * arm.c (arm_override_options): Remove warning about PIC code
18656 not being supported.
18658 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
18660 * rs6000.c (find_addr_reg): New function.
18661 * rs6000.h (find_addr_reg): Declare.
18662 (offsettable_addr_operand): Delete.
18663 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
18664 from and stores to GPRs.
18666 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
18668 * alpha.c (alpha_expand_block_move): Use get_insns rather than
18669 gen_sequence as argument to emit_no_conflict_block.
18671 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18673 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
18674 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
18675 *fixinc/fixincl.x: regen
18676 *fixinc/inclhack.sh: regen
18678 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
18680 * added support for -mpcrel (PC relative addressing for m68k)
18681 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
18682 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
18683 * m68k.c (print_operand_address): Handle 32-bit PIC case.
18684 (comments for general_src_operand): Add some explanation
18685 about EXTRA_CONSTRAINTS.
18686 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
18687 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
18688 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
18689 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
18690 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
18691 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
18692 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
18693 if not already set.
18694 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
18695 * m68k.h (TARGET_PCREL): New target flag.
18696 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
18697 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
18698 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
18699 contains a SYMBOL_REF. Relax this constraint during reload, since
18700 we want to use the predicates, not reload's built-in concept of a
18701 valid memory address, to control what insns need reloading.
18702 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
18703 operands (essentially 'g', 'm', and 's' under normal circumstances).
18704 * m68k.c (print_operand): Cause printing of pc-relative addresses
18705 to include pc register.
18706 (print_operand_address): Ditto.
18707 (general_src_operand): Accept operands that are not only
18708 general_operands, but are also valid when used as a pc-relative
18710 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
18711 (memory_src_operand): Similar, for memory_operands.
18712 (pcrel_address): New predicate to accept the special case of a
18713 pc-relative address.
18714 * m68k.md (many patterns): Rewrite common SImode, HImode, and
18715 QImode insns to accept *_src_operand instead of *_operand where
18716 pc-relative operands can fit. For example, a pc-relative operand
18717 can be used as a memory source operand for addsi3, but not as a
18718 memory destination.
18719 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
18721 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
18723 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
18724 .thumb_set pseudo op to mark aliases of thumb functions.
18726 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
18728 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
18729 preference to ASM_OUTPUT_DEF, if it is defined.
18731 * tm.texi: Document new, optional target macro
18732 ASM_OUTPUT_DEF_FROM_DECLS.
18734 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18736 * fixincludes: ISCNTL patch
18737 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
18738 (dgux_int_varargs): new for DG/UX
18739 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
18741 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
18743 * invoke.texi (ia32 options): Fix typo.
18745 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18747 * loop.c (strength_reduce): When doing biv->giv conversion, update
18748 reg note of NEXT->insn.
18750 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
18752 * loop.c (move_movables): Note issues with replacing REGs with
18754 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
18756 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
18758 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
18760 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
18761 the reference to `mcount' was not correct for the ELF on FreeBSD.
18763 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18765 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18768 (recombine_givs): Set ix field after sorting.
18770 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
18772 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
18773 to safe to extract a subword out of a REG.
18775 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18777 * sh.md (mulsi3): Don't add a no-op move at the end.
18779 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18781 * cse.c (cse_insn): Don't put hard register source into tables for
18782 the last insn of a libcall.
18784 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18786 * loop.c (strength_reduce): Insert sets of derived givs at every
18787 biv increment, even if it's the only one.
18789 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18791 * dwarfout.c (add_incomplete_type): New fn.
18792 (output_type): Call it.
18793 (retry_incomplete_types): New fn.
18794 (dwarfout_finish): Call it.
18796 From Eric Raskin <ehr@listworks.com>:
18797 (output_type): Output types for bases.
18799 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
18801 * mips.c (mips_output_conditional_branch): Add `break'
18802 between `default' label and `close braces'.
18804 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
18806 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
18807 specifications and make it realistic.
18808 (LIB_SPEC): Likewise.
18810 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
18812 * config/mips/mips.c (mips_secondary_reload_class): Check for
18813 (PLUS (SP) (REG)) and return appropriate register class.
18814 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
18815 Handle (PLUS (SP) (REG)).
18816 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
18817 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
18818 of emit_insn for tablejump.
18820 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
18822 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
18823 asm_fprintf format string by itself.
18824 (output_function_profiler): Likewise.
18826 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
18828 * combine.c (simplify_logical, case AND): Only call
18829 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
18830 or the constant is positive.
18832 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
18834 * configure.in: Fix typo in rs6000-ibm-aix4 case.
18835 * configure: Regenerate.
18837 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
18839 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
18840 require a sub-version #.
18841 * configure: Rebuilt.
18843 1999-06-14 Robert Lipe (robertlipe@usa.net)
18845 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
18847 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
18849 * c-typeck.c (process_init_element): Detect excess elements in
18850 char array initializer.
18852 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
18854 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
18856 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
18858 * invoke.texi (Option Summary): Add -fpermissive flag.
18860 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
18862 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
18863 that require PIC code sequences.
18865 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
18867 * configure.in: Add new target: thumb-elf.
18868 * configure: Regenerate.
18869 * config/arm/t-thumb-elf: New file: Makefile fragment for
18871 * config/arm/telf.h: New file: Header file for thumb-elf
18874 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
18876 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
18877 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
18878 initializers is some circumstances.
18880 * fixinc/inclhack.def (endif_label): Add additional selector for
18881 more bogus stuff after #endif statements.
18882 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18884 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
18886 * i386/cygwin.h (SET_ASM_OP): Define.
18888 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
18890 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
18892 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18894 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
18897 * sh.md (ic_invalidate_line_i): Remove second alternative.
18899 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18901 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
18902 test for the presence of valid prototypes. Delete bypass expr.
18903 (ioctl_fix_ctrl): Correct the selection expression.
18904 (no_double_slash): Correct quoting rules
18905 *fixinc/fixincl.x: regen
18906 *fixinc/inclhack.sh: regen
18908 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
18910 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
18912 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18914 * rs6000.md (movsi_got_internal_mem): Delete.
18915 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
18916 (GOT_TOC_REGNUM): Delete.
18917 (PIC_OFFSET_TABLE_REGNUM): Define.
18918 (FINALIZE_PIC): Disable.
18919 * rs6000.c (rs6000_got_register): New code for fixed pic register.
18920 (rs6000_replace_regno): Delete.
18921 (rs6000_finalize_pic): Likewise.
18922 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
18924 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18926 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
18927 is a note; use <= for the compare; advance P while it is
18930 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
18932 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
18933 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
18935 * varasm.c (remove_from_pending_weak_list): Verify t->name
18936 is non-NULL before passing it to strcmp.
18938 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18940 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
18941 the typed arguments are not part of a comment
18942 (ioctl_fix_ctrl): Added a purpose comment
18943 *fixinc/fixincl.x: regenerate
18944 *fixinc/inclhack.sh: regenerate
18946 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18948 * invoke.texi: Add C4x invocation docs.
18950 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18952 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
18954 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
18956 (c4x_legitimize_reload_address): New function.
18957 * config/c4x/c4x.md: Update docs.
18959 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
18961 * fixincludes: Avoid removing '.'.
18962 * fixinc/fixinc.svr4: Likewise.
18963 * fixinc/fixinc.winnt: Likewise.
18964 * fixinc/inclhack.tpl: Likewise.
18965 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
18967 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18969 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
18971 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
18973 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
18975 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
18978 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
18980 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
18981 * configure: Regenerate.
18983 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
18985 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
18988 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
18990 * fixinc/inclhack.def (avoid_bool): Also catch
18991 "typedef [unsigned] int bool".
18992 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
18994 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
18995 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
18996 * configure: Rebuilt.
18998 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
19000 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
19001 such that we can override its definitions if necessary.
19002 (CPP_SPEC): New define. Support processor specific predefines via
19004 (CC1_SPEC): New define. Support processor specific compiler
19005 options via %(cc1_cpu).
19006 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
19009 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19011 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
19012 between sed's -e flag, and the open-quote following it.
19013 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
19015 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
19016 Jeffrey A Law (law@cygnus.com)
19018 * varasm.c (assemble_start_function): Remove the function
19019 from the pending weak decls list when we define a function.
19020 (assemble_variable): Similarly for variables.
19021 (weak_finish): Ignore items on the list with a NULL name.
19022 (remove_from_ending_weak_list); New function to "remove" an item
19023 from the pending weak declarations list.
19025 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
19027 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
19029 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
19031 * c-lex.c (GETC): Redefine to call getch.
19032 (UNGETC): Redefine to call put_back.
19033 (putback_buffer): New structure type.
19034 (putback): New static structure.
19035 (getch): New function.
19036 (put_back): New function.
19037 (yylex): Replace unused bytes from bad multibyte character.
19039 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
19041 * cpplib.c (do_define): Cast `alloca' return value.
19042 (do_include, do_undef, do_pragma): Likewise.
19043 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
19045 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
19046 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
19048 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
19050 * sparc.md (abstf2): This should be an expand.
19051 (split after abstf2_notv9): Fix mode.
19052 (abstf2_hq_v9): New pattern.
19053 (abstf2_v9): Only use when no hard quad.
19054 (absdf2_v9): Fix if target is not the same as source.
19055 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
19056 Add correct output constraints.
19058 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
19060 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
19061 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
19063 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
19065 * mips.h (mips_output_conditional_branch): New function.
19066 (mips_adjust_insn_length): Likewise.
19067 (ASSEMBLER_SCRATCH_REGNUM): New macro.
19068 (ADJUST_INSN_LENGTH): Likewise.
19069 * mips.c (print_operand): Add `F' and `W' for floating-point
19070 comparison opcodes.
19071 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
19073 (mips_adjust_insn_length): New function.
19074 (mips_output_conditional_branch): New function.
19075 * mips.md (length): Adjust attribute definition to handle
19076 conditional branches. Change lengths to bytes, rather than
19077 instructions throughout. Remove length attribute from
19078 instructions whose length is four bytes, and rely on the default
19080 (dslot): Fix typo in comment.
19081 Reword conditional branch patterns to use
19082 mips_output_conditional_branch.
19084 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19086 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
19087 (LIB_SPEC): Likewise.
19088 Link with -lprof1_r for -g/-pg.
19090 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
19092 * loop.c (check_dbra_loop): Fix change of Jan 19.
19094 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
19096 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
19097 (STARTFILE_SPEC): Define, override the svr4.h version.
19098 (ENDFILE_SPEC): Likewise.
19100 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
19102 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
19103 * fixinc/fixincl.x: Regenerated.
19104 * fixinc/inclhack.sh: Regenerated.
19106 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19108 * sh.c (barrier_align): Don't return early for normal branch/barrier
19109 when optimizing for SH2.
19111 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
19113 * i386/udk.h (LINK_SPEC): Correct linker search path for
19116 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19118 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
19119 (braf_label_ref_operand): Delete.
19120 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
19121 * sh.md (casesi_jump_2): Operand1 is now the inside of a
19122 label_ref, and has no predicate.
19123 The patten has a predicate to guard against invalid substitutions.
19124 (dummy_jump): Delete.
19125 (casesi): Update use of casesi_jump_2.
19127 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
19129 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
19130 *fixinc/fixincl.x: regenerate
19131 *fixinc/inclhack.sh: regenerate
19133 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
19135 * dwarf2out.c (add_incomplete_type): New fn.
19136 (gen_struct_or_union_type_die): Call it.
19137 (retry_incomplete_types): New fn.
19138 (dwarf2out_finish): Call it.
19140 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
19142 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
19143 current block starts with a CODE_LABEL and ends with a CALL and
19144 we can not find all the argument setup instructions for the CALL.
19146 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
19148 Revert this change:
19149 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
19150 something is a candidate for optimize_bit_field_compare.
19152 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19154 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
19156 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
19158 * alpha.c (override_options): Thinko in last patch.
19160 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
19161 (LIB_SPEC): Recognize -pthread.
19163 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
19165 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
19166 definition in config/arm/coff.h
19167 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
19169 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
19171 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
19172 fixes that need "file=xxx\n" prepended before invocation
19173 (start_fixer - new): starting the fixer process is complex enough
19174 to warrent its own routine. It prepends the "file=xxx\n" stuff.
19175 (process): uses the new routine; omit usage of putenv()
19176 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
19177 * fixinc/fixincl.x: regenerate
19179 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
19181 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
19182 and version #s (1.1 -> 2.96) as needed.
19183 * README.g77: Kill way out of date file in the toplevel directory.
19185 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
19187 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
19188 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
19189 * configure: Rebuilt.
19190 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
19191 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
19192 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
19193 (SWITCH_TAKES_ARG): Likewise.
19194 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
19195 * config/t-freebsd: Moved from config/i386/ so it can used for all
19198 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
19200 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
19202 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
19204 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
19205 * configure: Rebuilt.
19207 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
19209 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
19210 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
19211 * rs6000/rs6000.c (rs6000_file_start): Use putc.
19212 (rs6000_output_load_toc_table): Same.
19213 (output_prolog, output_mi_thunk): Same.
19214 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
19215 (ASM_GLOBALIZE_LABEL): Use putc.
19217 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
19219 * alpha.md (reload_*_help): New patterns and splitters.
19220 (reload_*): Use them.
19221 (mov[qh]i): Likewise.
19223 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
19225 * cccp.c (handle_directive): Handle backslash-newlines in quoted
19228 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
19230 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
19232 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
19234 * flow.c (mark_regs_live_at_end, insn_dead_p,
19235 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
19236 and HARD_FRAME_POINTER_REGNUM special treatment if reload
19237 hasn't run or the frame pointer is needed.
19238 * haifa-sched.c (attach_deaths): Likewise.
19239 * sched.c (attach_deaths): Likewise.
19241 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
19243 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
19244 calculate_can_reach_end returns nonzero.
19246 * configure.in (native gas tests): Search for an assembler in the
19247 same manner that the installed compiler will.
19248 * configure: Rebuilt.
19249 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
19251 * alias.c (find_base_term): Improve handling of addresses
19252 constructed from binary operations.
19254 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
19256 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
19258 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
19260 * function.h (cleanup_label, frame_offset): Declare.
19261 (tail_recursion_label, tail_recursion_reentry): Likewise.
19262 (arg_pointer_save_area, rtl_expr_chain): Likewise.
19263 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
19264 (tail_recursion_label, tail_recursion_reentry): Likewise.
19265 (arg_pointer_save_area, rtl_expr_chain): Likewise.
19267 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
19269 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
19271 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
19272 (MAX_OFILE_ALIGNMENT): Define.
19274 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
19276 * fixincl.c: Replace local include scheme with #includes of
19277 gansidecl.h and system.h.
19278 * procopen.c: Likewise.
19279 * server.c: Likewise.
19281 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
19283 * i386/t-dgux (EXTRA_PARTS): Add crti.o
19284 (crti.o): Add build rule and dependencies.
19285 * fixinc/fixinc.dgux: Use modified _int_varargs.h
19287 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19289 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
19290 (LIB_LINUX_SPEC): Likewise.
19291 (LIB_LINUX_SPEC): Add support for -pthread
19292 (CPP_OS_LINUX_SPEC): Likewise.
19293 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
19296 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
19298 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
19300 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
19301 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
19302 for IEEE math and CC_FCOMI.
19303 (put_jump_code): No IEEE if CC_FCOMI is set.
19305 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
19307 * fold-const.c (fold_truthop): Make the field reference unsigned
19308 when converting a single bit compare.
19310 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19312 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
19314 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
19316 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
19317 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
19320 * reload.c (push_reload): Do not call remove_address_replacements
19321 when presented with identical optional reloads.
19323 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
19325 * alpha.h (MASK_FIX, TARGET_FIX): New.
19326 (MASK_*): Reorganize constants.
19327 (CPP_AM_FIX_SPEC): New.
19328 (TARGET_SWITCHES): Add FIX.
19329 (EXTRA_SPECS): Likewise.
19330 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
19331 (SECONDARY_MEMORY_NEEDED): Likewise.
19332 (REGISTER_MOVE_COST): Likewise.
19333 * alpha.c (override_options): Add FIX support. Always use
19334 ALPHA_TP_PROG for ev6.
19335 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
19336 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
19337 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
19339 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
19341 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
19342 something is a candidate for optimize_bit_field_compare.
19344 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
19346 * gcc.texi (Passes): Document branch-shortening.
19347 * invoke.texi (Debugging Options): Document the fact that `-dp'
19348 outputs length information for instructions.
19350 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
19352 * flow.c: Revert previous delta.
19354 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
19356 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
19357 FRAME_POINTER_REGNUM.
19358 (mark_set_1): Ditto.
19359 (mark_used_regs): Ditto.
19361 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
19363 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
19364 (GOT_PCREL): New macro. Define to 1 if not already defined.
19365 * arm/elf.h (GOT_PCREL): Define to 0.
19366 * arm.c (arm_finalize_pic): Take into account the setting of
19369 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
19371 * output.h (STRIP_NAME_ENCODING): Provide default definition.
19372 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
19374 * flow.c (mark_set_1): Do not record BLKmode stores as dead
19375 store elimination candidates.
19377 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
19379 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
19382 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
19384 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
19385 Add use of x-aix41-gld.
19387 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
19389 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
19390 (ASM_OUTPUT_DESTRUCTOR): Define.
19392 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
19394 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
19395 last CODE_LABEL in a loop if we have previously passed a jump
19396 to the top of the loop.
19398 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
19400 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
19401 applying Philip's patch.
19403 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
19405 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
19408 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
19410 * loop.c (strength_reduce): Grow reg_single_usage as needed.
19412 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
19414 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
19415 Also remove a useless comment.
19417 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
19419 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
19421 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
19423 * collect2.c (main): Only generate import or export file and add
19424 to link arguments if non-empty. Use xmalloc not alloca.
19425 (write_{export,import}_file): Delete.
19426 (write_aix_file): New function.
19427 (locatelib): Use xmalloc not malloc.
19428 (GCC_OK_SYMBOL): Do not check type if aix64.
19430 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
19432 Based on patch by Scott Bambrough and Pat Beirne:
19433 * config/arm/arm.c (making_const_table): New variable.
19434 * config/arm/arm.h (making_const_table): Declare.
19435 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
19437 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
19438 Keep track of when we are building the constant table.
19440 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
19442 * config/arm/arm.c (arm_override_options): Fix erroneous warning
19445 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
19447 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
19450 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
19452 * tm.texi (FUNCTION_ARG): Correct description of a stack element
19455 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
19457 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
19459 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19461 * rs6000.c (output_mi_thunk): Enable full support again.
19463 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19465 * sh.h (BRANCH_COST): Define.
19467 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
19469 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
19471 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
19473 * function.c (assign_stack_local): Align stack slot propertly.
19474 (assign_outer_stack_local): Likewise.
19476 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
19478 * expr.h (lang_expand_constant): Declare.
19479 * toplev.c (lang_expand_constant): Define it.
19480 * varasm.c (output_constant): Use it.
19482 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19484 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
19485 Change function definitions to K&R style.
19487 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
19489 * fixinc/fixincl.c: We must not ignore SIGCLD now.
19491 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
19493 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
19494 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
19495 (several places): omit static initialization
19496 (process): use single fd, since only the read fd is used
19497 * fixinc/gnu-regex.c: define 'const' away, if not supported
19498 * fixinc/procopen.c(several places): omit static initialization
19499 * fixinc/server.c: define 'volitile' away, if not supported
19501 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
19503 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
19504 asm_fprintf and %L to generate the label name.
19505 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
19506 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
19508 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
19510 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
19511 insn for a conditional jump can not be found.
19513 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
19515 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
19516 on variables in specific sections other than .sbss and .sdata.
19518 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
19520 * stmt.c (expand_return): Call start_cleanup_deferral and
19521 end_cleanup_deferral around conditional code.
19523 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
19525 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
19526 filename lists. Utilizes new "krstr" AutoGen function.
19527 * fixinc/fixincl.x: Rebuilt.
19529 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
19531 * i386.c (output_float_compare): Avoid GNU-C extensions.
19533 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
19535 * version.c: Bump to distinguish mainline tree from the
19538 See ChangeLog.1 for earlier changes.