aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2018-03-01 17:08:35 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2018-03-01 17:08:35 +0000
commitd8cff23f65befa76082b54bd478c0b9299255788 (patch)
tree2282e0c590013134b8aab0590d2d4d9ef06c97b7 /gcc/combine.c
parent26a0cc94f32ed95616d1618857d35d2ef1506118 (diff)
downloadgcc-d8cff23f65befa76082b54bd478c0b9299255788.zip
gcc-d8cff23f65befa76082b54bd478c0b9299255788.tar.gz
gcc-d8cff23f65befa76082b54bd478c0b9299255788.tar.bz2
re PR c++/84596 (internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression))
PR c++/84596 * constexpr.c (require_rvalue_constant_expression): New function. * cp-tree.h: Declare it. * semantics.c (finish_static_assert): Use it instead of require_potential_rvalue_constant_expression. * g++.dg/cpp0x/static_assert14.C: New test. From-SVN: r258107
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions