diff options
author | Marek Polacek <polacek@redhat.com> | 2025-01-21 14:48:46 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2025-01-22 10:26:46 -0500 |
commit | cb828691fe692f9df002a2e3757a1aec68857e85 (patch) | |
tree | 8b2609f117460eb1680e1a9c32d3905184766e0f /gcc/tree-vectorizer.h | |
parent | 27470f9a818538fadb0e458a272358c7141fcd8c (diff) | |
download | gcc-cb828691fe692f9df002a2e3757a1aec68857e85.zip gcc-cb828691fe692f9df002a2e3757a1aec68857e85.tar.gz gcc-cb828691fe692f9df002a2e3757a1aec68857e85.tar.bz2 |
c++: further tweak to cxx_eval_outermost_constant_expr [PR118396]
This patch adds an error in a !allow_non_constant case when the
initializer/object types don't match.
PR c++/118396
gcc/cp/ChangeLog:
* constexpr.cc (cxx_eval_outermost_constant_expr): Add an error call
when !allow_non_constant.
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions