aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-12-05 22:56:41 +0100
committerJakub Jelinek <jakub@redhat.com>2023-12-05 22:56:41 +0100
commit9610ba7b6ff88c1c9b4fba232458e9397cc71a02 (patch)
tree79f29c7202b08eca9e1f64a5b59bcbfa1225befb /gcc/tree-object-size.h
parent59be79fd596ec8f8fbdf1479bc99e6aba9c52778 (diff)
downloadgcc-9610ba7b6ff88c1c9b4fba232458e9397cc71a02.zip
gcc-9610ba7b6ff88c1c9b4fba232458e9397cc71a02.tar.gz
gcc-9610ba7b6ff88c1c9b4fba232458e9397cc71a02.tar.bz2
libgfortran: Fix -Wincompatible-pointer-types errors
As reported, libgfortran fails to build on targets where int32_t and int are different types, because it uses int vs. GFC_INTEGER_4 (under hood int32_t) interchangeably. The following patch fixes that. 2023-12-05 Florian Weimer <fweimer@redhat.com> Jakub Jelinek <jakub@redhat.com> * io/list_read.c (list_formatted_read_scalar) <case BT_CLASS>: Change types of unit and noiostat to GFC_INTEGER_4 from int, change type of child_iostat from to GFC_INTEGER_4 * from int *, formatting fixes. (nml_read_obj): Likewise. * io/write.c (list_formatted_write_scalar) <case BT_CLASS>: Likewise. (nml_write_obj): Likewise. * io/transfer.c (unformatted_read, unformatted_write): Likewise.
Diffstat (limited to 'gcc/tree-object-size.h')
0 files changed, 0 insertions, 0 deletions