https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101308

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED (in GCC 12)

The committed c-interop / TS29113 testsuite now passes – and the testcase from
comment 0 gives:

{
  integer(kind=4) * p;

  p = 0B;
  {
    struct CFI_cdesc_t00 cfi.0;

    cfi.0.version = 1;
    cfi.0.rank = 0;
    cfi.0.type = 1025;
    cfi.0.attribute = 0;
    cfi.0.base_addr = (void *) p;
    cfi.0.elem_len = 4;
    ctest (&cfi.0);
    p = (integer(kind=4) *) cfi.0.base_addr;
  }
}

Reply via email to