OSDN Git Service

* Correct omitted attribution.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index dbbe9d1..2472ad9 100644 (file)
@@ -1,3 +1,136 @@
+2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/install.texi (Specific, c4x): Fix cross-reference to the
+       main manual to work both for info and HTML versions.
+       
+2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
+           Matt Kraai <kraai@alumni.carnegiemellon.edu>
+       
+       * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
+       * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
+       (struct cpp_pool): New member first.
+       * cppinit.c (append_include_chain): Plug memory leaks.
+       * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
+       Allocate pragma structures from the (aligned) macro pool to
+       avoid leaking memory.
+       * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
+       so we don't leak memory.
+       * hashtable.c (ht_destroy): New.
+       * hashtable.h (ht_destroy): New.
+
+2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
+           Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * c-lex.c (map): Make const.
+       (cb_file_change): Update for callback passing a line map.
+       Don't assume we have a previous map.  Remove sanity check
+       about popping too many files.
+       * cpperror.c (print_location): Make map const.
+       * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
+       (cpp_make_system_header): Similarly.
+       (search_from): Similarly.
+       (_cpp_execute_include): Don't remember where we came from.
+       * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
+       (struct cpp_reader): Make map const.
+       (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
+       * cpplib.c (do_line): Update; line maps now hold sysp.
+       (cpp_push_buffer): Similarly.
+       (_cpp_do_file_change): Similarly; callback with map instead.
+       (cpp_get_line_maps): Constify return value.
+       (_cpp_pop_buffer): Update.
+       * cpplib.h (struct cpp_file_change): Remove.
+       (struct cpp_callbacks): Update.
+       (cpp_get_line_maps): Constify return value.
+       * cppmacro.c (_cpp_create_definition): Update.
+       * cppmain.c (struct printer): Constify map.
+       (maybe_print_line): Similarly.
+       (print_line): Similarly.  Deduce flags 1 and 2 here.
+       (cb_file_change): Update.
+       * line-map.c (free_line_maps): Warn regardless.
+       (add_line_map): Return pointer to const.  When passed NULL to_file
+       with LC_LEAVE, use the obvious values for the return point so the
+       caller doesn't have to figure them out.
+       (lookup_line): Return pointer to const.
+       (print_containing_files): Take pointer to const.
+       * line-map.h (struct line_map): New members reason, sysp.
+       (add_line_map): Return pointer to const.
+       (lookup_line): Similarly.
+       (print_containing_files): Take pointer to const.
+
+2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
+           Richard Henderson  <rth@redhat.com>
+
+       * regmove.c (regmove_optimize): Avoid setting a register twice in
+       a parallel set.
+
+2001-08-10  Richard Henderson  <rth@redhat.com>
+
+       * doc/extend.texi (Arrays and pointers implementation): Document
+       behavior of pointer/integer conversion.
+
+2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
+       * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
+
+2001-08-10  Richard Henderson  <rth@redhat.com>
+
+       * doc/extend.texi (C Implementation): New chapter.
+       * doc/gcc.texi (Top): Link it in.
+
+2001-08-10  Andrew Cagney  <ac131313@redhat.com>
+
+       * doc/install.texi (Specific): Fix CVS merge botch.
+
+2001-08-10  Richard Henderson  <rth@redhat.com>
+
+       * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
+       ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
+
+2001-08-10  Zack Weinberg  <zackw@stanford.edu>
+
+       * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
+       if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
+       this macro is now required.
+
+       * cselib.c (cselib_process_insn), flow.c (propagate_block),
+       loop.c (find_and_verify_loops), reload.c (reload): Check
+       for rtx code of CALL_INSN, not CALL, when deciding if we
+       need to check for REG_SETJMP note.
+
+       * gcse.c (compute_hash_table, compute_store_table): Update
+       the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
+       logic.
+
+       * config/avr/avr.c: Fix typo.
+       * config/convex/convex.c (expand_movstr): Use adjust_address.
+       * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
+       variable.
+       * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
+       * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
+       Fix typo.
+       * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
+       Do define STACK_BOUNDARY.
+       * config/i370/i370.c: Include expr.h.
+       * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
+       config/pa/som.h, config/v850/v850.h: Take in_ctors and
+       in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
+       and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
+       * config/m88k/m88k.c: Include c-tree.h after expr.h.
+       * config/pdp11/pdp11.c: Include expr.h and toplev.h.
+       * config/romp/romp.c: Include expr.h after tree.h.
+       Include toplev.h.
+       (output_fpop): Use xmalloc, not oballoc.
+       * config/we32k/we32k.c: Include expr.h.
+
+2001-08-10  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.h: Fix formatting.
+
+2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
+
+       * c-common.h (RETURN_NULLIFIED_P): Lose.
+       * c-semantics.c (genrtl_return_stmt): Don't check it.
+
 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
 
 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
-       * stmt.c (expand_null_return_1): Remove code to generate simple returns 
+       * stmt.c (expand_null_return_1): Remove code to generate simple returns
        and "use_goto" argument.
        (expand_null_return, expand_value_return): Update all callers.
        * function.c (expand_function_end): Remove code to generate simple
        (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
        (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
        * config/c4x/c4x.c: Move include of tree.h.
-       * config/clipper/clipper.c (clix_asm_out_constructor): New.     
+       * config/clipper/clipper.c (clix_asm_out_constructor): New.
        (clix_asm_out_destructor): New.
        * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
        (ASM_OUTPUT_DESTRUCTOR): Remove.
@@ -1783,6 +1916,22 @@ Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
        * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
        variable access.
 
+2001-07-26  Andrew Haley  <aph@redhat.com>
+       Joern Rennecke <amylaar@redhat.com>
+
+       * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
+       (SUBTARGET_CPP_ENDIAN_SPEC): New.
+       (SUBTARGET_CPP_SPEC): New.
+       (CPP_SPEC): Remove.
+       * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
+       (SUBTARGET_CPP_PTR_SPEC): New.
+       (CPP_DEFAULT_CPU_SPEC): New.
+       (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
+       SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
+       (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
+       SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
+       (SUBTARGET_CPP_SPEC): Define as an empty string.
+
 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * doc/install.texi (Configuration): Properly link the host