https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92392
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, easyhack
CC| |manu at gcc dot gnu.org
Summary|-Wignored-qualifiers points |-Wignored-qualifiers points
|to diff location |to wrong location and
| |doesn't mention which
| |qualifiers
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Confirmed. This is probably just a matter of keeping track of the qualifiers. I
believe we already do that for duplicated "const". Mentioning the qualifiers
that are ignored should be a matter of passing this info to the warning point.
Easyhack: https://gcc.gnu.org/wiki/EasyHacks
Bonus points for adding a fix-it hint to remove the qualifier.