In gcc/config/mips/mips.h, the TRAMPOLINE_TEMPLATE macro uses three 32bit move statements, that when working with 64bit code, will cause problems. The only time this has been observed thus far was in filesystem code borrowed from grub which relied heavily on nested functions.
A patch against trunk is attached, but this bug goes as far back as 3.3.x. -- Summary: TRAMPOLINE_TEMPLATE uses 32bit moves on 64bit code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kumba at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25871