[PATCH] handle member references in -Waddress [PR96507]
Mon Nov 22 23:00:56 GMT 2021
While going through old -Waddress bug reports to close after
the recent improvements to the warning I came across PR 96507
that points out that member references aren't handled. Since
testing the address of a reference for equality to null is
in general diagnosed, this seems like an oversight worth fixing.
Attached is a change to the C++ front end to diagnose member
references as well.
Tested on x86_64-linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3160 bytes
Desc: not available
More information about the Gcc-patches