I'm getting the following ICE with current trunk. This also fails with 20070303.
(sid)25827:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O3 -ftree-vectorize mesa-depthstencil.c mesa-depthstencil.c: In function 'put_mono_values_s8': mesa-depthstencil.c:13: internal compiler error: in vectorizable_type_promotion, at tree-vect-transform.c:2890 Please submit a full bug report, [...] Test case: typedef struct __GLcontextRec GLcontext; struct gl_renderbuffer { struct gl_renderbuffer *Wrapped; void (*PutValues) (GLcontext *ctx, struct gl_renderbuffer *rb, int count, const int x[], const int y[], const void *values, const char *mask); }; void put_mono_values_s8 (GLcontext *ctx, struct gl_renderbuffer *s8rb, int count, const int x[], const int y[], const void *value, const char *mask) { struct gl_renderbuffer *dsrb = s8rb->Wrapped; int temp[4096], i; const char val = *((char *) value); for (i = 0; i < count; i++) if (!mask || mask[i]) temp[i] = (temp[i] & 0xffffff) | val; dsrb->PutValues (ctx, dsrb, count, x, y, temp, mask); } _mesa_new_s8_renderbuffer_wrapper (void) { struct gl_renderbuffer *s8rb; s8rb->PutValues = put_mono_values_s8; } -- Summary: [4.3 Regression] ICE in vectorizable_type_promotion, at tree-vect-transform.c:2890 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=32243