------- Comment #4 from manu at gcc dot gnu dot org 2010-06-07 17:52 ------- uint32_t bar; uint64_t foo; ... foo = bar << 20;
Is another testcase from PR 44420. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-02-24 00:16:51 |2010-06-07 17:52:46 date| | Summary|Warning "u64 = u32 * u32;" -|warn if a binary operation |i.e. not casting one u32 to |is performed on a type but |u64 |the result is then casted to | |a larger type http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42935