[Bug tree-optimization/18270] [4.0 Regression] internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 2 14:12:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-02 14:12 -------
Even shorter testcase:

================================
void foo()
{
    void **p;
    int *q, i=0;
    static void *L[]={ &&L1 };

    goto **p;

L0:
    *q=i;
    i=1;
    if (q<*p) *q=0;
    if (q<*p) *q=0;
L1:
    *q=0;
    goto L0;
}
================================


-- 


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



More information about the Gcc-bugs mailing list