diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-11-30 09:48:59 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-11-30 09:49:54 +0100 |
commit | 2af2f55a500adad73451f3b859cfaa8974920caf (patch) | |
tree | c89fb66e50d84fb5bdecf9b2e4fabcf2c5ac4bf6 /gcc/tree-vectorizer.h | |
parent | c39d77f252e895306ef88c1efb3eff04e4232554 (diff) | |
download | gcc-2af2f55a500adad73451f3b859cfaa8974920caf.zip gcc-2af2f55a500adad73451f3b859cfaa8974920caf.tar.gz gcc-2af2f55a500adad73451f3b859cfaa8974920caf.tar.bz2 |
c++: Small incremental tweak to source_location::current() folding
I've already committed the patch, but perhaps we shouldn't do it in cp_fold
where it will be folded even for warnings etc. and the locations might not
be the final yet. This patch moves it to cp_fold_r so that it is done just
once for each function and just once for each static initializer.
2021-11-30 Jakub Jelinek <jakub@redhat.com>
* cp-gimplify.c (cp_fold_r): Perform folding of
std::source_location::current() calls here...
(cp_fold): ... rather than here.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions