Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2012-12-16 Tobias Burnus <burnus@net-b.de> | burnus | 2012-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | PR fortran/55638 * resolve.c (resolve_formal_arglist): Allow VALUE without INTENT for ELEMENTAL procedures. 2012-12-16 Tobias Burnus <burnus@net-b.de> PR fortran/55638 * gfortran.dg/elemental_args_check_3.f90: Update dg-error. * gfortran.dg/elemental_args_check_7.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194525 138bc75d-0d04-0410-961f-82ee72b054a4 | ||||
* | 2010-08-15 Daniel Kraft <d@domob.eu> | domob | 2010-08-15 | 1 | -0/+23 |
PR fortran/45197 * decl.c (gfc_match_prefix): Match IMPURE prefix and mark ELEMENTAL routines not IMPURE also as PURE. * intrinsic.c (enum klass): New class `CLASS_PURE' and renamed `NO_CLASS' in `CLASS_IMPURE'. (add_sym): Set symbol-attributes `pure' and `elemental' correctly. (add_sym_0s): Renamed `NO_CLASS' in `CLASS_IMPURE'. (add_functions): Ditto. (add_subroutines): Ditto and mark `MOVE_ALLOC' as CLASS_PURE. * resolve.c (gfc_pure): Do not treat ELEMENTAL as automatically PURE. (resolve_formal_arglist): Check that arguments to ELEMENTAL procedures are not ALLOCATABLE and have their INTENT specified. 2010-08-15 Daniel Kraft <d@domob.eu> PR fortran/45197 * gfortran.dg/elemental_args_check_3.f90: New test. * gfortran.dg/impure_1.f08: New test. * gfortran.dg/impure_2.f08: New test. * gfortran.dg/impure_3.f90: New test. * gfortran.dg/typebound_proc_6.f03: Changed expected error message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163261 138bc75d-0d04-0410-961f-82ee72b054a4 |