[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

david.bolvansky at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 16 21:06:00 GMT 2019


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

--- Comment #20 from Dávid Bolvanský <david.bolvansky at gmail dot com> ---
Clang implemented [0] this diagnostic under -Wxor-used-as-pow.
From user perspective it would be reasonable if GCC follows this naming.

[0] https://reviews.llvm.org/D63423


More information about the Gcc-bugs mailing list