re PR c++/86240 (ice: unexpected expression absu_expr)
authorMarek Polacek <polacek@redhat.com>
Wed, 20 Jun 2018 15:46:02 +0000 (15:46 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 20 Jun 2018 15:46:02 +0000 (15:46 +0000)
commite28fadbc0639d60fdf8e3f32fad7020b58bb5d69
tree6452ad18dcdfa0fcc5516221c57102586cd7a1af
parent125fe9abf3f205bbc2c36fbcb981b81b522466ca
re PR c++/86240 (ice: unexpected expression absu_expr)

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.

From-SVN: r261809
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]