llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-llvm-adt Author: None (llvmbot) <details> <summary>Changes</summary> Backport 7f71fa909a10be182b82b9dfaf0fade6eb84796c Requested by: @<!-- -->RoboTux --- Full diff: https://github.com/llvm/llvm-project/pull/82688.diff 1 Files Affected: - (modified) llvm/include/llvm/ADT/iterator_range.h (+2-2) ``````````diff diff --git a/llvm/include/llvm/ADT/iterator_range.h b/llvm/include/llvm/ADT/iterator_range.h index 2dc227935984b1..7d288ea4506ba5 100644 --- a/llvm/include/llvm/ADT/iterator_range.h +++ b/llvm/include/llvm/ADT/iterator_range.h @@ -43,8 +43,8 @@ class iterator_range { IteratorT begin_iterator, end_iterator; public: -#if __GNUC__ == 7 - // Be careful no to break gcc-7 on the mlir target. +#if __GNUC__ == 7 || (__GNUC__ == 8 && __GNUC_MINOR__ < 4) + // Be careful no to break gcc-7 and gcc-8 < 8.4 on the mlir target. // See https://github.com/llvm/llvm-project/issues/63843 template <typename Container> #else `````````` </details> https://github.com/llvm/llvm-project/pull/82688 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits