diff options
author | Clément Chigot <clement.chigot@atos.net> | 2021-05-06 16:08:15 +0200 |
---|---|---|
committer | Clément Chigot <clement.chigot@atos.net> | 2022-01-12 16:59:47 +0100 |
commit | 14e0d8329750776a1807626867f87dacc102f9ed (patch) | |
tree | 00e766cd37adf3fed25f88ea34bebfd9981aa488 /gcc/tree-vectorizer.h | |
parent | 75845d584f490c294d40908168e5721adc38145d (diff) | |
download | gcc-14e0d8329750776a1807626867f87dacc102f9ed.zip gcc-14e0d8329750776a1807626867f87dacc102f9ed.tar.gz gcc-14e0d8329750776a1807626867f87dacc102f9ed.tar.bz2 |
aix: handle 64bit inodes for include directories
On AIX, stat will store inodes in 32bit even when using LARGE_FILES.
If the inode is larger, it will return -1 in st_ino.
Thus, in incpath.c when comparing include directories, if several
of them have 64bit inodes, they will be considered as duplicated.
gcc/ChangeLog:
2022-01-12 Clément Chigot <clement.chigot@atos.net>
* configure.ac: Check sizeof ino_t and dev_t.
(HOST_STAT_FOR_64BIT_INODES): New AC_DEFINE to provide stat
syscall being able to handle 64bit inodes.
* config.in: Regenerate.
* configure: Regenerate.
* incpath.c (HOST_STAT_FOR_64BIT_INODES): New define.
(remove_duplicates): Use it.
libcpp/ChangeLog:
2022-01-12 Clément Chigot <clement.chigot@atos.net>
* configure.ac: Check sizeof ino_t and dev_t.
* config.in: Regenerate.
* configure: Regenerate.
* include/cpplib.h (INO_T_CPP): Change for AIX.
(DEV_T_CPP): New macro.
(struct cpp_dir): Use it.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions