diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-11-15 21:44:26 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-11-15 21:44:26 +0100 |
commit | 11746b92d8023be7a074b788ab2e42fa6ad2f492 (patch) | |
tree | d5417534167d8746e98a8d64124cda21b00d2c67 /gcc/debug.c | |
parent | ed2a97eb0d4549150716c6017a8678905e884b42 (diff) | |
download | gcc-11746b92d8023be7a074b788ab2e42fa6ad2f492.zip gcc-11746b92d8023be7a074b788ab2e42fa6ad2f492.tar.gz gcc-11746b92d8023be7a074b788ab2e42fa6ad2f492.tar.bz2 |
re PR fortran/46484 (Should reject ALLOCATED(non-variable expression ))
2010-11-15 Tobias Burnus <burnus@net.b.de>
PR fortran/46484
* check.c (variable_check): Don't treat functions calls as
* variables;
optionally accept function themselves.
(gfc_check_all_any, gfc_check_loc, gfc_check_move_alloc,
gfc_check_null, gfc_check_present, gfc_check_cpu_time,
gfc_check_date_and_time, gfc_check_mvbits, gfc_check_random_number,
gfc_check_random_seed, gfc_check_system_clock,
gfc_check_dtime_etime, gfc_check_dtime_etime_sub,
gfc_check_itime_idate,gfc_check_ltime_gmtime): Update call.
2010-11-15 Tobias Burnus <burnus@net.b.de>
PR fortran/46484
* gfortran.dg/allocatable_scalar_11.f90: New.
* gfortran.dg/allocatable_scalar_5.f90: Make test case standard
* conform.
From-SVN: r166769
Diffstat (limited to 'gcc/debug.c')
0 files changed, 0 insertions, 0 deletions