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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems _gfortran_caf_register (1, 5, &caf_token.0, 0B, 0B, 0) allocates here 1 *
sizeof (bool), i.e. a single byte, but _gfortran_caf_event_query (caf_token.3,
0, 0, &count, 0B); expects the token to be array of uint32_t.
So, is the bug in _gfortran_caf_register that for the *_EVENT_* types it should
multiply size by sizeof (uint32_t), or should the caller do that, something
else?

Reply via email to