diff options
author | Jason Merrill <jason@redhat.com> | 2020-02-04 17:18:35 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-02-04 17:25:09 -0500 |
commit | 85409531ff032a008ebfbb715344648f15492dac (patch) | |
tree | b921d2b26e88dd58a1501ccd1f25b266a0506e4e /gcc/omp-simd-clone.c | |
parent | 0712ea6313bc44f9ae8feb235c1b02c92cdd0527 (diff) | |
download | gcc-85409531ff032a008ebfbb715344648f15492dac.zip gcc-85409531ff032a008ebfbb715344648f15492dac.tar.gz gcc-85409531ff032a008ebfbb715344648f15492dac.tar.bz2 |
c++: Fix error-recovery with concepts.
Here, push_tinst_level refused to push into the scope of Foo::Foo
because it was triggered from the ill-formed function fun. But we didn't
check the return value and tried to pop the un-pushed level.
PR c++/93551
* constraint.cc (satisfy_declaration_constraints): Check return
value of push_tinst_level.
Diffstat (limited to 'gcc/omp-simd-clone.c')
0 files changed, 0 insertions, 0 deletions