This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24059] New: [4.1 Regression] ICE with -ftree-vectorize -O2
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2005 23:29:14 -0000
- Subject: [Bug tree-optimization/24059] New: [4.1 Regression] ICE with -ftree-vectorize -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I was trying -O2 -g -ftree-vectorize while bootstrapping and ran into this.
Reduced testcase:
struct pred_data {
unsigned char codes[((int) 100)];
};
void compute_predicate_codes (char *codes, struct pred_data *p)
{
int i;
for (i = 0;i < ((int) 100);i++)
codes[i] = p->codes[i] ? 2 : 0;
}
----------
This does not happen with -m32.
--
Summary: [4.1 Regression] ICE with -ftree-vectorize -O2
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24059