https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80151
doug mcilroy <doug at cs dot dartmouth.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doug at cs dot dartmouth.edu
--- Comment #3 from doug mcilroy <doug at cs dot dartmouth.edu> ---
Generalize this bug to "inconsistently warning about converting a pointer to a
bool". Only the second of the initializations below draws a warning that the
conversion must yield `true'.
extern int f(bool);
int main() {
int a = f("hello");
int b = f(&a)
return 0;
}