]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make C2X imply -fno-fp-int-builtin-inexact.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2019 00:37:45 +0000 (00:37 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2019 00:37:45 +0000 (00:37 +0000)
commit36112481bc63ce6f1c7697e22647a1caca76f172
tree24ae9f7f7cca0794b54fdcc58088dce8cb05ac5e
parent63f0cc9ca785cc338452042825f4992d4e4542bb
Make C2X imply -fno-fp-int-builtin-inexact.

Since TS 18661-1 has been integrated into C2X, this patch makes C2X
imply -fno-fp-int-builtin-inexact.

Bootstrapped with no regressions on x86_64-pc-linux-gnu.

gcc:
* doc/invoke.texi (-ffp-int-builtin-inexact): Document
-fno-fp-int-builtin-inexact default for C2X.

gcc/c-family:
* c-opts.c (c_common_post_options): Set
-fno-fp-int-builtin-inexact for C2X.

gcc/testsuite:
* gcc.dg/torture/builtin-fp-int-inexact-c2x.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276686 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c [new file with mode: 0644]