OSDN Git Service

* tree.c (make_lang_type_fn): New funtion pointer.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3e03944..821d357 100644 (file)
@@ -1,3 +1,256 @@
+Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+                         Mark Mitchell  <mark@codesourcery.com>
+
+        * tree.c (make_lang_type_fn): New funtion pointer.
+        (make_lang_type): Call it.
+        * tree.h (make_lang_type): Declare.
+        (make_lang_type_fn): Likewise.
+        * rs6000.c (rs6000_build_va_list): Use make_lang_type.
+
+Thu Oct  7 00:36:17 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
+       make sure that HIGH instructions are copied into BASE_REGS.
+
+Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
+
+Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
+
+       * c-decl.c (finish_struct): Use simpler method of
+       removing elements of a singly-linked list.
+
+Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
+
+       * alpha.md (peephole2's): Comment out peephole2's that generate
+       buggy code.
+
+Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
+
+       * genrecog.c (add_to_sequence): Disable mode check for
+       wildcard matches.
+
+Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * ggc-simple.c (init_ggc): Set empty_string.
+
+Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
+
+       * configure.in: Detect mmap.  Add --with-gc=foo to select
+       garbage collector; default to page if mmap available.
+       * Makefile.in (GGC): Substitute.
+
+Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
+
+       * c-decl.c (ggc_p): Enable.
+
+Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * flow.c (verify_flow_info): Make it extern & unconditionally define.
+
+1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
+
+       * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
+       string for little-endian-data.
+
+Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
+
+       * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
+       case somebody tries to compile --enable-checking code with gcc
+       1.34 or such.
+
+Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
+
+       * genrecog.c (add_to_sequence): Verify operand to label_ref is
+       VOIDmode.
+
+Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
+
+       * genconfig.c (main): Disable HAVE_conditional_arithmetic.
+       * jump.c (jump_optimize_1): Document why.
+
+Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * collect2.c (scan_prog_file, scan_libraries): Prototype function
+       pointers and casts for `int_handler' and `quit_handler'.
+
+       * flow.c (verify_flow_info, split_hard_reg_notes,
+       find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
+       remove_edge, remove_fake_successors): Add static prototypes.
+       (verify_flow_info): Wrap with macro ENABLE_CHECKING.
+       (mark_set_1): Initialize variable `regno'.
+       (unlink_insn_chain): Likewise for variable `curr'.
+       (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
+
+       * loop.c (strength_reduce): Initialize variable
+       `unrolled_insn_copies'.
+       (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
+       prototypes.  Change these functions to take const PTR parameters
+       to avoid prototype conflict when used as the comparson argument
+       for qsort.
+       (check_dbra_loop): Initialize variable `comparison_val'.
+
+       * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
+       (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
+       (find_valid_class): Initialize variable `best_class'.
+       (find_reloads): Call memcpy, not bcopy.
+
+       * reload1.c (gen_mode_int, dump_needs): Add prototypes.
+       (hard_reg_use_compare): Don't needlessly cast away const.
+       (reload_reg_class_lower): Likewise.
+       (choose_reload_regs): Initialize variable `regno'.
+
+Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
+
+       * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
+
+Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
+
+       * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
+       ({,d}discard): Add forward declarations.  Declare parameter as
+       unused.
+       (main_without_main): Explicitly declare return type to be int.
+       (memcpy): Properly declare.
+
+       * libgcc2.c (toplevel): If inhibit_libc is defined and not
+       building the trampoline support, declare malloc, free, and
+       atexit.
+       (__clear_cache): Mark arguments as potentially unused.
+       
+       * frame.c (toplevel): If inhibit_libc is defined, declare
+       malloc and free.
+
+Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
+
+       * flow.c (make_edge): Accept an optional 2D bitmap in which
+       to cache edge existence.  Update all callers.
+       (make_label_edge, make_eh_edge): Pass through the edge cache.
+       (make_edges): Provide the cache.
+
+Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
+       a char*.
+       (local_mbtowc): Change the type of variable `i' from int to size_t.
+
+       * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
+       (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
+
+Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
+
+       * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
+       after other includes that define the appropriate types.  Include
+       tm_p.h for getting user prototypes.
+       * ggc-callbacks.c (toplevel): Ditto.
+       * ggc-none.c (toplevel): Ditto.
+       * gcc-page.c (toplevel): Ditto.
+       * ggc-simple.c (toplevel): Ditto.
+
+Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
+                          Jonathan Larmour  <jlarmour@cygnus.co.uk>
+
+       * config/mips/mips.c (mips_move_2words): Split doubles if
+       ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
+
+Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
+
+       * genrecog.c (struct decision_test): New.
+       (struct decision): Remove test-related members, sort the rest by size.
+       (IS_SPLIT): Simplify.
+       (new_decision, new_decision_test): New.
+       (add_to_sequence): Use them.  No special handling for args of
+       non-MATCH codes.
+       (maybe_both_true): Renamed from not_both_true; return sense changed.
+       (maybe_both_true_1, maybe_both_true_2): New.  Broken out
+       of maybe_both_true and adjusted for decision_test.
+       (position_merit): Remove.
+       (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
+       (merge_accept_insn): New, broken out of merge_trees.
+       (merge_trees): Use them.  No special case for c_test; no node
+       splitting; use test type instead of position_merit.
+       (factor_tests): New.
+       (simplify_tests): New.
+       (break_out_subroutines): Don't write code now.
+       (find_afterward): New.
+       (write_afterward, write_switch, write_cond): New.
+       (write_action, is_unconditional): New.
+       (write_node): New.  Use them.
+       (write_tree_1): Rewrite.  Use the new functions above.
+       (write_tree): Remove afterward processing.
+       (write_subroutine): Simplify function variant emission.
+       (write_subroutines): New.
+       (same_codes, clear_codes): Remove.
+       (same_modes, clear_modes): Remove.
+       (write_header): New, broken out of main.
+       (make_insn_sequence): Use new_decision and new_decision_test.
+       (process_tree): New, broken out of main.
+       (main): Adjust for merge_trees interface change. 
+       Don't #define operands in the output file.
+       (record_insn_name): New, broken out of make_insn_sequence.
+       (debug_decision_2, debug_decision_1, debug_decision_0): New.
+       (debug_decision): New.
+
+1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
+
+       * resource.c (find_free_register): Mark class_str argument const.
+       * resource.h: Update prototype to match.
+
+       * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
+       * i386.md: Give all anonymous insns names.
+
+Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
+       blocks.
+
+Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
+
+       * toplev.c (dbr_sched_time): Unconditional.
+       (peephole2_time): New.
+       (compile_file): Add pass numbers to all of the dump file suffixes.
+       Dump peephole2_time.  Don't dump times for non-applicable passes.
+       (rest_of_compilation): Add pass numbers to dump file suffixes.
+       Conditionalize calls to the scheduler.
+       * invoke.texi: Update.
+
+Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
+
+       * flow.c (make_edges): Fix insn iteration.
+       (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
+       (find_basic_blocks_1): Fix spelling mistake.
+
+Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
+
+       * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
+       always have side-effects.  Use memset not bzero.
+       (make_node): Likewise.
+
+Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
+
+       * stmt.c (expand_anon_union_decl): When any of the elements of the
+       union is addressable, so is the entire union.
+
+Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
+
+       * sbitmap.c (sbitmap_ones): Don't set too many bits.
+
+       * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
+       * bitmap.c (bitmap_operation): Return true iff TO changed.
+       (bitmap_equal_p): New.
+       (bitmap_bit_p): Tidy arithmetic.
+       (debug_bitmap_file): Likewise.
+
+Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
+
+       * toplev.c (rest_of_compilation): Turn on cse_not_expected
+       before cse2 instead of after.
+
+Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
+
+       * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
+       register offsets. 
+
 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * cppinit.c (is_idchar initializer): Loosen tests to accept
@@ -11,7 +264,7 @@ Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
 
        * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
-       are always have side-effects.
+       always have side-effects.
 
 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)