OSDN Git Service

* config/m68k/m68k-none.h: Introduce new ColdFire archs.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a0055d8..30394f9 100644 (file)
@@ -1,3 +1,274 @@
+2003-08-06  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.
+       (LANG_HOOKS_INITIALIZER): Correct.
+       * c-lang.c: Likewise.
+
+2003-08-19  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
+       (cgraph_varpool_mark_needed_node): Likewise.
+       * cgraph.h (notice_global_symbol): Declare
+       * varasm.c (notice_global_symbol): Break out from ...
+       (assemble_start_function): ... here; update for variables.
+       (assemble_variable): Use notice_global_symbol.
+
+2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
+       expect SFmode and DFmode arguments to be passed in FPRs,
+       regardless of the underlying type.
+
+2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/11924
+       * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
+       (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
+
+2003-08-18  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       PR c/11207
+       * c-typeck.c (set_init_index): Check for negative index.
+
+2003-08-18  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/crti.asm (_init, _fini): Add alternate code for new
+       call0 ABI.
+       * config/xtensa/crtn.asm (_init, _fini): Likewise.
+       * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
+       __umodsi3, __modsi3): Likewise.
+       * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
+       $(INCLUDES).
+
+2003-08-18  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/spe.md ("*nabssf2_gpr"): New.
+
+2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md: Quote C code in braces.  Remove use of
+       fake const0_rtx operands.  Remove double backslashes.  Use \;.
+       Remove workarounds for bogus warnings.
+
+2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
+       (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
+       rather than TARGET_MIPS4300.
+       (mulsf3_internal, mulsf3_r4300): Likewise.
+
+2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md: Renumber unspecs.  Clean up comments.
+
 2003-08-17  Roger Sayle  <roger@eyesopen.com>
 
        * simplify-rtx.c (associative_constant_p): New function to test