OSDN Git Service

* cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 27d7978..90f2f06 100644 (file)
@@ -1,3 +1,391 @@
+2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
+        : Don't set fe_value.
+        * cpplib.h (AVOID_LPASTE): New flag. 
+        (struct cpp_hashnode): Remove fe_value.
+        * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
+        * cppmacro.c (builtin_macro): Don't set flags here.
+        (replace_args): Set AVOID_LPASTE flag on first token of an
+        argument, and the token following it.
+        (cpp_get_token): Set AVOID_LPASTE flag on first token of a
+        macro expansion, and on the token following it.  Do it for
+        builtins too.
+        * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
+
+2001-01-27  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/t-ieee: Remove multilibbing.
+       (TARGET_LIBGCC2_CFLAGS): Add -mieee.
+
+2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
+
+       * Makefile.in: Remove all dependencies on defaults.h.
+       * builtins.c: Don't include defaults.h.
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-pragma.c: Likewise.
+       * c-typeck.c: Likewise.
+       * combine.c: Likewise.
+       * i386.c: Likewise.
+       * frame-ia64.c: Likewise.
+       * cppexp.c: Likewise.
+       * crtstuff.c: Likewise.
+       * dbxout.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * dwarfout.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * final.c: Likewise.
+       * frame-dwarf2.c: Likewise.
+       * libgcc2.c: Likewise.
+       * optabs.c: Likewise.
+       * profile.c: Likewise.
+       * sdbout.c: Likewise.
+       * toplev.c: Likewise.
+       * tradcif.y: Likewise.
+       * tree.c: Likewise.
+       * varasm.c: Likewise.
+
+2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (expand_builtin_fputs): Use size_one_node when
+       transforming into fwrite.
+
+2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * extend.texi (Attribute Syntax): New section.
+
+2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * fixproto: Correctly install synthesised unistd.h and stdlib.h when
+       they didn't need fixing.
+
+2001-01-27  Janis Johnson <janis@us.ibm.com>
+
+       * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
+       if appropriate.
+       * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
+       to remove macro definitions that are duplicated from elfos.h.
+
+2001-01-27  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/sco5gas.h: Move ...
+       * config/usegas.h: ... here.
+       * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
+
+2001-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-typeck.c (struct constructor_stack): Add range_stack member.
+       (really_start_incremental_init): Clear it.
+       (push_init_level): Save constructor_range_stack and clear it if
+       pushing explicit braces.
+       (pop_init_level): abort if constructor_range_stack is non-zero at
+       explicit closing brace.  Restore saved constructor_range_stack if
+       not implicit.
+
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
+       into register was forced into memory.
+
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in: Remove uses of + before $(MAKE).
+
+2001-01-26  Richard Henderson  <rth@redhat.com>
+
+       * stmt.c (cost_table): Remove.
+       (COST_TABLE, cost_table_initialized): New.
+       (estimate_case_costs): Use the later instead of the former.
+       (balance_case_nodes): Likewise.
+
+2001-01-26  Richard Henderson  <rth@redhat.com>
+
+       * alias.c (objects_must_conflict_p): Read-only slots may not
+       conflict despite having the same type.
+
+2001-01-27  Michael Hayes  <mhayes@redhat.com>
+
+       * loop.c (loop_giv_reduce_benefit): Copy mode size into
+       int variable.
+       (check_ext_dependant_givs): Initialise u_start_val and
+       u_end_val.
+       (load_mems): Make last_max_reg unsigned.
+       (try_swap_copy_prop): Use INSN_P and initialise set.
+
+Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
+
+       * README.AVR : Removed.
+
+Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa-64.h (text_section): Remove declaration.
+
+       * pa.md (return_internal): Remove mode on PIC register use.
+
+2001-01-25  lars brinkhoff  <lars@nocrew.org>
+
+       * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
+       ASM_CLOSE_PAREN): fix typos.
+
+2001-01-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * acconfig.h: Define `const' to the empty string if neither
+       __STDC__ nor __cplusplus is defined.
+       * config.in: Regenerated.
+
+2001-01-25  David Edelsohn  <edelsohn@gnu.org>
+
+       * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
+       * collect2.c (main): Delete importf.  Add ".obj" file extension.
+       (GCC_CHECK_HDR): Handle AIX V5 new magic number.
+       (aix_std_libs): Add additional AIX libraries to skip.
+       * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
+       * config/rs6000/aix51.h: New file.
+
+2001-01-25  Michael Hayes  <mhayes@redhat.com>
+
+       * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
+       (loop_insn_emit_before): No longer static.
+       (move_movables): Replace emit_insn_after with loop_insn_emit_after.
+       (loop_givs_rescan, load_mems): Likewise.
+       (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
+       (maybe_eliminate_biv_1):
+       (move_movables): Replace emit_call_insn_before with
+       loop_call_insn_hoist.
+       * loop.h (loop_insn_emit_before): Add.
+       * unroll.c (copy_loop_body): Replace emit_insn_before with 
+       loop_insn_emit_before.
+
+2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * diagnostic.c (fatal): Request preprocessed source.
+
+Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
+       olddecl has argument types and newdecl has none, use the argument
+       types from olddecl.
+
+2001-01-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * dwarf2out.c (prefix_of): New function.  Determine longest common
+       prefix of the two arguments.  The units are whole path components.
+       (output_file_names): When adding a new directory find the one entry
+       with the longest common prefix already in the list.  Artificially
+       generate entry if there is none for this prefix.
+       Fix test to check whether the zeroth directory entry is used.
+
+Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
+       Changed all callers.  Take it into account when deciding if a
+       previously loaded value matches.
+
+2001-01-24  Richard Henderson  <rth@redhat.com>
+
+       * reload.c (find_reloads_subreg_address): Fail the substitution
+       if the resulting address is insufficiently aligned.
+
+2001-01-24  DJ Delorie  <dj@redhat.com>
+
+       * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
+       check the original operand's mode also.
+       * simplify-rtx.c (simplify_ternary_operation): Ditto.
+
+2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-parse.in (cast_expr): Move compound literals from here ...
+       (primary): ... to here.  Use standard terminology "compound
+       literal" instead of "constructor expression".
+
+2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gcc.1, cpp.1: Regenerate.
+
+2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * calls.c (emit_library_call_value_1): Memory slot for
+       pass-by-reference argument should have the mode of the argument,
+       not of the pointer to it.
+
+2001-01-24  Tom Tromey  <tromey@redhat.com>
+
+       * gcc.texi (G++ and GCC): Mention gcj manual.
+       (Standards): Link to section of manual mentioning gcj/Java
+       compatibility.
+
+2001-01-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
+       * cppinit.c (cpp_start_read): Remove deps_add_dep call.
+       * tradcpp.c (main): Add -imacros or -include'd dependencies
+       for -M*.
+       * cpp.texi (-M, -MM): Document -M -include behaviour.
+
+2001-01-24  Roger Collins <roger@ProProject.com>
+
+       * config/i386/xm-i386.h: Make __i386__ a boolean macro.
+
+2001-01-24  Will Cohen  <wcohen@redhat.com>
+
+       * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
+       whether registers are 32 bits or 64 bits in size.
+
+2001-01-24  Ben Elliston  <bje@redhat.com>
+
+       * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
+
+2001-01-24  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (builtin_longjmp_internal): New.
+       (builtin_longjmp): Use it instead of emit_indirect_jump.
+
+2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * bb-reorder.c (make_reorder_chain_1): Handle case where
+       jump edge goes to the same block as the fallthru edge.
+
+2001-01-23  Jim Wilson  <wilson@redhat.com>
+
+       * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
+       * frame.h (__ia64_personality_v1): Add prototype.
+       * libgcc2.c (ia64_throw_helper): Change personality declaration to
+       prototype form.  Add void * cast to first argument to personality
+       call.
+       * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
+       (asctoe113): Likewise.
+       * config/ia64/frame-ia64.c: Include eh-common.h.
+       * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
+       prototypes.
+       * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
+       to dump parameter.
+       (itanium_split_issue): Add prototype.
+       (gen_nop_type): Ifdef out.
+       (find_best_packet): Initialize best_packet.
+       (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
+       result.
+       * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
+       * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
+       (flushrs): Add explicit stop bit at end.
+       * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
+       trailing \ to >.
+
+2001-01-23  Chris Demetriou  <cgd@broadcom.com>
+
+       * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
+       of EH symbols.
+       * libgcc2.c (__terminate_func): Make variable static.
+       (__terminate_set_func): New function to set __terminate_func.
+       * libgcc2.h (__terminate_func_ptr): New typedef.
+       (__terminate_set_func): New function.
+
+2001-01-23  Richard Henderson  <rth@redhat.com>
+
+       * flow.c (init_propagate_block_info): Don't consider unchanging
+       memories for dead frame store elimination.
+
+2001-01-23  Richard Henderson  <rth@redhat.com>
+
+       * varasm.c (UNIQUE_SECTION): Move default implementation ...
+       * defaults.h: ... here.
+
+2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
+
+2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-lex.c (lex_charconst): Fix typo: s/p/str.
+
+2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * rs6000.h (rs6000_return_addr): Move prototype from here...
+       * rs6000-protos.h (rs6000_return_addr): ...to here.
+       (rs6000_init_expanders): Delete prototype.
+
+2001-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * invoke.texi: Replace , with \, inside @gccoptlist macros.
+       (Spec Files): Document %B and %j and %. and %v3 and %M and
+       %{S*&T} spec switches.
+
+2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
+
+2001-01-23  Chris Demetriou  <cgd@sibyte.com>
+           Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpperror.c: Merge handlers of PEDWARN and WARNING.
+       Have -Werror make pedantic warnings errors, like the
+       rest of GCC.
+
+2001-01-23  Phil Edwards  <pme@sources.redhat.com>
+
+       * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
+
+2001-01-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * integrate.h (struct inline_remap): Add compare_src, compare_mode.
+       * integrate.c (expand_inline_function): Initialize them.
+       (subst_constants): If changing COMPARE so that both its arguments
+       will be VOIDmode and the comparison mode will be lost, note
+       compare_mode.  Use the recorded compare_mode to optimize
+       IF_THEN_ELSE.
+
+2001-01-23  Jason Merrill  <jason@redhat.com>
+
+       * dwarf2out.c (new_die): Use xcalloc.
+       (output_die): Abort rather than emit a local reference to offset 0.
+
+2001-01-17  Andrew Haley  <aph@redhat.com>
+
+       * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
+       of a saved register; return NULL instead.
+       (copy_reg): Take a pointer to a source register rather than a
+       frame_state.
+       (next_stack_level): Remember the address in the stack frame of all
+       saved registers.
+       Use the saved register pointer array as the source of the CFA.
+       (throw_helper): Rewrite.  Unwind once rather than twice and keep
+       track of saved registers as we go.
+
+2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * c4x-protos.h (c4x_legitimize_reload_address): Remove.
+       * c4x.c (c4x_legitimize_reload_address): Remove.
+       * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
+       reload address for ldp(k) insn.
+
+Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.md (return_internal): Add a USE of the PIC register to ensure
+       it is restored after each call.
+       (return expander): Corresponding changes.
+
+2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * rs6000.h (INIT_EXPANDERS): Delete.
+       (RETURN_ADDR_RTX): Call rs6000_return_addr().
+       * rs6000.c (rs6000_override_options): Call *_machine_status from
+       here...
+       (rs6000_init_expanders): ...instead of here. Delete.
+       (rs6000_mark_machine_status): New function.
+       (rs6000_init_machine_status): Use xcalloc.
+       (rs6000_return_addr): Generate RTX for the return address.
+       (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
+       (rs6000_stack_info): Use it.
+
+2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
+
+       * gthr-win32.h: Include errno.h to get a declaration for
+       EINVAL and _mingw.h if the target is mingw32.
+
 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
 
        * cpp.texi: Correct typos.
@@ -30,14 +418,14 @@ Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
        memory.
        (c4x_r11_set_p, c4x_check_laj_p): New functions.
        * c4x-protos.h (c4x_check_laj_p): Add prototype.
-       * c4x.md (in_annul_slot_3): Do not allow auto-increment in last 
+       * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
        anulling slot because of silicon bug.
        (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
 
 2001-01-22  Alan Modra <alan@linuxcare.com.au>
 
-        * cppexp.c (parse_charconst):  Change `mask' type to agree
-        with parse_escape.
+       * cppexp.c (parse_charconst):  Change `mask' type to agree
+       with parse_escape.
 
 2001-01-21  Richard Henderson  <rth@redhat.com>
 
@@ -114,8 +502,8 @@ Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * cppmacro.c (funlike_invocation_p): Don't move back up to the
-        context of the top of the stack.
+       * cppmacro.c (funlike_invocation_p): Don't move back up to the
+       context of the top of the stack.
 
 2001-01-20  Jakub Jelinek  <jakub@redhat.com>