[Patch 5/17] Add -fpermitted-flt-eval-methods=[c11|ts-18661-3]
authorJames Greenhalgh <james.greenhalgh@arm.com>
Wed, 23 Nov 2016 17:20:37 +0000 (17:20 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 23 Nov 2016 17:20:37 +0000 (17:20 +0000)
commit04f0fcf7bdfa1b4d153ca37df8843c44ed8c4d93
tree343934567075da4bb109dc150aba66e28db9662b
parentb89de1b8ddc95632605c599c0e2555307a68a2af
[Patch 5/17] Add -fpermitted-flt-eval-methods=[c11|ts-18661-3]

gcc/c-family/

* c-opts.c (c_common_post_options): Add logic to handle the default
case for -fpermitted-flt-eval-methods.

gcc/

* common.opt (fpermitted-flt-eval-methods): New.
* doc/invoke.texi (-fpermitted-flt-eval-methods): Document it.
* flag_types.h (permitted_flt_eval_methods): New.

gcc/testsuite/

* gcc.dg/fpermitted-flt-eval-methods_1.c: New.
* gcc.dg/fpermitted-flt-eval-methods_2.c: New.

From-SVN: r242775
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/common.opt
gcc/doc/invoke.texi
gcc/flag-types.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fpermitted-flt-eval-methods_1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/fpermitted-flt-eval-methods_2.c [new file with mode: 0644]