[Bug middle-end/14682] [tree-ssa] error: Invalid operand to binary operator

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 22 20:16:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-22 20:16 -------
Here is one which fails on 32bit targets:
int __atomic_readv_replacement(unsigned long long iov_len, int count, int i) {
    unsigned long long bytes = 0;
    while (i < count) {
        if (9223372036854775807LL - bytes < iov_len)
            return 22;
    }
    return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|14672                       |
          Component|c                           |middle-end
   Target Milestone|---                         |tree-ssa


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



More information about the Gcc-bugs mailing list