https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100879
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |12.0
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 12, thanks.
That the warning used -Wsign-compare seems to be because it was associated with
that option before -Wenum-compare was added, and never updated perhaps because
it was dead code for a long time.