OSDN Git Service

2008-12-09 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0f47e6a..db5ed5b 100644 (file)
@@ -1,5 +1,207 @@
+2008-12-09  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR/38366
+       * function.c (aggregate_value_p): Get fntype from CALL_EXPR in any
+       case.
+       * calls.c (nitialize_argument_information): Add fntype argument 
+       and use it for calls.promote_function_args.
+        (expand_call): Pass fntype to aggregate_value_p if no fndecl
+       available and pass additional fntype to
+       initialize_argument_information.
+       * config/i386/i386.c (ix86_reg_parm_stack_space): Remove cfun part
+       to get function abi type.
+       (init_cumulative_args): Use for abi kind detection fntype, when no
+       fndecl is available.
+
+2008-12-09  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.md (movti, movdi_64, movdi_31,
+         *movsi_zarch, *movhi, *movqi, *mov<mode>_64, *mov<mode>_31,
+         *mov<mode>_64dfp, *mov<mode>_64, *mov<mode>_31, mov<mode>): Remove
+         Q->Q alternative.
+         (Integer->BLKmode splitter): Removed.
+
+2008-12-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (alpha_set_memflags): Process memory
+       references in full insn sequence.
+
+2008-12-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/38410
+       * gimplify.c (gimplify_init_constructor): Don't write out a static
+       copy of the CONSTRUCTOR for TREE_ADDRESSABLE types or small sparse
+       initializers.
+
+2008-12-09 Tobias Grosser  <grosser@fim.uni-passau.de>
+
+       PR middle-end/38084
+       Fix testsuite/gfortran.dg/graphite/id-3.f90.
+       * graphite.c (scopdet_basic_block_info): Fix bug that found some
+       regions more than once.
+       * testsuite/gfortran.dg/graphite/id-3.f90: New.
+       * gcc/testsuite/gcc.dg/graphite/pr38084.c: New.
+
+2008-12-09  Ben Elliston  <bje@au.ibm.com>
+
+       * emutls.c (__emutls_get_address): Prototype.
+       (__emutls_register_common): Likewise.
+
+       * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
+
+2008-12-09  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v.
+
+2008-12-08  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
+       (nonlocal_goto_receiver): New instruction.
+
+2008-12-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/35443
+       * c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.
+
+       PR c/35442
+       * c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Handle
+       VIEW_CONVERT_EXPR the same as CASE_CONVERT.
+
+2008-12-08  Richard Henderson  <rth@redhat.com>
+
+       PR 38240
+       * tree.h (TYPE_MODE): Invoke vector_type_mode when needed.
+       (SET_TYPE_MODE): New.
+       * c-decl.c (parser_xref_tag): Use it.
+       (finish_enum): Likewise.
+       * tree.c (build_pointer_type_for_mode): Likewise.
+       (build_reference_type_for_mode, build_index_type): Likewise.
+       (build_range_type, make_vector_type): Likewise.
+       (build_common_tree_nodes_2): Likewise.
+       * stor-layout.c (compute_record_mode): Likewise.
+       (finalize_type_size, layout_type, make_fract_type): Likewise.
+       (make_accum_type, initialize_sizetypes): Likewise.
+       (vector_type_mode): New.
+       * function.c (allocate_struct_function): Call
+       invoke_set_current_function_hook before querying anything else.
+
+       * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Add avx.
+
+2008-12-08  Luis Machado  <luisgpm@br.ibm.com>
+
+       * alias.c (find_base_term): Synch LO_SUM handling with what
+       find_base_value does.
+
+2008-12-08  Andrew Haley  <aph@redhat.com>
+           Kamaraju Kusumanchi <raju.mailinglists@gmail.com>
+
+       * gimple.h (gimple_build_try): Fix declaration.
+
+       * builtins.c (fold_builtin_sqrt): Don't use a conditional operator.
+       * fixed-value.c (do_fixed_add): Likewise.
+       * tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
+
+2008-12-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/36802
+       * omp-low.c (use_pointer_for_field): Only call maybe_lookup_decl
+       on parallel and task contexts.
+
+2008-12-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimple.c (recalculate_side_effects) <tcc_constant>: New case.
+
+2008-12-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/38405
+       * tree-vrp.c (simplify_truth_ops_using_ranges): Make sure to
+       not sign-extend truth values.
+
+2008-12-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-sra.c (scalarize_use): Create another temporary with the proper
+       type for signed types in the use_all && !is_output bitfield case.
+
+2008-12-06  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR rtl-optimization/36365
+       * df-core.c (df_worklist_dataflow_overeager): Remove.
+       (df_worklist_dataflow): Don't call it, use double-queue only.
+       * params.def (PARAM_DF_DOUBLE_QUQUQ_THRESHOLD_FACTOR): Remove.
+
+2008-12-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/38428
+       * tree-ssa-operands.c (get_expr_operands) <case BIT_FIELD_REF>: Set
+       gimple_set_has_volatile_ops if the BIT_FIELD_REF is volatile.
+
+2008-12-07  Ben Elliston  <bje@au.ibm.com>
+
+       * gthr-single.h (__gthread_once): Adjust prototype to match all
+       other gthreads models.
+
+2008-12-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (override_options): Use CPU_AMDFAM10
+       instead of PROCESSOR_AMDFAM10 for barcelona's schedule.
+
+       PR middle-end/38422
+       * fold-const.c (fold_unary) <CASE_CONVERT>: Don't convert MULT_EXPR
+       operands to mult_type if it isn't narrower than op0's type.
+
+2008-12-06  Jan Hubicka  <jh@suse.cz>
+           Jakub Jelinek <jakub@redhat.com>
+
+       PR tree-optimization/38074
+       * cgraphbuild.c (compute_call_stmt_bb_frequency): Fix handling of 0
+       entry frequency.
+       * predict.c (combine_predictions_for_bb): Ignore predictor predicting
+       in both dirrection for first match heuristics.
+       (tree_bb_level_predictions): Disable noreturn heuristic when there
+       is no returning path.
+
+2008-12-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       PR rtl-optimization/38272
+       * reload1.c (choose_reload_regs): Keep reload_spill_index correct
+       in all cases.
+
 2008-12-05  Jakub Jelinek  <jakub@redhat.com>
 
+       PR c++/35336
+       * c-pretty-print.c (pp_c_postfix_expression): Handle BIT_FIELD_REF.
+       (pp_c_expression): Likewise.
+
+2008-12-05  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR c/38416
+       * c-parser.c (struct c_token): Make pragma_kind 8 bits.
+
+2008-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/37248
+       * fold-const.c (make_bit_field_ref): Change bitpos and bitsize
+       arguments to HOST_WIDE_INT.  If type has different signedness
+       than unsignedp or different precision from bitsize, create
+       the right type for BIT_FIELD_REF and cast to type.
+       (fold_truthop): Change first_bit and end_bit to HOST_WIDE_INT.
+
+       Revert:
+       2008-03-05  Richard Guenther  <rguenther@suse.de>
+       PR c++/35336
+       * fold-const.c (fold_truthop): Remove code generating
+       BIT_FIELD_REFs of structure bases.
+       (fold_binary): Likewise.
+       (make_bit_field_ref): Remove.
+       (optimize_bit_field_compare): Remove.
+       (all_ones_mask_p): Remove.
+
+2008-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-sra.c (sra_explode_bitfield_assignment): Always
+       call unsigned_type_for, if the precision is higher than
+       needed, call build_nonstandard_integer_type.
+
        PR debug/38367
        * function.c (assign_parm_find_stack_rtl): If promoted_mode
        is wider than DECL_MODE, adjust MEM_OFFSET (stack_parm) for