I just tried to compile the GNU C compiler version
4.4 snapshot 20080411 with the Intel C compiler.

The Intel compiler said

gcc-4.4-20080411/gcc/fold-const.c(14101): warning #592: variable "arg1" is used
before its value is set

The source code is

        tree arg1 = arg1;
        if ((TREE_INT_CST_LOW (arg1) & 1) == 0)

I agree with the compiler. Suggest code rework.


-- 
           Summary: local variable used before set in fold-const.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35933

Reply via email to