OSDN Git Service

2011-11-06 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index a1faa78..7076112 100644 (file)
@@ -1,3 +1,102 @@
+2011-11-06  Janus Weil  <janus@gcc.gnu.org>
+
+       * gfortran.h (gfc_extend_expr): Modified prototype.
+       * interface.c (gfc_extend_expr): Return 'match' instead of 'gfc_try'.
+       Remove argument 'real_error'.
+       * resolve.c (resolve_operator): Modified call to 'gfc_extend_expr'.
+
+2011-11-06  Andrew MacLeod  <amacleod@redhat.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+
+       Merged from cxx-mem-model.
+
+       * types.def: (BT_SIZE, BT_CONST_VOLATILE_PTR, BT_FN_VOID_INT,
+       BT_FN_I{1,2,4,8,16}_CONST_VPTR_INT, BT_FN_VOID_VPTR_INT,
+       BT_FN_BOOL_VPTR_INT, BT_FN_BOOL_SIZE_CONST_VPTR,
+       BT_FN_VOID_VPTR_I{1,2,4,8,16}_INT, BT_FN_VOID_SIZE_VPTR_PTR_INT,
+       BT_FN_VOID_SIZE_CONST_VPTR_PTR_INT, BT_FN_VOID_SIZE_VPTR_PTR_PTR_INT,
+       BT_FN_BOOL_VPTR_PTR_I{1,2,4,8,16}_BOOL_INT_INT,
+       BT_FN_I{1,2,4,8,16}_VPTR_I{1,2,4,8,16}_INT): New types.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/43829
+       * trans-array.c (gfc_conv_expr_descriptor): Accept the inline intrinsic
+       case in the assertion.
+       * trans-intrinsic (enter_nested_loop): New function.
+       (gfc_conv_intrinsic_arith): Support non-scalar cases.
+       (nest_loop_dimension, walk_inline_intrinsic_arith): New functions.
+       (walk_inline_intrinsic_function): Handle sum and product.
+       (gfc_inline_intrinsic_function_p): Ditto.
+       * trans.h (gfc_get_loopinfo): New macro.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_arith): Introduce parent
+       expression variable.  Use it.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic.c): Introduce current loop
+       pointer.  Use it.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_arith): Small argument handling
+       cleanup.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_arith): Update conditions.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * frontend-passes.c (cfe_register_funcs): Return early in the case
+       of an inline intrinsic function.
+       (optimize_binop_array_assignment): Skip optimization in the case of
+       an inline intrinsic function.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * array.c (match_subscript): Skip whitespaces before setting locus.
+       * matchexp.c (match_level_1): Ditto.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_minmaxval): Set loop's
+       temporary rank to the loop rank. Mark ss chains for multiple loop
+       if necessary.  Use gfc_trans_scalarized_loop_boundary to end one loop
+       and start another.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Set loop's
+       temporary rank to the loop rank. Mark ss chains for multiple loop
+       if necessary.  Use gfc_trans_scalarized_loop_boundary to end one loop
+       and start another.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Don't calculate
+       offset twice in generated code.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-expr.c (gfc_conv_procedure_call): Handle temporaries for
+       arguments to elemental calls.
+       * trans-stmt.c (replace_ss): New function.
+       (gfc_conv_elemental_dependencies): Remove temporary loop handling.
+       Create a new ss for the temporary and replace the original one with it.
+       Remove fake array references. Recalculate all offsets.
+
+2011-11-04  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-array.h (gfc_free_ss, gfc_set_delta): New prototypes.
+       * trans-array.c (gfc_free_ss): Remove forward declaration.
+       Make non-static.
+       (set_delta, gfc_set_delta): Remove forward declaration.
+       Make non-static and rename the former to the later. Update uses.
+
 2011-11-03  Mikael Morin  <mikael@gcc.gnu.org>
 
        * trans.h (gfc_inline_intrinsic_function_p): Move prototype...