diff options
author | Jason Merrill <jason@redhat.com> | 2021-02-08 17:16:14 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-02-08 20:52:11 -0500 |
commit | 57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc (patch) | |
tree | 1b36fb8df77b80cd451aa0bfc19394173e5368db /gcc/tree-ssa-sccvn.c | |
parent | bdbca69e0720fa9062fe71782235141f629ae006 (diff) | |
download | gcc-57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc.zip gcc-57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc.tar.gz gcc-57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc.tar.bz2 |
c++: consteval and explicit instantiation [PR96905]
Normally, an explicit instantiation means we want to write out the
instantiation. But not for a consteval function.
gcc/cp/ChangeLog:
PR c++/96905
* pt.c (mark_decl_instantiated): Exit early if consteval.
gcc/testsuite/ChangeLog:
PR c++/96905
* g++.dg/cpp2a/consteval-expinst1.C: New test.
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
0 files changed, 0 insertions, 0 deletions