[Bug c/88126] New: Need Compiler warning
srinivas.sundar at vvdntech dot in
gcc-bugzilla@gcc.gnu.org
Wed Nov 21 06:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88126
Bug ID: 88126
Summary: Need Compiler warning
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: srinivas.sundar at vvdntech dot in
Target Milestone: ---
int main()
{
unsigned long ul=4294967296;
unsigned int var;
var=ul; // how to get warning
}
The value of "var" will be different in 64bit system and 32bit system. Is it
possible to get compilation warning in 64bit system.
More information about the Gcc-bugs
mailing list