[Bug middle-end/64744] ARM: gcc internal compiler error: in store_field, at expr.c:6659
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 23 14:08:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744
--- Comment #5 from ktkachov at gcc dot gnu.org ---
(In reply to Alexander Basov from comment #4)
> (In reply to ktkachov from comment #3)
> > Confirmed as well on all release branches.
>
> Ok, If you have no any objections, I'd like to fix it.
>
> BTW, what gcc should do with such code?
Patches welcome :)
Though I note the ICE only happens at -O0 and disappears if you enable any
optimisation.
According to: https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
the 'naked' attribute will omit the prologue/epilogue of the function but it's
supposed to be used only with inline asm and C code is not expected to work
reliably. That being said, we should never ICE...
More information about the Gcc-bugs
mailing list