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

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 22 20:13:00 GMT 2004


------- Additional Comments From falk at debian dot org  2004-03-22 20:13 -------
I can reproduce this with 3.5-tree-ssa 20040318 (merged 20040307)
(alphaev68-unknown-linux-gnu).

Test case:

int __atomic_readv_replacement(unsigned long iov_len, int count, int i) {
    unsigned long bytes = 0;
    while (i < count) {
	if (9223372036854775807L - bytes < iov_len)
	    return 22;
    }
    return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |c
     Ever Confirmed|                            |1
   Target Milestone|tree-ssa                    |---


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



More information about the Gcc-bugs mailing list