Install gcc-snapshot by entering the following commands in the terminal:
sudo apt update sudo apt install gcc-snapshot
Description:
SNAPSHOT of the GNU Compiler Collection
This package contains a recent development SNAPSHOT of all files contained in the GNU Compiler Collection (GCC). . The source code for this package has been exported from SVN trunk. . DO NOT USE THIS SNAPSHOT FOR BUILDING DEBIAN PACKAGES! . This package will NEVER hit the testing distribution. It is used for tracking gcc bugs submitted to the Debian BTS in recent development versions of gcc.
Homepage: http://gcc.gnu.org/
Version: 1:20180425-1ubuntu1
Section: universe/devel