[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|10.0|9.3 --- Comment #8 from kargl at gcc dot gnu.org --- Fixed on 9-branch and trunk.
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Aug 12 19:48:37 2019 New Revision: 274318 URL: https://gcc.gnu.org/viewcvs?rev=274318=gcc=rev Log: 2019-08-01 Steven G. Kargl PR fortran/42546 * check.c(gfc_check_allocated): Add comment pointing to ... * intrinsic.c(sort_actual): ... the checking done here. 2019-08-01 Steven G. Kargl PR fortran/42546 * gfortran.dg/allocated_1.f90: New test. * gfortran.dg/allocated_2.f90: Ditto. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/allocated_1.f90 branches/gcc-9-branch/gcc/testsuite/gfortran.dg/allocated_2.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/check.c branches/gcc-9-branch/gcc/fortran/intrinsic.c branches/gcc-9-branch/gcc/testsuite/ChangeLog
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Aug 6 19:46:29 2019 New Revision: 274147 URL: https://gcc.gnu.org/viewcvs?rev=274147=gcc=rev Log: 2019-08-01 Steven G. Kargl PR fortran/42546 * check.c(gfc_check_allocated): Add comment pointing to ... * intrinsic.c(sort_actual): ... the checking done here. 2019-08-01 Steven G. Kargl PR fortran/42546 * gfortran.dg/allocated_1.f90: New test. * gfortran.dg/allocated_2.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/allocated_1.f90 trunk/gcc/testsuite/gfortran.dg/allocated_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/fortran/intrinsic.c trunk/gcc/testsuite/ChangeLog
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #4) > I have a patch except for the doc fixes, which I'll nick from Tobias' 10 > year old patch. It seems over the years that we've fixed the documentation, but not the implementation details. I just submitted a patch.
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC||kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org Target Milestone|--- |10.0 --- Comment #4 from kargl at gcc dot gnu.org --- I have a patch except for the doc fixes, which I'll nick from Tobias' 10 year old patch.
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2011.01.29 15:49:01 Ever Confirmed|0 |1 --- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-01-29 15:49:01 UTC --- I see the error for allocated(scalar=x), but I did not try the patch.
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
--- Comment #1 from burnus at gcc dot gnu dot org 2009-12-29 19:05 --- Created an attachment (id=19419) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19419action=view) Incomplete draft patch (diff) + Test case (bottom, no diff format) Draft patch. - Misses modification to trans-intrinsic.c - (ARRAY=scalar) diagnosis missing (needs an idea how to solve this, cf. comment 0) Contains: - Test case (dg-error incomplete) - Modifications to intrinsic.{c,h}, check.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546
[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables
--- Comment #2 from burnus at gcc dot gnu dot org 2009-12-29 19:12 --- For the .texi changes, see also http://gcc.gnu.org/ml/fortran/2009-12/msg00183.html (I have not checked whether this covers all). Cf. also PR 42547. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546