OSDN Git Service

2003-09-19 Joel Sherrill <joel@oarcorp.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index fd93ae0..3955026 100644 (file)
@@ -1,3 +1,253 @@
+2003-09-19     Joel Sherrill <joel@oarcorp.com>
+
+       * config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
+       68881.
+
+2003-09-19  Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
+       for -m68030, -m68020-60 and -m68020-40.
+       * config/m68k/m68k.h (TARGET_68030): New target flag.
+       * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
+       TARGET_REGPARM): Remove.
+       * config/m68k/m68k.h: Regroup and renumber target flags.
+       * config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
+       * config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
+       * config/m68k/m68k.h (FUNCTION_ARG): Likewise.
+       * config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
+       * config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.
+
+2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * config/m68k/t-rtems (m68k-*-rtems*): New.
+       * config.gcc: Use config/m68k/t-rtems.
+
+2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * config/mips/t-rtems: New.
+       * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.
+
+2003-09-19  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * cgraph.c: Fix typo in debugging output.
+
+2003-09-19  T. Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
+            Eric Botcazou <ebotcazou@libertysurf.fr>
+
+       PR target/12166
+       * config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.
+
+2003-09-18  Mike Stump  <mrs@apple.com>
+
+       * c-ppoutput.c (print):  Use fileline typedef for field 'line'.
+       (print_line, maybe_print_line, cb_define, cb_undef, cb_include,
+       cb_ident, cb_def_pragma):  Use fileline typedef.
+       * cpphash.h (struct cpp_reader):  Likewise for field out.first_line.
+
+2003-09-18  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
+       total parm size if a parm has incomplete type.
+       (gen_fastcall_suffix): Likewise.
+
+2003-09-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * except.c (output_function_exception_table): Adjust last change
+       to handle TYPE of INTEGER_CST.
+
+2003-09-18  Mark Mitchell  <mark@codesourcery.com>
+
+       PR target/11184
+       * builtins.c (expand_builtin_apply): Use convert_memory_address
+       before returning the value.
+       
+       * alias.c (find_base_value): Simplify use of
+       convert_memory_address.
+       (find_base_term): Likewise.
+       * builtins.c (expand_builtin_stejmp_setup): Likewise.
+       (expand_builtin_longjmp): Likewise.
+       (expand_builtin_prefetch): Likewise.
+       (get_memory_rtx): Likewise.
+       (expand_builtin_return): Likewise.
+       (expand_builtin_memcpy): Likewise.
+       (expand_builtin_strncpy): Likewise.
+       (expand_builtin_memset): Likewise.
+       (expand_builtin_va_arg): Likewise.
+       (expand_builtin_va_copy): Likewise.
+       (expand_builtin_alloca): Likewise.
+       * calls.c (expand_call): Likewise.
+       * except.c (expand_builtin_extract_return_addr): Likewise.
+       (expand_builtin_eh_return): Likewise.
+       * explow.c (convert_memory_address): Define even when
+       POINTER_EXTEND_UNSIGNED is not defined.  Do nothing if the address
+       is already in the right mode.
+       * explow.c (memory_address): Simplify use of convert_memory_address.
+       (probe_stack_range): Likewise.
+       * expmed.c (make_tree): Likewise.
+       * expr.c (emit_block_move_in_libcall): Likewise.
+       (expand_assignment): Likewise.
+       (expand_expr): Likewise.
+       * function.c (assign_parms): Likewise.
+       (expand_function_end): Likewise.
+       * integrate.c (copy_rtx_and_substitute): Likewise.
+       * stmt.c (expand_computed_goto): Likewise.
+
+2003-09-18  Roger Sayle  <roger@eyesopen.com>
+
+       * simplify-rtx.c (simplify_unary_operation): Only transform
+       (not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
+       is -1.  RTL "not" is a bit-wise not, "~", not a logical not "!".
+
+2003-09-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       PR target/11674
+       * config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
+
+2003-09-18  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
+       PARITY_EXPR): Delete unused tree codes.
+       * c-common.c (c_common_truthvalue_conversion): Delete references
+       to FFS_EXPR and POPCOUNT_EXPR.
+       * c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
+       (pp_c_expression): Likewise.
+       * expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
+       CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
+       * fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
+       CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.  Add support for calls to
+       BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
+       and long long variants.
+
+2003-09-18  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * c-pretty-print.h (pp_type_specifier_seq): Fix thinko.
+       * c-pretty-print.c: Fix formatting.
+       (pp_c_integer_constant): Append type annotation to literals.  Tidy.
+       (pp_c_type_specifier): Tidy.
+       (pp_c_compound_literal): New function.
+       (pp_c_initializer): Simplify..
+       (pp_c_initializer_list): Likewise.
+       (pp_c_brace_enclosed_initializer_list): New function.
+       (pp_c_postfix_expression): Simplify.
+
+2003-09-17  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
+       one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.
+
+2003-09-17  Richard Henderson  <rth@redhat.com>
+
+       * tree-optimize.c (tree_rest_of_compilation): Save and restore
+       input_location.
+
+2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.
+
+2003-09-17  Richard Henderson  <rth@redhat.com>
+
+       * cfg.c (dump_flow_info): Skip register dump if reg_n_info null.
+
+2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.
+       * configure: Regenerate.
+
+2003-09-17  Mark Mitchell  <mark@codesourcery.com>
+
+       PR debug/12066
+       * dbxout.c (dbxout_init): Use a langhook to find builtin types.
+       * langhooks-def.h (lhd_return_null_tree_v): New function.
+       (LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro.
+       (LANG_HOOKS_DECLS): Add it to the intializer.
+       * langhooks.c (lhd_return_null_tree_v): New function.
+       * langhooks.h (lang_hooks_for_decls): Add builtin_type_decls.
+
+2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Quote gcc_config_arguments for configargs.h.
+       * configure: Regenerated.
+       * gccbug.in: Don't shell-expand gcc_config_arguments.
+
+2003-09-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       PR c++/11357
+       * c-pretty-print.c (pp_c_floating_constant): Append
+       type-annotation to floating constants.
+
+2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/iris5.h (TARGET_OS_CPP_BUILTINS): Define _LONGLONG.
+       Define _ABIO32.
+       Use it for _MIPS_SIM.
+       * config/mips/iris6-o32.h (TARGET_OS_CPP_BUILTINS): Removed.
+
+       * config/mips/iris6-o32-as.h (SUBTARGET_ASM_OPTIMIZING_SPEC):
+       Moved ...
+       * config/mips/iris5.h (SUBTARGET_ASM_OPTIMIZING_SPEC): ... here,
+       updating comment.
+       Fixes PR target/10190.
+
+2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
+       to shared libraries.
+
+2003-09-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/11646
+       * cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
+       EDGE_ABNORMAL flag for EH edges.
+       * toplev.c (rest_of_handle_cse): Delete unreachable blocks
+       if dead edges were purged.
+
+2003-09-16  Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.
+       * config/m68k/m68k-none.h (CPP_CPU_DEFAULT_SPEC): Kill all definitions.
+       * config/m68k/m68k-none.h (CPP_FPU_SPEC): Remove.
+       * config/m68k/m68k-none.h (CPP_SPEC): Likewise.
+
+2003-09-16  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * cfgcleanup.c (label_is_jump_target_p): Correct use of table
+       returned by tablejump_p.
+
+2003-09-16  Joel Brobecker  <brobecker@gnat.com>
+
+       * dwarf2asm.c (dw2_asm_output_nstring): Add comment.
+
+2003-09-16  Roger Sayle  <roger@eyesopen.com>
+
+       PR bootstrap/12269
+       * simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
+       argument to be VOIDmode, taking the mode of the comparison from
+       the operands.  Only call simplify_relational_operation if we
+       know the mode of the comparison.  Honor FLOAT_STORE_FLAG_VALUE
+       if comparison has a floating point result.  Ensure that the
+       result is always of the specified mode.
+       (simplify_replace_rtx): Simplify call to simplify_gen_relational.
+       (simplify_unary_operation): Ensure the correct mode and cmp_mode
+       are always passed to simplify_gen_relational.  Simplify NOT of
+       comparison operator in any mode, not just BImode.
+       (simplify_ternary_operation): Correct tests on the return value
+       of simplify_relational_operation to use const_true_rtx, not
+       const1_rtx.  Abort if it ever returns a non-constant result.
+
+       * cfgloopanal.c (count_strange_loop_iterations): Use the function
+       simplify_relational_operation, not simplify_gen_relational, if
+       we're only interested in constant comparisons and will ignore
+       non-constant results.
+
+2003-09-16  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (tree_swap_operands_p): New function to determine
+       the prefered ordering of operands.
+       (fold): Numerous clean-ups.  Use tree_swap_operands_p when swapping
+       operands to commutative, comparison or ternary operators.  Replace
+       uses of TREE_SET_CODE with recursive call to fold.  Remove duplicate
+       transformation of A ? B : C into !A ? C : B.
+
 2003-09-16  Jakub Jelinek  <jakub@redhat.com>
 
        * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.