I am using RHEL7.2 and default GCC version is 4.8.5 20150623
I would like to upgrade GCC to 6.1 and above for few reasons. (Like C++14 support, good sanitize options, SSO)
This link says distro's keep default version of GCC due to some reasons and else it may break ABI.
Is it ok to upgrade GCC if I build all the libs/files I am using same compiler? Do I need to take care anything else?