This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14692] New: [tree-ssa] ICE in canon_condition
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2004 13:25:12 -0000
- Subject: [Bug optimization/14692] New: [tree-ssa] ICE in canon_condition
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GNU C version 3.5-tree-ssa 20040318 (merged 20040307)
% cat test.c
void assert_failed (void);
void eidecpos_1 (unsigned char *pos, long n)
{
int i;
for (i = 0; i < n; i++)
{
const unsigned char *dc_ptr1 = pos;
pos--;
if (dc_ptr1 - pos == 1)
assert_failed ();
}
}
% gcc -c -O3 test.c
test.c: In function `eidecpos_1':
test.c:12: internal compiler error: in canon_condition, at loop-iv.c:1413
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Does not occur at -O2.
--
Summary: [tree-ssa] ICE in canon_condition
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14692