------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-30 11:24 ------- With checking we get a different ICE: t1.cc: In function void f(): t1.cc:3: error: statement makes a memory store, but has no V_MAY_DEFS nor V_MUST_DEFS VIEW_CONVERT_EXPR<union __v4F>(b_1).a[1] = 1.0e+0; t1.cc:3: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions
And here is a reduced testcase for that: typedef float __v_4F __attribute__ ((vector_size (16))); typedef union {__v_4F v; float a[4];} __v4F; void f(void) { __v_4F b; (reinterpret_cast<__v4F>(b).a)[1] = 1; } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30016