OSDN Git Service

2007-02-02 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 5c2b184..3ee0a28 100644 (file)
@@ -1,3 +1,129 @@
+2007-02-02  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/30284
+       PR fortran/30626
+       * trans-expr.c (gfc_conv_aliased_arg): Remove static attribute
+       from function and make sure that substring lengths are
+       translated.
+       (is_aliased_array): Remove static attribute.
+       * trans.c : Add prototypes for gfc_conv_aliased_arg and
+       is_aliased_array.
+       * trans-io.c (set_internal_unit): Add the post block to the
+       arguments of the function.  Use is_aliased_array to check if
+       temporary is needed; if so call gfc_conv_aliased_arg.
+       (build_dt): Pass the post block to set_internal_unit and
+       add to the block after all io activiy is done.
+
+2007-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       * trans-array.c (gfc_conv_expr_descriptor): We don't need to use
+       a temporary array to pass a constant non-character array constructor.
+       Generalize the descriptor generation code to handle scalarizer
+       "info" without an array reference.
+
+2007-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       * dependency.c (gfc_check_dependency) <EXPR_ARRAY>: Implement
+       dependency checking for array constructors.
+
+2007-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       * trans-stmt.c (compute_overall_iter_number): Document function
+       arguments.  Generalize "unconditional forall nest with constant
+       bounds" optimization to eliminate unconditional inner loops with
+       constant bounds.
+
+2007-01-31  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/30520
+       * interface.c (compare_actual_formal): Check conformance between
+         actual and VOLATILE dummy arguments.
+       * symbol.c (gfc_add_volatile): Allow setting of VOLATILE
+         multiple times in different scopes.
+       * decl.c (gfc_match_volatile): Search symbol in host association.
+
+2007-01-31  Kazu Hirata  <kazu@codesourcery.com>
+
+       * simplify.c, trans-array.c: Fix comment typos.
+
+2007-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * invoke.texi (Code Gen Options): Fix abbreviation typo.
+       * intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos.
+
+2007-01-30  Steve Ellcey  <sje@cup.hp.com>
+
+       PR fortran/30432
+       * trans-types.c (gfc_get_function_type):  Do not add void_type_node
+       to empty arg list.
+       * trans-decl.c (create_function_arglist): Change assert.
+
+2007-01-29  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/30554
+       * module.c (read_module): If a symbol is excluded by an ONLY
+       clause, check to see if there is a symtree already loaded. If
+       so, attach the symtree to the pointer_info.
+
+2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR libfortran/30389
+       * gfortran.h:  Remove gfc_simplify_init_1.
+       * arith.h:  Remove third argument from gfc_compare_string.
+       * arith.c(gfc_compare_expression):  Remove third argument
+       from call to gfc_compare_string.
+       (gfc_compare_string):  Remove third argument xcoll_table.
+       Remove use of xcoll_table.
+       * misc.c(gfc_init_1):  Remove call to gfc_simplify_init_1.
+       * simplify.c(ascii_table):  Remove.
+       (xascii_table): Likewise.
+       (gfc_simplify_achar):  ICE if extract_int fails.  Remove use of
+       ascii_table.  Warn if -Wsurprising and value < 0 or > 127.
+       (gfc_simplify_char):  ICE if extract_int fails. Error if
+       value < 0 or value > 255.
+       (gfc_simplify_iachar):  Remove use of xascii_table.
+       Char values outside of 0..255 are an ICE.
+       (gfc_simplify_lge):  Remove use of xascii_table.
+       (gfc_simplify_lgt):  Likewise.
+       (gfc_simplify_lle):  Likewise.
+       (gfc_simplify_llt):  Likewise.
+       (invert_table):  Remove.
+       (gfc_simplify_init_1):  Remove.
+
+2007-01-27  Roger Sayle  <roger@eyesopen.com>
+
+       * trans-stmt.c (forall_info): Replace the next_nest and outer
+       fields that previously implemented a doubly-linked list with a
+       single prev_nest field (singly-linked list).
+       (gfc_trans_nested_forall_loop): The nested_forall_info argument
+       now denotes the innermost FORALL in the loop nest.
+       (compute_overall_iter_number): Use prev_nest instead of next_nest.
+       (gfc_trans_forall_1): Link/cons the new "info" to the head of the
+       nested_forall_info linked list.  Free the current "info" when done.
+
+2007-01-27  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/30407
+       * trans-expr.c (gfc_conv_operator_assign): New function.
+       * trans.h : Add prototype for gfc_conv_operator_assign.
+       * trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
+       a potential operator assignment subroutine.  If it is non-NULL
+       call gfc_conv_operator_assign instead of the first assignment.
+       ( gfc_trans_where_2): In the case of an operator assignment,
+       extract the argument expressions from the code for the
+       subroutine call and pass the symbol to gfc_trans_where_assign.
+       resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
+       gfc_resolve_forall_body): Resolve the subroutine call for
+       operator assignments.
+
+2007-01-26  Steven Bosscher  <stevenb.gcc@gmail.com>
+           Steven G. Kargl <kargl@gcc.gnu.org>
+
+       PR fortran/30278
+       * fortran/io.c (next_char): Deal with backslash escaped characters.
+       Issue warnings in non -std=gnu cases.
+       * fortran/primary.c (next_string_char): Issue warnings in non
+
 2007-01-26  Tobias Burnus  <burnus@net-b.de>
 
        * lang-specs.h: Add support for .f03 and .F03 extensions.