constexpr-loop4.C
393 Bytes
-
re PR sanitizer/70135 (-fsanitize=undefined causes static_assert to fail) · d259b234
PR c++/70135 * constexpr.c (cxx_eval_loop_expr): Forget saved values of SAVE_EXPRs even after the last iteration of the loop. * g++.dg/cpp1y/constexpr-loop4.C: New test. * g++.dg/ubsan/pr70135.C: New test. From-SVN: r234064
Jakub Jelinek committed