[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"
chengniansun at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 6 08:35:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090
--- Comment #3 from Chengnian Sun <chengniansun at gmail dot com> ---
Thanks, Marek.
May I ask another question on the Gcc optimizations and warnings? Is there a
policy that the warnings should be independent of the optimization levels? That
is, for all optimization levels, Gcc should always emit consistent warnings.
I know that Clang has such a policy. But based on what I have observed on Gcc,
it seems that Gcc does not have this policy.
More information about the Gcc-bugs
mailing list