OSDN Git Service

2001-05-03 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3327ea4..c17d210 100644 (file)
@@ -1,3 +1,411 @@
+2001-05-03  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
+       and crtendS.o with PIC.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
+       negative numbers.
+       (___subdi3, ___adddi3): Use x instead of y as index register.
+       (__init_bss_section, __map_data_section): Optimize for 68HC12.
+       (__memset, __memcpy): Likewise.
+       (regs): Put the soft registers in bss for 68HC12.
+       (abort): Use trap to abort for 68hc12.
+       (__mulhi3, __mulhi32): Use emul for 68hc12.
+       (__mulsi3): Avoid to use the tmp soft register for 68hc12.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
+       * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
+       * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
+       (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
+       Set 68HC12 min offset to -65536.
+       (print_operand): Put parenthesis arround the operand if it refers 
+       to a symbol having the same name as a register.
+       (m68hc11_z_replacement): When z register is replaced by its 
+       equivalent soft register, force the insn to be re-recognized.
+       (m68hc11_check_z_replacement): Fix the test when destination is
+       the index register and z dies in the insn.
+       (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
+       costs according to processor variant.
+       (m68hc11_shift_cost): New function to compute shift costs.
+       (m68hc11_rtx_costs): Define costs according to processor variant.
+       (m6811_cost): Costs for 68HC11.
+       (m6812_cost): Costs for 68HC12.
+       (COSTS_N_INSNS): Remove.
+
+       * config/m68hc11/m68hc11.h (RTX_COSTS): New.
+       (DEFAULT_RTX_COSTS): Remove.
+       (CONST_COSTS): Define costs according to OUTER_CODE.
+       (processor_costs): New struct to define costs.
+       (m68hc11_cost): Pointer to current costs.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
+       and use m68hc11_notice_keep_cc when using leax/leay.
+       (addhi3 split): Reject split if the insn is handled by 
+       leax/leay above.
+       * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
+       push must be handled in a special way if the source operand uses
+       sp as index register.
+       (m68hc11_notice_keep_cc): New function.
+       (m68hc11_gen_movhi): Use it when an insn changes a register but 
+       not the flags.
+       (m68hc11_gen_movqi): Fix move for 68HC12.
+       * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
+       and don't pass operands[0] to emit_library_call_value.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
+       (zero_extendsi split): Simplify and use (zero_extendhi).
+       (*addhi3): Remove 'w' constraint since stack pointer is handled 
+       by (addhi3_sp).
+       (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
+       (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
+       (*ashrhi3_const): Fix shift by 7.
+       (*lshrsi3_const16): Fix template.
+       (call, call_value): Fix constraint and predicate.
+
+2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
+       (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
+       (CC_REGNUM): Likewise.
+       (*unnamed splits): Use above constants instead of hard coded numbers.
+       (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
+       (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
+       (*return_16bit, *unnamed peepholes): Likewise.
+
+2001-05-03  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
+       rs6000/rs6000.h twice.
+
+2001-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
+       (CPP_SPEC): Conditionally define MSDOS and GO32.
+       (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
+       (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
+       ignored.
+       (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
+
+2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
+
+2001-05-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * integrate.h (struct inline_remap): Add leaf_reg_map table.
+       * integrate.c (expand_inline_function): Use xcalloc to allocate
+       memory.
+       (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
+       registers.
+
+2001-05-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
+       if it is not set.
+
+2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
+       linker if -mrelax is given.
+       (TARGET_SWITCHES): Document -mrelax.
+
+       Re-installed 2001-01-09's patch:
+       * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
+       if it's wider than long and the target's long is wider than the
+       host's.
+
+2001-05-02  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
+       directly include rs6000/rs6000.h.  Instead do it in tm.h.
+
+2001-05-02  Stan Shebs  <shebs@apple.com>
+
+       * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
+       NSConstantString for NeXT-style runtimes.
+       (STRING_OBJECT_GLOBAL_NAME): New macro.
+       (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
+       OCTI_STRING_CLASS_DECL.
+       (constant_string_global_id): New macro.
+       (string_class_decl): Ditto.
+       (setup_string_decl): New function.
+       (build_objc_string_object): Use it to build a NeXT runtime
+       compatible string initializer.
+
+2001-05-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * tradcpp.c (do_define): Make sure we don't walk past limit.
+
+2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
+       offsets if not REG_OK_STRICT.
+
+       * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
+       (INT_REG_OK_FOR_INDEX_P): Likewise.
+       (INT_REG_OK_FOR_BASE_P): Likewise.
+       (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
+       (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
+       (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
+        INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
+       REG_OK_FOR_BASE_P. Take an additional parameter.
+       (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
+       (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
+       (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
+       (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
+       rs6000_legitimate_address() and use it.
+       * config/rs6000/rs6000.c: Update all callers.
+       (rs6000_legitimate_address): New function.
+
+2001-05-02  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_emit_move): Merge
+       special_constant conditional blocks together.
+
+2001-05-02  Dale Johannesen  <dalej@apple.com>
+
+       * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
+       parameter.
+       (STRICT_ARGUMENT_NAMING): Define.
+       * config/rs6000/rs6000.c (function_arg_advance, function_arg,
+       function_arg_partial_nregs, setup_incoming_varargs): Remove
+       args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
+       is defined.
+
+Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
+
+       * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
+       for replacement.
+
+       * expr.c (store_field): Do nothing except elaborate side-effects if
+       zero-bit field.
+
+2001-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-lex.c: NULL_PTR -> NULL.
+       * cse.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * gcse.c: Likewise.
+       * genpeep.c: Likewise.
+       * jump.c: Likewise.
+       * mips-tdump.c: Likewise.
+       * reload1.c: Likewise.
+       * rtlanal.c: Likewise.
+       * stmt.c: Likewise.
+       * stor-layout.c: Likewise.
+       * toplev.c: Likewise.
+
+2001-05-01  Per Bothner  <per@bothner.com>
+
+       * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
+       call do_pending_stack_adjust before emiting label.
+
+2001-05-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * extend.texi: Fix typo.
+
+2001-05-01  Stan Shebs  <shebs@apple.com>
+
+       * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
+       of UOBJC_MODULES_decl.
+       (generate_strings): Clear DECL_CONTEXT of new decl nodes.
+       (generate_descriptor_table): Ditto.
+       (generate_protocols): Ditto.
+       (generate_protocol_list): Ditto.
+       (generate_classref_translation_entry): Ditto.
+
+2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * invoke.texi (Optimize Options): Add documentation for `--param
+       max-delay-slot-insn-search' and `--param
+       max-delay-slot-live-search' and reorder --param section.
+       * params.def: Modify initial comment.
+       * params.h (param_info): Add `help' member.
+       * toplev.c (lang_independent_params): Include `help' description.
+       (display_help): Print --param parameters.
+
+2001-05-01  Zack Weinberg  <zackw@stanford.edu>
+
+       * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
+       Remove references to deleted files.
+       (*-*-openbsd): No need to override xmake_file.
+       (*-*-sysv4): Treat like *-*-sysv.
+
+       * configure.in: Probe for ldopen in various places, and set up
+       collect2 to be linked with them if found.
+       Don't dink with Windows registry stuff unless $host_os is a
+       Win32 os name.  Check to see if we need -ladvapi32.
+       * configure: Regenerate.
+
+       * Makefile: Get rid of CLIB and HOST_CLIB.
+       Substitute in COLLECT2_LIBS and link collect2 against its contents.
+       * build-make: Get rid of HOST_CLIB.
+
+       * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
+       config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
+       config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
+       config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
+       config/rs6000/x-rs6000: Delete.
+
+       * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
+       Don't set CLIB.
+
+       24 x-host fragments remain, 0 x-cpu, 3 top level.
+
+2001-05-01  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
+       * configure: Regenerate.
+
+2001-05-01  Angela Marie Thomas <angela@cygnus.com>
+
+       * Makefile.in (install-headers): Remove redundant dependency.
+
+2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-tree.texi (USING_STMT): Document.
+
+2001-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * combine.c: Likewise.
+       * rs6000.c: Likewise.
+       * except.c: Likewise.
+       * explow.c: Likewise.
+       * expr.c: Likewise.
+       * fold-const.c: Likewise.
+       * function.c: Likewise.
+       * gcc.c: Likewise.
+       * gcse.c: Likewise.
+       * integrate.c: Likewise.
+       * loop.c: Likewise.
+       * objc/objc-act.c: Likewise.
+       * recog.c: Likewise.
+       * reg-stack.c: Likewise.
+       * reload.c: Likewise.
+       * reload1.c: Likewise.
+       * simplify-rtx.c: Likewise.
+       * stmt.c: Likewise.
+       * varasm.c: Likewise.
+
+2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * diagnostic.def: New file.
+       * diagnostic.h (diagnostic_t): New enum.
+       * Makefile.in (diagnostic.o): Depend on diagnostic.def
+
+2001-04-30  Zack Weinberg  <zackw@stanford.edu>
+
+       * tsystem.h: Test only POSIX for availability of string.h 
+       and time.h.
+       * config.gcc (all systems): If USG appeared in xm_defines,
+       change it to POSIX.  If both USG and POSIX appeared, just
+       delete USG. Remove unnecessary quotes around xm_defines
+       settings.
+       (m68k-crds-unos*): Don't #define unos - tested nowhere.
+       (m68k-apple-aux*): Don't #define AUX - tested nowhere.
+       (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
+       powerpc-*-linux*): No need to set xm_defines - handled by
+       global settings for *-*-linux*.
+
+2001-04-30  Zack Weinberg  <zackw@stanford.edu>
+
+       * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
+       Always include gstab.h, not system stab.h.  Don't provide
+       default definitions of N_CATCH or N_OPT.  Always use the
+       gstab.h variant of STAB_CODE_TYPE.
+       * final.c: Don't include stab.h/gstab.h at all, or provide
+       defaults for N_SLINE and N_SOL.
+
+       * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
+       N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
+       available.
+       * sdbout.c: Always include gsyms.h instead of system syms.h.
+
+       * configure.in: No need to check for stab.h.
+       * configure, config.in: Regenerate.
+       * Makefile.in (final.o): Don't depend on gstab.h.
+
+2001-04-30  Mark Mitchell  <mark@codesourcery.com>
+           Richard Henderson  <rth@redhat.com>
+
+       * extend.texi: Improve documentation of volatile asms.
+
+2001-04-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-tree.texi: Fix thinko.
+       * gcc.texi: Likewise.
+
+2001-04-30  Richard Henderson  <rth@redhat.com>
+
+       * c-common.c (c_promoting_integer_type_p): New function, from the
+       corpse of old macro.  Properly promote too-small enumerations and
+       booleans.  Adjust all callers.
+       * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
+       (c_promoting_integer_type_p): Declare.
+       * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
+       * c-typeck.c: Likewise.
+       (default_conversion): Remove now redundant boolean check.
+
+2001-04-30  Jan Hubicka  <jh@suse.cz>
+           Richard Henderson  <rth@redhat.com>
+
+       * regmove.c (try_apply_stack_adjustment): Remove now redundant
+       sanity checks.
+       (combine_stack_adjustments_for_block): Don't combine stack
+       allocation followed by deallocations.  Handle grow-up stacks.
+
+2001-04-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * fdl.texi: New file.
+       * c-tree.texi: Use the GFDL.
+       * gcc.texi: Likewise.
+
+2001-04-30  Stan Shebs  <shebs@apple.com>
+
+       * invoke.texi: Add a section documenting Objective-C options.
+
+2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>
+
+       * emit-rtl.c (try_split):  Copy EH notes to sequence.
+
+2001-04-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * regmove.c (record_stack_memrefs): Catch all references to the
+       stack pointer.
+
+2001-04-29  Toomas Rosin <toomas at ns dot tklabor dot ee>
+
+       * Makefile.in(stmp-fixinc): quote shell assignment values
+
+2001-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
+
+       * gcc.c: Likewise.
+
+       * prefix.c: Likewise.
+
 2001-04-28  Stan Shebs  <shebs@apple.com>
 
        * objc/objc-act.c (handle_class_ref): Rewrite to flush target
@@ -7,7 +415,7 @@
 
        * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
        (NEXT_OBJC_RUNTIME): Define.
-       
+
 Sat Apr 28 21:02:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
@@ -42,7 +450,7 @@ Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
 
 2001-04-28  Martin Kalen  <martin.kalen@todaysystems.com.au>
 
-        * pa.c (FRP): Remove erroneous white space in macro definition.
+       * pa.c (FRP): Remove erroneous white space in macro definition.
 
 2001-04-28  Andreas Jaeger  <aj@suse.de>
 
@@ -53,8 +461,8 @@ Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
 
 2001-04-28  Andreas Jaeger  <aj@suse.de>
 
-        * md.texi: Use XX-bit instead of XXbit or XX bit where
-        appropriate.
+       * md.texi: Use XX-bit instead of XXbit or XX bit where
+       appropriate.
 
 2001-04-28  Jens Schweikhardt <schweikh@schweikhardt.net>
 
@@ -382,8 +790,8 @@ Mon Apr 23 14:32:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
        require it instead of the CVS version.
-        * cpperror.c (v_message): Put a blank before the macro
-        body to not confuse exgettext.
+       * cpperror.c (v_message): Put a blank before the macro
+       body to not confuse exgettext.
 
 2001-04-21  Mark Mitchell  <mark@codesourcery.com>