diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2021-04-21 00:09:53 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2021-04-21 01:08:00 -0500 |
commit | 90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd (patch) | |
tree | fda78e19d352261f249875bd75f7343b7a9796ef /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f76fb7d4203324bdd06a04b190b654a2348fbe17 (diff) | |
download | llvm-90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd.zip llvm-90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd.tar.gz llvm-90e5ce0b0d6b0e72fdc034cbb612f67d67de0fdd.tar.bz2 |
[PollyACC] Fix implicit function definitions. NFC.
The isl_id_* have been in used without including the correspodning
isl/id.h header. According to rules in C, a function is defined
implicitly when first used with an assumed int return type (32 bits on
64 bit systems). But the implementation returns a pointer (64 bits on 64
bit systems). Is usually has no consequence because the return value is
stored in a registers that is 64 bits (RAX) and the optimizer does not
truncate its value before using it again as a pointer value. However,
LTO optimizers will be rightfull;y confused.
Fix by including <isl/id.h>
This fixes llvm.org/PR50021
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions