This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46780] New: -fgraphite-identity ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1081
- From: "wouter.vermaelen at scarlet dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 3 Dec 2010 12:12:10 +0000
- Subject: [Bug tree-optimization/46780] New: -fgraphite-identity ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1081
- Auto-submitted: auto-generated
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.