When targeting SPARC V8+ or V9 on Linuxon Linux and the BSDs, GCC only defines the macro
__sparc_v9__ only while clang also defines additional macros such as
__sparcv9 that are used on Solaris and the BSDs only.. When targeting SPARC V9, Make sure,GCC defines __sparc_v9__ on Linux
clang behaves as GCC on Linux andwhile other macros such as __sparcv9 are defines __sparc_v9__ only to avoidd on Solaris andthe BSDs
In order to avoid compatibility problems.ms, make sure clang behaves as
Fixes PR49562GCC and defines the same macros depending on the target platform and
SPARC CPU baseline. Update the tests accordingly.