[Bug fortran/92872] [10 Regression] ICE in build_fold_indirect_ref_loc, at fold-const.c:14842
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 10 10:40:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92872
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #3)
> trunk/gcc/testsuite/gfortran.dg/bind_c_optional-1.f90
FIXED. Thanks for the report! You seems to have/create a nice test collection
which is very, very helpful to avoid issues in the release!
Note that due to PR 92189, your example only works at run time if the lower
bound starts at 0 – at least it seems to work by chance, if I allocated it with
lbound = 0 in the caller. (That's what I do in the added test case.)
(In reply to Martin Liška from comment #1)
> Confirmed, started with r276444.
Thanks for doing all those bug triages!
More information about the Gcc-bugs
mailing list