diff options
author | Lulu Cheng <chenglulu@loongson.cn> | 2024-11-26 14:51:30 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2024-11-30 16:29:28 +0800 |
commit | 4f650ef8d56ca61ed4d0df9bdcd810b6a2e808df (patch) | |
tree | a1968535d5b4e473f75b3c7dd0cfef8a0f796978 /gcc/debug.cc | |
parent | 1539bcd19c5928d8359722c532dfcc7a26a16dda (diff) | |
download | gcc-4f650ef8d56ca61ed4d0df9bdcd810b6a2e808df.zip gcc-4f650ef8d56ca61ed4d0df9bdcd810b6a2e808df.tar.gz gcc-4f650ef8d56ca61ed4d0df9bdcd810b6a2e808df.tar.bz2 |
LoongArch: testsuite: Fix loongarch/vect-frint-scalar.c.
In r15-5327, change the default language version for C compilation from
-std=gnu17 to -std=gnu23.
ISO C99 and C11 allow ceil, floor, round and trunc, and their float and
long double variants, to raise the “inexact” exception,
but ISO/IEC TS 18661-1:2014, the C bindings to IEEE 754-2008, as
integrated into ISO C23, does not allow these functions to do so.
So add '-ffp-int-builtin-inexact' to this test case.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/vect-frint-scalar.c: Add
'-ffp-int-builtin-inexact'.
Diffstat (limited to 'gcc/debug.cc')
0 files changed, 0 insertions, 0 deletions