[Patch, fortran, pr67451, gcc-5, v1] [5/6 Regression] ICE with sourced allocation from coarray

Andre Vehreschild vehre@gmx.de
Mon Feb 1 12:20:00 GMT 2016

Hi all,

here is the backport of the patch for pr67451 for gcc-5. Because the
structure of the allocate() in trunk is quite different the patch looks
somewhat different, too, but essentially does the same.

Bootstrapped and regtests ok on x86_64-linux-gnu/F23.

Ok for gcc-5-branch?

Here is the link to the mainline patch:


On Fri, 29 Jan 2016 19:17:24 +0100
Andre Vehreschild <vehre@gmx.de> wrote:

> Hi all,
> attached is a patch to fix a regression in current gfortran when a
> coarray is used in the source=-expression of an allocate(). The ICE was
> caused by the class information, i.e., _vptr and so on, not at the
> expected place. The patch fixes this.
> The patch also fixes pr69418, which I will flag as a duplicate in a
> second.
> Bootstrapped and regtested ok on x86_64-linux-gnu/F23.
> Ok for trunk?
> Backport to gcc-5 is pending, albeit more difficult, because the
> allocate() implementation on 5 is not as advanced the one in 6.
> Regards,
> 	Andre

Andre Vehreschild * Email: vehre ad gmx dot de 

More information about the Gcc-patches mailing list