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
This commit is contained in:
Martin Liska 2016-12-29 11:35:33 +01:00 committed by Martin Liska
parent d4f89c814f
commit d4a6c0ea4b
4 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-12-29 Martin Liska <mliska@suse.cz>
PR c/78933
* c.opt (strong-eval-order): Add RejectNegative keyword.
2016-12-22 Jason Merrill <jason@redhat.com>
Implement P0522R0, matching of template template arguments.

View File

@ -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.

View File

@ -1,3 +1,8 @@
2016-12-29 Martin Liska <mliska@suse.cz>
PR c/78933
* g++.dg/pr78933.C: New test.
2016-12-28 Uros Bizjak <ubizjak@gmail.com>
PR target/78904

View File

@ -0,0 +1,3 @@
// PR c/78933
// { dg-do compile }
// { dg-options "-fno-strong-eval-order" }