[v3 of PATCH 13/14] c-format.c: handle location wrappers

Jason Merrill jason@redhat.com
Fri Jan 5 20:21:00 GMT 2018


On 12/22/2017 02:10 PM, David Malcolm wrote:
> You describe the types needing to match "closely enough" (as opposed
> to *exactly*), and that may be the key here: what I didn't say in my
> message above is that the decl is "const" whereas the value isn't.

Right, differences in top-level qualifiers don't matter.  A scalar 
prvalue can't be const.

Jason



More information about the Gcc-patches mailing list