[Bug c/70378] wrong warning with -Wconversion with explicit cast

2019-05-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70378 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c/70378] wrong warning with -Wconversion with explicit cast

2018-02-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70378 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug c/70378] wrong warning with -Wconversion with explicit cast

2016-04-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70378 --- Comment #3 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #2) > Simpler testcase: > > typedef unsigned int uint32_t; > void foo(char a, uint32_t b) > { > b = (uint32_t)((b * 10) + (uint32_t)a); > } > > Somethin

[Bug c/70378] wrong warning with -Wconversion with explicit cast

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70378 Manuel López-Ibáñez changed: What|Removed |Added Target|x86_64-w64-mingw32 | Status|UNCONFIRMED