[Bug c++/49462] comparison of const bool and pointer does not yield an error
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 18 08:26:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49462
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-06-18 08:26:33 UTC ---
A const bool with false value is a valid null pointer constant.
More information about the Gcc-bugs
mailing list