https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700
--- Comment #15 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Hi Harald, Yes indeed. This has already been flagged up by the folk at Arm. I was going to remove that test today. The functional test is done in associate_70.f90 in any case. Cheers Paul On Sat, 2 Nov 2024 at 18:32, anlauf at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 > > --- Comment #14 from anlauf at gcc dot gnu.org --- > (In reply to GCC Commits from comment #13) > > The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: > > > > https://gcc.gnu.org/g:7f93910a8b5d606ad742a3594750f0c2b20d8bda > > > > commit r15-4835-g7f93910a8b5d606ad742a3594750f0c2b20d8bda > > Author: Paul Thomas <pa...@gcc.gnu.org> > > Date: Fri Nov 1 07:45:00 2024 +0000 > > > > Fortran: Fix problems with substring selectors in ASSOCIATE > [PR115700] > > > > 2024-11-01 Paul Thomas <pa...@gcc.gnu.org> > > > > gcc/fortran > > PR fortran/115700 > > * resolve.cc (resolve_assoc_var): Extract a substring > reference > > with missing as well as non-constant start or end. > > > > gcc/testsuite/ > > PR fortran/115700 > > * gfortran.dg/associate_69.f90: Activate commented out tests. > > * gfortran.dg/associate_70.f90: Test correct functioning of > > references in associate_69.f90 tests. > > Paul, > > the addition to testcase gfortran.dg/associate_69.f90 fails on 32-bit > targets > (or using -m32), which can be seen by comparing the dumps: for -m32 the > final > "stop 6" gets optimized away already at -Og, but not at -m64. So the > pattern > needs to be reconsidered. > > Can you have a look? > > -- > You are receiving this mail because: > You are the assignee for the bug. > You are on the CC list for the bug.