This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: commons and equivalences are broken!
- From: Richard Guenther <rguenther at suse dot de>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 28 Feb 2008 16:38:54 +0100 (CET)
- Subject: Re: commons and equivalences are broken!
- References: <Pine.LNX.4.64.0802281606590.4133@zhemvz.fhfr.qr>
On Thu, 28 Feb 2008, Richard Guenther wrote:
>
> With a patch of mine we start to miscompile gfortran.dg/common_resize_1.f
> because the Fortran FE for (for example) common/aux33/ in prtal generates
> a _union_ (!??) of its members. This overlaps all arrays specified in
> this common block and thus I start to CSE stores to one of its arrays
> with loads of other arrays ...
Actually I take that back - it seems the union members are all at
distinct offset.
Richard.