http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52443
Bug #: 52443 Summary: ICE: verify_gimple failed: invalid types in nop conversion Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: addr-space, ice-on-valid-code Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: g...@gcc.gnu.org Target: avr extern void bar (const __memx void*); void func (char a) { bar (a); } const __memx void* func2 (char a) { return a; } >> avr-gcc ice-memx.c -S -w ice-memx.c: In function 'func2': ice-memx.c:8:20: error: invalid types in nop conversion const <address-space-7> void * long int D.1326 = (const <address-space-7> void *) D.1327; ice-memx.c:8:20: internal compiler error: verify_gimple failed Please submit a full bug report, with preprocessed source if appropriate. Target: avr Configured with: ../gcc-trunk/configure --with-gmp=/usr/local --prefix=/usr/local/avr --target=avr --enable-languages=c,c++ --with-dwarf2 --disable-shared --disable-libada --disable-libssp --disable-nls Thread model: single gcc version 4.7.0 20120217 (experimental) (GCC) GNU C (GCC) version 4.7.0 20120217 (experimental) (avr) compiled by GNU C version 4.6.2, GMP version 5.0.4, MPFR version 3.1.0, MPC version 0.9 I can also see the error on a build from 2012-02-28.