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.

Reply via email to