diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-01-04 08:30:49 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-01-04 08:30:49 +0100 |
commit | 5b13080782bb78ffcf0ac8150e379a30fbcef04a (patch) | |
tree | 8e4ad400c37fd8a181953cc2a8978ff5aaaeec7e /gcc/fortran/invoke.texi | |
parent | f42621553669746ede1f161f110f78c7df817aa6 (diff) | |
download | gcc-5b13080782bb78ffcf0ac8150e379a30fbcef04a.zip gcc-5b13080782bb78ffcf0ac8150e379a30fbcef04a.tar.gz gcc-5b13080782bb78ffcf0ac8150e379a30fbcef04a.tar.bz2 |
re PR fortran/41872 (wrong-code: Issues with allocatable scalars)
2009-01-04 Tobias Burnus <burnus@net-b.de>
PR fortran/41872
* trans-expr.c (gfc_conv_procedure_call): Add indirect ref
for functions returning allocatable scalars.
* trans-stmt.c (gfc_trans_allocate): Emmit error when
reallocating an allocatable scalar.
* trans.c (gfc_allocate_with_status): Fix pseudocode syntax
in comment.
* trans-decl.c (gfc_trans_deferred_vars): Nullify local
allocatable scalars.
(gfc_generate_function_code): Nullify result variable for
allocatable scalars.
PR fortran/40849
* module.c (gfc_use_module): Fix warning string to allow
for translation.
PR fortran/42517
* invoke.texi (-fcheck=recursion): Mention that the checking
is also disabled for -frecursive.
* trans-decl.c (gfc_generate_function_code): Disable
-fcheck=recursion when -frecursive is used.
* intrinsic.texi (iso_c_binding): Improve wording.
2009-01-04 Tobias Burnus <burnus@net-b.de>
PR fortran/41872
* gfortran.dg/allocatable_scalar_5.f90: New test.
* gfortran.dg/allocatable_scalar_6.f90: New test.
From-SVN: r155606
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r-- | gcc/fortran/invoke.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index b9ad170..21db293 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1258,7 +1258,7 @@ Enable generation of run-time checks for pointers and allocatables. Enable generation of run-time checks for recursively called subroutines and functions which are not marked as recursive. See also @option{-frecursive}. Note: This check does not work for OpenMP programs and is disabled if used -together with @option{-fopenmp}. +together with @option{-frecursive} and @option{-fopenmp}. @end table |