OSDN Git Service

2010-02-20 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Feb 2010 12:46:43 +0000 (12:46 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Feb 2010 12:46:43 +0000 (12:46 +0000)
commit08803898f86ac4e22632737f1bd52668dbb4e663
treed1b425ccdec447a40c7a383fc38708be8c41cc3e
parentf00fc6e685fc15436f6716011bc20bd891f899b7
2010-02-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/36932
PR fortran/36933
PR fortran/43072
PR fortran/43111
* dependency.c (gfc_check_argument_var_dependency): Use enum
value instead of arithmetic vaue for 'elemental'.
(check_data_pointer_types): New function.
(gfc_check_dependency): Call check_data_pointer_types.
* trans-array.h : Change fourth argument of
gfc_conv_array_parameter to boolean.
* trans-array.c (gfc_conv_array_parameter): A contiguous array
can be a dummy but it must not be assumed shape or deferred.
Change fourth argument to boolean. Array constructor exprs will
always be contiguous and do not need packing and unpacking.
* trans-expr.c (gfc_conv_procedure_call): Clean up some white
space and change fourth argument of gfc_conv_array_parameter
to boolean.
(gfc_trans_arrayfunc_assign): Change fourth argument of
gfc_conv_array_parameter to boolean.
* trans-io.c (gfc_convert_array_to_string): The same.
* trans-intrinsic.c (gfc_conv_intrinsic_loc): The same.

2010-02-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/36932
PR fortran/36933
* gfortran.dg/dependency_26.f90: New test.

PR fortran/43072
* gfortran.dg/internal_pack_7.f90: New test.

PR fortran/43111
* gfortran.dg/internal_pack_8.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156926 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/trans-array.c
gcc/fortran/trans-array.h
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_26.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/internal_pack_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/internal_pack_8.f90 [new file with mode: 0644]