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/18270] [4.0 Regression] internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-02 13:48 -------
Confirmed. Reduced testcase:

=====================================
struct A
{
    int *p;
    int i;
};

void foo(struct A* a)
{
    int *q, j=0;
    static void *L[]={ &&L1 };

    goto *q;

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


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |rtl-optimization
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin7.5.0   |
   GCC host triplet|powerpc-apple-darwin7.5.0   |
 GCC target triplet|powerpc-apple-darwin7.5.0   |
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-02 13:48:30
               date|                            |


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


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