https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56789
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Summary|Wrong code with contiguous |Handling of contiguous |dummy argument |dummy arguments --- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- So, this is a diagnostic issue after all. For the time being, it seems that we could just not do the pack/unpack and issue an error for the test case. We can handle the F2018 stuff later (whatever it turns out to be).