diff --git a/llvm/cmake/modules/CheckCompilerVersion.cmake b/llvm/cmake/modules/CheckCompilerVersion.cmake
--- a/llvm/cmake/modules/CheckCompilerVersion.cmake
+++ b/llvm/cmake/modules/CheckCompilerVersion.cmake
@@ -4,8 +4,8 @@
include(CheckCXXSourceCompiles)
-set(GCC_MIN 7.1)
-set(GCC_SOFT_ERROR 7.1)
+set(GCC_MIN 7.4)
+set(GCC_SOFT_ERROR 7.4)
set(CLANG_MIN 5.0)
set(CLANG_SOFT_ERROR 5.0)
set(APPLECLANG_MIN 10.0)
diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -281,7 +281,6 @@
Package Version Notes
=========================================================== ============ ==========================================
`CMake `__ >=3.20.0 Makefile/workspace generator
-`GCC `_ >=7.1.0 C/C++ compiler\ :sup:`1`
`python `_ >=3.6 Automated test suite\ :sup:`2`
`zlib `_ >=1.2.3.4 Compression library\ :sup:`3`
`GNU Make `_ 3.79, 3.79.1 Makefile/build processor\ :sup:`4`
@@ -343,7 +342,7 @@
* Clang 5.0
* Apple Clang 10.0
-* GCC 7.1
+* GCC 7.4
* Visual Studio 2019 16.7
Anything older than these toolchains *may* work, but will require forcing the
@@ -409,11 +408,11 @@
.. _github gist:
https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91
-Easy steps for installing GCC 7.1.0:
+Easy steps for installing a specific version of GCC:
.. code-block:: console
- % gcc_version=7.1.0
+ % gcc_version=7.4.0
% wget https://ftp.gnu.org/gnu/gcc/gcc-${gcc_version}/gcc-${gcc_version}.tar.bz2
% wget https://ftp.gnu.org/gnu/gcc/gcc-${gcc_version}/gcc-${gcc_version}.tar.bz2.sig
% wget https://ftp.gnu.org/gnu/gnu-keyring.gpg