This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32215] New: [4.3 Regression] ICE in supportable_narrowing_operation, at tree-vectorizer.c:1907
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2007 06:32:44 -0000
- Subject: [Bug tree-optimization/32215] New: [4.3 Regression] ICE in supportable_narrowing_operation, at tree-vectorizer.c:1907
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm getting the following ICE with gcc 4.3 20070604:
(sid)25247:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 -ftree-vectorize
~/ascpu-ascpu_x.c
/home/tbm/ascpu-ascpu_x.c: In function 'real_average':
/home/tbm/ascpu-ascpu_x.c:11: internal compiler error: in
supportable_narrowing_operation, at tree-vectorizer.c:1907
Please submit a full bug report,
with preprocessed source if appropriate.
Testcase:
struct cpu_load_struct
{
long load[5];
};
struct
{
float load[4];
}
average;
real_average (struct cpu_load_struct *average_history, long average_ptr)
{
int i;
for (i = 0; i < 3; ++i)
{
average.load[i] =
(average.load[i] * average_history[average_ptr].load[i]);
}
}
--
Summary: [4.3 Regression] ICE in supportable_narrowing_operation,
at tree-vectorizer.c:1907
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32215