[Bug c++/87406] New: Implement -Wconstant-conversion and -Wbitfield-constant-conversion
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 10:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87406
Bug ID: 87406
Summary: Implement -Wconstant-conversion and
-Wbitfield-constant-conversion
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Blocks: 87403
Target Milestone: ---
It's also from LLVM, one bug that was seen by that:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87396
Example of error message:
implicit conversion from 'int' to 'char' changes value from 132 to -124
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
[Bug 87403] Issues that suggest a new warning
More information about the Gcc-bugs
mailing list