2022-05-19 03:02:21 +00:00
|
|
|
set -e
|
|
|
|
|
2022-05-26 16:37:36 +00:00
|
|
|
gcc_output=$(gcc -E -dM -x c /dev/null | grep -e __LONG_DOUBLE_IEEE128__ -e __LONG_DOUBLE_IBM128__)
|
|
|
|
clang_output=$(clang -E -dM -x c /dev/null | grep -e __LONG_DOUBLE_IEEE128__ -e __LONG_DOUBLE_IBM128__)
|
2022-05-19 03:02:21 +00:00
|
|
|
|
|
|
|
echo "gcc: $gcc_output"
|
|
|
|
echo "clang: $clang_output"
|
|
|
|
|
|
|
|
test "$gcc_output" = "$clang_output"
|