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

--- Comment #4 from David Faust <david.faust at oracle dot com> ---
Reproduced on armv7 host for x86_64 target.  This should fail for any 64-bit
target where the host's size_t is <64-bits.

Changing 'size' from size_t to unsigned HOST_WIDE_INT in ctf_add_sou as above
resolves the issue from my testing.  The struct size is not truncated and the
test passes.  Will send a patch shortly.

Reply via email to