diff options
author | Marek Polacek <polacek@redhat.com> | 2018-04-11 13:10:16 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-04-11 13:10:16 +0000 |
commit | fe0604d349c4d9eb18b17dd018383d591eed67c7 (patch) | |
tree | d7f57dd15cf204ad849d48116e131e9bfa30ab5e /gcc/omp-expand.c | |
parent | 3c7b865120aa05bb23a825e46597c85279fc5761 (diff) | |
download | gcc-fe0604d349c4d9eb18b17dd018383d591eed67c7.zip gcc-fe0604d349c4d9eb18b17dd018383d591eed67c7.tar.gz gcc-fe0604d349c4d9eb18b17dd018383d591eed67c7.tar.bz2 |
re PR c++/85032 (Wrong non-constant condition for static assertion)
PR c++/85032
* constexpr.c (potential_constant_expression_1): Consider conversions
from classes to literal types potentially constant.
* g++.dg/cpp0x/pr51225.C: Adjust error message.
* g++.dg/cpp1z/constexpr-if21.C: New test.
From-SVN: r259318
Diffstat (limited to 'gcc/omp-expand.c')
0 files changed, 0 insertions, 0 deletions