* [Bug fortran/93834] [8/9/10 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
@ 2020-04-26 20:22 ` anlauf at gcc dot gnu.org
2021-05-14 9:53 ` [Bug fortran/93834] [9/10/11/12 " jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-04-26 20:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #3 from anlauf at gcc dot gnu.org ---
AFAICT this is invalid code.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
2020-04-26 20:22 ` [Bug fortran/93834] [8/9/10 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469 anlauf at gcc dot gnu.org
@ 2021-05-14 9:53 ` jakub at gcc dot gnu.org
2021-06-01 8:16 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
2020-04-26 20:22 ` [Bug fortran/93834] [8/9/10 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469 anlauf at gcc dot gnu.org
2021-05-14 9:53 ` [Bug fortran/93834] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:16 ` rguenth at gcc dot gnu.org
2021-08-24 20:37 ` anlauf at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-06-01 8:16 ` rguenth at gcc dot gnu.org
@ 2021-08-24 20:37 ` anlauf at gcc dot gnu.org
2021-09-02 18:37 ` anlauf at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-08-24 20:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.org
CC| |anlauf at gcc dot gnu.org
--- Comment #6 from anlauf at gcc dot gnu.org ---
Patch: https://gcc.gnu.org/pipermail/fortran/2021-August/056440.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-08-24 20:37 ` anlauf at gcc dot gnu.org
@ 2021-09-02 18:37 ` anlauf at gcc dot gnu.org
2021-09-23 16:49 ` cvs-commit at gcc dot gnu.org
2021-09-23 17:13 ` burnus at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-09-02 18:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|anlauf at gcc dot gnu.org |unassigned at gcc dot gnu.org
Status|ASSIGNED |NEW
--- Comment #7 from anlauf at gcc dot gnu.org ---
Patch withdrawn after review.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-09-02 18:37 ` anlauf at gcc dot gnu.org
@ 2021-09-23 16:49 ` cvs-commit at gcc dot gnu.org
2021-09-23 17:13 ` burnus at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-23 16:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:1b07d9dce6c51c98d011236c3d4cd84a2ed59ba2
commit r12-3866-g1b07d9dce6c51c98d011236c3d4cd84a2ed59ba2
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Thu Sep 23 18:47:45 2021 +0200
Fortran: Handle allocated() with coindexed scalars [PR93834]
While for an allocatable 'array', 'array(:)' and 'array(:)[1]' are
not allocatable, it is believed that not only 'scalar' but also
'scalar[1]' is allocatable. However, coarrays are collectively
established/allocated; thus, 'allocated(scalar[i])' is equivalent
to 'allocated(scalar)'. [At least when assuming that 'i' does not
refer to a failed image.]
2021-09-23 Harald Anlauf <anlauf@gmx.de>
Tobias Burnus <tobias@codesourcery.com>
PR fortran/93834
gcc/fortran/ChangeLog:
* trans-intrinsic.c (gfc_conv_allocated): Cleanup. Handle
coindexed scalar coarrays.
gcc/testsuite/ChangeLog:
* gfortran.dg/coarray/coarray_allocated.f90: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469
[not found] <bug-93834-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2021-09-23 16:49 ` cvs-commit at gcc dot gnu.org
@ 2021-09-23 17:13 ` burnus at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2021-09-23 17:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED. Thanks for the report.
Based on the discussion, it was decided that the code is was probably valid
(i.e. 'scalar[4]' is regarded as allocatable).
Cf. https://gcc.gnu.org/pipermail/fortran/2021-September/056486.html and in
particular Malcolm's judgement at
https://mailman.j3-fortran.org/pipermail/j3/2021-September/013322.html
^ permalink raw reply [flat|nested] 7+ messages in thread