https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106745
David Faust <david.faust at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.faust at oracle dot com
--- Comment #1 from David Faust <david.faust at oracle dot com> ---
Thanks, I've reproduced the failure and found the issue.
The code which generates the CO-RE relocations isn't correctly handling
anonymous inner struct/union decls. So for example:
struct core_reloc_flavors___weird {
struct {
int b;
};
union {
int a;
int c;
};
};
Asking to generate a CO-RE relo for access to a, b or c here will trigger the
SEGV. Working on a fix.