https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305
--- Comment #14 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #13) > AFAICT this PR has been fixed by r213079. Yes. I have implemented it to return - as in comment 6's option (c): It returns the size of the dynamic type. However, I missed to do what comment 9 mentioned: Updating the documentation. I will do this as follow-up patch. (In reply to janus from comment #11) > TODO: A proper treatment of array arguments seems to be missing for both > SIZEOF and STORAGE_SIZE. Seems to work okay: It returns the element-size times array size. For a noncontiguous array, SIZEOF is not really defined – and for STORAGE_SIZE should simply return the size in bytes, which should be fine as well. Does anyone see a problem with the current implementation?