OSDN Git Service

2004-03-08 Joel Sherrill <joel@oarcorp.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 86dd337..eb0a825 100644 (file)
@@ -1,3 +1,328 @@
+2004-03-08  Joel Sherrill  <joel@oarcorp.com>
+
+       PR target/14480
+       * config/rs6000/t-rtems: Add missing file on branch.
+
+2004-03-10  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dbxout.c (dbxout_symbol_location): Do not output references
+       to optimized-out constant pool symbols.
+
+2004-03-10  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
+       twon34_r.
+
+2004-03-09  James E Wilson  <wilson@specifixinc.com>
+
+       * alias.c (alias_sets_might_conflict_p): New.
+       * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
+       * common.opt (Wstrict-aliasing=): New.
+       * flags.h (warn_strict_aliasing): Change type to int.
+       * opts.c (warn_strict_aliasing): Change type to int.
+       (common_handle_option): Handle OPT_Wstrict_aliasing_.
+       * tree.h (alias_sets_might_conflict_p): Declare it.
+       * doc/invoke.tex (-Wstrict-aliasing=2): Document it.
+
+2004-03-10  Roman Zippel  <zippel@linux-m68k.org>
+
+       PR bootstrap/12371
+       * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
+       (CALL_USED_REGISTERS): Likewise.
+        (REG_CLASS_CONTENTS): Likewise.
+       (REG_ALLOC_ORDER): New.
+       (REGNO_REG_CLASS): Use regno_reg_class.
+       * config/m68k/m68k.c: Add regno_reg_class array.
+
+2004-03-09  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.md (divsi3): Fix algorithm.
+         (udivsi3): Ditto.
+         (setf_exp_xf): Remove '*' from name.
+       * testsuite/gcc.dg/20040309-1.c: New test.
+
+2004-03-09  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * system.h (SUNOS4_SHARED_LIBRARIES): Poison.
+       * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
+       * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
+       * config/sparc/sparc.c (sparc_aout_select_section): Remove.
+       (sparc_aout_select_rtx_section): Don't check
+       SUNOS4_SHARED_LIBRARIES.
+       * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
+
+2004-03-10  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR other/14474
+       * doc/md.texi (Pattern Ordering, Dependent Patterns)
+       (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
+       INTERNALS".
+
+2004-03-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
+       (LIBGCC_SPEC): Update to match.
+
+2004-03-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * c-decl.c (last_function_parms, last_function_parm_tags)
+       (last_function_parm_others, current_function_parms)
+       (current_function_parm_tags, current_function_parm_others):
+       Delete.
+       (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
+       New macros.
+       (grokdeclarator): For function definitions, save the arg-info
+       block from the declarator in DECL_ARGUMENTS.
+       (grokparms): Do not write to last_function_parm*.  Use ARG_INFO_*
+       macros to operate on arg-info block.  Can assume ARG_INFO_PARMS
+       contains only PARM_DECLs.  Improve diagnostics.
+       (get_parm_info): Use ARG_INFO_* macros.  Improve comments and
+       diagnostics.  Disable some expensive checks if not ENABLE_CHECKING.
+       (store_parm_decls_newstyle): Take the function to operate on,
+       and an arg-info block, as arguments; don't get anything from
+       current_function_* globals.
+       (store_parm_decls_oldstyle): Likewise.
+       (store_parm_decls): Pass fndecl and its arg-info block down to
+       store_parm_decls_newstyle/oldstyle.  Send functions with empty
+       argument lists through store_parm_decls_newstyle to reduce
+       overhead.
+       (pushdecl): Comment on the problems with the call to copy_node.
+       Clear DECL_ARGUMENTS of the old node after copying it, if it
+       is an arg-info block instead of a chain of decls.
+       (start_function): Do not manipulate current_function_parm* or
+       last_function_parm*.
+
+2004-03-09  Roger Sayle  <roger@eyesopen.com>
+           Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * ifcvt.c (noce_try_sign_mask): New function to transform
+       "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
+       (noce_process_if_block): Call noce_try_sign_mask.
+
+2004-03-09  Andrew Pinski  <apinski@apple.com>
+
+       * c-typeck.c (tagged_types_tu_compatible_p):
+       Fix typo.
+
+2004-03-09  Roger Sayle  <roger@eyesopen.com>
+
+       * simplify-rtx.c (simplify_const_relational_operation): New function
+       renamed from simplify_relational_operation.
+       (simplify_relational_operation): Change prototype to accept an
+       additional mode argument.  Call simplify_const_relational_operation.
+       (simplify_gen_relational): Update simplify_relational_operation call.
+       (simplify_ternary_operation): Update simplify_relational_operation
+       subroutine call to use simplify_const_relational_operation instead.
+
+       * rtl.h (simplify_const_relational_operation): Prototype here.
+       (simplify_relational_operation): Add addtional mode argument.
+
+       * combine.c (combine_simplify_rtx): Update calls to
+       simplify_relational_operation.
+       (simplify_set): Likewise.
+       (gen_binary): Likewise.
+       * cse.c (fold_rtx): Likewise.
+       * dojump.c (compare_from_rtx): Likewise.
+       (do_compare_rtx_and_jump): Likewise.
+       * integrate.c (subst_constants): Likewise.
+       * unroll.c (simplify_cmp_and_jump_insns): Likewise.
+
+2004-03-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/m32r/m32r.md: Remove all define_peephole's.
+
+2004-03-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.md: Remove trailing whitespace.
+
+2004-03-08  Eric Christopher  <echristo@redhat.com>
+
+       * Makefile.in (site.exp): Add libiconv variable definition.
+
+2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for config/accross.m4 correction.
+
+2004-03-08  Joel Sherrill  <joel@oarcorp.com>
+
+       PR target/14480
+       * config/rs6000/t-rtems: Add missing file on branch.
+
+2004-03-08  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/14289
+       * c-typeck.c (c_mark_addressable): A register variable should
+       be considered global if its not automatic, i.e. TREE_PUBLIC,
+       TREE_STATIC or DECL_EXTERNAL.
+       * function.c (put_var_into_stack): Call abort when placing a
+       hard register into the stack, if x_parm_reg_stack_loc is NULL.
+
+2004-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
+       ("*extendqisi2_short_displ"): Likewise.
+
+2004-03-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/pdp11/pdp11.c (comparison_operator_index): Remove.
+       (comp_operator): Likewise.
+       * config/pdp11/pdp11-protos.h: Remove corresponding
+       prototypes.
+
+2004-03-08  Eric Botcazou  <ebotcazou@act-europe.fr>
+
+       * expr.c (highest_pow2_factor_for_type): Rename into
+       highest_pow2_factor_for_target.  Use DECL_ALIGN instead of
+       TYPE_ALIGN when the target is a COMPONENT_REF.
+       (expand_assignment): Ajust call to highest_pow2_factor_for_type.
+
+2004-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c: Formatting fix.
+       (legitimate_offset_address_p): Correct offset range check.
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Don't override
+       -msoft-float by -mcpu.  Consolidate similar code for MASK_MULTIPLE
+       and MASK_STRING.
+
+2004-03-07  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
+       for little endian.
+       ("ashrdi3_no_power"): Disable for little endian.
+       (ashrdi3): Same.
+
+2004-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
+       builtins.
+
+2004-03-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/14471
+       * configure.ac (Target-specific assembler checks) <cris-*-*>: New
+       case, checking for -no-mul-bug-abort option.
+       * configure, config.in: Regenerate.
+       * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
+       and -mno-mul-bug-workaround.
+       * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
+       ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
+       ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
+       Ditto.  Make attribute "slottable" dependent on TARGET_MUL_BUG.
+       * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
+       sure mulu.d is not last on cache-line.
+       * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
+       into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
+       (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
+       (TARGET_SWITCHES): New options -mmul-bug-workaround and
+       -mno-mul-bug-workaround.
+       (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
+       (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
+       * config/cris/cris.c (cris_operand_extend_operator): Clarify
+       relation to MULT in head comment.
+       (cris_op_str): Abort for MULT.
+       (cris_print_operand) <case '!'>: New case.
+
+2004-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       PR debug/11983
+       * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
+       dw_val_class_vec.  Replace use throughout file.
+       (dw_float_const): Delete.
+       (dw_vec_const): New.
+       (dw_val_struct_union): Rename val_float to val_vec.  Replace use
+       throughout file.
+       (add_AT_vec): Rename from add_AT_float.  Add elt_size param.
+       (same_dw_val_p): Adjust vec comparison.  Use memcmp.
+       (size_of_die): Adjust dw_val_class_vec sizing.
+       (output_die): Output dw_val_class_vec.
+       (insert_int, extract_int, insert_float): New functions.
+       (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
+       Handle CONST_VECTOR.
+       (add_location_or_const_value_attribute): Handle CONST_VECTOR.
+
+2004-03-07  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
+       AltiVec abi cannot co-exist.
+
+       * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
+
+2004-03-07  Jan Hubicka  <jh@suse.cz>
+
+       * except.c (emit_to_new_bb_before):  Break fallthru edges.
+
+2004-03-07  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
+       ("*lshrsi3"): Also accept an immediate for 68HC12.
+       ("*ashrsi3_const"): Likewise.
+       ("*ashrsi3"): Likewise.
+       ("*ashlsi3_const"): Likewise.
+       ("*ashlsi3"): Likewise.
+       ("cmphi_1_hc12"): Compare two hard register by pushing them and
+       comparing with a pop; don't use a split for that.
+       ("cmphi split"): Disable compare split for 68HC12.
+
+       * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
+       the status operands if they have side effects.
+
+2004-03-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * defaults.h (LEGITIMIZE_ADDRESS): Provide a default
+       definition.
+       * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h,
+       config/h8300/h8300.h, config/ia64/ia64.h,
+       config/mcore/mcore.h, config/mmix/mmix.h,
+       config/ns32k/ns32k.h, config/pdp11/pdp11.h,
+       config/stormy16/stormy16.h, config/v850/v850.h,
+       config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove.
+       * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default
+       definition.
+
+2004-03-07  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x.
+       <XOR_EXPR>: Fold x ^ x as zero.
+       <AND_EXPR>: Fold x & x as x.
+
+2004-03-07  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
+       "foo++ == const" into "++foo == const+incr".
+
+2004-03-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_in_small_data_p): Return false if
+       TARGET_ABICALLS.
+
+2004-03-06  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
+       the stack register.
+       (expand_prologue): Don't make an interrupt or a trap handler a far
+       symbol.
+       (m68hc11_initial_elimination_offset): Likewise.
+
+2004-03-06  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
+
+2004-03-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/ns32k/ns32k-protos.h: Add a prototype for
+       ns32k_notice_update_cc.
+       * config/ns32k/ns32k.c (ns32k_notice_update_cc): New.
+       * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call
+       ns32k_notice_update_cc.
+
+2004-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("load_multiple", "*load_multiple_di",
+       "*load_multiple_si"): Allow only if reload_completed.
+       ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
+       Likewise.
+
 2004-03-06  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/vax/vax-protos.h: Add a prototype for