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 tree-optimization/29740] New: [4.1 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:1472


Compile with -O2.

double lap_discrete[3][3][3];
void create_laplacian (double **phi, unsigned long *nvox, unsigned *ext)
{
    unsigned indx, indy, indz;
    for (indz=0; indz<*ext; indz++)     
        for (indy=0; indy<*ext; indy++)       
            for (indx=0; indx<*ext; indx++)  
                *(*phi+(*ext**ext*indz+*ext*indy+indx)) =
lap_discrete[indx][indy][indz];
}


-- 
           Summary: [4.1 Regression] ICE in find_or_generate_expression, at
                    tree-ssa-pre.c:1472
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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