gcc6 from Kernel:tools project

Select Your Operating System

For SLE 12 SP5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:tools/SLE_12_SP5/Kernel:tools.repo
zypper refresh
zypper install gcc6