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

--- Comment #2 from Alibek Omarov <a1ba.omarov at gmail dot com> ---
>In theory you could ask clang for the similar warning too because it is an 
>implementation defined.

Yes, I should file a bug for them too. So far I'm working with GCC, found it a
bit confusing, so I decided to put it here.

Though if code was written for GCC and compiled with a compiler that does widen
the type, I'm not seeing how that would be as confusing as this. :)

Reply via email to