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/46780] New: -fgraphite-identity ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1081


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

           Summary: -fgraphite-identity  ICE in refs_may_alias_p_1, at
                    tree-ssa-alias.c:1081
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: wouter.vermaelen@scarlet.be


> cat bug.ii
extern "C" { double cos(double x); }

static int outbuf[8][8];

int main() {
        double buf1[9];
        double* buf1_1 = &buf1[1];
        for (int i = 0; i < 8; ++i) {
                buf1_1[i] *= cos(i);
        }

        int buf2[64];
        for (int i = 0; i < 8; ++i) {
                int* buf2_i = &buf2[i];
                for (int j = 0; j < 8; ++j) {
                        outbuf[i][j] = buf2_i[8 * j];
                }
        }
}


> g++ -O2 -fgraphite-identity bug.ii
bug.ii: In function âint main()â:
bug.ii:19:1: internal compiler error: in refs_may_alias_p_1, at
tree-ssa-alias.c:1081


I'm using SVN revision trunk@167414 on linux x86_64.


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