--- Comment #4 from fm3 at os dot inf dot tu-dresden dot de 2010-06-08
06:19 ---
Yes, you are right. This is a duplicate. Thanks.
--
fm3 at os dot inf dot tu-dresden dot de changed:
What|Removed |Added
-
--- Comment #3 from manu at gcc dot gnu dot org 2010-06-07 17:53 ---
I think it is a duplicate.
*** This bug has been marked as a duplicate of 42935 ***
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-06-07 17:36 ---
(In reply to comment #1)
> uint64_t = uint32_t OP uint32_t; With an implicit casting to uint64_t?
If that is the case this is a dup of bug 42935.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44420
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-07 17:34 ---
> foo = bar << 20;
Yes this can overflow but so can "bar * 2" and "bar + 1". Maybe I am missing
something here because we don't warn for those cases. Do you want a warning
where the assignment happens to be a wid