OSDN Git Service

* loop.c (record_giv): Initialize not_replaceable.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4f382d1..4f18c06 100644 (file)
@@ -1,3 +1,362 @@
+2002-11-19  Andreas Jaeger  <aj@suse.de>
+
+       * loop.c (record_giv): Initialize not_replaceable.
+       (check_final_value): Likewise.
+
+2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (h8300_init_once): Replace 1 with
+       MASK_H8300S.
+
+2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
+
+       * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
+       only if -mh or -ms present.
+       (h8300_eightbit_constant_address_p): Support the normal mode.
+       (h8300_tiny_constant_address_p): Likewise.
+       * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
+       (POINTER_SIZE): Add 16 bit pointer for the normal mode.
+       (Pmode): Evaluate to HImode for the normal mode.
+       (SIZE_TYPE): Evaluate to unsigned int for normal mode.
+       (PTRDIFF_TYPE): Evaluate to int for the normal mode.
+       (ASM_WORD_OP): Evaluate to word for the normal mode.
+       * config/h8300/h8300.md (tablejump_normal_mode): New.
+       (indirect_jump_normal_mode): New.
+       * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
+       directory.
+       (MULTILIB_DIRNAMES): Create target dependent directory
+       'normal'.
+        (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
+       * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
+
+Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (length_immediate): Do not refer to insn address.
+       (jcc*, jmp patterns):  Compute length explicitly.
+
+2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+       PR c/8588
+       * optabs.c (expand_binop): Convert CONST_INTs in shift
+       operations too.
+
+2002-11-19  Roger Sayle  <roger@eyesopen.com>
+
+       * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
+
+2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (an anonymous pattern): Relax the
+       condition to accept the same operands and/or subregs.
+
+2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/sh/sh.c (gen_shl_and): Revert previous patch.
+       * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
+       reload_completed.
+
+2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (print_operand): Update the use of
+       EIGHTBIT_CONSTANT_ADDRESS_P.
+       (h8300_adjust_insn_length): Likewise.
+       (h8300_eightbit_constant_address_p): Check if the given rtx is
+       a variable with __attribute__((eightbit_data)).
+       * config/h8300/h8300.h (OK_FOR_U): Update the use of
+       EIGHTBIT_CONSTANT_ADDRESS_P.
+
+2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/contrib.texi (Contributors): Add self as second contact in
+       addition to Jeff Law.
+
+2002-11-19  Andreas Jaeger  <aj@suse.de>
+
+       * tree-inline.c: Move prototpyes of find_alloca_call_1 and
+       find_alloca_call to right place.
+
+2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cppfiles.c: Fix formatting.
+
+2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * gcc.c (The Specs Language): Document spec functions.
+       (static_spec_functions, lookup_spec_function)
+       (eval_spec_function, handle_spec_function)
+       (if_exists_spec_function, alloc_args): New.
+       (execute): Abort if processing_spec_function is true.
+       (do_spec_1): Hand off spec to handle_spec_function if %:
+       is encountered.  If processing_spec_function is true,
+       end any pending argument when the end of the string is reached.
+       (main): Use alloc_args to allocate the initial argument vector.
+       * gcc.h (struct spec_function): New.
+       (lang_specific_spec_functions): New extern.
+
+       * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
+       (ENDFILE_SPEC): Add if-exists(crtn%O%s).
+       * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
+
+       * doc/invoke.texi: Document spec functions.
+
+       * cppspec.c (lang_specific_spec_functions): New.
+       * gccspec.c: Likewise.
+
+2002-11-18  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
+       (FIXUNS_TRUNCTFDI2_LIBCALL): New.
+       (fixunstfsi_libfunc): Change.
+       (fixunstfdi_libfunc): Change.
+       (sdiv_optab): Don't zero out SImode handler.
+       (udiv_optab): Don't zero out SImode handler.
+       (smod_optab): Don't zero out SImode handler.
+       (umod_optab): Don't zero out SImode handler.
+
+2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
+
+       PR preprocessor/8524
+       * cpplib.c (run_directive): Remove previous kludge to _Pragma.
+       Add a new one in its place, which hopefully works.
+       (skip_rest_of_line): Change test for bottom-of-context-stack.
+
+Mon Nov 18 21:29:03 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (addqi_1_slp): Fix output template.
+       (subqi_1_slp): Fix type.
+
+Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * calls.c (alloca_call_p): New global function.
+       * tree.h (alloca_call_p): New.
+       * tree-inline.c (inlinable_function_p):  Do not inline when
+       function calls alloca.
+       (find_alloca_call, find_alloca_call_1): New functions.
+
+2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (*andorqi3): Use bor between bld and
+       bst.  Update the insn length.
+       (*andorhi3): Likewise.
+       (*andorsi3): Likewise.
+
+2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/sh/sh-protos.h (sh_mark_label): Declare.
+       * config/sh/sh.c (sh_mark_label): New function, taken from
+       movdi_const, but fixing the case when the address has an addend.
+       * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
+
+2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
+       (add_constant): Set it.
+       (dump_table): Don't reorder a constant if part_of_sequence_p.
+       (machine_dependent_reorg): Assume that float constants will
+       stay in their original order if used as a sequence.
+
+2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
+       in compact code.
+
+2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/sh/sh.md (initialize_trampoline): Do not force the
+       trampoline address into R0_REGS here.
+
+2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * df.c: Fix formatting.
+
+2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (two anonymous patterns): Fix insn
+       lengths.
+
+2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * sh.c (gen_shl_and): Don't create a zero_extend if the operand
+       is not an arith_reg_operand.
+
+2002-11-17  Graham Stott  <graham.stott@btinternet.com>
+
+       * real.c (real_to_decimal): Fix buffer overrun when buffer size
+       is smaller than representation.
+
+2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c: Fix formatting.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (two anonymous patterns): Fix typos.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md: Fix formatting.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md: Replace spaces with tabs.
+       * config/h8300/t-h8300: Remove a trailing empty line.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tlink.c: Fix formatting.
+
+2002-11-16  David Edelsohn  <edelsohn@gnu.org>
+
+       PR 8362
+       * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
+       * config/rs6000/rs6000.md (movti_string): Remove output modifier
+       when scratch register never needed.
+       (ldmsi[3-8]): New patterns.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * hard-reg-set.h: Follow spelling conventions.
+       * real.c: Likewise.
+       * target.h: Likewise.
+
+2002-11-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
+
+2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * optabs.c: Fix formatting.
+
+Sat Nov 16 02:06:02 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
+       * i386.md (attribute type): Add type shift1 and rotate1.
+       (*_slp): Rewrite to have just two operands to avoid reload problems.
+
+2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (4 anonymous patterns): New.
+
+2002-11-15  Geoffrey Keating  <geoffk@apple.com>
+
+       * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
+       * doc/invoke.texi: Correct description of what needs to be done to
+       force collection at every ggc_collect call.
+
+2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (optimization_options): Set
+       flag_asynchronous_unwind_tables to 1 by default.
+
+2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
+
+Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386-protos.h (x86_function_profiler): New function
+       * i386.h (MCOUNT_NAME): New.
+       (PROFILE_COUNT_REGISTER): New.
+       (FUNCTION_PROFILER): Move offline to ...
+       * i386.c (x86_function_profiler) ... here; fix 64bit support
+       * beos-elf.h (FUNCTION_PROFILER): Kill.
+       (MCOUNT_NAME): New.
+       * freebsd-aout.h (FUNCTION_PROFILER): Kill.
+       (MCOUNT_NAME): New.
+       (PROFILE_COUNT_REGISTER): New.
+       * linux.h (FUNCTION_PROFILER): Kill.
+       (MCOUNT_NAME): New.
+       * x86-64.h (FUNCTION_PROFILER): Kill.
+       (MCOUNT_NAME): New.
+       * freebsd.h (FUNCTION_PROFILER): Kill.
+       (MCOUNT_NAME): New.
+
+2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
+
+       * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
+       FUNCTION_ARG_PASS_BY_REFERENCE): Define.
+       * config/arm/arm.c (arm_va_arg,
+       arm_function_arg_pass_by_reference): New.
+       * config/arm/arm-protos.h: Add prototypes.
+
+2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gthr-single.h: Fix formatting.
+
+2002-11-14  Zack Weinberg  <zack@codesourcery.com>
+
+       * tree.c (tree_vec_elt_check_failed): New function.
+       * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
+       (TREE_VEC_ELT): Use it.
+
+       * tree-inline.c (optimize_inline_calls): Don't copy a
+       zero-length vector.
+
+2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
+
+2002-11-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
+       both operands contain local relocations.
+       (categorize_decl_for_section): Don't use mergeable sections if
+       initializer has any relocations.
+
+2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gthr-vxworks.h: Fix formatting.
+
+2002-11-13  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/install.texi (Testing): Document extra Java testing.
+       * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
+
+2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
+       beginning of the spec.
+       (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
+       (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
+       regarding problems with global constructors when using GNU ld.
+
+2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gthr-solaris.h: Fix formatting.
+
+2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gthr-posix.h: Fix formatting.
+
+2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (*andorsi3): New.
+
+2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
+
+2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
+       expressions appropriately.
+
+2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gthr-win32.h: Fix formatting.
+
+2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (single_one_operand): Correctly compute
+       mask when mode is SImode.
+       (single_zero_operand): Likewise.
+       * config/h8300/h8300.md (two new anonymous insns): New.
+
+2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
+       to that entire project.
+
 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
@@ -510,7 +869,7 @@ Thu Oct 31 18:08:00 CET 2002  Jan Hubicka  <jh@suse.cz>
        * i386.c (optimization_options): Set flag_omit_frame_pointer,
        flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
        Do not clear -momit-leaf-frame-pointer when profiling.
-       (ix86_frame_pointer_required): Frame pointer is allways required when
+       (ix86_frame_pointer_required): Frame pointer is always required when
        profiling.
 
 Thu Oct 31 16:09:44 CET 2002  Jan Hubicka  <jh@suse.cz>
@@ -4543,7 +4902,7 @@ Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
 
        * i386.c (index_register_operand): New.
        * i386.h (predicate_codes): Add new predicate.
-       * i386.md (lea_general_*): Use index_regsiter_operand
+       * i386.md (lea_general_*): Use index_register_operand
        (ashift to lea splitter): Do not produce invalid leas
        (ashift to mov+ashift split): New.
 
@@ -4640,7 +4999,7 @@ Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
        * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
        handling.
 
-       * loop.c (loop_gics_reduce):  Emit addition after.
+       * loop.c (loop_givs_reduce):  Emit addition after.
 
 2002-09-08  Alan Modra  <amodra@bigpond.net.au>