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

Jonny Grant <jg at jguk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jg at jguk dot org

--- Comment #4 from Jonny Grant <jg at jguk dot org> ---
Could this bug cover warning when size_t is converted to bool? and int as well.
Would catch bugs where a function returns a 0 as success and user thinks it's a
bool.

latest trunk clang and gcc do not warn. 

Example
https://godbolt.org/z/o4jozbbad

Reply via email to