efriedma added inline comments.
================ Comment at: lib/CodeGen/CGExpr.cpp:3359 + // Remember the original array subscript for bpf target + unsigned idx = cast<llvm::ConstantInt>(indices.back())->getZExtValue(); + eltPtr = CGF.Builder.CreatePreserveArrayAccessIndex(addr.getPointer(), ---------------- I don't think there's any reason to expect the array subscript is a ConstantInt here? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61809/new/ https://reviews.llvm.org/D61809 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits