diff options
author | Jason Merrill <jason@redhat.com> | 2022-04-14 17:35:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-04-29 09:21:32 -0400 |
commit | a0a2554d7c86c126de85fcbd5bd7e16dbb5a2693 (patch) | |
tree | e747cdf9ead6dfdc7e019bb6f48feb3058850819 /gcc/gcov-io.cc | |
parent | ac5b356d0567992d8863816e203c7d98b25036dc (diff) | |
download | gcc-a0a2554d7c86c126de85fcbd5bd7e16dbb5a2693.zip gcc-a0a2554d7c86c126de85fcbd5bd7e16dbb5a2693.tar.gz gcc-a0a2554d7c86c126de85fcbd5bd7e16dbb5a2693.tar.bz2 |
c++: using in diagnostics [PR102987]
The decl pretty-printing code wasn't looking at the flags parameter, so we
were printing 'using' in the middle of an expression.
PR c++/102987
gcc/cp/ChangeLog:
* error.cc (dump_decl) [USING_DECL]: Respect flags.
gcc/testsuite/ChangeLog:
* g++.dg/diagnostic/using1.C: Check pretty-printing.
Diffstat (limited to 'gcc/gcov-io.cc')
0 files changed, 0 insertions, 0 deletions