summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorDiego Russo <diego.russo@arm.com>2023-12-06 15:57:34 (GMT)
committerGitHub <noreply@github.com>2023-12-06 15:57:34 (GMT)
commitf941ecfffa9f919b9f624508cd0814e94f56db10 (patch)
treea9c752167b001b5548417c0e30762f624a5aa0b6 /Parser/tokenizer.c
parentf189bd3e839f95396ca4db3295883976c510ef0d (diff)
downloadcpython-f941ecfffa9f919b9f624508cd0814e94f56db10.zip
cpython-f941ecfffa9f919b9f624508cd0814e94f56db10.tar.gz
cpython-f941ecfffa9f919b9f624508cd0814e94f56db10.tar.bz2
[3.12] gh-110190: Fix ctypes structs with array on Arm (#112604) (#112767)
Set MAX_STRUCT_SIZE to 32 in stgdict.c when on Arm platforms. This because on Arm platforms structs with at most 4 elements of any floating point type values can be passed through registers. If the type is double the maximum size of the struct is 32 bytes. On x86-64 Linux, it's maximum 16 bytes hence we need to differentiate. (cherry picked from commit bc68f4a4abcfbea60bb1db1ccadb07613561931c)
Diffstat (limited to 'Parser/tokenizer.c')
0 files changed, 0 insertions, 0 deletions