https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84695

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Interestingly, gcc trunk source code produces this warning when
compiled by clang:

$ fgrep Winco /tmp/0 | sort | uniq -c
      1 ../../trunk.git/gcc/analyzer/region-model.cc:3007:8: warning:
'visit_unaryop_svalue' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
      1 ../../trunk.git/gcc/analyzer/region-model.cc:3031:8: warning:
'visit_repeated_svalue' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
      2 ../../trunk.git/gcc/config/i386/i386-features.h:184:8: warning:
'convert_op' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
      2 ../../trunk.git/gcc/config/i386/i386-features.h:199:8: warning:
'convert_op' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
     11 ../../trunk.git/gcc/value-range-equiv.h:57:8: warning: 'set_undefined'
overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
     11 ../../trunk.git/gcc/value-range-equiv.h:58:8: warning: 'set_varying'
overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
     11 ../../trunk.git/gcc/value-range-equiv.h:68:8: warning: 'dump' overrides
a member function but is not marked 'override'
[-Winconsistent-missing-override]
$ 

A couple in the analyzer, a couple in the i386 machine specific code and 3
in value-range-equiv.h. 

Might be worth fixing ?

Reply via email to