[Bug c/69746] [6 Regression] diagnostic about non-constant expression not helpful
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 10 15:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69746
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think it was intentional that we only warn here with -Wshift-overflow=2, but
consider the shift expression as non-constant in any case.
More information about the Gcc-bugs
mailing list