aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2024-12-24 00:07:54 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2024-12-24 01:13:02 +0100
commita5b1f3e14ae6354bd7944dd5dd9c74880c7546db (patch)
tree934fdbc7dfc0ddba5a9c5ef4ff47851d90f5c0b9 /gcc
parentf25250e0d5938a81f9f1b37ca873381dcfa26211 (diff)
downloadgcc-a5b1f3e14ae6354bd7944dd5dd9c74880c7546db.zip
gcc-a5b1f3e14ae6354bd7944dd5dd9c74880c7546db.tar.gz
gcc-a5b1f3e14ae6354bd7944dd5dd9c74880c7546db.tar.bz2
libgfortran: Fix build for targets with int32_t=long int
Without this, after r15-6415-g586477d67bf2e3, you'll see, for targets where int32_t is a typedef of long int (beware of artificially broken lines): /x/gcc/libgfortran/caf/single.c: In function '_gfortran_caf_get_by_ct': /x/gcc/libgfortran/caf/single.c:2943:56: error: passing argument 2 of '\ (accessor_hash_table + (sizetype)((unsigned int)getter_index * 12))->ac\ cessor' from incompatible pointer type [-Wincompatible-pointer-types] 2943 | accessor_hash_table[getter_index].accessor (dst_ptr, &free_bu\ ffer, src_ptr, | ^~~~~~~~\ ~~~~ | | | int * /x/gcc/libgfortran/caf/single.c:2943:56: note: expected 'int32_t *' {ak\ a 'long int *'} but argument is of type 'int *' libgfortran: * caf/single.c (_gfortran_caf_get_by_ct): Correct type of free_buffer to int32_t.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions