Hi Tobias! On Sat, 26 Jul 2014 01:47:02 +0200, Tobias Burnus <bur...@net-b.de> wrote: > 2014-07-26 Tobias Burnus <bur...@net-b.de> > > * check.c (gfc_check_sizeof): Permit for assumed type if and > only if it has an array descriptor. > * intrinsic.c (do_ts29113_check): Permit SIZEOF. > (add_functions): SIZEOF is an Inquiry function. > * intrinsic.texi (SIZEOF): Add note that only contiguous > arrays are permitted. > * trans-expr.c (gfc_conv_intrinsic_to_class): Handle assumed > rank. > * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): Handle > assumed type + array descriptor, CLASS and assumed rank. > (gfc_conv_intrinsic_storage_size): Handle class arrays. > > 2014-07-26 Tobias Burnus <bur...@net-b.de> > > * gfortran.dg/sizeof_2.f90: Change dg-error. > * gfortran.dg/sizeof_4.f90: New. > * gfortran.dg/storage_size_1.f08: Correct expected > value.
I noticed that the sizeof_4.f90 test case has not been checked in, probably just forgot to svn add the file? Searching for it in my emails, I also noticed that a year ago a similar patch has been posted in <http://news.gmane.org/find-root.php?message_id=%3CCAKwh3qi633jU-ojPKqRa_16DKWhXn9L2N0Wr4trAG9p1dJ-sXg%40mail.gmail.com%3E>, but that is now probably obsolete. Grüße, Thomas
pgpidlSQNRkyl.pgp
Description: PGP signature