[flang-commits] [PATCH] D106170: [flang] Runtime API for data pointers
David Spickett via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jul 20 02:19:38 PDT 2021
DavidSpickett added a comment.
This change has broken the flang build on our latest-gcc bot:
https://lab.llvm.org/buildbot/#/builders/160/builds/3224
../llvm-project/flang/runtime/descriptor.h:52:22: error: array subscript ‘Fortran::runtime::Dimension[1]’ is partly outside array bounds of ‘Fortran::runtime::StaticDescriptor<0, true> [1]’ [-Werror=array-bounds]
52 | raw_.lower_bound = lower;
| ~~~~~~~~~~~~~~~~~^~~~~~~
../llvm-project/flang/runtime/descriptor-io.cpp:35:31: note: while referencing ‘statDesc’
35 | StaticDescriptor<0, true> statDesc;
| ^~~~~~~~
Though it has gone through latest-clang fine: https://lab.llvm.org/buildbot/#/builders/180/builds/440
So could be gcc being pessimistic or clang missing something.
Can you please investigate?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106170/new/
https://reviews.llvm.org/D106170
More information about the flang-commits
mailing list