diff options
author | Martin Liska <mliska@suse.cz> | 2016-12-29 11:35:33 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-12-29 10:35:33 +0000 |
commit | d4a6c0ea4b7e374eafc6ca6f47d398514e5fb835 (patch) | |
tree | 3be0b8ac23c2c1529ddd76e55c53949f13e049fd /gcc/c-family/c.opt | |
parent | d4f89c814f666c0556bd89f1f5d78e9a3768becb (diff) | |
download | gcc-d4a6c0ea4b7e374eafc6ca6f47d398514e5fb835.zip gcc-d4a6c0ea4b7e374eafc6ca6f47d398514e5fb835.tar.gz gcc-d4a6c0ea4b7e374eafc6ca6f47d398514e5fb835.tar.bz2 |
Add RejectNegative for a c option.
PR c/78933
* g++.dg/pr78933.C: New test.
PR c/78933
* c.opt (strong-eval-order): Add RejectNegative keyword.
From-SVN: r243960
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r-- | gcc/c-family/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 1d40d76f1..4652708 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1655,7 +1655,7 @@ Follow the C++17 evaluation order requirements for assignment expressions, shift, member function calls, etc. fstrong-eval-order= -C++ ObjC++ Common Var(flag_strong_eval_order) Joined Enum(strong_eval_order) Init(-1) +C++ ObjC++ Common Var(flag_strong_eval_order) Joined Enum(strong_eval_order) RejectNegative Init(-1) Follow the C++17 evaluation order requirements for assignment expressions, shift, member function calls, etc. |