[Patch, fortran]
Paul Richard Thomas
paul.richard.thomas@gmail.com
Mon Dec 2 19:13:49 GMT 2024
Hi Jerry,
Thanks for the green light. I am holding off for 24 hours because I have a
much cleaner solution in the offing.
Cheers
Paul
On Mon, 2 Dec 2024 at 01:46, Jerry D <jvdelisle2@gmail.com> wrote:
> On 12/1/24 1:31 PM, Paul Richard Thomas wrote:
> > Hi All,
> >
> > This is a regression caused by my patch for PR109345 - r15-5083.
> >
> > I overlooked the possibility that the unlimited polymorphic container
> > might be the component of a dummy derived type. The fix is simple and
> > relatively obvious.
> >
> > Regards
> >
> > Paul
> >
>
> OK to push.
>
> Jerry
>
> > Fortran: Fix regression caused by r15-5083 [PR117797]
> >
> > 2024-12-01 Paul Thomas <pault@gcc.gnu.org <mailto:pault@gcc.gnu.org>>
> >
> > gcc/fortran
> > PR fortran/117797
> > * trans-array.cc (gfc_get_array_span): Prevent unlimited poly-
> > morphic dummy variable expressions, if the array is a component
> > of a derived type, from using GFC_DECL_SAVED_DESCRIPTOR for the
> > class container. Use a gcc_assert to verify the presence of the
> > GFC_DECL_SAVED_DESCRIPTOR.
> >
> > gcc/testsuite/
> > PR fortran/117797
> > * gfortran.dg/pr117797.f90 : New test.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20241202/e7afc08f/attachment.htm>
More information about the Fortran
mailing list