OSDN Git Service

2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index bae2a2b..13ba611 100644 (file)
@@ -1,5 +1,168 @@
+2006-07-22  Steven Bosscher  <steven@gcc.gnu.org> 
+
+       PR fortran/28439
+       * trans-stmt.c (gfc_trans_arithmetic_if): Evaluate the condition once.
+
+2006-07-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/28390
+       * trans-openmp.c (gfc_trans_omp_do): Look for LASTPRIVATE in
+       code->exp.omp_clauses rather than in the 3rd function argument.
+
+2006-07-16  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/28384
+       * trans-common.c (translate_common): If common_segment is NULL
+       emit error that common block does not exist.
+
+       PR fortran/20844
+       * io.c (check_io_constraints): It is an error if an ADVANCE
+       specifier appears without an explicit format.
+
+       PR fortran/28201
+       * resolve.c (resolve_generic_s): For a use_associated function,
+       do not search for an alternative symbol in the parent name
+       space.
+
+       PR fortran/20893
+       * resolve.c (resolve_elemental_actual): New function t combine
+       all the checks of elemental procedure actual arguments. In
+       addition, check of array valued optional args(this PR) has
+       been added.
+       (resolve_function, resolve_call): Remove parts that treated
+       elemental procedure actual arguments and call the above.
+
+2006-07-14  Steven G. Kargl  <kargls@comcast.net>
+
+       * trans-expr.c (gfc_trans_string_copy): Evaluate the string lengths
+
+006-07-13  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/28353
+       * trans-expr.c (gfc_conv_aliased_arg): Missing formal arg means
+       that intent is INOUT (fixes regression).
+
+       PR fortran/25097
+       * check.c (check_present): The only permitted reference is a
+       full array reference.
+
+       PR fortran/20903
+       * decl.c (variable_decl): Add error if a derived type is not
+       from the current namespace if the namespace is an interface
+       body.
+
+2006-07-12  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/28163
+       * trans-expr.c (gfc_trans_string_copy): Generate inline code
+       to perform string copying instead of calling a library function.
+       * trans-decl.c (gfc_build_intrinsic_function_decls): Don't build
+       decl for copy_string.
+       * trans.h (gfor_fndecl_copy_string): Remove prototype.
+
+2006-07-11  Feng Wang  <fengwang@nudt.edu.cn>
+
+       PR fortran/28213
+       * trans-io.c (transfer_expr): Deal with Hollerith constants used in
+       I/O list.
+
+2006-07-07  Kazu Hirata  <kazu@codesourcery.com>
+
+       * intrinsic.texi: Fix typos.
+
+2006-07-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/28237
+       PR fortran/23420
+       * io.c (resolve_tag): Any integer that is not an assigned
+       variable is an error.
+
+2006-07-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/28129
+       * trans-array.c (gfc_trans_array_bound_check): Add a locus
+       argument, and use it in the error messages.
+       (gfc_conv_array_index_offset): Donc perform bounds checking on
+       the last dimension of assumed-size arrays.
+
+2006-07-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/27874
+       * trans-stmt.c (compute_inner_temp_size): Don't perform bounds
+       checking when calculating the bounds of scalarization.
+
+2006-07-05  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/20892
+       * interface.c (gfc_match_interface): Don't allow dummy procedures
+       to have a generic interface.
+
+2006-07-04  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/28174
+       * trans-array.c (gfc_conv_expr_descriptor): When building temp,
+       ensure that the substring reference uses a new charlen.
+       * trans-expr.c (gfc_conv_aliased_arg): Add the formal intent to
+       the argument list, lift the treatment of missing string lengths
+       from the above and implement the use of the intent.
+       (gfc_conv_function_call): Add the extra argument to the call to
+       the above.
+
+       PR fortran/28167
+       * trans-array.c (get_array_ctor_var_strlen): Treat a constant
+       substring reference.
+       * array.c (gfc_resolve_character_array_constructor): Remove 
+       static attribute and add the gfc_ prefix, make use of element
+       charlens for the expression and pick up constant string lengths
+       for expressions that are not themselves constant.
+       * gfortran.h : resolve_character_array_constructor prototype
+       added.
+       * resolve.c (gfc_resolve_expr): Call resolve_character_array_
+       constructor again after expanding the constructor, to ensure
+       that the character length is passed to the expression.
+
+2006-07-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+           Daniel Franke  <franke.daniel@gmail.com>
+
+       * intrinsic.c (add_subroutines): Add ITIME and IDATE.
+       * intrinsic.h (gfc_check_itime_idate,gfc_resolve_idate,
+       fc_resolve_itime): New protos.
+       * iresolve.c (gfc_resolve_itime, gfc_resolve_idate): New functions.
+       * check.c (gfc_check_itime_idate): New function.
+       * intrinsic.texi: Document the new intrinsics.
+
+2006-07-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * intrinsics/date_and_time.c (itime0,idate0,itime_i4,itime_i8,
+       idate_i4,idate_i8): New functions.
+
+
+2006-07-03  Asher Langton  <langton2@llnl.gov>
+
+       * decl.c (match_old_style_init): Add data attribute to symbol.
+
+2006-07-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * iresolve.c (gfc_resolve_cpu_time, gfc_resolve_random_number):
+       Remove ATTRIBUTE_UNUSED for used argument.
+
+2006-07-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * intrinsic.texi: Document new intrinsics.
+
+2006-07-01  Tobias Schl\81üter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       PR fortran/19259
+       * parse.c (next_free): Error out on line starting with semicolon.
+       (next_fixed): Fix formatting.  Error out on line starting with
+       semicolon.
+
+2006-06-30  Kazu Hirata  <kazu@codesourcery.com>
+
+       * check.c: Fix a comment typo.
+
 2006-06-25  Paul Thomas  <pault@gcc.gnu.org>
+
        PR fortran/25056
        * interface.c (compare_actual_formal): Signal an error if the formal
        argument is a pure procedure and the actual is not pure.