[Bug c/96460] Warn about signed module that is converted to unsigned value

2020-08-05 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96460 --- Comment #2 from Florian Weimer --- (In reply to Richard Biener from comment #1) > It's perfectly valid code ... guess similar to -Wconversion though. If the modulo result is never negative, it's not *perfectly* valid because GCC has to add i

[Bug c/96460] Warn about signed module that is converted to unsigned value

2020-08-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96460 Richard Biener changed: What|Removed |Added Component|middle-end |c Severity|normal