This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/16586] [3.3/3.4 Regression] -O3 -fno-gcse ICE verify_local_live_at_start flow.c:575


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-16 14:23 -------
Here's a slightly shorter testcase. It crashes everything from 3.1 until
3.4 branch.

======================================
int (**foo)(int);

int bar()
{
    static int **s;
    int i, j, k=i, **p;

    (*foo)(**s);
    if ((*foo)(0)) return 0;
    if (k > 0) return 0;

    p = s;
    for (i = 0; i <= k-1; ++i)
    {
        j = (*foo)(0);
        if ((*foo)(0)) return 0;
        **p = j;
    }
}
======================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
      Known to fail|3.2.3 3.3.3 3.4.0           |3.1 3.2.3 3.3.3 3.4.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]