[Bug fortran/65792] allocation of scalar elemental function with structure constructor fails

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 18 11:10:00 GMT 2015


--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Created attachment 35352
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35352&action=edit
Cumulated patch for PR61831 and 65792

> Can you post a testcase for the remaining bug there?
> I have lost sight of what is missing.

I have attached the patch I have applied on top of a clean tree at r222212 and
regtested. As said before the patch fixes also pr49324.

Note that I have tested with

! { dg-additional-options "-fsanitize=address" }

IIRC this is not available on all targets.

More information about the Gcc-bugs mailing list