diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-03-08 21:05:21 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-03-08 21:05:21 +0100 |
commit | d259b234a301aa5c06ca78262ae814b3d8d0f1a5 (patch) | |
tree | 897ce2c797917765609e86f7a7499d60e9903ecf /gcc/hsa.c | |
parent | 56aae4b7c0d088f2b1056b41ba1f502d93550020 (diff) | |
download | gcc-d259b234a301aa5c06ca78262ae814b3d8d0f1a5.zip gcc-d259b234a301aa5c06ca78262ae814b3d8d0f1a5.tar.gz gcc-d259b234a301aa5c06ca78262ae814b3d8d0f1a5.tar.bz2 |
re PR sanitizer/70135 (-fsanitize=undefined causes static_assert to fail)
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
Diffstat (limited to 'gcc/hsa.c')
0 files changed, 0 insertions, 0 deletions