diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-01-21 11:18:45 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-01-21 11:22:22 +0100 |
commit | 3e0b19f1d670aa37ac06d63d059c7277ae1188d8 (patch) | |
tree | 01286efc8550e64646040b019c097aad4773eeba /gcc/cp/class.cc | |
parent | eb5ee6464809e051e0292471597931a660485658 (diff) | |
download | gcc-3e0b19f1d670aa37ac06d63d059c7277ae1188d8.zip gcc-3e0b19f1d670aa37ac06d63d059c7277ae1188d8.tar.gz gcc-3e0b19f1d670aa37ac06d63d059c7277ae1188d8.tar.bz2 |
warn-access: Fix up warning_at arguments
A warning regression fix I'm about to post warns (and breaks bootstrap due
to that) on the following spot. Seems it is a copy and paste from
earlier code that mentions the %qD variable instead of talking about
unnamed temporary.
2022-01-21 Jakub Jelinek <jakub@redhat.com>
* gimple-ssa-warn-access.cc (pass_waccess::warn_invalid_pointer):
Avoid passing var to warning_at when the format string doesn't
refer to it.
Diffstat (limited to 'gcc/cp/class.cc')
0 files changed, 0 insertions, 0 deletions