------- Comment #2 from falk at debian dot org  2009-02-02 19:02 -------
No problem with the trunk, but it's still there in the 4.3 branch.

Here's a test case. Requires -funroll-loops -Os, no problem with any other -O, 
or without -funroll-loops, curiously.

int f(int x, int y) {
    int bytes = 4 * x + y;
    if (bytes == 0)
        return 0;
    return bytes + 1;
}


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |falk at debian dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.4
      Known to work|                            |4.4.0


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

Reply via email to