Compile the following code at -O -g -mstrict-align and you get an ICE in set_variable_part:
void ProjectOverlay(const float localTextureAxis[2], char *lump) { const void *d = &localTextureAxis; int size = sizeof(float)*8 ; __builtin_memcpy( &lump[ 0 ], d, size ); } ----- CUT ------ Yes this code is undefined but it should not ICE. -- Summary: -g -O -mstrict-align causes an ICE in set_variable_part, Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: powerpc*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33822