Re: [Patch, fortran] PR83515, PR85797 - ICE in gfc_element_size

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Patch, fortran] PR83515, PR85797 - ICE in gfc_element_size

Harald Anlauf-3
Committed to trunk as svn rev. 270045.

Since the patch is considered safe, I also committed to open branches (7/8).

Thanks for the review!

Harald

On 03/20/19 23:20, Harald Anlauf wrote:

> The PRs originated in gfc_element_size lacking a treatment of
> procedure pointers, which has been added.  The testcase is currently
> a pure compile test.  When a reduced run-time test for PR83515
> becomes available, it will be added to the testsuite.
>
> Regtested on x86_64-pc-linux-gnu.
>
> OK for trunk?
>
> Thanks,
> Harald
>
> 2019-03-20  Harald Anlauf  <[hidden email]>
>
> PR fortran/83515
> PR fortran/85797
> * trans-types.c (gfc_typenode_for_spec): Handle conversion for
> procedure pointers.
> * target-memory.c (gfc_element_size): Handle size determination
> for procedure pointers.
>
> 2019-03-20  Harald Anlauf  <[hidden email]>
>
> PR fortran/83515
> PR fortran/85797
> * gfortran.dg/pr85797.f90: New test.
>