OSDN Git Service

back out previous patch, instead do
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5f5031a..8ad93fe 100644 (file)
@@ -1,3 +1,403 @@
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+       PR target/11089
+       * config/i386/i386.md (sse_movaps): Use an expander to force
+       one operand to be a register.
+       (sse_movups): Likewise.
+
+2003-06-13  Doug Evans  <dje@sebabeach.org>
+
+       Remove some build warnings.
+       * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
+       (__do_global_ctors,__do_global_dtors): Ditto.
+
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/10557
+       * rtlanal.c (subreg_offset_representable_p): Relax subreg check.
+
+2003-06-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/m32r/m32r.md: Fix a comment typo.
+
+2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
+
+       PR target/10142
+       * config/sparc/sparc.c (function_arg_record_value_parms): Add
+       new 'stack' field.
+       (function_arg_record_value_1): Set 'stack' to 1 if we run out of
+       integer slots for an integer field.
+       (function_arg_record_value_3): Shift vector index.
+       (function_arg_record_value_2): Likewise.
+       (function_arg_record_value): Initialize 'stack' to 0.
+       Set 'stack' to 1 if we run out of integer slots for an integer field.
+       Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
+
+2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/10955
+       * unroll.c (unroll_loop): Fix off-by-one bug.
+
+2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.c (function_arg): Remove typo.
+
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
+       and UNSPEC_DTPOFF.
+
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+        PR middle-end/10475
+        * expmed.c (emit_store_flag): Use simplify_gen_subreg directly
+        for extracting sub-words.
+
+2003-06-12  Richard Henderson  <rth@redhat.com>
+
+        PR target/7594
+        * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
+        (zero_extendqihi2, zero_extendqisi2): Likewise.
+
+2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.c (function_arg): Always split vectors for
+       e500 if it's a stdarg function.
+       (function_arg_advance): Advance 2 registers for vectors in a
+       stdarg function.
+       (init_cumulative_args): Initialize stdarg.
+       (rs6000_spe_function_arg): New.
+
+       * config/rs6000/rs6000.h (rs6000_args): Add stdarg.
+
+2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
+
+2003-06-12  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/168
+       * fold-const.c (tree_expr_nonnegative_p):  Handle addition
+       and multiplication of zero extensions, floating point division,
+       and integer<->fp, fp<->fp and zero extension conversions.
+       The built-in ceil and floor functions preserve signedness.
+
+2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ChangeLog: Follow spelling conventions.
+       * ChangeLog.2: Likewise.
+       * c-decl.c: Likewise.
+       * cfgloop.h: Likewise.
+       * cgraph.c: Likewise.
+       * coverage.c: Likewise.
+       * cppcharset.c: Likewise.
+       * cpphash.h: Likewise.
+       * cpplex.c: Likewise.
+       * cpplib.c: Likewise.
+       * dbxout.c: Likewise.
+       * df.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * dwarfout.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * explow.c: Likewise.
+       * gcov-io.c: Likewise.
+       * gcov-io.h: Likewise.
+       * gcov.c: Likewise.
+       * gengtype.c: Likewise.
+       * ggc.h: Likewise.
+       * opts.c: Likewise.
+       * real.c: Likewise.
+       * reload.c: Likewise.
+       * stmt.c: Likewise.
+
+2003-06-12  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/install.texi (m32r-*-elf): Change company to Renesas.
+
+Thu Jun 12 20:00:55 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (flow_delete_block_noexpunge): Kill.
+       * cfgrtl.c (flow_delete_block_noexpunge): Merge to
+       rtl_delete_block.
+
+2003-06-10  Richard Henderson  <rth@redhat.com>
+
+        PR inline-asm/4823
+        * reg-stack.c (any_malformed_asm): New.
+        (check_asm_stack_operands): Set it.
+        (convert_regs_1): Check it before aborting.
+
+2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
+
+2003-06-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-opts.c (complain_wrong_lang): Add on argument.
+       Print no- switch if on is false.
+       (c_common_decode_option): Adjust caller.
+
+2003-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
+       to initialize GOT register.
+
+2003-06-12  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (tree_expr_nonnegative_p): Add support for
+       floating point constants, addition and multiplication.
+
+2003-06-12  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
+       constraint modifier for operand 0.
+
+2003-06-12  Hans-Peter Nilsson  <hp@axis.com>
+
+       Don't warn on dollars in builtin macro definitions,
+       e.g. __REGISTER_PREFIX__.
+       * cpphash.h (struct cpp_reader): Move member warn_dollars...
+       * cpplib.h (struct cpp_options): ...to here.  Change type to
+       unsigned char.
+       * cppinit.c (cpp_create_reader): Set it to 1 here.
+       (post_options): Don't set it here.
+       * c-opts.c (c_common_init_options): Reset it to 0 here.
+       (finish_options): Set it here.
+       * cpplex.c (forms_identifier_p): Tweak for new location of
+       warn_dollars.
+
+       * configure.in (assembler dwarf2 debug_line support): Define insn
+       for cris-*-* and mmix-*-*.
+       * configure: Regenerate.
+
+2003-06-11  Uwe Stieber  <uwe@kaos-group.de>
+
+       * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
+       powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
+       (sh-*-elf*): Add sh*-*-kaos* support.
+       * config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
+       config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
+       config/sh/kaos-sh.h: New files.
+
+2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcse.c (fis_get_condition): Make it a global function.
+       * reload1.c (reload_cse_move2add): Detect implicit sets.
+       * rtl.h: Add a prototype for fis_get_condition.
+
+2003-06-11  Richard Henderson  <rth@redhat.com>
+
+       * stmt.c (expand_asm_operands): Don't warn for memories with
+       queued addresses.
+
+2003-06-11  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
+       brackets.
+
+2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
+
+       * hooks.c (hook_int_size_t_constcharptr_int_0): New.
+       * hooks.h (hook_int_size_t_constcharptr_int_0): New.
+       * langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
+       (LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
+       * langhooks.c (lhd_decode_option): Remove.
+       * langhooks.h (struct lang_hooks): Remove decode_option.
+       * opts.c (handle_option): No longer use decode_option.
+
+2003-06-11  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * cfgloopanal.c (variable_initial_value): Update the set of altered
+       registers correctly.
+
+2003-06-11  Roger Sayle  <roger@eyesopen.com>
+           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
+       * config/i386/netbsd-elf.h: Likewise.
+       * config/m32r/m32r.h: Likewise.
+       * config/mn10300/mn10300.h: Likewise.
+       * config/stormy16/stormy16.h: Likewise.
+       * config/v850/v850.h: Likewise.
+       * config/vax/netbsd-elf.h: Likewise.
+       * config/xtensa/elf.h: Likewise.
+       * config/xtensa/linux.h: Likewise.
+
+2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
+       DWARF 2 default.
+
+       * config/mips/dbxmdebug.h: New file.
+       * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
+       gas and --with-stabs.
+
+2003-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * expr.c (can_move_by_pieces): align argument may be unused.
+
+2003-06-11  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * expr.c (convert_move): Handle moves between two CONCATs.
+
+2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
+       !TARGET_H8300.
+
+2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
+       * config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
+       (TARGET_RTL_DUMP): Likewise.
+       (TARGET_SWITHCES): Remove -mrtl-dump.
+
+2003-06-10  Richard Henderson  <rth@redhat.com>
+
+       * optabs.c (gen_cond_trap): Fix prepare_operand typo.
+
+2003-06-10  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64/ia64.md (call_gp): Fix memory mode.
+
+2003-06-10  James E Wilson  <wilson@tuliptree.org>
+
+       PR target/8812
+       * reload1.c (choose_reload_regs): For equiv reg, add loop over all
+       hard regs for reload_reg_used_at_all and reg_class_contents checks.
+
+2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (print_operand): Remove support for
+       operand character 'b'.
+       Add the AND case to operand character 'c'.
+       * config/h8300/h8300.md (two anonymous patterns): Replace
+       operand character 'b' with 'c'.
+
+2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (print_operand): Remove support for
+       operand character 'u'.
+
+2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * configure.in: Fix typo.
+       * configure: Regenerate.
+
+2003-06-10  Loren James Rittle  <ljrittle@acm.org>
+
+       * config/alpha/alpha.c (unicosmk_file_end): Add conditional
+       compilation guard.
+
+2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh-protos.h (function_symbol): Declare.
+       * sh.c (expand_block_move, expand_ashiftrt): Use it.
+       (sh_expand_prologue, sh_expand_epilogue): Likewise.
+       (sh_initialize_trampoline): Likewise.
+       (function_symbol): New function.
+       * sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
+       (initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
+       (call_value_pop, shcompact_return_tramp): Likewise.
+
+       * sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
+
+       * sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
+       target register.
+
+2003-06-10  DJ Delorie  <dj@redhat.com>
+
+       * doc/md.texi (Machine Constraints): Document stormy's Z
+       constraint.
+
+2003-06-10  Geoffrey Keating  <geoffk@apple.com>
+
+       * except.c (call_site_base): Mark with GTY.
+
+2003-06-10  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-proto.h: Convert to ISO C90 prototypes.
+       * arm.c: Likewise.
+
+2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
+
+2003-06-10  Steve Ellcey  <sje@cup.hp.com>
+
+       * calls.c (expand_call): Convert structure_value_addr to Pmode if
+       necessary.
+
+2003-06-10  Andrew Haley  <aph@redhat.com>
+
+       * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
+       (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
+       (lhd_decl_ok_for_sibcall): New.
+       * langhooks.c (lhd_decl_ok_for_sibcall): New.
+       * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
+       * calls.c (expand_call): Check lang_hook before generating a
+       sibcall.
+
+2003-06-10  DJ Delorie  <dj@redhat.com>
+
+       * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
+       which matches (const_int 0) for addhi3.
+       * config/stormy16/stormy16.md: Document known constraints.
+       (addhi3): Handle adding zero.
+
+2003-06-10  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
+       * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
+       * config/m32r/m32r-protos.h: Prototype it.
+
+2003-06-10  Janis Johnson  <janis187@us.ibm.com>
+
+       * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
+       common to rs6000 sysv targets.
+       * config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
+       * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
+
+2003-06-10  Nick Clifton  <nickc@redhat.com>
+
+       * config.gcc: Add arm-wince-pe target.
+       * config/arm/pe.h (MULTILIB_DEFAULTS): Define.
+        Add comment about default apcs26 support.
+       * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
+       multilib.
+        (MULTILIB_DIRNAMES): Add 'apcs32'.
+       * config/arm/t-wince-pe: New makefile fragment.
+       * config/arm/wince-pe.h: New file.  Overrides a few definitions
+       in arm/pe.h
+
+2003-06-10  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
+       * fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
+       when x is easily negated and f is sin, tan or atan.
+       (fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
+       sin(x) with flag_unsafe_math_optimizations.
+       (fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
+       sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
+
+2003-06-10  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold <EQ_EXPR>):  Don't fold x == x only if x
+       is a floating point type *and* we currently honor NaNs.
+       (fold <NE_EXPR>): Likewise.
+
+2003-06-10  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/11131
+       * tree-inline.c (inlinable_function_p): Call the language-specific
+       hook early.
+
+2003-06-09  David Taylor  <dtaylor@emc.com>
+
+       * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg):  Skip over
+       the f_res field.
+
 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * configure.in: Remove references to host_truncate_target.
@@ -375,7 +775,7 @@ Sun Jun  8 15:52:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * target.h: New hook asm_out.file_end.
        * target.h: Update to match.  New hook macro TARGET_ASM_FILE_END.
-       * toplev.c (compile_file: Use targetm.asm_out.file_end.
+       * toplev.c (compile_file): Use targetm.asm_out.file_end.
        * system.h: Poison ASM_FILE_END.
        * varasm.c (file_end_indicate_exec_stack): New.
        * output.h: Prototype it.
@@ -2133,7 +2533,7 @@ Fri May 23 21:19:31 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
 
-       * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
+       * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
        value, not just if defined.
        Update copyright year.
 
@@ -4773,7 +5173,7 @@ Mon May 12 11:32:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
                %call* relocs if generating explicit-reloc PIC.  Don't generate
                an exception_receiver pattern.
                (override_options): Initialize mips_got_alias_set.
-               (print_relocation): Remove in favour of...
+               (print_relocation): Remove in favor of...
                (mips_reloc_string): ...this new function.
                (print_operand): Handle '%R'.  Use mips_reloc_string.
                (print_operand_address): Use print_operand to print the symbolic
@@ -6172,7 +6572,7 @@ Sat Apr 19 14:56:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
 2003-04-19  Nathan Sidwell  <nathan@codesourcery.com>
 
        * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
-       fork behaviour.
+       fork behavior.
 
 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
 
@@ -7634,7 +8034,7 @@ Tue Apr  8 11:12:07 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        PR c/9516
        * expr.c (safe_from_p): Rearrange to avoid deep recursion in
-       favour of looping and tail recursion for TREE_LIST and binops.
+       favor of looping and tail recursion for TREE_LIST and binops.
 
 2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
@@ -11176,7 +11576,7 @@ Mon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
 
        * function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
        (assign_stack_local_1): Perform overall stack alignment only when
-       STACK_ALIGNMENT_NEEDED is non-zero.
+       STACK_ALIGNMENT_NEEDED is nonzero.
        * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
 
        * pa.c (compute_frame_size): Rename fsize to size.  Account for
@@ -13692,7 +14092,7 @@ Mon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
 
        * basic-block.h (inside_basic_block_p):  Declare.
        * cfgbuild.c (inside_basic_block_p): Make global.
-       * haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
+       * haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK.
        * scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
        update CFG.
        (fix_basic_block_boundaries, add_missing_bbs): New.
@@ -15356,7 +15756,7 @@ Mon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * configure.in: Don't include ansidecl.h in tconfig.h.
-       * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
+       * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2.
        * unwind-dw2-fde.h (last_fde): Use __attribute__, not
        ATTRIBUTE_UNUSED.