]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/constexpr.c
PR c++/86240
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2018 15:46:02 +0000 (15:46 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jun 2018 15:46:02 +0000 (15:46 +0000)
commit19b4138ef1feab4381eb3d659ddef4027435c248
tree6452ad18dcdfa0fcc5516221c57102586cd7a1af
parentb6bb0f024b17a423e392dacd077b9718dff3cca0
PR c++/86240
* constexpr.c (cxx_eval_constant_expression): Handle ABSU_EXPR.
(fold_simple_1): Likewise.
* error.c (dump_expr): Likewise.

* g++.dg/pr86240.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261809 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr86240.C [new file with mode: 0644]