OSDN Git Service

libjava:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c4ec2ca..f336b11 100644 (file)
@@ -1,3 +1,253 @@
+2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
+       stderr to /dev/null instead of grep -q.
+       * configure: Regenerate.
+
+2010-05-25  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * Makefile.in (EXCEPT_H): Fix typo.
+
+2010-05-25  Vladimir Makarov <vmakarov@redhat.com>
+
+       * ira-build.c (update_conflict_hard_reg_costs): New.
+       (ira_build): Call update_conflict_hard_reg_costs.
+
+2010-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/41371
+       * var-tracking.c (find_loc_in_1pdv): Guard asserts with
+       ENABLE_CHECKING.
+       (intersect_loc_chains): Walk the s2var's loc_chain together
+       with s1node chain as long as the locations are equal, don't
+       call find_loc_in_1pdv in that case.
+
+       PR debug/42801
+       * tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here...
+       (copy_bind_expr): ... instead of here.
+       (copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK
+       if the block hasn't been remapped.
+       * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When
+       emitting concrete instance of abstract VLA, add DW_AT_type attribute.
+
+2010-05-25  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/44069
+       * gimple-fold.c (maybe_fold_stmt_addition): Avoid generating
+       out-of-bounds array accesses.
+
+2010-05-25  Richard Guenther  <rguenther@suse.de>
+
+       * lto-wrapper.c (nr, input_names, output_names, makefile): Globalize.
+       (lto_wrapper_exit): Unlink all LTRANS temporary files on error.
+       (run_gcc): Re-organize to make cleanup easier.
+
+2010-05-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (optimization_options): Fix and move the
+       flag_prefetch_loop_arrays override ...
+       (override_options): ... here.
+
+2010-05-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * diagnostic.c: Don't include plugin.h.
+       (diagnostic_report_diagnostic): Don't handle plugins specially
+       here.  Pass context to internal_error callback.
+       * diagnostic.h (struct diagnostic_context): Add context parameter
+       to internal_error callback.
+       * plugin.c (warn_if_plugins, plugins_internal_error_function):
+       New.
+       * plugin.h (struct diagnostic_context): Declare.
+       (warn_if_plugins, plugins_internal_error_function): Declare.
+       * toplev.c (general_init): Set global_dc->internal_error.
+       * Makefile.in (diagnostic.o): Update dependencies.
+
+2010-05-25 Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC.
+       * config/rs6000/t-darwin64: New.
+       * config.gcc (powerpc64-*-darwin*): Use darwin.opts, t-darwin64,
+       build crt2.
+
+2010-05-25  Christian Borntraeger  <borntraeger@de.ibm.com>
+
+       PR 44203
+       * tree-ssa-loop-prefetch.c: Fix logic for step calculation to
+       match the original (and intended) behaviour before r159557.  This
+       changeset changed a=a+b*c to a=(a+b)*b which was obviously wrong
+       in two ways.
+
+2010-05-25  Richard Guenther  <rguenther@suse.de>
+
+       * doc/invoke.texi: Document -Ofast.
+       * target.h (struct gcc_target): Add handle_ofast.
+       * target-def.h (TARGET_HANDLE_OFAST): Add.
+       (TARGET_INITIALIZER): Adjust.
+       * opts.c (decode_options): Handle -Ofast.  Enable
+       -ffast-math with it.
+       * common.opt (Ofast): Add.
+
+2010-05-25  Paolo Bonzini  <bonzini@gnu.org>
+
+       * doc/tm.texi (STORE_FLAG_VALUE): Do not refer to sCC patterns.
+       * doc/md.texi (cstoreXX4): Update for cond-optab changes.
+
+2010-05-25  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/43610
+       * optabs.c (prepare_float_lib_cmp): Allow reversing the comparison
+       even if !FLOAT_LIB_COMPARE_RETURNS_BOOL.  Always compute true_rtx and
+       false_rtx.  Use false_rtx to compute the correct *ptest for reversed
+       comparisons for which !FLOAT_LIB_COMPARE_RETURNS_BOOL.
+
+2010-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (loc_descr_plus_const): When offset is negative, use
+       DW_OP_minus with negated offset instead of DW_OP_plus.
+       (loc_list_from_tree): Don't test whether second operand is
+       INTEGER_CST.
+
+2010-05-25  Wei Guozhi  <carrot@google.com>
+
+       * config/arm/thumb2.md (thumb2_tlobits_cbranch): Add constraint to
+       tst instruction and a new alternative.
+       * config/arm/constraints.md (Pu): New constraint.
+
+2010-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * function.c (assign_stack_local_1): Initialize variable
+       to avoid warning when bootstrapping at -O3.
+
+2010-05-24  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * configure.ac (all_lang_makefiles): Remove everything related to it.
+       * configure: Regenerate.
+       * Makefile.in: Fix reference to ada Make-lang.in.
+       Remove support for LANG_MAKEFILES.
+
+2010-05-24  Daniel Jacobowitz  <dan@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/arm/neon-testgen.ml: Use dg-add-options arm_neon.
+       * doc/sourcebuild.texi (Effective-Target Keywords): Update arm_neon_ok
+       description.  Add arm_neon_fp16_ok.
+       (Add Options): Add arm_neon and arm_neon_fp16.
+
+2010-05-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * diagnostic.c: Don't include flags.h.
+       (pedantic_warning_kind, permissive_error_kind): Take diagnostic
+       context parameters.  Check flags in the context passed as a
+       parameter.
+       (diagnostic_build_prefix): Add context parameter.  Check
+       show_column flag in context.
+       (diagnostic_action_after_output): Check fatal_errors flag in
+       context.
+       (diagnostic_report_current_module): Check show_column flag in
+       context.
+       (default_diagnostic_starter): Update call to
+       diagnostic_build_prefix.
+       (diagnostic_report_diagnostic): Pass context to
+       pedantic_warning_kind.
+       (emit_diagnostic): Pass context to permissive_error_kind.
+       (permerror): Pass context to permissive_error_kind.
+       * diagnostic.h (struct diagnostic_context): Add show_column,
+       pedantic_errors, permissive and fatal_errors fields.
+       (diagnostic_build_prefix): Update prototype.
+       * langhooks.c
+       * toplev.c (process_options): Set flags in global_dc from
+       flag_show_column, flag_pedantic_errors, flag_permissive,
+       flag_fatal_errors.
+       * tree-diagnostic.c (default_tree_diagnostic_starter): Update call
+       to diagnostic_build_prefix.
+       * Makefile.in (diagnostic.o): Update dependencies.
+
+2010-05-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/ia32intrin.h (__crc32q): Define only if
+       __SSE4_2__ is defined.
+
+2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR target/44132
+       PR middle-end/43602
+       * varasm.c (get_emutls_init_templ_addr): Copy DECL_PRESERVE_P,
+       DECL_VISIBILITY_SPECIFIED.
+       (emutls_decl): Set DECL_PRESERVE_P and copy
+       DECL_VISIBILITY_SPECIFIED, DECL_RESTRICTED_P.
+       (emutls_finalize_control_var): New callback.
+       (emutls_finish): Finalize emutls control variables.
+       * toplev.c (compile_file): Move the call to emutls_finish () 
+       before varpool_assemble_pending_decls ().
+
+2010-05-24  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * config/arm/lib1funcs.asm (__ARM_ARCH__): __ARM_ARCH_7EM__
+       added to the preprocessor condition.
+
+2010-05-24  Paul Brook  <paul@codesourcery.com>
+
+       * gengtype-lex.l: Add HARD_REG_SET.
+       * expr.c (expand_expr_real_1): Record writes to hard registers.
+       * function.c (rtl_data): Add asm_clobbers.
+       * ira.c (compute_regs_asm_clobbered): Use crtl->asm_clobbers.
+       (ira_setup_eliminable_regset): Remove regs_asm_clobbered.
+       Use crtl->asm_clobbers.
+
+2010-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/makefile.texi (Makefile): Mention stages 'profile'
+       and 'feedback' for profiledbootstrap.
+
+2010-05-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/44245
+       * config/i386/i386.c (def_builtin): Properly check
+       OPTION_MASK_ISA_64BIT.
+
+2010-05-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-decl.c (diagnose_mismatched_decls): Give error for duplicate
+       typedefs with different but compatible types.  Allow duplicate
+       typedefs with the same type except for pedantic non-C1X, but give
+       warning for variably modified types.
+       * c-typeck.c (tagged_types_tu_compatible_p,
+       function_types_compatible_p, type_lists_compatible_p,
+       comptypes_internal): Add parameter different_types_p; set
+       *different_types_p for different but compatible types.  All
+       callers changed.
+       (comptypes_check_different_types): New.
+       * c-tree.h (comptypes_check_different_types): Declare.
+
+2010-05-23  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * regs.h: Do not include obstack.h, basic-block.h.
+       Include machmode.h.
+       * jump.c: Include basic-block.h.
+       * profile.c: Likewise.
+       * tree-profile.c: Likewise.
+       * coverage.c: Likewise.
+       * basic-block.h (optimize_function_for_size_p): Move to function.h.
+       (optimize_function_for_speed_p): Likewise.
+       * function.h (optimize_function_for_size_p,
+       optimize_function_for_speed_p): Moved here from basic-block.h.
+       * Makefile.in: Update dependencies.
+
+2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lto-wrapper.c (run_gcc): Unset MAKEFLAGS and MFLAGS
+       before calling make; allow override through $MAKE.
+       * doc/invoke.texi (Optimize Options): Document override.
+
+2010-05-23  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): New.
+       (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
+       (rs6000_mode_dependent_address_ptr): Make static.
+       * config/rs6000/rs6000.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
+       * config/rs6000/rs6000-protos.h (rs6000_mode_dependent_address_ptr):
+       Remove.
+
 2010-05-23  Maarten Lankhorst  <mlankhorst@codeweavers.com>
 
        PR target/43869