diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2025-09-01 16:49:38 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2025-09-01 19:17:13 +0100 |
commit | f852d2b01063e71315b98f9da68c21705a78ec14 (patch) | |
tree | c5b5cd5b52676b491dc0b6a8d205ad413c2bed72 /libgomp/testsuite/libgomp.fortran/allocatable10.f90 | |
parent | 4a84a19674ff7146b38449ddffda1b8d36da118f (diff) | |
download | gcc-f852d2b01063e71315b98f9da68c21705a78ec14.zip gcc-f852d2b01063e71315b98f9da68c21705a78ec14.tar.gz gcc-f852d2b01063e71315b98f9da68c21705a78ec14.tar.bz2 |
diagnostics: Fix bootstrap fail on Darwin 32b hosts.
The use of HOST_SIZE_T_PRINT_HEX needs to be paired with a c-style
cast to (fmt_size_t) otherwise the detection mechanisms in hwint.h
are not sufficient to deal with size_t defined as 'long unsigned int'
which is done on Darwin (and I think on Windows).
This patch just makes that update.
gcc/ChangeLog:
* diagnostics/logging.h (log_param_location_t): Cast
location_t value to fmt_size_t.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran/allocatable10.f90')
0 files changed, 0 insertions, 0 deletions