Re: [PATCH] libffi: Fix up x86_64 classify_argument

2021-06-16 Thread Uros Bizjak via Gcc-patches
On Wed, Jun 16, 2021 at 9:49 AM Jakub Jelinek wrote: > > Hi! > > As the following testcase shows, libffi didn't handle properly > classify_arguments of structures at byte offsets not divisible by > UNITS_PER_WORD. The following patch adjusts it to match what > config/i386/ classify_argument does

[PATCH] libffi: Fix up x86_64 classify_argument

2021-06-16 Thread Jakub Jelinek via Gcc-patches
Hi! As the following testcase shows, libffi didn't handle properly classify_arguments of structures at byte offsets not divisible by UNITS_PER_WORD. The following patch adjusts it to match what config/i386/ classify_argument does for that and also ports the PR38781 fix there (the second chunk).