OSDN Git Service

* config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8c8825a..6c4e28d 100644 (file)
@@ -1,3 +1,303 @@
+2003-08-21  Bernardo Innocenti  <bernie@develer.com>
+            Paul Dale  <pauli@snapgear.com>
+            Peter Barada <peter@baradas.org>
+
+       * config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
+       ColdFire cores.
+
+2003-08-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
+       * config.gcc (*-*-openbsd): Don't set tm_file.
+       (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
+       arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
+       h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
+       i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
+       i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
+       m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
+       m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
+       m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
+       mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
+       sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
+       xscale-*-coff): Use explicit and complete lists of target headers
+       to include.  Move definitions to tm_defines where appropriate.
+       (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
+       not-yet-contributed configuration.
+
+       * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
+       * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
+       * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
+       * config/i386/nto.h, config/iq2000/iq2000.h,
+       * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
+       * config/m68k/linux.h, config/m68k/m68k-aout.h
+       * config/m68k/m68k-none.h, config/m68k/m68kv4.h
+       * config/m68k/netbsd.h, config/m68k/openbsd.h
+       * config/m68k/sgs.h, config/mcore/mcore-pe.h,
+       * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
+       * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
+       Remove includes of other target config headers, and
+       definitions of macros moved to tm_defines lists.  Add #undefs
+       where now necessary to prevent redefinition warnings.
+
+       * config/h8300/coff.h: New file split out of...
+       * config/h8300/elf.h: ...here.
+       * config/m68k/hp320base.h: New file split out of...
+       * config/m68k/hp320.h: ...here.
+       * config/rs6000/lynxbase.h: New file split out of...
+       * config/rs6000/lynx.h: ...here.
+
+       * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
+       * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
+
+       * config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
+       * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
+       * config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
+       Remove unnecessary #ifndef.
+       * config/s390/s390.h: Prefix #include of s390/fixdfdi.h
+       [under IN_LIBGCC2] with config/.
+
+2003-08-21  Per Bothner  <bothner@pbothner.com>
+
+       * cppfiles.c (stack_file):  Correctly pass return_at_eof parameter
+       to cpp_push_buffer.
+       * cpplex.c (_cpp_get_fresh_line):  Don't buffer->prev - handled
+       by return_at_eof check.  Always call _cpp_pop_buffer at end.
+
+2003-08-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR target/11805
+       * config/h8300/h8300.md (two anonymous patterns): Remove.
+
+2003-08-21  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
+       * config/mips/mips.c (function_arg_pass_by_reference): Never return
+       true for n32 & n64.
+
+2003-08-21  Josef Zlomek  <zlomekj@suse.cz>
+
+       * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
+       and similarly in (A | C) == D where C & ~D != 0.
+
+2003-08-20  Geoffrey Keating  <geoffk@apple.com>
+
+       PR 8180
+       * configure.in: When testing with_libs and with_headers, treat
+       'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
+       * configure: Regenerate.
+
+2003-08-20  Peter Barada <peter@baradas.org>
+
+       * longlong.h (umul_ppmm): Add ColdFire support.
+
+2003-08-20  Peter Barada <peter@baradas.org>
+           Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/m68k-none.h: Introduce new ColdFire archs.
+       * config/m68k/m68k.h: Likewise.
+       * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
+       * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
+       * config/m68k/linux.h: Likewise.
+       * config/m68k/m68k.c: Likewise.
+       * config/m68k/m68k.md: Likewise.
+       * config/m68k/m68kelf.h: Likewise.
+       * config/m68k/netbsd-elf.h: Likewise.
+       * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
+
+2003-08-20  Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
+       * config/m68k/m68k.md: Likewise.
+
+2003-08-20  Mark Mitchell  <mark@codesourcery.com>
+
+       PR java/11996
+       Revert this change:
+       2003-08-19  Mark Mitchell  <mark@codesourcery.com>
+       * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
+       types with precisions other than those given by native machine
+       modes.
+
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
+       selected by FSGLMUL_USE_S and FSGLDIV_USE_S
+       * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
+       * config/m68k/m68k.md (anonymous define_insn): Likewise
+       * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
+       * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
+       code selected by NO_ASM_FMOVECR
+
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.c (output_move_const_into_data_reg,
+       output_move_himode): unify MOTOROLA/MIT handling of moveq
+       * config/m68k/m68k.md (movsi_const0, anonymous define_insn):
+       Likewise
+
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
+       label name
+       * config/m68k/m68k.c (m68k_output_function_epilogue): replace
+       HOST_WIDE_INT_PRINT_DEC with %wd
+
+2003-08-20  Loren James Rittle  <ljrittle@acm.org>
+
+       * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
+       redefine warning.
+
+2003-08-20  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/11984
+       * fold-const.c (fold <PLUS_EXPR>): Check for integer constant
+       operands before calling tree_int_cst_lt when performing associative
+       transformations.
+
+2003-08-20  Jason Merrill  <jason@redhat.com>
+
+       * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
+       (EXPR_CHECK): Don't check for 'r' or 's' if we're
+       checking IS_EXPR_CODE_CLASS.
+       * calls.c (calls_function_1): Likewise.
+       * fold-const.c (fold): Likewise.
+       * tree.c (iterative_hash_expr): Likewise.
+       * tree-inline.c (walk_tree, copy_tree_r): Likewise.
+
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
+       depending on MOTOROLA_BSR
+       * config/m68k/m68k.md (anonymous define_insn): Likewise
+
+2003-08-20  Jason Merrill  <jason@redhat.com>
+
+       * builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
+       (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
+       fold_trunc_transparent_mathfn, fold_builtin): Likewise.
+       * dojump.c (do_jump): Likewise.
+       * fold-const.c (operand_equal_p, fold): Likewise.
+       (tree_expr_nonnegative_p): Likewise.
+
+       * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
+       TYPE_USER_ALIGN for FIELD_DECLs.
+
+       * attribs.c (decl_attributes): Rebuild the function pointer type after
+       changing the target type.
+       * tree.c (get_qualified_type): Also check that the attributes match.
+
+2003-08-19  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
+       * objc/config-lang.in (stagestuff): ... to here.
+
+2003-08-19  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/11946
+       * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
+       NOP_EXPR) when necessary.
+       * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
+       types with precisions other than those given by native machine
+       modes.
+
+2003-08-19  Geoffrey Keating  <geoffk@apple.com>
+
+       * cpppch.c (cpp_valid_state): Re-add warning about PCH not used
+       because some macro is defined.
+
+       * config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
+       options.
+       * config/i386/darwin.h (ASM_SPEC): New.
+       (SUBTARGET_EXTRA_SPECS): New.
+       * config/rs6000/darwin.h (ASM_SPEC): New.
+       (SUBTARGET_EXTRA_SPECS): New.
+       * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
+       a cross-compiler between two different processors on Darwin.
+       * configure: Regenerate.
+
+2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c: Fix comment typos.
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-pretty-print.c: Likewise.
+       * cfgbuild.c: Likewise.
+       * cfglayout.c: Likewise.
+       * cfgloopanal.c: Likewise.
+       * cgraphunit.c: Likewise.
+       * cppfiles.c: Likewise.
+       * dwarfout.c: Likewise.
+       * expr.c: Likewise.
+       * fold-const.c: Likewise.
+       * gcse.c: Likewise.
+       * ggc-page.c: Likewise.
+       * haifa-sched.c: Likewise.
+       * pretty-print.c: Likewise.
+       * tree.c: Likewise.
+       * tree.h: Likewise.
+       * value-prof.c: Likewise.
+
+2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-decl.c: Follow spelling conventions.
+       * cppfiles.c: Likewise.
+
+2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c: Fix comment formatting.
+       * c-common.h: Likewise.
+       * c-decl.c: Likewise.
+       * cppinit.c: Likewise.
+       * cpplib.h: Likewise.
+       * emit-rtl.c: Likewise.
+       * input.h: Likewise.
+       * line-map.h: Likewise.
+       * opts.c: Likewise.
+       * opts.h: Likewise.
+       * simplify-rtx.c: Likewise.
+
+2003-08-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * unwind-c.c: Add libgcc-style exception.
+       * unwind-dw2.c: Likewise.
+       * unwind-pe.h: Likewise.
+       * unwind-sjlj.c: Likewise.
+       * unwind.inc: Likewise.
+
+2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/5582 PR c++/10538
+       * langhooks-def.h (lhd_decl_uninit): Declare.
+       (LANG_HOOKS_DECL_UNINIT): New macro.
+       (LANG_HOOKS_INITIALIZER): Adjust.
+       * langhooks.h (struct lang_hooks): Add new field
+       decl_uninit.
+       * langhooks.c (lhd_decl_uninit): Define.
+       * c-common.c (c_decl_uninit_1): New function.
+       (c_decl_uninit): New function.
+       (warn_init_self): Define.
+       * c-common.h (c_decl_uninit): Declare.
+       (warn_init_self): Declare.
+       * c.opt: Introduce -Winit-self.
+       * c-opts.c (c_common_handle_options): Set warn_init_self.
+       * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
+       * objc/objc-lang.c  (LANG_HOOKS_DECL_UNINIT): Define.
+       * function.c (uninitialized_vars_warning): Call the language hook.
+       * doc/invoke.texi: Document -Winit-self.
+
+2003-08-19  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.md: Adjust SI-mode "trap_if" instruction
+       to use better predicates and constraints.  Define new
+       instruction to handle "trap_if" with DI-mode arguments.
+       (conditional_trap): FAIL if trap code is not 0.
+
+2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/i386/i386.c (legitimate_pic_address_disp_p): Change the
+       strstr with $pb to a strcompare with "<pic base>"
+       (ix86_output_addr_diff_elt): Output the real pic base.
+
 2003-08-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.