diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-12-21 00:21:21 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-12-21 00:21:21 +0100 |
commit | 7731b8e6f4bb44d2d1ec33072db65f2ccbf94121 (patch) | |
tree | 09238dbdae2f23a585595bedcd98e5feae86c54a /gcc/tree-ssa-loop-unswitch.c | |
parent | b804bd89d3a8ff3ab6b916d2982b83f805cc6256 (diff) | |
download | gcc-7731b8e6f4bb44d2d1ec33072db65f2ccbf94121.zip gcc-7731b8e6f4bb44d2d1ec33072db65f2ccbf94121.tar.gz gcc-7731b8e6f4bb44d2d1ec33072db65f2ccbf94121.tar.bz2 |
re PR c++/92965 ("note: 'x' is not public" emitted even when no error is emitted)
PR c++/92965
* pt.c (invalid_nontype_parm_type_p): Call structural_type_p with
explain=true only if emitting error.
* g++.dg/cpp2a/nontype-class27.C: New test.
From-SVN: r279684
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions